Hello,

Postfix normally filters mail using a pipeline like

smtp --> content_filter --> smtpd

but it lacks the lmtpd that would also enable

lmtp --> content_filter --> lmtpd


Why is that useful?

I've seen a few questions posted about forking mail.  This is usually a
bad idea for incoming mail, but when it is locally generated there can
be reasons :- For reasons of privacy and email management, I am trying
to mask the sender's address into an externally visible alias, but which
alias makes sense would depend on the recipient.  No problem when
there's one recipient, but a problem when there are many; it ends up
forking the email into groups of recipients, dependent on which address
they may get to see.

When forking the email by sending it to multiple output processes, the
most dreadful half-way failure conditions can occur, which degrade the
transactional quality level of email handling.  With LMTP in and out
however, a content_filter can easily return which of the recipients have
gotten their email sent, and which did not.  Postfix would then return a
report based on what it got replied into the initiating lmtp process.


Would this be considered a bad idea, or just a new idea?


Thanks,

Rick van Rein

Reply via email to