par benignix » 29 Jan 2004 17:12
Bonjour,
<BR>
<BR>Je cherche a rejeter tous les mails dont le champ MAIL FROM est a "<>", sendmail accept a priori par défaut ce genre de message.
<BR>exemple de log de sendmail :
<BR>Jan 29 15:58:50 le_srv_sendmail sendmail[12507]: i0TEwo3C012507: from=<>, size=4030, class=0, nrcpts=1, msgid=<200401291501.cxx52046@host12>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
<BR>autre exemple :
<BR>
<BR>[root@monpc root]# telnet monpc 25
<BR>Trying xx.xx.xx.xx ...
<BR>Connected to monpc (xx.xx.xx.xx).
<BR>Escape character is '^]'.
<BR>220 monpc; ESMTP Thu, 29 Jan 2004 15:20:51 +0100
<BR>helo monpc
<BR>250 monpc Hello monpc [xx.xx.xx.xx], pleased to meet you
<BR>mail from: <>
<BR>250 2.1.0 <>... Sender ok !!!!!!!!!!!!!!!!!!!!!!!!!
<BR>rcpt to: totothebest
<BR>250 2.1.5 totothebest... Recipient ok
<BR>data
<BR>354 Enter mail, end with "." on a line by itself
<BR>sdd
<BR>.
<BR>250 2.0.0 i0TEKpDj015987 Message accepted for delivery
<BR>
<BR>
<BR>j'ai rein trouvé de très clair la dessus, si quelqu'un avait une idée ?
<BR>
<BR>Merci d'avance.
YJBenignix