HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=19)
-   -   Reject Mail before recive it.... (http://www.howtoforge.com/forums/showthread.php?t=21843)

madmucho 31st March 2008 15:14

Reject Mail before recive it....
 
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 :/

daveb 31st March 2008 20:36

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


falko 1st April 2008 17:18

This link might help as well: http://www.howtoforge.com/block_spam..._level_postfix

madmucho 1st April 2008 22:32

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 :/

daveb 1st April 2008 22:41

You can find them here http://spamlinks.net/filter-dnsbl-lists.htm
also you might look into implementing SPF checks.
http://www.howtoforge.com/postfix_spf

madmucho 4th April 2008 02:29

thank you that is exaclty what im looking for :-)


All times are GMT +2. The time now is 08:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.