On Wed, 17 Sep 2003 00:11:59 +0100, Greg <(E-Mail Removed)> wrote:
I should have also noted that you could, if the other boxes weren't
accepting mail or up, have them send a signal to your gateway linux box
that have it run fetchmail with their .fetchmailrc
Like /dev/* said, sendmail, and even the other mtas, which you would need
if you are going to queue the mail, are monstsrously complex (stay away
from sendmail, like he said, for SURE).
I use a very tiny and simple "sendmail emulation" called ssmtp. Works great
and has a 4 line config file.
You can send the mail, with procmail, to a file on the gateway linux
(assuming mbox format) then that could be retrieved at will by the other
users when they wanted to check their mail (with rcp or ftp or the like,
scripted for simplicity) to their own maildirectory to be handled from then
onward by their mail client.
That way you could have that script run every n minutes with by wrapping it
up like so:
#!/bin/sh
while true; do
(the other script here, minus the #!/bin/sh and exit 0 )
sleep n
done
This would run like a daemon, fetching everyone's mail every n minutes,
and putting it in a file for them to retrieve at will.
The procmail recipe for that would be:
:0:
* ^To.*user
name_of_file_in_$MAILDIR
Alan C
--
take control of your mailbox ----- elrav1 -----
http://tinyurl.com/l55a
spammers hate this program because they can't beat it