Anton Melser wrote:
Hi all,
I've spent a while looking but haven't turned up anything
interesting... Basically, we have an application and we want to test
the newsletter sending functionality. I need to make sure that no real
emails get sent out, though the addresses are real (production)
addresses. I am sure this is possible but I'm getting nowhere on how
to do it. As there are emails from other apps on the machine that DO
need to go out, I was thinking of  filtering by sender. Any ideas on
how to do this easily? I'm using standard debian etch (2.3.8).


how does the application send mail?

if it's with smtp, then use REDIRECT or FILTER in an smtpd restriction check.

but it's better to let the application use a specific postfix instance that does never send mail.

Reply via email to