Reject Mail before recive it....

Discussion in 'Tips/Tricks/Mods' started by madmucho, Mar 31, 2008.

  1. madmucho

    madmucho ISPConfig Developer

    Hi users, i want to ask you about your postfix configuration, which servers in recipient restrictions you use? Today next one from my list is down, and i dont know source of this server list..My config is here

    Code:
    smtpd_recipient_restrictions =
                reject_invalid_hostname,
                reject_unknown_recipient_domain,
                reject_unauth_pipelining,
                permit_mynetworks,
                permit_sasl_authenticated,
                reject_unauth_destination,
                reject_rbl_client multi.uribl.com,
                reject_rbl_client dsn.rfc-ignorant.org,
                reject_rbl_client dul.dnsbl.sorbs.net,
                reject_rbl_client list.dsbl.org,
                reject_rbl_client sbl-xbl.spamhaus.org,
                reject_rbl_client bl.spamcop.net,
                reject_rbl_client dnsbl.sorbs.net,
                reject_rbl_client blackholes.easynet.nl,
                reject_rbl_client cbl.abuseat.org,
                permit
    
    I search for reliable source, sometime happens one of this in list is down, and mail is automaticaly rejected :/
     
  2. daveb

    daveb Member

    This is what I am currently using for my postfix v2.x and seems to be working well for the time being.

    Code:
    smtpd_helo_required = yes
    disable_vrfy_command = yes
    strict_rfc821_envelopes = yes
    invalid_hostname_reject_code = 554
    multi_recipient_bounce_reject_code = 554
    non_fqdn_reject_code = 554
    relay_domains_reject_code = 554
    unknown_address_reject_code = 554
    unknown_client_reject_code = 554
    unknown_hostname_reject_code = 554
    unknown_local_recipient_reject_code = 554
    unknown_relay_recipient_reject_code = 554
    unknown_sender_reject_code = 554
    unknown_virtual_alias_reject_code = 554
    unknown_virtual_mailbox_reject_code = 554
    unverified_recipient_reject_code = 554
    unverified_sender_reject_code = 554
    
    smtpd_recipient_restrictions =
                reject_invalid_hostname,
                reject_unknown_recipient_domain,
                reject_unauth_pipelining,
                permit_mynetworks,
                permit_sasl_authenticated,
                reject_unauth_destination,
                reject_rbl_client zen.spamhaus.org,
                permit
     
  3. falko

    falko Super Moderator

  4. madmucho

    madmucho ISPConfig Developer

    I know i do that like article says but, where you find these reject_rbl_client servers? some of them isnt actualy or dont response and then droping my mails :/
     
  5. daveb

    daveb Member

  6. madmucho

    madmucho ISPConfig Developer

    thank you that is exaclty what im looking for :)
     

Share This Page