<?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: CentOS: postfix, dovecot, Roundcube, amavisd-new, spamassassin, clamav on CentOS 7	</title>
	<atom:link href="https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/</link>
	<description></description>
	<lastBuildDate>Sat, 24 Oct 2020 13:12:21 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Benjamin Sisko		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-258</link>

		<dc:creator><![CDATA[Benjamin Sisko]]></dc:creator>
		<pubDate>Wed, 06 Nov 2019 18:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-258</guid>

					<description><![CDATA[This way to configure amavis has an issue. Because there is &quot;-o receive_override_options=no_header_body_checks&quot;, the &quot;header_checks&quot; postfix directive will be disabled, and then will not be possible to check the headers of incoming emails and take appropriate actions.
Will be possible do it only by amavis, but in this case, the email is already fully in the server.]]></description>
			<content:encoded><![CDATA[<p>This way to configure amavis has an issue. Because there is &#8220;-o receive_override_options=no_header_body_checks&#8221;, the &#8220;header_checks&#8221; postfix directive will be disabled, and then will not be possible to check the headers of incoming emails and take appropriate actions.<br />
Will be possible do it only by amavis, but in this case, the email is already fully in the server.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Salvo Paesano		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-244</link>

		<dc:creator><![CDATA[Salvo Paesano]]></dc:creator>
		<pubDate>Mon, 26 Aug 2019 06:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-244</guid>

					<description><![CDATA[Hello Thanks for your page.
Since I have already a postfix dovecote installation, I used it only for setting amavis/clamav/spamassasin
I found some typo.
in  section Amavisd, Spamassassin and clamav

not yum install clamav-udpate
but yum install clamav-update

in code :

# ### http://www.clamav.net/
[&#039;ClamAV-clamd&#039;,
  \&#038;ask_daemon, [&quot;CONTSCAN {}\n&quot;, &quot;/var/run/clamav/clamd.sock.sock&quot;],
  qr/\bOK$/m, qr/\bFOUND$/m,
  qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],

To work for me , I changed 
  \&#038;ask_daemon, [&quot;CONTSCAN {}\n&quot;, &quot;/var/run/clamav/clamd.sock.sock&quot;],
by
\&#038;ask_daemon, [&quot;CONTSCAN {}\n&quot;, &quot;/var/run/clamd.amavisd/clamd.sock&quot;],

Have a nice day
Salvo]]></description>
			<content:encoded><![CDATA[<p>Hello Thanks for your page.<br />
Since I have already a postfix dovecote installation, I used it only for setting amavis/clamav/spamassasin<br />
I found some typo.<br />
in  section Amavisd, Spamassassin and clamav</p>
<p>not yum install clamav-udpate<br />
but yum install clamav-update</p>
<p>in code :</p>
<p># ### <a href="http://www.clamav.net/" rel="nofollow ugc">http://www.clamav.net/</a><br />
[&#8216;ClamAV-clamd&#8217;,<br />
  \&amp;ask_daemon, [&#8220;CONTSCAN {}\n&#8221;, &#8220;/var/run/clamav/clamd.sock.sock&#8221;],<br />
  qr/\bOK$/m, qr/\bFOUND$/m,<br />
  qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],</p>
<p>To work for me , I changed<br />
  \&amp;ask_daemon, [&#8220;CONTSCAN {}\n&#8221;, &#8220;/var/run/clamav/clamd.sock.sock&#8221;],<br />
by<br />
\&amp;ask_daemon, [&#8220;CONTSCAN {}\n&#8221;, &#8220;/var/run/clamd.amavisd/clamd.sock&#8221;],</p>
<p>Have a nice day<br />
Salvo</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Evgeniy Demidchenko		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-199</link>

		<dc:creator><![CDATA[Evgeniy Demidchenko]]></dc:creator>
		<pubDate>Mon, 15 May 2017 15:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-199</guid>

					<description><![CDATA[In my case the option

mail_home = /var/mail/vhosts/%d/%n

did not work, it was absent in conf file also. Fixed with editing option `mail_location`, and removed `mail_home`

mail_location = maildir:/var/mail/vhosts/%d/%n]]></description>
			<content:encoded><![CDATA[<p>In my case the option</p>
<p>mail_home = /var/mail/vhosts/%d/%n</p>
<p>did not work, it was absent in conf file also. Fixed with editing option `mail_location`, and removed `mail_home`</p>
<p>mail_location = maildir:/var/mail/vhosts/%d/%n</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kliment Andreev		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-198</link>

		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Sat, 13 May 2017 22:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-198</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-197&quot;&gt;Rob Derby&lt;/a&gt;.

You are right. I just built a test instance in AWS with CentOS 7.2.1511 and looks like something broke with certificates. I did the same exact steps up to &quot;postfix and TLS&quot; paragraph and I was able to receive e-mails. Once I made the changes in main.cf, things broke when I tried openssl s_client -starttls smtp -connect localhost:587. It just ends up the session with self signed certificate return code 18.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-197">Rob Derby</a>.</p>
<p>You are right. I just built a test instance in AWS with CentOS 7.2.1511 and looks like something broke with certificates. I did the same exact steps up to &#8220;postfix and TLS&#8221; paragraph and I was able to receive e-mails. Once I made the changes in main.cf, things broke when I tried openssl s_client -starttls smtp -connect localhost:587. It just ends up the session with self signed certificate return code 18.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Derby		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-197</link>

		<dc:creator><![CDATA[Rob Derby]]></dc:creator>
		<pubDate>Fri, 12 May 2017 18:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-197</guid>

					<description><![CDATA[I&#039;ve followed repeatedly your excellent description until dovecot with SSL, but don&#039;t get the authentication verified when sending mail with telnet localhost 110 or 143.
I always get
.....
pass topsecret
-ERR [AUTH] Authentication failed.

I compared your changes to the different configuration files several times and cannot find a difference.
The output in dovecot.log is
.....
May 12 14:35:23 pop3-login: Info: Aborted login (auth failed, 1 attempts in 6 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=

If you could point me into the right direction, it would be very helpful. Thanks]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve followed repeatedly your excellent description until dovecot with SSL, but don&#8217;t get the authentication verified when sending mail with telnet localhost 110 or 143.<br />
I always get<br />
&#8230;..<br />
pass topsecret<br />
-ERR [AUTH] Authentication failed.</p>
<p>I compared your changes to the different configuration files several times and cannot find a difference.<br />
The output in dovecot.log is<br />
&#8230;..<br />
May 12 14:35:23 pop3-login: Info: Aborted login (auth failed, 1 attempts in 6 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=</p>
<p>If you could point me into the right direction, it would be very helpful. Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ian Brown		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-188</link>

		<dc:creator><![CDATA[Ian Brown]]></dc:creator>
		<pubDate>Mon, 08 Aug 2016 22:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-188</guid>

					<description><![CDATA[A couple of things that might help others -- This blog post is over a year old and some things have apparently changed.

The post mentions pigeonhole at the top but then never discusses it later on. Needed?

Don&#039;t forget to re-comment out &quot;protocols = imap pop3 lmtp&quot; in dovecot.conf after enabling tls/ssl. It&#039;s not needed and will put the file back to a pristine state -- good for future issue-less rpm updates.

Speaking of SSL/tls, a better choice for ssl certs are the free ones from lets encrypt (https://letsencrypt.org/getting-started/).  Once configured it can be ran in a cronjob daily to always update the cert when it&#039;s near expiration time too.

I don&#039;t recommend changing the logging settings for dovecot from the original &quot;syslog&quot; setting.  Entries go into /var/log/maillog which is checked with logwatch if that rpm is installed. That file is also log-rotated while the one suggested here will grow indefinitely.

If you install the rpm &quot;clamav-server-systemd&quot; you don&#039;t have to touch the clamav socket settings in amavisd.  Everything works out of the box.

The only other thing missing is a way to retrieve emails sent to root -- like errors in cron jobs, logwatch output, etc.]]></description>
			<content:encoded><![CDATA[<p>A couple of things that might help others &#8212; This blog post is over a year old and some things have apparently changed.</p>
<p>The post mentions pigeonhole at the top but then never discusses it later on. Needed?</p>
<p>Don&#8217;t forget to re-comment out &#8220;protocols = imap pop3 lmtp&#8221; in dovecot.conf after enabling tls/ssl. It&#8217;s not needed and will put the file back to a pristine state &#8212; good for future issue-less rpm updates.</p>
<p>Speaking of SSL/tls, a better choice for ssl certs are the free ones from lets encrypt (<a href="https://letsencrypt.org/getting-started/" rel="nofollow ugc">https://letsencrypt.org/getting-started/</a>).  Once configured it can be ran in a cronjob daily to always update the cert when it&#8217;s near expiration time too.</p>
<p>I don&#8217;t recommend changing the logging settings for dovecot from the original &#8220;syslog&#8221; setting.  Entries go into /var/log/maillog which is checked with logwatch if that rpm is installed. That file is also log-rotated while the one suggested here will grow indefinitely.</p>
<p>If you install the rpm &#8220;clamav-server-systemd&#8221; you don&#8217;t have to touch the clamav socket settings in amavisd.  Everything works out of the box.</p>
<p>The only other thing missing is a way to retrieve emails sent to root &#8212; like errors in cron jobs, logwatch output, etc.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yuris Sarek		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-186</link>

		<dc:creator><![CDATA[Yuris Sarek]]></dc:creator>
		<pubDate>Thu, 16 Jun 2016 10:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-186</guid>

					<description><![CDATA[I followed this tutorial to setup a mail server on CentOS 7. I can send and receive emails internally (mydomain) but externally (other domains,gmail,...) I can only receive mails but I can&#039;t send. When I try to send an email I get this error:
Relay access denied (in reply to RCPT TO command)). Can somebody help to fix this.

Thanks.]]></description>
			<content:encoded><![CDATA[<p>I followed this tutorial to setup a mail server on CentOS 7. I can send and receive emails internally (mydomain) but externally (other domains,gmail,&#8230;) I can only receive mails but I can&#8217;t send. When I try to send an email I get this error:<br />
Relay access denied (in reply to RCPT TO command)). Can somebody help to fix this.</p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zoltán László		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-185</link>

		<dc:creator><![CDATA[Zoltán László]]></dc:creator>
		<pubDate>Sat, 23 Apr 2016 16:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-185</guid>

					<description><![CDATA[I can repeat only the previous comment. This works. Not only works, it&#039;s well commented. I tried a many other tuts but I used to found some differences and not working commands, logic errors, etc.

Thanks for this article.]]></description>
			<content:encoded><![CDATA[<p>I can repeat only the previous comment. This works. Not only works, it&#8217;s well commented. I tried a many other tuts but I used to found some differences and not working commands, logic errors, etc.</p>
<p>Thanks for this article.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Arturs Smirnovs		</title>
		<link>https://blog.andreev.it/2015/06/centos-7-postfix-dovecot-roundcube-amavisd-new-spamassassin-clamav-pigeonhole/#comment-163</link>

		<dc:creator><![CDATA[Arturs Smirnovs]]></dc:creator>
		<pubDate>Fri, 13 Nov 2015 15:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=1975#comment-163</guid>

					<description><![CDATA[Grate article! Made my day and my emails running :)
Thank you.

P.S. For others who search articles how to install postfix and dovecot on internet: This works :) tried some other tutorials but all fail for some reason. but this works nicely. :)]]></description>
			<content:encoded><![CDATA[<p>Grate article! Made my day and my emails running :)<br />
Thank you.</p>
<p>P.S. For others who search articles how to install postfix and dovecot on internet: This works :) tried some other tutorials but all fail for some reason. but this works nicely. :)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
