On Sun, 12 Oct 2003, Peter Vogel wrote:
> I know about using the aliases file to cause emil to be redirected, but
> is there a way to configure my system (running sendmail ) to copy all
> incoming mail to another address, i.e. keep the messages on my server as
> well as sending them elsewhere?
>
After reading the other replies I'm not sure if it's covered... so
If you're talking about just a handful of users... /etc/aliases
grant: grant,[EMAIL PROTECTED]
peter: peter,[EMAIL PROTECTED]
Sendmail's smart enough to not get in a recursive loop here. It delivers
to the local user and the other address in each case.
If you're talking system wide and you want to cover *all* email going
through your server (in and out via SMTP) then you can install
obtuse-smtpd which is different from the qmail smtpd. Essentially it
lestens on port 25 and does the receiving of email whilst sendmail
only sends, thus "practicing safe-sendmail", to quote from the blurb.
You could configure it to receive email into one directory then write a
simple shell script to copy to archive directory and to a processing
directory where the smtpfwdd process passes it onto sendmail or other
MTA's. This also has the benefit that you can shutdown sendmail to
work/config/experiment on whilst still receiving and spooling email until
you're ready.
--
---<GRiP>---
Electronic Hobyist, Former Arcadia BBS nut, Occasonal nudist,
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver & rave music lover, Big kid that refuses
grow up. I'd make a good family pet, take me home today!
Do people actually read these things?
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug