On 2014-07-22 13:12, wie...@porcupine.org wrote:
Alex:
Hi folks,
Situation:
Hoping to tie Postfix into a chain of software and hardware appliances
as a Message Bus, most of which is outside of my control. Postfix is
run
inside a heavily firewalled network, no e-mail incoming from the
outside
world.
I'm trying to find out how (much work it is) to transform/convert the
RCPT TO line--*including* the NOTIFY section--from the incoming SMTP
session with an e-mail, into a mailheader with Postfix (or
milter-plugin) *and* strip the NOTIFY section from the SMTP session
after the original notify_options are preserved for the mailheader.
The
Converting SMTP command line options into message headers requires
an SMTP-based filter, for example, smtpd_proxy_filter. See:
http://www.postfix.org/SMTPD_PROXY_README/html
Postfix strips SMTP syntax while receiving mail, and adds SMTP
syntax while delivering mail. The rest of Postfix knows nothing
about SMTP.
Wietse
Thank you for your answer. It caused me to take another look at:
http://www.postfix.org/SMTPD_PROXY_README.html#config
"For non-SMTP capable content filtering software, Bennett Todd's SMTP
proxy implements a nice PERL/SMTP content filtering framework. See:
http://bent.latency.net/smtpprox/."
bent.latency.net is (and was also yesterday) unreachable, I guess that's
why I skimmed over the nearby text. But archive.org was useful:
https://web.archive.org/web/20131210174626/http://bent.latency.net/
And https://github.com/jnorell/smtpprox
FYI: the Perl community prefers the name written as "Perl" or "perl"
over "PERL":
http://learn.perl.org/faq/perlfaq1.html#Whats-the-difference-between-perl-and-Perl-
Kind regards,
Alex