Re: [ILUG] E-mail Forwarding in Sendmail

From: John McCormac (jmcc at domain hackwatch.com)
Date: Wed 16 May 2001 - 17:45:17 IST


David Crozier wrote:
>
> Hi,
>
> Does anyone know how I can forward e-mails to an external address as well as
> keeping a copy of the mail in my local mailbox? Is this done using the
> /.forward file and can this be done without causing an e-mail to loop?

Procmail can be used for this. I think that the aliases file can also be
used to rewrite the addresses so that
the line
username: user1, user at domain otherdomain.com

may work but you'd have to verify it with the external address.

Regards...jmcc

-- 
********************************************
John McCormac            * Hack Watch News
jmcc at domain hackwatch.com       * 22 Viewmount, 
Voice:   +353-51-873640  * Waterford,
BBS&Fax: +353-51-850143  * Ireland
http://www.hackwatch.com/~kooltek
********************************************
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6
mQCNAzAYPNsAAAEEAPGTHaNyitUTNAwF8BU6mF5PcbLQXdeuHf3xT6UOL+/Od+z+
ZOCAx8Ka9LJBjuQYw8hlqvTV5kceLlrP2HPqmk7YPOw1fQWlpTJof+ZMCxEVd1Qz
TRet2vS/kiRQRYvKOaxoJhqIzUr1g3ovBnIdpKeo4KKULz9XKuxCgZsuLKkVAAUX
tCJKb2huIE1jQ29ybWFjIDxqbWNjQGhhY2t3YXRjaC5jb20+tBJqbWNjQGhhY2t3
YXRjaC5jb20=
=sTfy
-----END PGP PUBLIC KEY BLOCK-----


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:19 GMT