procmail
[Top] [All Lists]

Re: Duplicate mail using aliases - (Resolved)

2004-10-09 07:56:05
Am 2004-10-09 09:30:18, schrieb Don Woodward:
Dallman:

Thanks for all your help.  You were right on the money with removing the "c"
flag and the "X-loop" statements.  Below is the working recipe using an
alias with no duplicates.

Are you sure you want this ?

#
# forward dead_letter subjects
:0 w:

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

* ^Subject:.*ABCD dead_letter
* ^To:(_dot_)*admin(_at_)mydom(_dot_)com
| formail -k -X "From:" -X "Subject:" \
        -I "To: deadletter" -X "To:" \

And here...
Dallman hat told you, to remove 

 -X "X-Loop:"

from the Line

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

?

        | $SENDMAIL -t
#
#

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.

Best regards,

Don Woodward


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
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