<?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: How to build antispam SMTP gateway for Exchange on Ubuntu 8.04</title>
	<atom:link href="http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804</link>
	<description>Yet another technical blog about iOS, Windows, Linux, Arduino and everything else</description>
	<lastBuildDate>Wed, 28 Dec 2011 15:05:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-753</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Wed, 28 Dec 2011 15:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-753</guid>
		<description>amar, 

I am attaching the tail-f capture. Because the /^Received:/ HOLD sends them to the queue, but as the spamassassins and MailScanner takes to scan and there are accumulating mail in the queue of postfix and not forwarded to the exchange.

Dec 28 12:00:38 xxx MailScanner[22438]: Enabling SpamAssassin auto-whitelist functionality...
Dec 28 12:00:39 xxx MailScanner[22438]: Connected to Processing Attempts Database
Dec 28 12:00:39 xxx MailScanner[22438]: Found 108 messages in the Processing Attempts Database
Dec 28 12:00:39 xxx MailScanner[22438]: Using locktype = flock
Dec 28 12:00:39 xxx MailScanner[22438]: Warning: skipping message 83DBA8D460.AF3C0 as it has been attempted too many times
Dec 28 12:00:39 xxx MailScanner[22438]: Quarantined message 83DBA8D460.AF3C0 as it caused MailScanner to crash several times
Dec 28 12:00:43 xxx MailScanner[22439]: MailScanner E-Mail Virus Scanner version 4.84.3 starting...
Dec 28 12:00:43 xxx MailScanner[22439]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf
Dec 28 12:00:43 xxx MailScanner[22439]: Reading configuration file /opt/MailScanner/etc/conf.d/README
Dec 28 12:00:43 xxx MailScanner[22439]: Read 869 hostnames from the phishing whitelist
Dec 28 12:00:43 xxx MailScanner[22439]: Read 3544 hostnames from the phishing blacklists

