What I want to do with postfix is have an open relay that accepts all emails. I then want it to push all the received emails to a script.

I have found solutions, but they never specifiy on how to do this for an open relay or how to accept all domains.

link|improve this question

possible duplicate of How to configure postfix to pipe all incoming email to a script? – mailq Nov 30 '11 at 21:13
not really, since that one uses known hosts, and I want to accept all email – Lucas Kauffman Dec 1 '11 at 7:17
For this there is pcre or regex support in Postfix. – mailq Dec 1 '11 at 18:42
feedback

1 Answer

up vote 1 down vote accepted

Oh, I wrote a little blog post about that: http://blog.malowa.de/2011/04/postfix-as-spam-trap-server.html It is mainly about smtp-sink.

If you don't want that, see the dupe above.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.