procmail
[Top] [All Lists]

Re: mail looping..recipe problem...

2000-05-13 13:17:00

Resent-Date: Fri, 12 May 2000 23:54:54 +0200 (MET DST)
From: arnottk(_at_)valero(_dot_)com
Subject: mail looping..recipe problem...
To: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Date: Thu, 11 May 2000 23:28:27 -0500

help...This is the contents of my /etc/procmailrs/domain file
and it works ... kinda... only problem is that it creates mail loops and
finally bounces to the sender...
any suggestions where i might have strayed?  TIA

:0 fhw
* !^X-Loop: me(_at_)here
* !^FROM_DAEMON
* ^Subject:.*KENT
| ($FORMAIL -rtk -I"From: me(_at_)here" -A"X-Loop: 
postman(_at_)valero(_dot_)com"; ca
t $ETC/loveletter.proc) | $SENDMAIL -oi -t

:0 HB
* !^X-Loop: me(_at_)here
* !^FROM_DAEMON
* ^Content.*\.vbs
| ($FORMAIL -rtk -I"From: me(_at_)here" -A"X-Loop: 
postman(_at_)valero(_dot_)com"; ca
t $ETC/proc.vbs) | $SENDMAIL -oi -t

:0
| $SENDMAIL -f "$@"

Either change your -A"X-Loop: postman(_at_)valero(_dot_)com" to -A"X-Loop: 
me(_at_)here(_dot_)com" 
or 
change your * !^X-Loop: me(_at_)here to * !^X-Loop: 
postman(_at_)valero(_dot_)com 

The *!^X-Loop value has to match the -A"X-Loop" value to stop mail loops.

------------------------------------------------------------------------
Roy Stewart             Global Atmospherics Inc.                       
Applications Developer  Manufacture and systems integrator of lightning
rstewart(_at_)glatmos(_dot_)com location and detection equipment and services 
                http://www.lightningstorm.com

MS Office (PC-only)     $540       
StarOffice(PC or UNIX)  FREE http://www.sun.com/staroffice
Win 2000/5-client       $910 
Linux no-limit/client   FREE http://www.linux.org
Solaris no-limit/client FREE http://www.sun.com/developers/promofaq.html
        My computing environment is 100% Micro$oft FREE!
------------------------------------------------------------------------

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