procmail
[Top] [All Lists]

Re: Duplicate mail using aliases - (Resolved)

2004-10-09 08:24:37
"Michelle Konzack" wrote...
========================

Why Do you have removed the "* !^X-Loop: xloop(_at_)mydom(_dot_)com" line ?

Dallman hat told you, to remove

 -X "X-Loop:"

from the Line

-I "X-Loop: xloop(_at_)mydom(_dot_)com" -X "X-Loop:" \

So in complet:

  ________________________________________________
 /
|  :0 w:
|  * !^X-Loop: xloop(_at_)mydom(_dot_)com
|  * ^Subject:.*ABCD dead_letter
|  * ^To:(_dot_)*admin(_at_)mydom(_dot_)com
|  | formail -k -X "From:" -X "Subject:" \
|            -I "To: deadletter" -X "To:" \
|            -I "X-Loop: xloop(_at_)mydom(_dot_)com" \
|            | $SENDMAIL -t
 \________________________________________________

will work.


Don Woodward replies ...
====================

I tried as Michelle suggested but the line " -I "X-Loop: 
xloop(_at_)mydom(_dot_)com" \"
is not doing anything - it doesn't insert a "X-loop: 
xloop(_at_)mydom(_dot_)com" in the
message headers without a  -X "X-loop:" , so why keep it?  The idea of the
"X-loop header addition (original line with -I and -X) was to prevent loops
as suggested by the FAQ, but using it with an alias from /etc/aliases was
producing double copies - my original problem.


Regards,

Don Woodward






____________________________________________________________
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