procmail
[Top] [All Lists]

Re: Broken mass mailings - Delivered-To: issue

2010-01-08 12:56:35


Professional Software Engineering wrote:
At 10:39 2010-01-08 -0500, Richard B. Emerson wrote:

# Send bulk mail with DeliveredTo to the intended recipient

I've got to ask - WHY do you need to do this?  Is this in an
/etc/procmailrc, or is it in ~/.procmailrc ?  If the message was
delivered TO that user, why do you need to foward it to the SAME
ADDRESS?  Sounds as if you're trying to use Procmail as an MTA, and
you'll always have issues with that.

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.,
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.

:0:
* ^Delivered-To: chris(_at_)pinefields(_dot_)com
* !^X-Loop: Delivered-To Forward Control
  | formail -A "X-Loop: Delivered-To Forward Control" | \
    $SENDMAIL -oi chris(_at_)pinefields(_dot_)com

You're delivering to a pipeline not a file - no need to use a lockfile
flag here.
TNX.  I'll lose the lockfile flag.

The message delivered to system(_at_)pinefields(_dot_)com (the postmaster 
username)
is a "forwarding loop" warning.

I'd take it that your MTA is detecting that it already received the
message.  Perhaps the problem started with an upgrade to your MTA?
That seems to be the leading contender but, for the life of me, I have
no idea what caused it.  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. 

Cheers,
Rick Emerson


---
 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


____________________________________________________________
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>