Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Rules per virtual domain name based?

2007-01-05 by Mart Pirita

Tere.

In some old messages I asked:

>>> acl greylist rcpt /@baddomain\.com$/ delay 3h autowhite 3h 
>>> acl greylist rcpt /@gooddomain\.com$/ delay 15m autowhite 12h
>>>       
>> Great. But what about the custom error code and message?  Now the 
>> default acl is after these two rules:
>>     
>
>   
And Emmanuel sugested:

> Add them at the end of the lines.
>
>   
Well, just tested it, previously I had 1 rule:

acl greylist default delay 30m code "451" ecode "4.7.1" msg "greylisted"

and logs shows:

sendmail[3081]: kBO23mVp003081: Milter: to=<user@domain>, reject=451
4.7.1 greylisted

But disabled previous rule and aaded 3 new rules:

greylist rcpt /@1domain\.ee$/ delay 60m autowhite 12h code "451" ecode
"4.7.1" msg "greylisted"
greylist rcpt /@2domain\.ee$/ delay 15m autowhite 48h code "451" ecode
"4.7.1" msg "greylisted"
greylist rcpt /@3domain\.ee$/ delay 15m autowhite 48h code "451" ecode
"4.7.1" msg "greylisted"

seems that  msg "greylisted" is bypassed with the hard coded message, as
logs shows:

sendmail[12330]: l059W72T012330: Milter: to=<user@domain>, reject=451
4.7.1 Greylisting in action, please come back later

What did I wrong? Or is it bug?

-- 
Mart

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.