postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Greylisting after header check

Re: Greylisting after header check

From: Stan Hoeppner <stan_at_nospam>
Date: Wed Oct 27 2010 - 11:18:55 GMT
To: postfix-users@postfix.org

Неворотин Вадим put forth on 10/27/2010 4:47 AM:
> I have greylisting on my server, but sometimes I need to allow some external
> users to send mail to my server without greylisting. I can't add them to
> whitelist, because in most cases it's a new clients, so the good idea is to
> ask them to add to mail's subject some code and to accept letters with this
> code in subject without greylisting. But I can't understand how to implement
> this simple idea in postfix. I need to move greylisting from SMTP headers
> check to mail's body check and start greylisting only if Subject: mail
> header doesn't match a regexp. How can I do it?

Greylisting has but one purpose: stopping spam bots (zombies)

Are these new clients sending emails to you from zombies? No, of course
not. So simply whitelist their addresses or IPs in your greylist daemon
setup (not in Postfix). This is trivial to do with Postgrey, though I
don't know about other daemons.

Whitelisting in your greylist software is not the same as whitelisting
in Postfix. It only allows clients to bypass the greylisting step. Any
real MTA will retry, so if you _know_ it's a real MTA, which in this
case you do, whitelist it in your greylist config.

-- Stan