[milters] Archive

Lists Index Date Thread Search

Article: 1934
From: Michael Grant
Date: 2008-12-29 08:00:12 -0500
Subject: milter-link letting through a message

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

I am using milter-link version 0.7.25 and libsnert version 1.66.951
and sendmail version 8.14.3 on freebsd 6.3p2.

I'm trying to understand why, when I seemingly properly configure a
link to reject using milter-link that the mail is not rejected.

I configured a link in my access file like this:

milter-link-Body:meanmore.com           REJECT

and in the logs I see this:

Dec 29 07:25:16 charm sm-mta[13033]: mBTCPBjo013033: Milter add:
header: X-milter-link-Report: rejected URL host meanmore.com
Dec 29 07:25:16 charm sm-mta[13033]: mBTCPBjo013033: Milter accept: message

The message comes through.  The above was done with all the other
milters disabled in my sendmail.mc file, only milter-link active.

Here is the debug output from milter-link (email addresses have been changed):

Dec 29 07:40:23 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterMail(80bf700, 80be850) MAIL='<ex@mple.org>' auth=''
Dec 29 07:40:23 charm milter-link[14520]: 00015 mBTCeI6S016024:
address='ex@mple.org' localleft='recipient' localright=''
domain='mple.org' auth='(NULL)'
Dec 29 07:40:23 charm milter-link[14520]: 00015 mBTCeI6S016024: enter
smfAccessPattern(80f3000, "ex@mple.org", "(NULL)...", 0)
Dec 29 07:40:23 charm milter-link[14520]: 00015 mBTCeI6S016024: exit
smfAccessPattern(80f3000, "ex@mple.org", "(NULL)...", 0) rc=_
action=''
Dec 29 07:40:23 charm milter-link[14520]: 00015 mBTCeI6S016024:
sender=<ex@mple.org> access=? skipConnection=0 skipMessage=0
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterRcpt(80bf700, 80be850) RCPT='<recipient@grant.org>'
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
address='recipient@grant.org' localleft='recipient' localright=''
domain='grant.org'
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: enter
smfAccessPattern(80f3000, "recipient@grant.org", "(NULL)...", 0)
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: exit
smfAccessPattern(80f3000, "recipient@grant.org", "(NULL)...", 0) rc=_
action=''
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
recipient=<recipient@grant.org> access=? skipConnection=0
skipRecipient=0
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterHeader(80bf700, 'Received', 'by mepe.org...')
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterHeader(80bf700, 'To', 'recipient@grant.org...')
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterHeader(80bf700, 'Subject', 'test 16...')
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterHeader(80bf700, 'Message-Id', '<20081229123948.1E5C...')
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterHeader(80bf700, 'Date', 'Mon, 29 Dec 2008 07:...')
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterHeader(80bf700, 'From', 'mple.org...')
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterEndHeaders(80bf700)
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterBody(80bf700, 'See http://meanmore....', 39)
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: enter
smfAccessClient(80f3000, milter-link-body:, meanmore.com, (null), 0,
0)
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: enter
smfAccessPattern(80f3000, "meanmore.com", "REJECT...", 0)
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: pin="REJECT..."
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
"meanmore.com" default action "REJECT..."
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: exit
smfAccessPattern(80f3000, "meanmore.com", "REJECT...", 0) rc=J
action=''
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024: exit
smfAccessClient(80f3000, milter-link-body:, meanmore.com, (null), 0,
0) access=74
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
testURI(80f3000, "http://meanmore.com") rc=-1 reply='rejected URL host
meanmore.com'
Dec 29 07:40:24 charm milter-link[14520]: 00015 mBTCeI6S016024:
filterEndMessage(80bf700)

Lists Index Date Thread Search