Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Can milter-greylist run after sendmail checks users?

2011-02-18 by manu@netbsd.org

Les Mikesell <lesmikesell@...> wrote:

>   Sendmail is very quick at rejecting local addresses that are not in
> the aliases or virtuser tables so that is normally not a problem, but
> when milter-greylist is active it wants to greylist even the 
> undeliverable addresses.

milter-greylist runs before sendmail checks the address is valid. I do
not think you can change that.

> For the moment I am working around it by 
> tracking the 'real' users, including them in the milter-greylist config,
> and restricting greylisting to the specified addresses.  However, it 
> would be nicer if this could be handled automatically by letting 
> sendmail reject addresses it can't deliver first.  Is there any way to
> do that?

I solve this problem by having milter-greylist performing LDAP queries
for the recipient address. If there is no match, the mail is rejected.

> Also, the extra log line about 'skipping greylist because this is the
> default action' for the unprocessed addresses is filling my disks up to
> the point that I had to change the log rotation.  Is there any way to
> turn that off?  When it doesn't do anything, I don't need to know about it.

Patch the sources?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.