Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|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
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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