procmail
[Top] [All Lists]

Re: Broken mass mailings - Delivered-To: issue

2010-01-08 14:09:24
At 13:56 2010-01-08 -0500, Richard B. Emerson wrote:

I'm working on /etc/procmailrc (that is, the global rc, not the
user-specific rc).

Bear in mind that the To: line, in one of the problem messages, contains
an address that is not at pinefields.com (e.g.,

So? This is not how your MTA determines who it is being delivered to. This is how ERROR PRONE HACKS try to determine who a message is being delivered to. Sad, but true. I've dealt with innumerable instances of mail loops generated by people reprocessing old mail (say, from a mail server crash) and trying to send the messages to the To: address because they had no record of who the envelope recipient was (nevermind that the To: address wasn't within their domain).

baba-l(_at_)yahoogroups(_dot_)com).  In the case where the TO: is right, nothing
should happen.   However, in the case where the TO: is wrong but the
Delivered-To: is right, I want to use the address following the
delivered-to.

If procmailrc has been invoked and is processing the /etc/procmailrc, surely it is already in the process of delivering it to someone. Have you checked to see FOR WHOM?

LOG="delivering to local user $LOGNAME
"

will report the username (local user account, not email address) that the message is being delivered on behalf of - which should be the same user accout to which the mail address should deliver.

If you remove your attempt to forward the messages (to your own host), where are the messages going? Why did you find it necessary to try to forward them in the first place?

That is, I haven't tinkered with sendmail or procmail. And I only dug into procmail after the wheels fell off with the mass mailings.

BTW, "mailing list messages" might be more appropriate. Mass mailings give the impression of spam. Both use lots of BCCs, but the latter just has a dirty word association.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>