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.
Wietse
> The setup I desperately try to run is that if Postfix receives a '200
> OK' anwser from my ML daemon, Postfix must hand him the email to which
> the email is to be delivered to so that it process the mailing list
> formating/dispatching.
>
> I read the Postfix documentation as well as a serious number of
> ML/forums threads, blogs articles but I really can't figure out how to
> do this -- even if it is possible !
>
> Thank you for your help, if any of you has a clue about how to do this;
> I apologize in advance if this email is hard to understand, my English
> isn't perfect, I'll try to explain better if needed.
>
> Marc.
>
> P.S.: Please, don't tell me to or ask me why I don't use Mailman or
> Sympa to handle ML.
>
> --
> m...@falzon.info | http://falzon.info/
>
> V?rifier cet e-mail / Check this e-mail :
> http://falzon.info/mfalzon-gpg.gpg
>
>
>