>whats the best way to automate the following:
>>I have a mailserver "tux" and a smoothwall box "firewall"
>now my family are expecting there mail to arrive from there eircom accounts
>to their computers and so I have a fetchmailrc script in each of their /home
>So my question is do I make a script to run all of these and how to I get
>smoothwall to automatically dialup and call this script or am I barking up
>the wrong tree all together??
>>ps if this mail has any strange things about it can you tell me - I never
>got sendmail to work before so I'm a wee bit concerned that its alright
>Possible I guess but not very flexible. You're probably better
running a mail server to connect & populate the users mail?
If you still want to do this I guess you could something like
the following from cron:
#get smoothwall to connect (perhaps by indirectly by doing simple tcp
for $dir in /home/*/fetchmail.rc: do
#cd $dir; fetchmail ...
#let smoothwall to disconnect automatically when no traffic,
#or explicitly by touching a file over nfs or something?
I'd definitely use a mail server which will be easier in the
long run IMHO.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!