Hi

I've got a problem with milter-regex on a _multi-homed_ gateway (OpenBSD
3.9 stable).
Milter-regex did not get the "From" "To" and "Subject" here is the
milter-regex -d output :
Oct 15 15:15:48 mymachine milter-regex[16137]:
1.1.1.1:cb_connect('foo.foo.com', '1.1.1.2')
Oct 15 15:15:53 mymachine milter-regex[16137]:
1.1.1.1:cb_helo('foo.foo.com')
Oct 15 15:15:53 mymachine milter-regex[16137]:
1.1.1.1:cb_envfrom('<[EMAIL PROTECTED]>')
Oct 15 15:15:53 mymachine milter-regex[16137]: 1.1.1.1::ACCEPT, From: ,
To: , Subject:
Oct 15 15:15:56 mymachine milter-regex[16137]: 1.1.1.1: cb_close()

/etc/mail/sendmail.cf
...
# Input mail filters
O InputMailFilters=milter-regex
...
Xmilter-regex, S=unix:/var/spool/milter-regex/sock, T=S:30s;R:2m
...

/etc/milter-regex.conf
#tempfail "Sender IP address not resolving"
reject "Sender IP address not resolving"
connect /\[.*\]/ //
reject "sorry bye"
header /^(TO|FROM|SUBJECT)$/ei /test/

/etc/rc.conf.local
...
sendmail_flags="-L sm-mta -bd -q30m"
...

I use the same configuration files on 3 OpenBSD (single interface)
without problem.

Any idea ?

Thanks

Reply via email to