procmail
[Top] [All Lists]

Forwarding to SMTP

2007-02-15 13:36:04
Hi,

As part of a corporate reorganization I suddenly have a need to forward 
all mail coming through my Linux/sendmail/procmail server to an smtp 
server elsewhere.

I cannot just make the smtp server the mailserver for the domain as 
procmail performs much cool filtering including database lookups - 
functionality I dont want to lose. In summary:

1. Mail into Linux.
2. Sendmail.
3. Procmail
4. Forwards to smtp server.

I dont believe the following syntax will work:

# Forward the email
:0 c
!smtp:second-mail-server.net

Any help would be much appreciated.

Thanks

Patrick


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>