procmail
[Top] [All Lists]

Re: chowning messges delivered to specific user through /etc/procmail

2002-10-07 13:14:50
on 4 October 2002, Mark Valites wrote:

Is this the correct way
to deliver to my special account & make them own it?

about an attempt to chown a user's mailbox after procmail delivering
to some other user has written to it.

But wouldn't the "correct way" be to tell a mail delivery agent to
deliver the message to the user who owns the mailbox? Then the
delivery agent will do all the details right. I don't want to learn
what those details are.

Change the action in the delivery recipe to something like

:0
* is this malware?
| /usr/sbin/procmail <switches> quarantine-account

where, if I remember correctly, the switches fetchmail uses for this
are "-oi"; or

:0
* is this malware?
| /usr/sbin/sendmail quarantine-account

This will add Received: headers describing what happened and may add
some other headers.

(In other words, "the correct way to deliver" mail is to hire a mail
delivery agent.)

dan     dlh(_at_)dlh(_dot_)com


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail