Hi, people...
I've a new puzzle for you: my system is set to delivery all messages
*(_at_)mydomain(_dot_)com to my procmail recipe [1]. When I receive a message
with
this fields...
To: someone(_at_)mydomain(_dot_)com
Cc: someoneelse(_at_)mydomain(_dot_)com
...procmail runs once. Ok, maybe my sendmail is telling that these 2
e-mail are the same person... Is that right? Anyway, it's what I want!
BUT (and here start the puzzle), when I receive the same email, for
example, from YahooMail!, my procmail runs twice! The maillog [2] shows
two entries.
Is the Yahoo mailserver opening 2 sessions for the same message (because
the To and CC fields)? Can I fix this?
PS. these problems was found in Yahoo and Visto.com accounts.
[1] - My recipe:
:0 H
*!^FROM_DAEMON
*!^X-Loop: Mail responder
{
REMOTEIP=`formail -zxReceived:`
SUBJECT=`formail -zxSubject:`
FROM=`formail -zxFrom:`
TO=`formail -zxTo:`
CC=`formail -zxCc:`
DATE=`formail -zxDate:`
:0:/home/me/getmessage.lock
| /home/me/getmessage.pl
}
[2] - Maillog (my perlscript gives an answer to sender)
Jun 19 11:57:05 hostname sendmail[9132]: f5JFv4d09132:
from=<myfriend(_at_)yahoo(_dot_)com>, size=544, class=0, nrcpts=1,
msgid=<20010619165513(_dot_)29859(_dot_)qmail(_at_)web3805(_dot_)mail(_dot_)yahoo(_dot_)com>,
proto=SMTP,
daemon=MTA, relay=web3805.mail.yahoo.com [216.115.111.176]
Jun 19 11:57:05 hostname sendmail[9133]: f5JFv4d09133:
from=<myfriend(_at_)yahoo(_dot_)com>, size=544, class=0, nrcpts=1,
msgid=<20010619165513(_dot_)29859(_dot_)qmail(_at_)web3805(_dot_)mail(_dot_)yahoo(_dot_)com>,
proto=SMTP,
daemon=MTA, relay=web3805.mail.yahoo.com [216.115.111.176]
Jun 19 11:57:06 hostname sendmail[9169]: f5JFv6R09169:
from=myfriend(_at_)yahoo(_dot_)com, size=769, class=0, nrcpts=1,
msgid=<200106191557(_dot_)f5JFv6R09169(_at_)mydomain(_dot_)com>,relay=me(_at_)localhost
Jun 19 11:57:06 hostname sendmail[9175]: f5JFv6709175:
from=myfriend(_at_)yahoo(_dot_)com, size=773, class=0, nrcpts=1,
msgid=<200106191557(_dot_)f5JFv6709175(_at_)mydomain(_dot_)com>,relay=me(_at_)localhost
TIA,
Marcos
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail