procmail
[Top] [All Lists]

Re: Delivered-To: [adding it]

1999-06-18 16:20:46
era eriksson <era(_at_)iki(_dot_)fi> writes:

 > Would there be a way to use this to somehow get procmail to copy
 > all outgoing messages to a temp archive. But only after the local
 > MTA has finished with them. I mean a way that does not involve
 > major hacking of source code for sendmail.

That question again? Sendmail normally doesn't have any hooks for
invoking the MDA on outgoing or transit mail. If you want them, you
will have to hack them in. (But it might not be so major, really.
<http://www.harker.com/sendmail/copyuser.html> almost looks
straightforward. [And this URL was pointed out to me by none other
than Harry Putnam. :-])

Errr.. I was hoping poster James McGill might know of a handy
(hitherto unknown) way of doing it..  : )

The hack on harker page may look straightforward to you, but to my
inexperienced eyes, it looks complicated.  I get nervous hacking
something as basic as sendmail because of a serious lack of
experience.  I've had problems a time or two, with my local
mail setup, usually something not set properly in sendmail.  And me
without much idea of what to do about it. I may meddle with it anyway
though.