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-08 by Marcus Schopen

Hi,

On 2015-08-18 13:50, Marcus Schopen lists-yahoogroups@... 
[milter-greylist] wrote:
> Hi,
> 
> RCPT information in "X-Greylist: inspected by ..." header is empty:
> 
> Aug 18 13:38:47 mail sm-mta[2685]: t7IBcj35001685: Milter add: header:
> X-Greylist: inspected by milter-greylist-4.5.11 (mx.server.com
> [x.x.x.x]);
> Tue, 18 Aug 2015 13:38:47 +0200 (CEST) for IP:'x.x.x.x'
> DOMAIN:'smtp.server.com' HELO:'smtp.senderserver.com'
> FROM:'sender@...' RCPT:''
> 
> Setup is running milter-greylist-4.5.11 with 8.14.4-4.1ubuntu1 on
> Ubuntu
> 14.04 LTS. Milter-greylist is running via TCP socket on an internal
> machine.
> 
> sendmail.mc:
> INPUT_MAIL_FILTER(`greylist',`S=inet:12345@scanner, F=,
> T=S:1m;R:1m')dnl
> 
> greylist.conf:
> racl continue from /.*/ addheader "X-Greylist: inspected by %V for
> IP:'%i'
> DOMAIN:'%d' HELO:'%h' FROM:'%f' RCPT:'%r'"


Checking some logs this morning I'd like to come back to above problem 
one year ago. I checked all hosts, where milter-greylist is running. 
After upgrading to version 4.6.1 on some hosts the problem is still 
there and I have an empty rcpt %r value:

mail.log:
---------------------
Sep  8 08:04:14 vorlage1204 milter-greylist: u8863xiF006342: skipping 
greylist because this is the default action, (from=<info@...>, 
rcpt=<ich@...>, addr=[192.168.100.100][192.168.100.100]) ACL 186
Sep  8 08:04:14 vorlage1204 sm-mta[6342]: u8863xiF006342: 
milter=greylist, action=rcpt, continue
Sep  8 08:04:14 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter 
(greylist): time command (R), 0
Sep  8 08:04:16 vorlage1204 sm-mta[6342]: u8863xiF006342: 
milter=greylist, action=data, continue
Sep  8 08:04:16 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter 
(greylist): time command (T), 0
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: 
from=<info@...>, size=6, class=0, nrcpts=1, 
msgid=<201609080604.u8863xiF006342@...>, proto=ESMTP, 
daemon=MTA-v4, relay=[192.168.100.100]
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter 
(greylist): headers, send
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter 
(greylist): headers, sent
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: 
milter=greylist, action=eoh, continue
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter 
(greylist): body, send
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: 
milter=greylist, action=body, continue
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter 
(greylist): body, sent
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter add: 
header: X-Greylist: Default is to whitelist mail, not delayed by 
milter-greylist-4.6.1 (vorlage1204.testdom.de [192.168.100.21]); Thu, 08 
Sep 2016 08:04:19 +0200 (CEST)
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter add: 
header: X-Greylist: inspected by milter-greylist-4.6.1 
(vorlage1204.testdom.de [192.168.100.21]); Thu, 08 Sep 2016 08:04:19 
+0200 (CEST) for IP:'192.168.100.100' DOMAIN:'[192.168.100.100]' 
HELO:'me' FROM:'info@...' RCPT:''
Sep  8 08:04:19 vorlage1204 sm-mta[6342]: u8863xiF006342: Milter accept: 
message
Sep  8 08:04:19 vorlage1204 sm-mta[6343]: u8863xiF006342: 
to=<ich@...>, delay=00:00:05, xdelay=00:00:00, mailer=local, 
pri=30687, dsn=2.0.0, stat=Sent
---------------------

sendmail.mc:
---------------------
define(`confMILTER_LOG_LEVEL', `99')dnl
INPUT_MAIL_FILTER(`greylist',`S=local:/var/run/milter-greylist/milter-greylist.sock, 
F=, T=S:1m;R:1m')dnl
---------------------

This might be the reason why I can't combine a from and rcpt list in a 
ACL (see yesterdays mail "combining from and rcpt lists in one ACL").

Any ideas?

Ciao
Marcus

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.