[milters] Archive

Lists Index Date Thread Search

Article: 2883
From: Ferdinand Goldmann
Date: 2012-08-17 04:26:39 -0400
Subject: odd problem FreeBSD 8 + sendmail + milter-ahead

Hi!

I've been using milter-ahead for some years now on FreeBSD based
mailservers in conjunction with MIMEDefang and milter-greylist. Never gave
me the slightest trouble.

However, I recently set up a new server running FreeBSD 8.3-RELEASE-p3 on 
VMware ESXi 4.1. I'm using the exact same sendmail configuration macros
I've been using in my previous setups:

define(`_FFR_MILTER', `1')dnl
MAIL_FILTER(
                `milter-ahead',
                `S=unix:/var/run/milter-ahead.socket, T=C:1m;S:30s;R:6m;E:1m'
)dnl

define(`confMILTER_MACROS_CONNECT', `j, _, {daemon_name}, {if_name}, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify}, {tls_version}, {cipher}, {cipher_bits},
{cert_subject}, {cert_issuer}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_type}, {auth_authen}, {auth_ssf},
{auth_author}, {mail_mailer}, {mail_host}, {mail_addr}')
define(`confMILTER_MACROS_ENVRCPT', `{greylist}, {client_resolve}, {rcpt_mailer},
{rcpt_host}, {rcpt_addr}')

Alas, milter-ahead does not call ahead anymore. I set the debug level a bit higher, and
what
I keep getting is this:

Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: filterMail(800e8b280,
800e1e840) MAIL='<spr_corrections@sps.co.in>'
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669:
address='spr_corrections@sps.co.in' localleft='spr_corrections' localright=''
domain='sps.co.in' auth='(NULL)'Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154
q7H8IOIw027669: enter smfAccessPattern(800ed2e00, "", "TEMPFAIL...",
0)
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669:
pin="TEMPFAIL..."
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: "" default
action "TEMPFAIL..."
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: exit 
smfAccessPattern(800ed2e00, "", "TEMPFAIL...", 0) rc=M action=''
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669:
sender=<spr_corrections@sps.co.in> access=M skipConnection=0 skipMessage=0Aug 17
10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: filterRcpt(800e8b280, 800e2b4a0)
RCPT='<ulrich.mueller@kplus-wood.at>'
rcpt_addr='<ulrich.mueller@kplus-wood.at>' rcpt_host='' rcpt_mailer=''
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669:
address='ulrich.mueller@kplus-wood.at' localleft='ulrich.mueller' localright=''
domain='kplus-wood.at'
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: enter
smfAccessPattern(800ed2e00, "", "TEMPFAIL...", 0)
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669:
pin="TEMPFAIL..."Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154
q7H8IOIw027669: "" default action "TEMPFAIL..."
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: exit 
smfAccessPattern(800ed2e00, "", "TEMPFAIL...", 0) rc=M action=''Aug 17
10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669:
recipient=<ulrich.mueller@kplus-wood.at> access=M skipConnection=0 skipRecipient=0
Aug 17 10:18:30 mail2 milter-ahead[85703]: 04154 q7H8IOIw027669: rcpt_host='' is not a
defined route, skipping

rcpt_host='' is not a defined route, skipping
=> This looks to me as if milter_ahead is not getting the correct value of rcpt_host
anymore, which
should be the receiving host for the kplus-wood.at domain, defined in
/etc/mail/mailertable, right?

I'm really puzzled about this behaviour. I've been using the same setup starting with
FreeBSD 6.
The sendmail version in use is 8.14.5 shipped with FreeBSD.

Any clues what to try or where to look for further info?

TIA & best regards,
Ferdinand Goldmann
-- 
>> Ferdinand Goldmann
>> Johannes Kepler University Linz - Server Systems/Information Management
>> Mail: Ferdinand.Goldmann@jku.at Phone: 00437024683925 Fax: 00437024689397
>> A lack of planning on your part doesn't constitute an emergency on my part.



Lists Index Date Thread Search