procmail
[Top] [All Lists]

RE: about the new reply

2007-11-21 11:32:24
yangf0704 wrote Wednesday, November 21, 2007 3:52 PM:
 
BTW, I read some docs and try to wrote a rc file, it just 
used to judge if the sender already received a autoreply 
once, not include the date judge.But it doesn't work. Could 
you help me fix it? Thanks.
 
 
SHELL=/bin/sh
 
:0 Whc: vacation.lock
* $^To:.*\<$\LOGNAME\>
* !^FROM_DAEMON
* !^X-Loop: fyang(_at_)test(_dot_)com
| formail -rD 8192 vacation.cache
:0 ehc
| (formail -r -I"Precedence: junk" -A"X-Loop: fyang(_at_)test(_dot_)com 
"; cat /var/spool/home/test.com /fyang~test.com /mail/.reply 
) | $SENDMAIL -F "fyang" -f fyang(_at_)test(_dot_)com -t

Well, offhand it looks fairly okay to me.  You might want
to quote the dot in your X-Loop address.
I hope your line continuations were not as quote above 
on the final action, though.  What about it didn't work?
That is not a very specific bug report.  What do your verbose
logs say?

dman

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