PDA

View Full Version : Reject Mail before recive it....


madmucho
31st March 2008, 16:14
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

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, 21:36
This is what I am currently using for my postfix v2.x and seems to be working well for the time being.

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, 18:18
This link might help as well: http://www.howtoforge.com/block_spam_at_mta_level_postfix

madmucho
1st April 2008, 23: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, 23: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, 03:29
thank you that is exaclty what im looking for :-)