I have more information about my problem but still don't find any
information (after reading all the faqs I found)
I want to send the mail to 2 users (in "To" headers or "CC" , it's the same
result),
The first user (eric) has a .forward file in his directory and 2nd user
(guivarch) doesn't.
I obtain the following logs with sendmail :
<XX>Jul 26 17:39:38 sendmail[27438]: f6QFdbw27438:
from=<guivarch(_at_)server(_dot_)com>, size=519, class=0, nrcpts=2,
msgid=<PFEFKLPHPADBMODPKMAPEEHLCFAA(_dot_)guivarch(_at_)server(_dot_)com>,
proto=SMTP,
relay=...
<XX>Jul 26 17:39:38 sendmail[27449]: f6QFdbw27438: to="|IFS=' ' &&
p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit 75 #eric",
delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=60025, dsn=2.0.0,
stat=Sent
<XX>Jul 26 17:39:38 sendmail[27449]: f6QFdbw27438:
to=<guivarch(_at_)server(_dot_)com>,
ctladdr=<guivarch(_at_)server(_dot_)com> (27461/100), delay=00:00:01,
xdelay=00:00:00,
mailer=local, pri=60025, dsn=2.0.0, stat=Sent
In this case the second user receive the mail twice and the first user
doesn't receive it !!!!!
If I change the order of the addressees, it's working fine : cf following
logs :
<XX>Jul 26 17:51:43 sendmail[29253]: f6QFpg429253:
from=<guivarch(_at_)server(_dot_)com>, size=519, class=0, nrcpts=2,
msgid=<PFEFKLPHPADBMODPKMAPAEHMCFAA(_dot_)guivarch(_at_)server(_dot_)com>,
proto=SMTP,
relay=a...
<XX>Jul 26 17:51:43 sendmail[29255]: f6QFpg429253:
to=<guivarch(_at_)server(_dot_)com>,
ctladdr=<guivarch(_at_)server(_dot_)com> (27461/100), delay=00:00:01,
xdelay=00:00:00,
mailer=local, pri=60024, dsn=2.0.0, stat=Sent
<XX>Jul 26 17:51:43 sendmail[29255]: f6QFpg429253: to="|IFS=' ' &&
p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit 75 #eric",
delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=60024, dsn=2.0.0,
stat=Sent
So I suspect a problem with sendmail ????
here is my .procmailrc for user eric :
SHELL=/bin/sh
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail
DEFAULT=/var/mail/eric
LOGFILE=/var/log/procmail
LOCKFILE=$HOME/.lockmail
VERBOSE=yes
LOGABSTRACT=all
SHELLFLAGS=${SHELLFLAGS:--}vx
SUBJECT = `formail -xSubject:`
FROM = `formail -xFrom:`
and my .forward :
"|IFS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit 75
#eric"
Any help would be greatly appreciated. :)
Eric Guivarch
-----Message d'origine-----
De : procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE]De la part de Eric
Envoyé : jeudi 26 juillet 2001 15:34
À : procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Objet : problems with procmail : to and cc
Hi,
I've got a big problem with procmail :
I defined a .forward file which contains :
"|IFS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit 75
#eric"
All is working fine except if I send a mail to 2 users as following
to => eric(_at_)dotcom (with a .forward)
cc => autre(_at_)dotcom (without a .forward)
eric(_at_)dotcom will not receive the mail and autre(_at_)dotcom will receive it
twice.
If I send it to :
to => eric(_at_)dotcom (with a .forward)
cc => other(_at_)hotmail
It's working fine.
I don't even have a clue on the reasons of the problem
Thanks in adance for any help.
Eric Guivarch
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail