Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] RCPT information in X-Greylist: inspected by header is empty

2016-09-14 by Marcus Schopen

Hi Emmanuel,

On 2016-09-14 05:26, manu@... [milter-greylist] wrote:
> Marcus Schopen lists-yahoogroups@... [milter-greylist]
> <milter-greylist@yahoogroups.com> wrote:
> 
>> Any ideas?
> 
> Do you have {rcpt_addr} in sendmail.cf O Milter.macros.envrcpt?


Thanks for your feedback. Yes, I think I do have set {rcpt_addr}:


grep Milter.macros sendmail.cf:
--------
sendmail.cf:O Milter.macros.connect=j, _, {daemon_name}, {if_name}, 
{if_addr}
sendmail.cf:O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, 
{cert_subject}, {cert_issuer}
sendmail.cf:O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, 
{auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
sendmail.cf:O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, 
{rcpt_addr}
sendmail.cf:O Milter.macros.eom={msg_id}
--------


greylist.conf:
--------
[...]
racl continue from /.*/ addheader "X-Greylist: inspected by %V for 
IP:'%i' DOMAIN:'%d' HELO:'%h' FROM:'%f' RCPT:'%r'"
racl whitelist default
--------


Logfile, with milter-greylist 4.6.1, sendmail 8.14.4-2ubuntu2.1:
--------
Sep 14 13:23:00 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): init success to negotiate
Sep 14 13:23:00 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter: 
connect to filters
Sep 14 13:23:00 vorlage1204 milter-greylist: GeoIP is not available
Sep 14 13:23:00 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=connect, continue
Sep 14 13:23:00 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): time command (C), 0
Sep 14 13:23:04 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=helo, continue
Sep 14 13:23:04 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): time command (H), 0
Sep 14 13:23:10 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter: 
sender: <test@...>
Sep 14 13:23:10 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=mail, continue
Sep 14 13:23:10 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): time command (M), 0
Sep 14 13:23:19 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter: rcpts: 
<test@...>
Sep 14 13:23:19 vorlage1204 milter-greylist: u8EBN0HL002723: skipping 
greylist because this is the default action, (from=<test@...>, 
rcpt=<test@...>, addr=[192.168.100.100][192.168.100.100]) ACL 176
Sep 14 13:23:19 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=rcpt, continue
Sep 14 13:23:19 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): time command (R), 0
Sep 14 13:23:21 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=data, continue
Sep 14 13:23:21 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): time command (T), 0
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
from=<test@...>, size=5, class=0, nrcpts=1, 
msgid=<201609141123.u8EBN0HL002723@...>, proto=ESMTP, 
daemon=MTA-v4, relay=[192.168.100.100]
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): headers, send
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): headers, sent
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=eoh, continue
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): body, send
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: 
milter=greylist, action=body, continue
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter 
(greylist): body, sent
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter add: 
header: X-Greylist: Default is to whitelist mail, not delayed by 
milter-greylist-4.6.1 (vorlage1204.test.de [192.168.100.21]); Wed, 14 
Sep 2016 13:23:27 +0200 (CEST)
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter add: 
header: X-Greylist: inspected by milter-greylist-4.6.1 
(vorlage1204.test.de [192.168.100.21]); Wed, 14 Sep 2016 13:23:27 +0200 
(CEST) for IP:'192.168.100.100' DOMAIN:'[192.168.100.100]' HELO:'me' 
FROM:'test@...' RCPT:''
Sep 14 13:23:27 vorlage1204 sm-mta[2723]: u8EBN0HL002723: Milter accept: 
message
Sep 14 13:23:27 vorlage1204 sm-mta[2724]: u8EBN0HL002723: 
to=<test@...>, delay=00:00:08, xdelay=00:00:00, mailer=local, 
pri=30695, dsn=2.0.0, stat=Sent
--------

Don't understand why %r value is missing at the point of inserting the 
X-Greylist header.

Ciao!

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.