&quot;83DBA8D460 mail is safe&quot;</description>
		<content:encoded><![CDATA[<p>amar, </p>
<p>I am attaching the tail-f capture. Because the /^Received:/ HOLD sends them to the queue, but as the spamassassins and MailScanner takes to scan and there are accumulating mail in the queue of postfix and not forwarded to the exchange.</p>
<p>Dec 28 12:00:38 xxx MailScanner[22438]: Enabling SpamAssassin auto-whitelist functionality&#8230;<br />
Dec 28 12:00:39 xxx MailScanner[22438]: Connected to Processing Attempts Database<br />
Dec 28 12:00:39 xxx MailScanner[22438]: Found 108 messages in the Processing Attempts Database<br />
Dec 28 12:00:39 xxx MailScanner[22438]: Using locktype = flock<br />
Dec 28 12:00:39 xxx MailScanner[22438]: Warning: skipping message 83DBA8D460.AF3C0 as it has been attempted too many times<br />
Dec 28 12:00:39 xxx MailScanner[22438]: Quarantined message 83DBA8D460.AF3C0 as it caused MailScanner to crash several times<br />
Dec 28 12:00:43 xxx MailScanner[22439]: MailScanner E-Mail Virus Scanner version 4.84.3 starting&#8230;<br />
Dec 28 12:00:43 xxx MailScanner[22439]: Reading configuration file /opt/MailScanner/etc/MailScanner.conf<br />
Dec 28 12:00:43 xxx MailScanner[22439]: Reading configuration file /opt/MailScanner/etc/conf.d/README<br />
Dec 28 12:00:43 xxx MailScanner[22439]: Read 869 hostnames from the phishing whitelist<br />
Dec 28 12:00:43 xxx MailScanner[22439]: Read 3544 hostnames from the phishing blacklists</p>
<p>&#8220;83DBA8D460 mail is safe&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-750</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Wed, 28 Dec 2011 14:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-750</guid>
		<description>Hi Amar,
thanks for the help earlier, and fix those 2 problems.Ahora me I have the following are all queued mail (some are reliable and some not). I attached the result of tail-f /var/log/syslog

Dec 28 11:00:29 XXX postfix/pickup[21244]: 8DF748D8B6: uid=103 from= orig_id=076D48D885
Dec 28 11:00:29 XXX postfix/cleanup[21305]: 8DF748D8B6: message-id=
Dec 28 11:00:29 XXX postfix/qmgr[21245]: 8DF748D8B6: from=, size=1576, nrcpt=1 (queue active)

I have created in the directory /etc/postfix file &quot;header_checks&quot; with the single line: /^Received: / HOLD
if the comment before I left with # the mail in the queue, the problem you grow doubtful or spam mail.Thanks again</description>
		<content:encoded><![CDATA[<p>Hi Amar,<br />
thanks for the help earlier, and fix those 2 problems.Ahora me I have the following are all queued mail (some are reliable and some not). I attached the result of tail-f /var/log/syslog</p>
<p>Dec 28 11:00:29 XXX postfix/pickup[21244]: 8DF748D8B6: uid=103 from= orig_id=076D48D885<br />
Dec 28 11:00:29 XXX postfix/cleanup[21305]: 8DF748D8B6: message-id=<br />
Dec 28 11:00:29 XXX postfix/qmgr[21245]: 8DF748D8B6: from=, size=1576, nrcpt=1 (queue active)</p>
<p>I have created in the directory /etc/postfix file &#8220;header_checks&#8221; with the single line: /^Received: / HOLD<br />
if the comment before I left with # the mail in the queue, the problem you grow doubtful or spam mail.Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-746</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Tue, 27 Dec 2011 14:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-746</guid>
		<description>Hi Juan,

1. I think this is default behavior with notifying sender, but sending the whole content to admin I don&#039;t know how to do it, try with activating notifications and chech this link http://www.mailscanner.info/man/MailScanner.conf.5.html#Notifications%20back%20to%20the%20senders%20of%20blocked%20messages

2. If you check http://www.mailscanner.info/man/MailScanner.conf.5.html you will find that you have 2 possible settings, Maximum Message Size and Maximum Attachment Size where you can specify size in bytes to limit message</description>
		<content:encoded><![CDATA[<p>Hi Juan,</p>
<p>1. I think this is default behavior with notifying sender, but sending the whole content to admin I don&#8217;t know how to do it, try with activating notifications and chech this link <a href="http://www.mailscanner.info/man/MailScanner.conf.5.html#Notifications%20back%20to%20the%20senders%20of%20blocked%20messages" rel="nofollow">http://www.mailscanner.info/man/MailScanner.conf.5.html#Notifications%20back%20to%20the%20senders%20of%20blocked%20messages</a></p>
<p>2. If you check <a href="http://www.mailscanner.info/man/MailScanner.conf.5.html" rel="nofollow">http://www.mailscanner.info/man/MailScanner.conf.5.html</a> you will find that you have 2 possible settings, Maximum Message Size and Maximum Attachment Size where you can specify size in bytes to limit message</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-745</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Tue, 27 Dec 2011 13:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-745</guid>
		<description>Hi amar,

I was able to solve the above problems, but now I have the following:
1) I want to send copies of the emails in quarantine and also a notice of rejection (at least who is the sender and the receiver?) To an admin account or log to check.
2) I want to limit the size of attachments, but can not find in mailscanner.conf or rules for editing. Thanks

Regards</description>
		<content:encoded><![CDATA[<p>Hi amar,</p>
<p>I was able to solve the above problems, but now I have the following:<br />
1) I want to send copies of the emails in quarantine and also a notice of rejection (at least who is the sender and the receiver?) To an admin account or log to check.<br />
2) I want to limit the size of attachments, but can not find in mailscanner.conf or rules for editing. Thanks</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-666</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 15 Dec 2011 17:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-666</guid>
		<description>The line&gt; / dev / null 2​​&gt; &amp; 1 copy it and paste it in the crontab file, it may be that here is the error, now remove that line and ran this command: root @ xxxx: ~ # crontab-e&gt; / dev / null 2​​&gt; &amp; 1, did not return to # the peer&#039;m thinking (I ran the command correctly?). This command resolves that does not reach either of the 2 mail?. I am attaching the lines / opt / MailScanner / lib / MailScanner / Config.pm .El file is by default I did not do any modification
  
line 2213--MailScanner::Log::WarnLog(&quot;Syntax error(s) in configuration file:&quot;);
    #print STDERR &quot;Syntax error(s) in configuration file:\n&quot;;
    foreach $leftover (sort @leftovers) {
      MailScanner::Log::WarnLog(&quot;Unrecognised keyword \&quot;%s\&quot; at line %d&quot;,
                                ItoE($leftover), $LineNos{$leftover});
      #print STDERR &quot;Unrecognised keyword \&quot;&quot; . ItoE($leftover) .
      #             &quot;\&quot; at line &quot; . $LineNos{$leftover} . &quot;\n&quot;;
    }
    MailScanner::Log::WarnLog(&quot;Warning: syntax errors in %s.&quot;,
line  2222              $filename);
line 3132   #print STDERR &quot;Config: $keyword has a ruleset $isrules\n&quot;;
    if (!$RulesAllowed) {
      MailScanner::Log::WarnLog(&quot;Value of %s cannot be a ruleset, only a &quot; .
                                &quot;simple value&quot;, $keyword);
line 3136    }

Thanks for your time and sorry for my lack of knowledge of the subject and errors to the problem as well talk to you about my bad ingles.</description>
		<content:encoded><![CDATA[<p>The line&gt; / dev / null 2​​&gt; &amp; 1 copy it and paste it in the crontab file, it may be that here is the error, now remove that line and ran this command: root @ xxxx: ~ # crontab-e&gt; / dev / null 2​​&gt; &amp; 1, did not return to # the peer&#8217;m thinking (I ran the command correctly?). This command resolves that does not reach either of the 2 mail?. I am attaching the lines / opt / MailScanner / lib / MailScanner / Config.pm .El file is by default I did not do any modification</p>
<p>line 2213&#8211;MailScanner::Log::WarnLog(&#8220;Syntax error(s) in configuration file:&#8221;);<br />
    #print STDERR &#8220;Syntax error(s) in configuration file:\n&#8221;;<br />
    foreach $leftover (sort @leftovers) {<br />
      MailScanner::Log::WarnLog(&#8220;Unrecognised keyword \&#8221;%s\&#8221; at line %d&#8221;,<br />
                                ItoE($leftover), $LineNos{$leftover});<br />
      #print STDERR &#8220;Unrecognised keyword \&#8221;" . ItoE($leftover) .<br />
      #             &#8220;\&#8221; at line &#8221; . $LineNos{$leftover} . &#8220;\n&#8221;;<br />
    }<br />
    MailScanner::Log::WarnLog(&#8220;Warning: syntax errors in %s.&#8221;,<br />
line  2222              $filename);<br />
line 3132   #print STDERR &#8220;Config: $keyword has a ruleset $isrules\n&#8221;;<br />
    if (!$RulesAllowed) {<br />
      MailScanner::Log::WarnLog(&#8220;Value of %s cannot be a ruleset, only a &#8221; .<br />
                                &#8220;simple value&#8221;, $keyword);<br />
line 3136    }</p>
<p>Thanks for your time and sorry for my lack of knowledge of the subject and errors to the problem as well talk to you about my bad ingles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-664</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Thu, 15 Dec 2011 15:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-664</guid>
		<description>Hmm I don&#039;t understand why crontab part is not working, you maybe did something wrong because you should add it to crontab line with crontab -e command, not to any config file so it shouldn&#039;t interfere with those files and create errors that you get. Check those 2 lines 2216 and 2221 for errors.

Logs should be available in /opt/Mailscanner and eventual bounce messages should return to senders.</description>
		<content:encoded><![CDATA[<p>Hmm I don&#8217;t understand why crontab part is not working, you maybe did something wrong because you should add it to crontab line with crontab -e command, not to any config file so it shouldn&#8217;t interfere with those files and create errors that you get. Check those 2 lines 2216 and 2221 for errors.</p>
<p>Logs should be available in /opt/Mailscanner and eventual bounce messages should return to senders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-662</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 15 Dec 2011 15:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-662</guid>
		<description>thank amar,

I commented that add the line &quot;&gt; / dev / null 2​​&gt; &amp; 1&quot; at the end of the crontab file and mail Mailscanner.conf and I keep coming, but in the case of modification of MailScanner gives me an error when I restart the service :

root@xxxx:~# root@xxx:~# service mailscanner restart
 * Restarting mail spam/virus scanner MailScanner
Syntax error(s) in configuration file: at /opt/MailScanner/lib/MailScanner/Config.pm line 2213
Unrecognised keyword &quot;optmailscannerbin&quot; at line 3132 at /opt/MailScanner/lib/MailScanner/Config.pm line 2216
Warning: syntax errors in /opt/MailScanner/etc/MailScanner.conf. at /opt/MailScanner/lib/MailScanner/Config.pm line 2221

So I had to undo the last change to service MailScanner start.
Finally the last question I want to add the following, where seconfigura mail notifications to the administrator&#039;s mail in quarantine or are bounced by spam or where you can view these log (would need the commands) Thanks again and sorry for my bad English</description>
		<content:encoded><![CDATA[<p>thank amar,</p>
<p>I commented that add the line &#8220;&gt; / dev / null 2​​&gt; &amp; 1&#8243; at the end of the crontab file and mail Mailscanner.conf and I keep coming, but in the case of modification of MailScanner gives me an error when I restart the service :</p>
<p>root@xxxx:~# root@xxx:~# service mailscanner restart<br />
 * Restarting mail spam/virus scanner MailScanner<br />
Syntax error(s) in configuration file: at /opt/MailScanner/lib/MailScanner/Config.pm line 2213<br />
Unrecognised keyword &#8220;optmailscannerbin&#8221; at line 3132 at /opt/MailScanner/lib/MailScanner/Config.pm line 2216<br />
Warning: syntax errors in /opt/MailScanner/etc/MailScanner.conf. at /opt/MailScanner/lib/MailScanner/Config.pm line 2221</p>
<p>So I had to undo the last change to service MailScanner start.<br />
Finally the last question I want to add the following, where seconfigura mail notifications to the administrator&#8217;s mail in quarantine or are bounced by spam or where you can view these log (would need the commands) Thanks again and sorry for my bad English</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-660</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 15 Dec 2011 13:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-660</guid>
		<description>thank amar,

I commented that add the line &quot;&gt; / dev / null 2​​&gt; &amp; 1&quot; at the end of the crontab file and mail Mailscanner.conf and I keep coming, but in the case of modification of MailScanner gives me an error when I restart the service :

root@PMCSpam:~# root@xxx:~# service mailscanner restart
 * Restarting mail spam/virus scanner MailScanner
Syntax error(s) in configuration file: at /opt/MailScanner/lib/MailScanner/Config.pm line 2213
Unrecognised keyword &quot;optmailscannerbin&quot; at line 3132 at /opt/MailScanner/lib/MailScanner/Config.pm line 2216
Warning: syntax errors in /opt/MailScanner/etc/MailScanner.conf. at /opt/MailScanner/lib/MailScanner/Config.pm line 2221

So I had to undo the last change to service MailScanner start.
Finally the last question I want to add the following, where seconfigura mail notifications to the administrator&#039;s mail in quarantine or are bounced by spam or where you can view these log (would need the commands) Thanks again and sorry for my bad English</description>
		<content:encoded><![CDATA[<p>thank amar,</p>
<p>I commented that add the line &#8220;&gt; / dev / null 2​​&gt; &amp; 1&#8243; at the end of the crontab file and mail Mailscanner.conf and I keep coming, but in the case of modification of MailScanner gives me an error when I restart the service :</p>
<p>root@PMCSpam:~# root@xxx:~# service mailscanner restart<br />
 * Restarting mail spam/virus scanner MailScanner<br />
Syntax error(s) in configuration file: at /opt/MailScanner/lib/MailScanner/Config.pm line 2213<br />
Unrecognised keyword &#8220;optmailscannerbin&#8221; at line 3132 at /opt/MailScanner/lib/MailScanner/Config.pm line 2216<br />
Warning: syntax errors in /opt/MailScanner/etc/MailScanner.conf. at /opt/MailScanner/lib/MailScanner/Config.pm line 2221</p>
<p>So I had to undo the last change to service MailScanner start.<br />
Finally the last question I want to add the following, where seconfigura mail notifications to the administrator&#8217;s mail in quarantine or are bounced by spam or where you can view these log (would need the commands) Thanks again and sorry for my bad English</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-654</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Wed, 14 Dec 2011 20:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-654</guid>
		<description>Yes you are correct, you nat or forward port 25 to postfix which filters it and then forward further.

Now regarding cron you have set it to update itself from cron, so you can edit crontab and add &gt;/dev/null 2&gt;&amp;1 at the end of the mailscanner line so it won&#039;t send you e-mail and it will update itself.

Answer to the second question is pretty simple, try to send yourself copy of some spam mail, or mail that contains .exe file, spamassasing should put it to quarantine and you would receive mail that attachment has been removed.

Also when you check mail headers you should see spamasassin score in the header.</description>
		<content:encoded><![CDATA[<p>Yes you are correct, you nat or forward port 25 to postfix which filters it and then forward further.</p>
<p>Now regarding cron you have set it to update itself from cron, so you can edit crontab and add >/dev/null 2>&#038;1 at the end of the mailscanner line so it won&#8217;t send you e-mail and it will update itself.</p>
<p>Answer to the second question is pretty simple, try to send yourself copy of some spam mail, or mail that contains .exe file, spamassasing should put it to quarantine and you would receive mail that attachment has been removed.</p>
<p>Also when you check mail headers you should see spamasassin score in the header.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-653</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Wed, 14 Dec 2011 19:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-653</guid>
		<description>Hi,

All very good first scenario is the tutorial.mi the firewall nat all that comes to port 25 to an X port you configure in the postfix (Intal from your tutorial), he analyzes the mail and forwards it to me to exchange 2010 up here ok.Mi question is this: first I get mail sent by the cron (attached) and the other is how to update and how do I verify the basis of MailScanner, ClamAV and SpamAssassin?

Attached:
from:From: Cron Daemon 
To: 
Subject: Cron  /opt/MailScanner/bin/check_mailscanner
Message:MailScanner running with pid 1261 1262 1431 1432 1433 1434 
Message:Failed to retrieve valid current details Reading status from /var/spool/MailScanner/quarantine/phishingupdate/status
Checking that /var/spool/MailScanner/quarantine/phishingupdate/cache/2011-493 exists... ok Checking that /var/spool/MailScanner/quarantine/phishingupdate/cache/2011-493.32 exists... ok</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>All very good first scenario is the tutorial.mi the firewall nat all that comes to port 25 to an X port you configure in the postfix (Intal from your tutorial), he analyzes the mail and forwards it to me to exchange 2010 up here ok.Mi question is this: first I get mail sent by the cron (attached) and the other is how to update and how do I verify the basis of MailScanner, ClamAV and SpamAssassin?</p>
<p>Attached:<br />
from:From: Cron Daemon<br />
To:<br />
Subject: Cron  /opt/MailScanner/bin/check_mailscanner<br />
Message:MailScanner running with pid 1261 1262 1431 1432 1433 1434<br />
Message:Failed to retrieve valid current details Reading status from /var/spool/MailScanner/quarantine/phishingupdate/status<br />
Checking that /var/spool/MailScanner/quarantine/phishingupdate/cache/2011-493 exists&#8230; ok Checking that /var/spool/MailScanner/quarantine/phishingupdate/cache/2011-493.32 exists&#8230; ok</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-627</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Mon, 12 Dec 2011 16:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-627</guid>
		<description>You can set list of domains that are accepted for relaying and it will allow sending only for them.

http://www.postfix.org/SMTPD_ACCESS_README.html

Tnx for highlighting type error, I will fix it in the post.</description>
		<content:encoded><![CDATA[<p>You can set list of domains that are accepted for relaying and it will allow sending only for them.</p>
<p><a href="http://www.postfix.org/SMTPD_ACCESS_README.html" rel="nofollow">http://www.postfix.org/SMTPD_ACCESS_README.html</a></p>
<p>Tnx for highlighting type error, I will fix it in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-626</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 12 Dec 2011 16:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-626</guid>
		<description>I got working, there was two things:
1- The first problem was on master.cf I had to uncomment one line.
2- I copy/paste your main.cf and there was a mistype in: myorigin = $mydomain
(it was: myorgin = $mydomain).

Thanks a lot man.

I want to use it on production, so can we harden it for more spams filtering ?
I tried to send using aaaa@aaaa.com and it works, and don&#039;t want it to work for this kind of emails.
Can you help on this please.

Thanks again.</description>
		<content:encoded><![CDATA[<p>I got working, there was two things:<br />
1- The first problem was on master.cf I had to uncomment one line.<br />
2- I copy/paste your main.cf and there was a mistype in: myorigin = $mydomain<br />
(it was: myorgin = $mydomain).</p>
<p>Thanks a lot man.</p>
<p>I want to use it on production, so can we harden it for more spams filtering ?<br />
I tried to send using <a href="mailto:aaaa@aaaa.com">aaaa@aaaa.com</a> and it works, and don&#8217;t want it to work for this kind of emails.<br />
Can you help on this please.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-625</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Mon, 12 Dec 2011 14:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-625</guid>
		<description>Hello Adam,

This configuration seems ok, but I would say that you have problem with transport file or master.cf so check them if they are correct.

Master.cf can be pain in the ass, spaces and dashes matters there.</description>
		<content:encoded><![CDATA[<p>Hello Adam,</p>
<p>This configuration seems ok, but I would say that you have problem with transport file or master.cf so check them if they are correct.</p>
<p>Master.cf can be pain in the ass, spaces and dashes matters there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-622</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-622</guid>
		<description>Amar, just to understand, we are trying to configure a MTA (SMTP relay) for Exchange.
For my part: MX record is set up on the DNS, relayhost is empty (relayhost = )
my main.cf look like this:
myhostname = smtp1.office.com
mydomain = office.com
myorgin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain
mynetwork_style = host
relay_domains = office.com
transport_maps = hash:/etc/postfix/transport
append_at_myorigin = no
local_recipient_maps =
header_checks = regexp:/etc/postfix/header_checks
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
relayhost = 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +

Kindly, could you review it please.
Thanks.</description>
		<content:encoded><![CDATA[<p>Amar, just to understand, we are trying to configure a MTA (SMTP relay) for Exchange.<br />
For my part: MX record is set up on the DNS, relayhost is empty (relayhost = )<br />
my main.cf look like this:<br />
myhostname = smtp1.office.com<br />
mydomain = office.com<br />
myorgin = $mydomain<br />
inet_interfaces = all<br />
mydestination = $myhostname, localhost.$mydomain $mydomain<br />
mynetwork_style = host<br />
relay_domains = office.com<br />
transport_maps = hash:/etc/postfix/transport<br />
append_at_myorigin = no<br />
local_recipient_maps =<br />
header_checks = regexp:/etc/postfix/header_checks<br />
alias_maps = hash:/etc/aliases<br />
alias_database = hash:/etc/aliases<br />
relayhost =<br />
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128<br />
mailbox_size_limit = 0<br />
recipient_delimiter = +</p>
<p>Kindly, could you review it please.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-619</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Tue, 06 Dec 2011 06:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-619</guid>
		<description>Hello Adam,

Actually there isn&#039;t any configuration for exchange, because linux is acting as a gateway so it intercepts mail and deliver it to next hop, which is exchange.

Check which ip addresses you have for test domain, and it&#039;s mx records, it could be a dns problem, because as I can see it from your logs postfix is not sending it further, it&#039;s stopping them because it&#039;s not able to reach domain.</description>
		<content:encoded><![CDATA[<p>Hello Adam,</p>
<p>Actually there isn&#8217;t any configuration for exchange, because linux is acting as a gateway so it intercepts mail and deliver it to next hop, which is exchange.</p>
<p>Check which ip addresses you have for test domain, and it&#8217;s mx records, it could be a dns problem, because as I can see it from your logs postfix is not sending it further, it&#8217;s stopping them because it&#8217;s not able to reach domain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-618</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 05 Dec 2011 23:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-618</guid>
		<description>Thanks Amar for this How-To,
Is there any configuration we need to do on the Exchange Server ?

I am asking this question because I am getting these logs:

Dec  5 17:41:19 smtp1 postfix/smtpd[4234]: connect from test-host[192.168.1.10]
Dec  5 17:41:19 smtp1 postfix/smtpd[4234]: 8316424600C7: client=test-host[192.168.1.10]
Dec  5 17:41:19 smtp1 postfix/cleanup[4238]: 8316424600C7: hold: header Received: from monitor-test.office.com (test-host [192.168.1.10])??by smtp1.office.com (Postfix) with ESMTPS id 8316424600C7??for ; Mon,  5 Dec from test-host[192.168.1.10]; from= to= proto=ESMTP helo=
Dec  5 17:41:19 smtp1 postfix/cleanup[4238]: 8316424600C7: message-id=
Dec  5 17:41:19 smtp1 postfix/smtpd[4234]: disconnect from test-host[192.168.1.10]
Dec  5 17:41:39 smtp1 postfix/qmgr[3725]: 34D0B24600A2: from=, size=908, nrcpt=1 (queue active)
Dec  5 17:41:39 smtp1 postfix/qmgr[3725]: warning: connect to transport private/smtp [192.168.2.20]: No such file or directory
Dec  5 17:41:39 smtp1 postfix/qmgr[3725]: 4BBBB24600A8: from=, size=908, nrcpt=1 (queue active)
Dec  5 17:41:39 smtp1 postfix/error[4240]: 34D0B24600A2: to=, relay=none, delay=8826, delays=8826/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Dec  5 17:41:39 smtp1 postfix/error[4241]: 4BBBB24600A8: to=, relay=none, delay=8798, delays=8798/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Dec  5 17:42:01 smtp1 update.virus.scanners: Found clamav installed
Dec  5 17:42:01 smtp1 update.virus.scanners: Running autoupdate for clamav
Dec  5 17:42:01 smtp1 ClamAV-autoupdate[4305]: ClamAV updater /usr/local/bin/freshclam cannot be run
Dec  5 17:42:01 smtp1 update.virus.scanners: Found generic installed
Dec  5 17:42:01 smtp1 update.virus.scanners: Running autoupdate for generic

Client sending email is 192.168.1.10 (root@monitor-test.office.com) and destination email address is test-user@office.com and exchange server is 192.168.2.20

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Thanks Amar for this How-To,<br />
Is there any configuration we need to do on the Exchange Server ?</p>
<p>I am asking this question because I am getting these logs:</p>
<p>Dec  5 17:41:19 smtp1 postfix/smtpd[4234]: connect from test-host[192.168.1.10]<br />
Dec  5 17:41:19 smtp1 postfix/smtpd[4234]: 8316424600C7: client=test-host[192.168.1.10]<br />
Dec  5 17:41:19 smtp1 postfix/cleanup[4238]: 8316424600C7: hold: header Received: from monitor-test.office.com (test-host [192.168.1.10])??by smtp1.office.com (Postfix) with ESMTPS id 8316424600C7??for ; Mon,  5 Dec from test-host[192.168.1.10]; from= to= proto=ESMTP helo=<br />
Dec  5 17:41:19 smtp1 postfix/cleanup[4238]: 8316424600C7: message-id=<br />
Dec  5 17:41:19 smtp1 postfix/smtpd[4234]: disconnect from test-host[192.168.1.10]<br />
Dec  5 17:41:39 smtp1 postfix/qmgr[3725]: 34D0B24600A2: from=, size=908, nrcpt=1 (queue active)<br />
Dec  5 17:41:39 smtp1 postfix/qmgr[3725]: warning: connect to transport private/smtp [192.168.2.20]: No such file or directory<br />
Dec  5 17:41:39 smtp1 postfix/qmgr[3725]: 4BBBB24600A8: from=, size=908, nrcpt=1 (queue active)<br />
Dec  5 17:41:39 smtp1 postfix/error[4240]: 34D0B24600A2: to=, relay=none, delay=8826, delays=8826/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)<br />
Dec  5 17:41:39 smtp1 postfix/error[4241]: 4BBBB24600A8: to=, relay=none, delay=8798, delays=8798/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)<br />
Dec  5 17:42:01 smtp1 update.virus.scanners: Found clamav installed<br />
Dec  5 17:42:01 smtp1 update.virus.scanners: Running autoupdate for clamav<br />
Dec  5 17:42:01 smtp1 ClamAV-autoupdate[4305]: ClamAV updater /usr/local/bin/freshclam cannot be run<br />
Dec  5 17:42:01 smtp1 update.virus.scanners: Found generic installed<br />
Dec  5 17:42:01 smtp1 update.virus.scanners: Running autoupdate for generic</p>
<p>Client sending email is 192.168.1.10 (root@monitor-test.office.com) and destination email address is <a href="mailto:test-user@office.com">test-user@office.com</a> and exchange server is 192.168.2.20</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-603</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Tue, 01 Nov 2011 07:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-603</guid>
		<description>Hi Arek,

You have enabled client authentication for relaying somewhere. You need to add internal ip addresses to config as permitted ones which are not requiring client authentication.</description>
		<content:encoded><![CDATA[<p>Hi Arek,</p>
<p>You have enabled client authentication for relaying somewhere. You need to add internal ip addresses to config as permitted ones which are not requiring client authentication.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arek</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-598</link>
		<dc:creator>Arek</dc:creator>
		<pubDate>Mon, 31 Oct 2011 17:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-598</guid>
		<description>Hi guys,
I have some issues i guess on Exchange side, i have ubuntu box with Mailscanner + spamassassin + clam + postfix and it works as a Gateway for exchange, but unfortunately when it relay email exchange 2010 bounce relayed email, and i cant figure out why is so.
if you could help me solve this issue i would appreciate.

to=, relay=192.168.105.31[192.168.105.31]:25, delay=11, delays=5.9/0/0/5, dsn=5.7.1, status=bounced (host 192.168.105.31[192.168.105.31] said: 530 5.7.1 Client was not authenticated (in reply to MAIL FROM command)
why is so ?</description>
		<content:encoded><![CDATA[<p>Hi guys,<br />
I have some issues i guess on Exchange side, i have ubuntu box with Mailscanner + spamassassin + clam + postfix and it works as a Gateway for exchange, but unfortunately when it relay email exchange 2010 bounce relayed email, and i cant figure out why is so.<br />
if you could help me solve this issue i would appreciate.</p>
<p>to=, relay=192.168.105.31[192.168.105.31]:25, delay=11, delays=5.9/0/0/5, dsn=5.7.1, status=bounced (host 192.168.105.31[192.168.105.31] said: 530 5.7.1 Client was not authenticated (in reply to MAIL FROM command)<br />
why is so ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-547</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Fri, 01 Jul 2011 07:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-547</guid>
		<description>Tnx for the comment Rob.

Paths are changed a bit because in tutorial I have installed it via tar and you have installed it as a package.

You can try to find the file with the command find * / &#124;grep mailscanner to see where it&#039;s been installed.

Regards.
Amar</description>
		<content:encoded><![CDATA[<p>Tnx for the comment Rob.</p>
<p>Paths are changed a bit because in tutorial I have installed it via tar and you have installed it as a package.</p>
<p>You can try to find the file with the command find * / |grep mailscanner to see where it&#8217;s been installed.</p>
<p>Regards.<br />
Amar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Mazoros</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-546</link>
		<dc:creator>Rob Mazoros</dc:creator>
		<pubDate>Thu, 30 Jun 2011 23:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-546</guid>
		<description>Hey, thanks for the great tutorial.
Just trying to wrap up here but I am stuck on the 
/opt/MailScanner/bin/check_mailscanner
command.  I do not have a /opt/Mailscanner directory.  There is nothing in the /opt folder. 
I am on Ubuntu 9 and I first followed the instructions to set up Mailscanner before I tried your tutorial.
&lt;a href=&quot;http://www.mailscanner.info/ubuntu.html&quot; rel=&quot;nofollow&quot;&gt;here were the instructions.&lt;/a&gt;
I think everything is good up to this point but I seem to be missing some files.

Any Ideas?  I may try to unpack the tar install file and see if I can get them.  I used the most recent stable .deb package.

Thanks!
Rob</description>
		<content:encoded><![CDATA[<p>Hey, thanks for the great tutorial.<br />
Just trying to wrap up here but I am stuck on the<br />
/opt/MailScanner/bin/check_mailscanner<br />
command.  I do not have a /opt/Mailscanner directory.  There is nothing in the /opt folder.<br />
I am on Ubuntu 9 and I first followed the instructions to set up Mailscanner before I tried your tutorial.<br />
<a href="http://www.mailscanner.info/ubuntu.html" rel="nofollow">here were the instructions.</a><br />
I think everything is good up to this point but I seem to be missing some files.</p>
<p>Any Ideas?  I may try to unpack the tar install file and see if I can get them.  I used the most recent stable .deb package.</p>
<p>Thanks!<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-543</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Sun, 05 Jun 2011 21:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-543</guid>
		<description>You don&#039;t have them because they doesn&#039;t exist by default, you need to create them first.

So create both of them and then when you enter content in them create hashes for use with postfix, restart postfix and that&#039;s it.

Open /etc/postfix/transport and add your forwarding domains in it. For multiple domains add new row by same principle.

    sp.local smtp:[192.168.1.5]
    domain2.com smtp:[192.168.1.5]

This ip 192.168.1.5 is IP of my Exchange server, not of my Linux machine and sp.local is the name of my domain, replace IP and domain name with yours. After this editing we need to create hash of the transport file and to restart Postfix.

    postmap /etc/postfix/transport
    /etc/init.d/postfix restart</description>
		<content:encoded><![CDATA[<p>You don&#8217;t have them because they doesn&#8217;t exist by default, you need to create them first.</p>
<p>So create both of them and then when you enter content in them create hashes for use with postfix, restart postfix and that&#8217;s it.</p>
<p>Open /etc/postfix/transport and add your forwarding domains in it. For multiple domains add new row by same principle.</p>
<p>    sp.local smtp:[192.168.1.5]<br />
    domain2.com smtp:[192.168.1.5]</p>
<p>This ip 192.168.1.5 is IP of my Exchange server, not of my Linux machine and sp.local is the name of my domain, replace IP and domain name with yours. After this editing we need to create hash of the transport file and to restart Postfix.</p>
<p>    postmap /etc/postfix/transport<br />
    /etc/init.d/postfix restart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Houghton</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-542</link>
		<dc:creator>Chris Houghton</dc:creator>
		<pubDate>Sun, 05 Jun 2011 21:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-542</guid>
		<description>I&#039;m not very proficient in Linux so I installed Ubuntu 11.04 and followed your instructions.  I got Postfix and Mail Scanner from the UBuntu software centre and these included SpamAssassin and ClamAV.  I found that some of the files in your instructions were missing (no /etc/postfix/transport file,  no /opt/MailScanner/bin/check_mailscanner or /etc/postfix/header_checks files.)

I never did the bit to download the latest mailscanner as I thought my download through the software centre would be the latest.

Any help would be appreciated.  My aim is to run this server as a SMTP gateway in the DMZ that scans all messages before passing the mails on to my Exchange 2010 server.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not very proficient in Linux so I installed Ubuntu 11.04 and followed your instructions.  I got Postfix and Mail Scanner from the UBuntu software centre and these included SpamAssassin and ClamAV.  I found that some of the files in your instructions were missing (no /etc/postfix/transport file,  no /opt/MailScanner/bin/check_mailscanner or /etc/postfix/header_checks files.)</p>
<p>I never did the bit to download the latest mailscanner as I thought my download through the software centre would be the latest.</p>
<p>Any help would be appreciated.  My aim is to run this server as a SMTP gateway in the DMZ that scans all messages before passing the mails on to my Exchange 2010 server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-523</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Fri, 25 Mar 2011 19:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-523</guid>
		<description>What errors or problems do you have?</description>
		<content:encoded><![CDATA[<p>What errors or problems do you have?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nelson</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-522</link>
		<dc:creator>Nelson</dc:creator>
		<pubDate>Fri, 25 Mar 2011 18:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-522</guid>
		<description>y have a UBUNTU server 10.10</description>
		<content:encoded><![CDATA[<p>y have a UBUNTU server 10.10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nelson</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-521</link>
		<dc:creator>Nelson</dc:creator>
		<pubDate>Fri, 25 Mar 2011 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-521</guid>
		<description>I have a Server Winserver R2 with Exchange 2010, but i can´t  configure spamassassin. im thinking is a configuration of the main.cf 
you can help me with a example.
And sorry my english</description>
		<content:encoded><![CDATA[<p>I have a Server Winserver R2 with Exchange 2010, but i can´t  configure spamassassin. im thinking is a configuration of the main.cf<br />
you can help me with a example.<br />
And sorry my english</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-437</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Fri, 28 Jan 2011 20:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-437</guid>
		<description>I think config is the same, maybe packets are updated with newer versions.</description>
		<content:encoded><![CDATA[<p>I think config is the same, maybe packets are updated with newer versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NELSON</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-436</link>
		<dc:creator>NELSON</dc:creator>
		<pubDate>Fri, 28 Jan 2011 20:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-436</guid>
		<description>este tutorial funciona en ubuntu 10.10?
la version nornal no la server</description>
		<content:encoded><![CDATA[<p>este tutorial funciona en ubuntu 10.10?<br />
la version nornal no la server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar Kulo</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-13</link>
		<dc:creator>Amar Kulo</dc:creator>
		<pubDate>Mon, 13 Sep 2010 17:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-13</guid>
		<description>You are welcome :)</description>
		<content:encoded><![CDATA[<p>You are welcome <img src='http://blog.amarkulo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: realpeace</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-12</link>
		<dc:creator>realpeace</dc:creator>
		<pubDate>Mon, 13 Sep 2010 17:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-12</guid>
		<description>Its good on last version of Ubuntu. :) tanck you, Very Good How To!</description>
		<content:encoded><![CDATA[<p>Its good on last version of Ubuntu. <img src='http://blog.amarkulo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  tanck you, Very Good How To!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar Kulo</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-11</link>
		<dc:creator>Amar Kulo</dc:creator>
		<pubDate>Thu, 05 Aug 2010 21:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-11</guid>
		<description>Tnx for comment. The easiest way to do this is to view it manually with vi or some other editor and see if it is legit mail. Then you can execute command sa-learn --ham /path_to_message_file. With this command you can learn spam assassin to treat messages like that as ham, or if you have got some messages as legit and they are spam save whole message with headers and content in a file and call sa-learn --spam message_file.</description>
		<content:encoded><![CDATA[<p>Tnx for comment. The easiest way to do this is to view it manually with vi or some other editor and see if it is legit mail. Then you can execute command sa-learn &#8211;ham /path_to_message_file. With this command you can learn spam assassin to treat messages like that as ham, or if you have got some messages as legit and they are spam save whole message with headers and content in a file and call sa-learn &#8211;spam message_file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-10</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 05 Aug 2010 14:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-10</guid>
		<description>First off great How To!  I was able to build this on Ubuntu 10.04.  I havn&#039;t put it into production but the machine is ready to go.  I just have one question.  How do you view/release emails that are quarantined as spam but are legit?</description>
		<content:encoded><![CDATA[<p>First off great How To!  I was able to build this on Ubuntu 10.04.  I havn&#8217;t put it into production but the machine is ready to go.  I just have one question.  How do you view/release emails that are quarantined as spam but are legit?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar Kulo</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comment-9</link>
		<dc:creator>Amar Kulo</dc:creator>
		<pubDate>Thu, 03 Dec 2009 18:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141#comment-9</guid>
		<description>Tnx :-)</description>
		<content:encoded><![CDATA[<p>Tnx <img src='http://blog.amarkulo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

