procmail
[Top] [All Lists]

Postfix

2003-05-20 04:54:58
Hello Sir
I hope someone can help me.
I need to filter OUGOING mail. At this time I configured inside mail.cf
(I?m speaking of Postfix) this:
mailbox_command = /usr/bin/procmail /etc/postfix/rules.rc.
Actually if I send an e-mail to an external domain postfix doesn?t run
procmail.
 
172.16.2.39 is my pc?s ip address !
 
Example: mail from toia(_at_)keb(_dot_)it to toia(_at_)keb(_dot_)it, (this is 
an extract of
/var/log/maillog)
May 20 13:06:17 RH80 postfix/smtpd[3024]: connect from
unknown[172.16.2.39]
May 20 13:06:17 RH80 postfix/smtpd[3024]: C0A44B64E:
client=unknown[172.16.2.39]
May 20 13:06:17 RH80 postfix/cleanup[3026]: C0A44B64E:
message-id=<007a01c31ebd$fa6d38a0$270210ac(_at_)KEBQEOIVYY4U73>
May 20 13:06:17 RH80 postfix/qmgr[2313]: C0A44B64E: 
from=<toia(_at_)keb(_dot_)it>,
size=5927, nrcpt=1 (queue active)
May 20 13:06:17 RH80 postfix/local[3028]: C0A44B64E: 
to=<toia(_at_)keb(_dot_)it>,
relay=local, delay=0, status=sent ("|/usr/bin/procmail
/etc/postfix/rules.rc")
May 20 13:06:20 RH80 postfix/smtpd[3024]: disconnect from
unknown[172.16.2.39]
As you can see the fifth line claims procmail.
 
2nd  Example: mail from toia(_at_)keb(_dot_)it to scorby(_at_)tiscali(_dot_)it 
(external
domain),  (this is an extract of /var/log/maillog)
May 20 13:17:04 RH80 postfix/smtpd[3076]: connect from
unknown[172.16.2.39]
May 20 13:17:04 RH80 postfix/smtpd[3076]: EDE9BB64E:
client=unknown[172.16.2.39]
May 20 13:17:04 RH80 postfix/cleanup[3078]: EDE9BB64E:
message-id=<009001c31ebf$7c165110$270210ac(_at_)KEBQEOIVYY4U73>
May 20 13:17:05 RH80 postfix/qmgr[2313]: EDE9BB64E: 
from=<toia(_at_)keb(_dot_)it>,
size=5982, nrcpt=1 (queue active)
May 20 13:17:07 RH80 postfix/smtpd[3076]: disconnect from
unknown[172.16.2.39]
May 20 13:17:16 RH80 postfix/smtp[3091]: EDE9BB64E:
to=<scorby(_at_)tiscali(_dot_)it>, relay=smtp-in.tiscali.it[195.130.225.171],
delay=12, status=sent (250 <3EC4E8FB001CD11D> Mail accepted)
 
In the second example postfix doesn?t run procmail and its recipe file.
Unlikely I?ll be never able to filter the e-mail !!
 
 
Any help will be very very appreciated 
 
 
KEB ITALIA SRL
Toia Andrea
Centro Elaborazione Dati
Systema Qualita'
 
 
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>
  • Postfix, Toia <=