ram:
> I have written a custom milter to reject mails at SMTP level based on
> some policies. ( basically user level blacklisting etc )
>
> Now my milter seems to work fine( at least in the test
> environment :-) )
>
>
> But My reports are not working because the syslog line does not contain
> recipient-id
>
> -----
> Aug 4 18:42:04 ms6build postfix/smtpd[20765]: NOQUEUE: milter-reject:
> RCPT from unknown[192.168.2.105]: 503 5.0.0 Sender not allowed for this
> recipient; from=<ram AT microsoft DOT com> proto=ESMTP helo=<netcore.co.in>
> Aug 4 18:42:04 ms6build postfix/smtpd[20765]: lost connection after
> RCPT from unknown[192.168.2.105]
> -----
>
> But a mail rejected by other filters ( eg rbl with zen.spamhaus ) come
> with both sender and recipient. Can I configure postfix to list both
> sender and recipient in the syslog
This requires a source code fix.
Wietse
|