Re: pseudo mail relay which stores inbound emails

2014-09-19 Thread Ray Davis
On 18. Sep 2014, at 19:01 Uhr, Wietse Venema wie...@porcupine.org wrote: Ray Davis: A customer wants a mail relay for testing to SAP applications. It should take all relayed email and save it to a local mailbox (or forward it to another email address) - but it should not actually send the

Re: pseudo mail relay which stores inbound emails

2014-09-19 Thread Wietse Venema
Ray Davis: On 18. Sep 2014, at 19:01 Uhr, Wietse Venema wie...@porcupine.org wrote: Ray Davis: A customer wants a mail relay for testing to SAP applications. It should take all relayed email and save it to a local mailbox (or forward it to another email address) - but it should not

Re: pseudo mail relay which stores inbound emails

2014-09-19 Thread Viktor Dukhovni
On Fri, Sep 19, 2014 at 10:20:33AM -0400, Wietse Venema wrote: Perhaps you can use a REDIRECT action in a check_sender_access map? That will override all envelope recipients, and has no effect on existing message headers. smtpd_sender_restrictions = check_sender_access maptype:mapfile I

Re: pseudo mail relay which stores inbound emails

2014-09-19 Thread Wietse Venema
Viktor Dukhovni: On Fri, Sep 19, 2014 at 10:20:33AM -0400, Wietse Venema wrote: Perhaps you can use a REDIRECT action in a check_sender_access map? That will override all envelope recipients, and has no effect on existing message headers. smtpd_sender_restrictions =

Re: pseudo mail relay which stores inbound emails

2014-09-19 Thread Viktor Dukhovni
On Fri, Sep 19, 2014 at 10:51:57AM -0400, Wietse Venema wrote: I tried to avoid REDIRECT, as it applies to all recipients of a message, which might include more than just the particular customer. If no message is ever sent to the users who need this and others at the same time, then

pseudo mail relay which stores inbound emails

2014-09-18 Thread Ray Davis
A customer wants a mail relay for testing to SAP applications. It should take all relayed email and save it to a local mailbox (or forward it to another email address) - but it should not actually send the emails further to the recipient. I know that sender_bcc_map can take car of saving the

Re: pseudo mail relay which stores inbound emails

2014-09-18 Thread Wietse Venema
Ray Davis: A customer wants a mail relay for testing to SAP applications. It should take all relayed email and save it to a local mailbox (or forward it to another email address) - but it should not actually send the emails further to the recipient. I know that sender_bcc_map can take

Re: pseudo mail relay which stores inbound emails

2014-09-18 Thread Viktor Dukhovni
On Thu, Sep 18, 2014 at 06:53:29PM +0200, Ray Davis wrote: A customer wants a mail relay for testing to SAP applications. It should take all relayed email and save it to a local mailbox (or forward it to another email address) - but it should not actually send the emails further to the