Kind night!

I have added to all rules reject a line " and envfrom /./".
Unfortunately, it has not led to positive results. I establish
connection through SSL, but works a rule 'Connection reject 5 '.

# /etc/milter-regex.conf
accept
connect // /127\.0\.0\.1/
macro /tls_version/ /TLSv/ and envfrom /./
macro /auth_type/ /.+/ and envfrom /./
macro /auth_auten/ /.+/ and envfrom /./
..
reject "Connection rejected 5"
connect /\[[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\]/ // and envfrom /./

maillog:
Jan 24 03:02:39 mail sm-mta[45084]: STARTTLS=server,
relay=[62.63.85.182], version=TLSv1/SSLv3, verify=NO,
cipher=DHE-DSS-AES256-SHA, bits=256/256
Jan 24 03:02:40 mail sm-mta[45084]: AUTH=server, relay=[62.63.85.182],
authid=ogogon, mech=PLAIN, bits=0
Jan 24 03:02:40 mail sm-mta[45084]: m0O02bGh045084: Milter:
from=<[EMAIL PROTECTED]>, reject=554 5.7.1 Connection rejected 5
Jan 24 03:02:44 mail sm-mta[45084]: m0O02bGh045084:
from=<[EMAIL PROTECTED]>, size=373, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA-SSL, relay=[62.63.85.182]

milter-regex.log:
Jan 24 03:02:37 mail milter-regex[45074]: 62.63.85.182:
cb_connect('[62.63.85.182]', '62.63.85.182')
Jan 24 03:02:37 mail milter-regex[45074]: 62.63.85.182: macro
{daemon_name} =
Jan 24 03:02:37 mail milter-regex[45074]: 62.63.85.182: macro {if_name} =
Jan 24 03:02:37 mail milter-regex[45074]: 62.63.85.182: macro {if_addr}
= 77.236.34.3
Jan 24 03:02:37 mail milter-regex[45074]: 62.63.85.182: macro j =
mail.issp.ac.ru
Jan 24 03:02:37 mail milter-regex[45074]: 62.63.85.182: macro _ =
Jan 24 03:02:39 mail milter-regex[45074]: 62.63.85.182:
cb_helo('[192.168.1.230]')
Jan 24 03:02:39 mail milter-regex[45074]: 62.63.85.182: macro
{tls_version} =
Jan 24 03:02:39 mail milter-regex[45074]: 62.63.85.182: macro {cipher} =
Jan 24 03:02:39 mail milter-regex[45074]: 62.63.85.182: macro
{cipher_bits} =
Jan 24 03:02:39 mail milter-regex[45074]: 62.63.85.182: macro
{cert_subject} =
Jan 24 03:02:39 mail milter-regex[45074]: 62.63.85.182: macro
{cert_issuer} =
Jan 24 03:02:40 mail milter-regex[45074]: 62.63.85.182:
cb_envfrom('<[EMAIL PROTECTED]>')
Jan 24 03:02:40 mail milter-regex[45074]: 62.63.85.182: REJECT:
Connection rejected 5, Helo: [192.168.1.230], From: , To: , Subject:
Jan 24 03:02:44 mail milter-regex[45074]: 62.63.85.182: cb_close()

It is well visible, that SMTP-connection has passed stage RECV FROM,
authorization has passed successfully and sendmail has the information
on it.
With all evidence, milter-regex does not receive the necessary values.

How I can look why?

Ogogon.

P.S. If I clean a rule "Connection rejected 5" and the letter passes,
standing up for milter-regex milter-greylist adds in header of the
letter the line from which follows, that milter-greylist has received
the information on successful authorization:
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by
milter-greylist-3.0 (mail.issp.ac.ru [77.236.34.3]); Thu, 24 Jan 2008
03:40:44 +0300 (MSK)

Ogo.

Reply via email to