Mike Vanecek wrote:
About Sendmail::Milter
----------------------

Sendmail::Milter provides users with the ability to write mail filters in Perl
that tightly integrate with sendmail's mail filter API.

implies it is a filter. I can already use procmail to filter incoming mail. I
want to attach a couple of custom headers to all outgoing mail. It really
should not be this difficult??

It is filter, but for sendmail, whether a message is incoming or outgoing makes little difference until it decides what 'mailer' to use to deliver the message.


All messages come in on SMTP. Milter operates in that part of the process. Afterwards, sendmail decides whether to hand the message off to the locl mailer (probably procmail) or hand it off to a remote mailer (almost always SMTP).

Milter can do this, and the Sendmail::Milter perl module has an example of adding a line to the bottom off a message body. It doesn't look easy, but it looks doable. This article from /The Perl Journal/ might help:

http://www.samag.com/documents/s=7178/sam0206l/0206l.htm


Tony -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation. <http://www.linux.org/>



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to