[Greylist-users] Reject unknown user before greylisting the message
	(postfix)
    Jean-Pierre Bergamin 
    james at ractive.ch
       
    Wed Aug  4 06:40:13 PDT 2004
    
    
  
Dear greylist users
I'm quite impressed, how efficient the greylisting method is.
I'm using David Schweikert's policy-server implementation (http://isg.ee.ethz.ch/tools/postgrey) along with postfix. On issue I could not resolve yet is the following:
If a mail arrives for a nonexistent local user (i.e. abc at example.com), this mails should be rejected at once. Now it's first greylisted. This unnecessarilly pollutes the greylisting DB and uses ressources.
Is there a way to first check the existence of a user, before greylisting it?
My main.cf contains the following restrictions:
smtpd_sender_restrictions =
        check_sender_access hash:/etc/postfix/access
smtpd_client_restrictions =
        permit_mynetworks,
        check_client_access hash:/etc/postfix/access
smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        reject_invalid_hostname,
        reject_unauth_pipelining,
        reject_non_fqdn_sender,
        reject_unknown_sender_domain,
        reject_non_fqdn_recipient,
        reject_unknown_recipient_domain,
        check_recipient_access hash:/etc/postfix/access,
        reject_rhsbl_client blackhole.securitysage.com,
        reject_rhsbl_sender blackhole.securitysage.com,
        reject_rbl_client relays.ordb.org,
        reject_rbl_client blackholes.easynet.nl,
        reject_rbl_client cbl.abuseat.org,
        reject_rbl_client proxies.blackholes.wirehub.net,
        reject_rbl_client bl.spamcop.net,
        reject_rbl_client sbl.spamhaus.org,
        reject_rbl_client opm.blitzed.org,
        reject_rbl_client dnsbl.njabl.org,
        reject_rbl_client list.dsbl.org,
        reject_rbl_client multihop.dsbl.org,
        reject_rbl_client dnsbl.sorbs.net,
        check_policy_service unix:private/policy,
        permit
Thanks in advance.
James
    
    
More information about the Greylist-users
mailing list