On 21/03/10 23:11, Wietse Venema wrote:
Marc Falzon:
[ Charset ISO-8859-1 unsupported, converting... ]
Hello all,

I am currently trying to configure Postfix to route incoming emails
based on email address matching to a daemon I wrote.

Here is the context : I am developing a simple mailing list management
daemon to which I want Postfix to hand emails according to mailing list
addresses it handles. I implemented a "sub" daemon which answers Postfix
TCP tables requests (like 'GET some-mailing-l...@domain.com') with '200
OK' if the ML daemon actually handles this ML address or with '400 No
such ML' if it doesn't.

Why not use the Postfix transport map feature? With this, the server
can reply with the name of a Postfix mail delivery agent and a
destination. If the delivery agent is the Postfix SMTP client, the
destination could be a host and port; alternatively, the delivery
agent could be the Postfix pipe(8)-to-command mailer.

Thank you very much for the quick answer, I'll try this.

Regards,

Marc.

--
m...@falzon.info | http://falzon.info/

VĂ©rifier cet e-mail / Check this e-mail :
http://falzon.info/mfalzon-gpg.gpg

Reply via email to