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 emails further >> to the recipient. >> >> I know that sender_bcc_map can take car of saving the emails, but how can I >> keep the server from sending the mail further? I need an >> all_emails_from_sender_go_to_dev_null option? ;) >> > > REPLACE the recipient, instead of ADDING one. Except the customer wants to see the email unmodified from their SAP software. But now that I see there is a transport discard:silently, then I can just set up a private postfix server with sender_bcc_map and discard:silently. Thanks! Ray > > Wietse > >> Or do I need to set up a separate mail server for this with sender_bcc_map >> and a default transport which silently sends the email to /dev/null? >> >> Any suggestions would be more than welcome! >> >> Thanks, >> Ray