Tere.
>
> Both, and as I said change printf(...) to mg_log(LOG_ERR, ...). I.e. instead of
> + printf("try ACL %d\n", acl->a_line);
> + printf(" found 0x%x\n", found);
> add these lines as:
> + mg_log(LOG_ERR, "try ACL %d\n", acl->a_line);
> + mg_log(LOG_ERR, " found 0x%x\n", found);
>
>
Thank You. The results are:
Jan 30 14:13:22 tibu milter-greylist: try ACL 35
Jan 30 14:13:22 tibu milter-greylist: try ACL 47
Jan 30 14:13:22 tibu milter-greylist: try ACL 48
Jan 30 14:13:22 tibu milter-greylist: try ACL 72
Jan 30 14:13:22 tibu milter-greylist: try ACL 73
Jan 30 14:13:22 tibu milter-greylist: try ACL 74
Jan 30 14:13:22 tibu milter-greylist: l0UCDLVd028521: addr
an-out-0708.google.com[209.85.132.240] from <user@...> to
<user@...> delayed for 00:30:00
Jan 30 14:13:22 tibu sendmail[28521]: l0UCDLVd028521: Milter:
to=<user@domain1>, reject=451 4.7.1 Greylisting in action, please come
back later
Jan 30 14:13:22 tibu sendmail[28521]: l0UCDLVd028521:
from=<user@...>, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=an-out-0708.google.com [209.85.132.240]
And from conf:
line 72 - acl greylist rcpt /@domain1\.ee$/ delay 60m autowhite 12h
code "451" ecode "4.7.1" msg "greylisted"
line 73 - acl greylist rcpt /@domain2\.ee$/ delay 15m autowhite 48h code
"451" ecode "4.7.1" msg "greylisted"
line 74 - acl greylist rcpt /domain3\.ee$/ delay 15m autowhite 48h code
"451" ecode "4.7.1" msg "greylisted"
Any hint why these rules are bypassed?
--
MartMessage
Re: [milter-greylist] Rules per virtual domain name based?
2007-01-30 by Mart Pirita
Attachments
- No local attachments were found for this message.