Re: [exim] Is it possible to deliver locally and relay a mai…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tom Bombadil
Date:  
À: David Hartburn
CC: exim-users
Sujet: Re: [exim] Is it possible to deliver locally and relay a mail?


David Hartburn wrote:
> Can I have all mail for one domain delivered into a single local mailbox
> and also forward that same mail onto a remote SMTP server, specified by
> IP address? Another option would be to relay the mail to two SMTP
> servers. Basically I need the mail delivering twice.


Yup.

Check 'unseen' option in the router:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch15.html

This will fork off the message: one get processed by the current router,
and the other one goes to next router.

There's bunch of gotchas when using 'unseen' with headers_add,
headers_remove, etc... So, read the manual carefully.

Cheers,
g.