<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Postfix configure anti spam with blacklist</title> <atom:link href="http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: ddr-2kpp</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-169138</link> <dc:creator>ddr-2kpp</dc:creator> <pubDate>Thu, 24 Feb 2011 16:53:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-169138</guid> <description>great description, did use it at all, but extend it with
my policyd-config:
check_client_access hash:/etc/postfix/pop-before-smtp, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031</description> <content:encoded><![CDATA[<p>great description, did use it at all, but extend it with<br
/> my policyd-config:</p><p>check_client_access hash:/etc/postfix/pop-before-smtp, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031</p> ]]></content:encoded> </item> <item><title>By: B SengUK</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-150077</link> <dc:creator>B SengUK</dc:creator> <pubDate>Wed, 12 Aug 2009 21:52:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-150077</guid> <description>Already have all that in and more ....
smtpd_recipient_restrictions = reject_invalid_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain permit_sasl_authenticated permit_mynetworks reject_unauth_destination reject_unknown_reverse_client_hostname</description> <content:encoded><![CDATA[<p>Already have all that in and more &#8230;.</p><p>smtpd_recipient_restrictions = reject_invalid_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain permit_sasl_authenticated permit_mynetworks reject_unauth_destination reject_unknown_reverse_client_hostname</p> ]]></content:encoded> </item> <item><title>By: bbgunz</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-150016</link> <dc:creator>bbgunz</dc:creator> <pubDate>Tue, 11 Aug 2009 02:10:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-150016</guid> <description>Old bump but i had this problem too
to fix this:
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination</description> <content:encoded><![CDATA[<p>Old bump but i had this problem too</p><p>to fix this:</p><p>smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination</p> ]]></content:encoded> </item> <item><title>By: B SengUK</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-149436</link> <dc:creator>B SengUK</dc:creator> <pubDate>Fri, 10 Jul 2009 18:14:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-149436</guid> <description>I never sorted this out fully, although I have got spam assassin working which identifies masses of mails coming through the server.
The issue I tihnk is with the authentication and reject_invalid_hostname combination.  My mail is sent from my outlook (and those other users of the server) through a cable connection.  Although this theoretically should be OK I can only get mail to send without this coomand in place - and from what I found out this is the one that will make the most difference :(
Currently I have the following set in main.cf
# Following entries REQUIRED by Matrix control panel
virtual_maps = hash:/etc/postfix/virtual
transport_maps = hash:/etc/postfix/transport
virtual_mailbox_domains = $transport_maps
local_destination_concurrency_limit = 1
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
relay_domains = $mydestination
smtpd_recipient_restrictions = reject_invalid_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain permit_sasl_authenticated permit_mynetworks reject_unauth_destination reject_unknown_reverse_client_hostname
smtpd_sasl_auth_enable = yes
### Checks to remove badly formed email
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
unknown_address_reject_code = 554
unknown_hostname_reject_code = 554
unknown_client_reject_code = 554
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit
check_client_access = reject_rbl_client cbl.abuseat.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rhsbl_sender dsn.rfc-ignorant.org, permit
maximal_queue_lifetime = 3d
Any advice would be really appreciated .. many thanks in advance.</description> <content:encoded><![CDATA[<p>I never sorted this out fully, although I have got spam assassin working which identifies masses of mails coming through the server.</p><p>The issue I tihnk is with the authentication and reject_invalid_hostname combination.  My mail is sent from my outlook (and those other users of the server) through a cable connection.  Although this theoretically should be OK I can only get mail to send without this coomand in place &#8211; and from what I found out this is the one that will make the most difference :(</p><p>Currently I have the following set in main.cf</p><p># Following entries REQUIRED by Matrix control panel<br
/> virtual_maps = hash:/etc/postfix/virtual<br
/> transport_maps = hash:/etc/postfix/transport<br
/> virtual_mailbox_domains = $transport_maps<br
/> local_destination_concurrency_limit = 1<br
/> maildrop_destination_concurrency_limit = 1<br
/> maildrop_destination_recipient_limit = 1<br
/> relay_domains = $mydestination<br
/> smtpd_recipient_restrictions = reject_invalid_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_unknown_recipient_domain permit_sasl_authenticated permit_mynetworks reject_unauth_destination reject_unknown_reverse_client_hostname<br
/> smtpd_sasl_auth_enable = yes</p><p>### Checks to remove badly formed email<br
/> smtpd_helo_required = yes<br
/> strict_rfc821_envelopes = yes<br
/> disable_vrfy_command = yes<br
/> unknown_address_reject_code = 554<br
/> unknown_hostname_reject_code = 554<br
/> unknown_client_reject_code = 554</p><p>smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit</p><p>check_client_access = reject_rbl_client cbl.abuseat.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rhsbl_sender dsn.rfc-ignorant.org, permit<br
/> maximal_queue_lifetime = 3d</p><p>Any advice would be really appreciated .. many thanks in advance.</p> ]]></content:encoded> </item> <item><title>By: DaveQB</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-147934</link> <dc:creator>DaveQB</dc:creator> <pubDate>Wed, 01 Apr 2009 13:13:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-147934</guid> <description>B SengUK,
Did you sort that out?
Seemed the recipients domain name&#039;s was not in full.
What was the email address you were sending to?</description> <content:encoded><![CDATA[<p>B SengUK,<br
/> Did you sort that out?<br
/> Seemed the recipients domain name&#8217;s was not in full.<br
/> What was the email address you were sending to?</p> ]]></content:encoded> </item> <item><title>By: Matt Lunn</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-146938</link> <dc:creator>Matt Lunn</dc:creator> <pubDate>Tue, 27 Jan 2009 20:07:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-146938</guid> <description>Thanks for the informative and easy to understand/ follow tip.
Hopefully this will stop unauthorised people using my new mail server!</description> <content:encoded><![CDATA[<p>Thanks for the informative and easy to understand/ follow tip.</p><p>Hopefully this will stop unauthorised people using my new mail server!</p> ]]></content:encoded> </item> <item><title>By: B SengUK</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-146921</link> <dc:creator>B SengUK</dc:creator> <pubDate>Tue, 27 Jan 2009 00:51:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-146921</guid> <description>I&#039;m having issues with:
smtpd_helo_restrictions = permit_mynetworks,
reject_non_fqdn_hostname,
reject_invalid_hostname,
permit
not allowing me to send mails -- I get a sys admin return saying invalid fqdn as follows:
Your message did not reach some or all of the intended recipients.
Subject:	Testing 123
Sent:	27/01/2009 00:39
The following recipient(s) could not be reached:
************ on 27/01/2009 00:39
504 5.5.2 : Helo command rejected: need fully-qualified hostname
Any ideas as I really need to stop SPAM asap</description> <content:encoded><![CDATA[<p>I&#8217;m having issues with:</p><p>smtpd_helo_restrictions = permit_mynetworks,<br
/> reject_non_fqdn_hostname,<br
/> reject_invalid_hostname,<br
/> permit</p><p>not allowing me to send mails &#8212; I get a sys admin return saying invalid fqdn as follows:</p><p>Your message did not reach some or all of the intended recipients.</p><p> Subject:	Testing 123<br
/> Sent:	27/01/2009 00:39</p><p>The following recipient(s) could not be reached:</p><p> ************ on 27/01/2009 00:39<br
/> 504 5.5.2 : Helo command rejected: need fully-qualified hostname</p><p>Any ideas as I really need to stop SPAM asap</p> ]]></content:encoded> </item> <item><title>By: Raul</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-145563</link> <dc:creator>Raul</dc:creator> <pubDate>Wed, 12 Nov 2008 21:01:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-145563</guid> <description>Thank you!. With this howto I&#039;m locking spam in 5 minutes</description> <content:encoded><![CDATA[<p>Thank you!. With this howto I&#8217;m locking spam in 5 minutes</p> ]]></content:encoded> </item> <item><title>By: Lee</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-143168</link> <dc:creator>Lee</dc:creator> <pubDate>Fri, 14 Mar 2008 06:57:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-143168</guid> <description>Thanks for the great writeup!
One note,without the addition of
reject_unauth_destination to smtpd_recipient_restrictions,
I got an error.
postfix/smtpd[6726]: fatal: parameter &quot;smtpd_recipient_restrictions&quot;: specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit</description> <content:encoded><![CDATA[<p>Thanks for the great writeup!</p><p>One note,without the addition of<br
/> reject_unauth_destination to smtpd_recipient_restrictions,</p><p>I got an error.<br
/> postfix/smtpd[6726]: fatal: parameter &#8220;smtpd_recipient_restrictions&#8221;: specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit</p> ]]></content:encoded> </item> <item><title>By: Aaron</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-142970</link> <dc:creator>Aaron</dc:creator> <pubDate>Thu, 21 Feb 2008 22:39:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-142970</guid> <description>Using your rules. Thanks so much. Let&#039;s see what happens.</description> <content:encoded><![CDATA[<p>Using your rules. Thanks so much. Let&#8217;s see what happens.</p> ]]></content:encoded> </item> <item><title>By: Thomas</title><link>http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-142837</link> <dc:creator>Thomas</dc:creator> <pubDate>Sun, 10 Feb 2008 11:09:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/postfix-spam-filtering-with-blacklists-howto.html#comment-142837</guid> <description>Hi,
thank you for the HOWTO - I added the described rules into my config ... I will see, what happens :-)
Thomas</description> <content:encoded><![CDATA[<p>Hi,</p><p>thank you for the HOWTO &#8211; I added the described rules into my config &#8230; I will see, what happens :-)</p><p>Thomas</p> ]]></content:encoded> </item> </channel> </rss>
