procmail
[Top] [All Lists]

Re: Broken mass mailings - Delivered-To: issue

2010-01-08 13:53:08
Looking at this matter further, I'd like to focus on the bounce loop
problem.  That is, why does a bounce loop form here? 

# Send bulk mail with DeliveredTo to the intended recipient
:0
* ^Delivered-To: pavilion(_at_)pinefields(_dot_)com
* !^X-Loop: Delivered-To Forward Control
  | formail -A "X-Loop: Delivered-To Forward Control" | \
    $SENDMAIL -oi pavilion(_at_)pinefields(_dot_)com

Why doesn't the test for X-Loop succeed? 

This recipe (which copies mail for pavilion to another address, u100)
works and uses the same basic structure.  (Ignore that it's commented
out for the moment)  It sends a message to pavilion and copies it to
u100 without building a bounce loop.

# Duplicate all mail to pavilion on u100
#:0 c
#* ^TO_pavilion(_at_)pinefields(_dot_)com
#* !^X-Loop: Forwarding Loop Control
#  | formail -A "X-Loop: Forwarding Loop Control" | \
#    $SENDMAIL -oi u100(_at_)pinefields(_dot_)com

Aside from the "c" copy flag, and the replacement of testing for TO: for
Delivered-To:, aren't these recipes equivalent?

Cheers,
Rick Emerson

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