<?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 Backup MX eMail Server Anti-Spam Configuration</title> <atom:link href="http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Mikaso</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-64909</link> <dc:creator>Mikaso</dc:creator> <pubDate>Sun, 27 Nov 2011 05:13:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-64909</guid> <description>gpasswd -a clam amavis</description> <content:encoded><![CDATA[<p>gpasswd -a clam amavis</p> ]]></content:encoded> </item> <item><title>By: Acorp</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-50193</link> <dc:creator>Acorp</dc:creator> <pubDate>Tue, 19 Oct 2010 06:07:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-50193</guid> <description>Just wanted to say the NOLIST MX Servers trick is awesome! SPAM messages hitting my server dropped nearly 90% after implementing a lowest priority nolist MX server and a highest priority nolist MX server. Some statistics from my mail server are listed below. One caution...I&#039;ve heard that QMAIL may not respond correctly to a 4xx NOLIST server, so it may be best to use a non-existent/invalid IP for your nolist servers. YMMV...
&lt;code&gt;
10/14/2010: 42517 Messages Rejected
10/15/2010: 40604 Messages Rejected
10/16/2010: 22801 Messages Rejected
-------------------------------------------------------------------------
NOLIST MX Server records created early afternoon 10/17
-------------------------------------------------------------------------
10/17/2010: 7580 Messages Rejected
10/18/2010: 3320 Messages Rejected
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Just wanted to say the NOLIST MX Servers trick is awesome! SPAM messages hitting my server dropped nearly 90% after implementing a lowest priority nolist MX server and a highest priority nolist MX server. Some statistics from my mail server are listed below. One caution&#8230;I&#8217;ve heard that QMAIL may not respond correctly to a 4xx NOLIST server, so it may be best to use a non-existent/invalid IP for your nolist servers. YMMV&#8230;<br
/> <code><br
/> 10/14/2010: 42517 Messages Rejected<br
/> 10/15/2010: 40604 Messages Rejected<br
/> 10/16/2010: 22801 Messages Rejected<br
/> -------------------------------------------------------------------------<br
/> NOLIST MX Server records created early afternoon 10/17<br
/> -------------------------------------------------------------------------<br
/> 10/17/2010: 7580 Messages Rejected<br
/> 10/18/2010: 3320 Messages Rejected<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Seth Wisely</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-44349</link> <dc:creator>Seth Wisely</dc:creator> <pubDate>Tue, 27 Oct 2009 22:47:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-44349</guid> <description>No mention of redundant DNS?  Backup MX is fine but with resolver failure even backup MX can be useless.
A more interesting idea (rough draft imagination) would be a symlink-analog from backup (third party) MX providers to access rules on primary (or local MX) such that rules need not be manually replicated.
While some find it rude I find TMDA efficacious (when properly configured)</description> <content:encoded><![CDATA[<p>No mention of redundant DNS?  Backup MX is fine but with resolver failure even backup MX can be useless.</p><p>A more interesting idea (rough draft imagination) would be a symlink-analog from backup (third party) MX providers to access rules on primary (or local MX) such that rules need not be manually replicated.</p><p>While some find it rude I find TMDA efficacious (when properly configured)</p> ]]></content:encoded> </item> <item><title>By: Aaron</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-42663</link> <dc:creator>Aaron</dc:creator> <pubDate>Tue, 21 Jul 2009 15:48:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-42663</guid> <description>Greg: Keep a backup copy of your primary MX config somewhere on the backup MX.  When the primary MX goes down for good, stop postfix, copy the backup of the primary MX config into the correct location and start postfix (make sure your maildirs are in place too).
If Postfix doesn&#039;t deliver the messages, try &quot;postsuper -r ALL&#039;
The -r is for &#039;requeue&#039;.  It pretty much takes every queued message and moves it into the maildrop for reprocessing.  It should recognize that the message is now destined for a local mailbox and deliver it accordingly.</description> <content:encoded><![CDATA[<p>Greg: Keep a backup copy of your primary MX config somewhere on the backup MX.  When the primary MX goes down for good, stop postfix, copy the backup of the primary MX config into the correct location and start postfix (make sure your maildirs are in place too).</p><p>If Postfix doesn&#8217;t deliver the messages, try &#8220;postsuper -r ALL&#8217;<br
/> The -r is for &#8216;requeue&#8217;.  It pretty much takes every queued message and moves it into the maildrop for reprocessing.  It should recognize that the message is now destined for a local mailbox and deliver it accordingly.</p> ]]></content:encoded> </item> <item><title>By: Greg</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-42662</link> <dc:creator>Greg</dc:creator> <pubDate>Tue, 21 Jul 2009 15:40:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-42662</guid> <description>I&#039;ve been using a backup MX with postgrey for years now and it works a treat !
However Ihave  often wondered what if I cant fix/replace the primary server within a few days, sure my backup keeps queuing for 60 days meanwhile my clients have no access, not good.
I already backup my IMAP Maildirs to the backup MX and user accounts are also working there with LDAP replicated auth to boot.
How do I tell postfix on the backup MX to stop queuing and deliver all the mail it has queued locally ?</description> <content:encoded><![CDATA[<p>I&#8217;ve been using a backup MX with postgrey for years now and it works a treat !<br
/> However Ihave  often wondered what if I cant fix/replace the primary server within a few days, sure my backup keeps queuing for 60 days meanwhile my clients have no access, not good.<br
/> I already backup my IMAP Maildirs to the backup MX and user accounts are also working there with LDAP replicated auth to boot.<br
/> How do I tell postfix on the backup MX to stop queuing and deliver all the mail it has queued locally ?</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41421</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Thu, 30 Apr 2009 21:08:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41421</guid> <description>@Gokdeniz,
My bad - I misread your first post... yes, each server including those run by Google / Yahoo are actually configured to hold mail for a few days.  Also, Exchange try out next server immediately if primary is down. Most nix based server wait for some time.  But, in general all of them retry delivery.
PS: swaks is wonderful tool for testing various email configurations!</description> <content:encoded><![CDATA[<p>@Gokdeniz,</p><p>My bad &#8211; I misread your first post&#8230; yes, each server including those run by Google / Yahoo are actually configured to hold mail for a few days.  Also, Exchange try out next server immediately if primary is down. Most nix based server wait for some time.  But, in general all of them retry delivery.</p><p>PS: swaks is wonderful tool for testing various email configurations!</p> ]]></content:encoded> </item> <item><title>By: Gokdeniz Karadag</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41420</link> <dc:creator>Gokdeniz Karadag</dc:creator> <pubDate>Thu, 30 Apr 2009 20:55:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41420</guid> <description>@vivek:
RFC 2821 requires that mailing software MUST retry sending mail after failed attemps See section 4.5.4 at http://www.ietf.org/rfc/rfc2821.txt
A quick test with both gmail and yahoo showed that it does not immediately give up.
I cannot currently test with exchange server, but if it gived up immediately, it cannot deliver mailt to all those servers using &quot;nolisting&quot;. As nolisting simulates a broken MX.</description> <content:encoded><![CDATA[<p>@vivek:</p><p>RFC 2821 requires that mailing software MUST retry sending mail after failed attemps See section 4.5.4 at <a
href="http://www.ietf.org/rfc/rfc2821.txt" rel="nofollow">http://www.ietf.org/rfc/rfc2821.txt</a></p><p>A quick test with both gmail and yahoo showed that it does not immediately give up.</p><p>I cannot currently test with exchange server, but if it gived up immediately, it cannot deliver mailt to all those servers using &#8220;nolisting&#8221;. As nolisting simulates a broken MX.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41418</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Thu, 30 Apr 2009 20:23:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41418</guid> <description>It will take at least 2-3 hrs to create (replace hardware, os reloads, patch and data) and restore data from a backup server / tape. What will happen if someone try to send emails to those 2000 users? Some free services such as Yahoo / Gmail and Exchange server gives up immediately and returns email to sender. This may be good for a small business or non-profit organizations  but for any serious business you need to have backup mx server.
YMMV.</description> <content:encoded><![CDATA[<p>It will take at least 2-3 hrs to create (replace hardware, os reloads, patch and data) and restore data from a backup server / tape. What will happen if someone try to send emails to those 2000 users? Some free services such as Yahoo / Gmail and Exchange server gives up immediately and returns email to sender. This may be good for a small business or non-profit organizations  but for any serious business you need to have backup mx server.</p><p>YMMV.</p> ]]></content:encoded> </item> <item><title>By: Gokdeniz Karadag</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41417</link> <dc:creator>Gokdeniz Karadag</dc:creator> <pubDate>Thu, 30 Apr 2009 19:44:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41417</guid> <description>While backup MX seems like a good idea, in practice you can do without them.
All mail software retry sending mail for a reasonable amount of time. Postfix retries for FIVE DAYS.  Let&#039;s be on the safe side and let&#039;s say all mail servers try delivery for at least two days.
When a problem occurs, you will most likely solve it in two days. If you cannot, you can restore your backed up configuration in a new server as a last resort. It is a very unlikely scenario that a mail server cannot be fixed or replaced within two days.
So, instead of trying to fortify the backup server, and trying to keep the setings in sync, you can have only one server and focus on it.
If you have a very high mail volume and need load balancing, then you probably sync all configurations and use a central spam filter; so keeping a backup may not be expensive. But for all other cases where a single server is powerful enough to handle mail, I strongly recommend keeping only one server up. I have only one server in our 2000 user environment, for about 3 years, and did not have any problem.
But I have to admit we have a good backup policy and scripts ready to build a server from scratch, so I am confident about overcoming outages.</description> <content:encoded><![CDATA[<p>While backup MX seems like a good idea, in practice you can do without them.</p><p>All mail software retry sending mail for a reasonable amount of time. Postfix retries for FIVE DAYS.  Let&#8217;s be on the safe side and let&#8217;s say all mail servers try delivery for at least two days.</p><p>When a problem occurs, you will most likely solve it in two days. If you cannot, you can restore your backed up configuration in a new server as a last resort. It is a very unlikely scenario that a mail server cannot be fixed or replaced within two days.</p><p>So, instead of trying to fortify the backup server, and trying to keep the setings in sync, you can have only one server and focus on it.</p><p>If you have a very high mail volume and need load balancing, then you probably sync all configurations and use a central spam filter; so keeping a backup may not be expensive. But for all other cases where a single server is powerful enough to handle mail, I strongly recommend keeping only one server up. I have only one server in our 2000 user environment, for about 3 years, and did not have any problem.</p><p>But I have to admit we have a good backup policy and scripts ready to build a server from scratch, so I am confident about overcoming outages.</p> ]]></content:encoded> </item> <item><title>By: Jack</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41400</link> <dc:creator>Jack</dc:creator> <pubDate>Thu, 30 Apr 2009 00:13:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41400</guid> <description>Yeah, it&#039;s like Aaron said, spammers are great at adapting to the anti-spam measures and always seem to find a way through.
-Jack @ &lt;a href=&quot;http://mozy.com/mac-pro&quot; rel=&quot;nofollow&quot;&gt;mac backup software&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Yeah, it&#8217;s like Aaron said, spammers are great at adapting to the anti-spam measures and always seem to find a way through.<br
/> -Jack @ <a
href="http://mozy.com/mac-pro" rel="nofollow">mac backup software</a></p> ]]></content:encoded> </item> <item><title>By: qBert</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41384</link> <dc:creator>qBert</dc:creator> <pubDate>Wed, 29 Apr 2009 06:43:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41384</guid> <description>Hi,
the &quot;reject_unverified_recipient&quot; Option on the backup mx could be usefull too:
http://www.postfix.org/postconf.5.html#reject_unverified_recipient
http://www.postfix.org/ADDRESS_VERIFICATION_README.html</description> <content:encoded><![CDATA[<p>Hi,</p><p>the &#8220;reject_unverified_recipient&#8221; Option on the backup mx could be usefull too:</p><p><a
href="http://www.postfix.org/postconf.5.html#reject_unverified_recipient" rel="nofollow">http://www.postfix.org/postconf.5.html#reject_unverified_recipient</a></p><p><a
href="http://www.postfix.org/ADDRESS_VERIFICATION_README.html" rel="nofollow">http://www.postfix.org/ADDRESS_VERIFICATION_README.html</a></p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41383</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Wed, 29 Apr 2009 00:25:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41383</guid> <description>I belive relay-domains and and relay_recipient_maps does the same thing. You can use MySQL database and just run in master - slave mode.
HTH</description> <content:encoded><![CDATA[<p>I belive relay-domains and and relay_recipient_maps does the same thing. You can use MySQL database and just run in master &#8211; slave mode.</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Aaron</title><link>http://www.cyberciti.biz/faq/postfix-backup-mx-server-anti-spam/#comment-41381</link> <dc:creator>Aaron</dc:creator> <pubDate>Tue, 28 Apr 2009 22:59:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3694#comment-41381</guid> <description>This all sounds well and good--but the problem is that Spammers will adapt.  They will figure out the MX priority tricks and modify their software.  They already know a lot about greylisting and try again 5-15 minutes later.
The real solution is to keep your list of postfix users and domains in a file or database that gets synced every few minutes, hours, or days--whatever is appropriate.  That way both servers know the correct list of domains and users for forwarding.
I personally just trigger the sync by hand now--but in the past I&#039;ve used rsync and a cron job.</description> <content:encoded><![CDATA[<p>This all sounds well and good&#8211;but the problem is that Spammers will adapt.  They will figure out the MX priority tricks and modify their software.  They already know a lot about greylisting and try again 5-15 minutes later.</p><p>The real solution is to keep your list of postfix users and domains in a file or database that gets synced every few minutes, hours, or days&#8211;whatever is appropriate.  That way both servers know the correct list of domains and users for forwarding.</p><p>I personally just trigger the sync by hand now&#8211;but in the past I&#8217;ve used rsync and a cron job.</p> ]]></content:encoded> </item> </channel> </rss>
