<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — General way to upgrade]]></title>
		<link>https://forum.iredmail.org/topic177-general-way-to-upgrade.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic177.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in General way to upgrade.]]></description>
		<lastBuildDate>Tue, 16 Jun 2015 10:10:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40172.html#p40172</link>
			<description><![CDATA[<div class="quotebox"><cite>roni wrote:</cite><blockquote><p>Jun 16 05:49:38 svr postfix/smtp[2009]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused</p></blockquote></div><p>Reference:<br /><a href="http://www.iredmail.org/docs/errors.html#connect-to-12700112700110024-connection-refused">http://www.iredmail.org/docs/errors.htm … on-refused</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 16 Jun 2015 10:10:39 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40172.html#p40172</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40169.html#p40169</link>
			<description><![CDATA[<p>After this issue I noticed that i am not able to send mails using this smtp over TLS (POrt 587). When i tail mail.log file I noticed the following error</p><p>Jun 16 05:49:33 svr postfix/smtpd[2482]: connect from unknown[x.x.x.x]<br />Jun 16 05:49:36 svr postfix/smtpd[2482]: E177F81891: client=unknown[x.x.x.x], sasl_method=LOGIN, sasl_username=test@abc.co<br />Jun 16 05:49:38 svr postfix/cleanup[2492]: E177F81891: message-id=&lt;&gt;<br />Jun 16 05:49:38 svr postfix/qmgr[1981]: E177F81891: from=&lt;test@abc.co&gt;, size=594, nrcpt=1 (queue active)<br />Jun 16 05:49:38 svr postfix/smtp[2009]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused<br />Jun 16 05:49:38 svr postfix/smtp[2009]: E177F81891: to=&lt;test@abc.co&gt;, relay=none, delay=2.4, delays=2.4/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)<br />Jun 16 05:49:39 svr postfix/smtpd[2482]: disconnect from unknown[x.x.x.x]</p>]]></description>
			<author><![CDATA[null@example.com (roni)]]></author>
			<pubDate>Tue, 16 Jun 2015 09:54:32 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40169.html#p40169</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40168.html#p40168</link>
			<description><![CDATA[<p>It seems the issue fixed. Thanks for the support</p>]]></description>
			<author><![CDATA[null@example.com (roni)]]></author>
			<pubDate>Tue, 16 Jun 2015 09:40:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40168.html#p40168</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40167.html#p40167</link>
			<description><![CDATA[<p>You should add it to /etc/fail2ban/jail.<span style="color:red">local</span>.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 16 Jun 2015 09:00:28 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40167.html#p40167</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40166.html#p40166</link>
			<description><![CDATA[<p>I found that the issue, but I couldn&#039;t solved it completely. It seems that fail2ban service is blocking the IP of the application server. I tryout to add this server IP in its white-list using the /etc/fail2ban/jail.conf by adding this IP in &quot;ignoreip=&quot;,&nbsp; then I removed this blocking rule from IPtables. But after some time it seems again blocked</p><p>Following is the entry i saw in &quot;iptable -L&quot; command as its blocked. hostname.example.com is our application server</p><p>Chain fail2ban-postfix (1 references)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />REJECT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; hostname.example.com&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reject-with icmp-port-unreachable<br />RETURN&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere</p>]]></description>
			<author><![CDATA[null@example.com (roni)]]></author>
			<pubDate>Tue, 16 Jun 2015 08:56:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40166.html#p40166</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40148.html#p40148</link>
			<description><![CDATA[<p>Thanks for your reply. Default IP Table rules are enabled in this box with its installation and the following is the content of /etc/default/iptables. I tried the command you specified in the commend but it not solved the issue<br />*filter<br />:INPUT DROP [0:0]<br />:FORWARD DROP [0:0]<br />:OUTPUT ACCEPT [149:33179]<br />:fail2ban-default - [0:0]<br />:fail2ban-dovecot - [0:0]<br />:fail2ban-postfix - [0:0]<br />:fail2ban-roundcube - [0:0]<br />-A INPUT -p tcp -m multiport --dports 80,443,25,587,110,995,143,993,4190 -j fail2ban-postfix<br />-A INPUT -p tcp -m multiport --dports 80,443,25,587,110,995,143,993,4190 -j fail2ban-dovecot<br />-A INPUT -p tcp -m multiport --dports 80,443,25,587,110,995,143,993,4190 -j fail2ban-roundcube<br />-A INPUT -p tcp -j fail2ban-default<br />-A INPUT -m limit --limit 5/min -j LOG --log-prefix &quot;iptables denied: &quot; --log-level 7<br />-A INPUT -p tcp -j fail2ban-default<br />-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br />-A INPUT -i lo -j ACCEPT<br />-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 587 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 110 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 995 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 143 -j ACCEPT<br />-A INPUT -p tcp -m tcp --dport 993 -j ACCEPT<br />-A INPUT -s X.X.X.X/32 -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT<br />-A INPUT -s XXXX/32 -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT<br />-A INPUT -s xxxx/32 -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT<br />-A INPUT -s xxxx/32 -i eth1 -p tcp -m tcp --dport 22 -j ACCEPT<br />-A INPUT -s xxxx/32 -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT<br />-A fail2ban-default -s 58.218.211.166/32 -j REJECT --reject-with icmp-port-unreachable<br />-A fail2ban-default -j RETURN<br />-A fail2ban-default -j RETURN<br />-A fail2ban-dovecot -j RETURN<br />-A fail2ban-postfix -s 162.243.28.202/32 -j REJECT --reject-with icmp-port-unreachable<br />-A fail2ban-postfix -s 162.243.226.170/32 -j REJECT --reject-with icmp-port-unreachable<br />-A fail2ban-postfix -j RETURN<br />-A fail2ban-roundcube -j RETURN<br />COMMIT</p>]]></description>
			<author><![CDATA[null@example.com (roni)]]></author>
			<pubDate>Tue, 16 Jun 2015 04:03:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40148.html#p40148</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40142.html#p40142</link>
			<description><![CDATA[<div class="quotebox"><cite>roni wrote:</cite><blockquote><p>How can I troubleshoot this issue by enabling this traffic in iptable?</p></blockquote></div><p>roni: Do you have the default rules for iptables in /etc/default/iptables enabled?</p><p>You should probably at least have the basics:</p><p># smtp, submission<br />-A INPUT -p tcp --dport 25 -j ACCEPT<br />-A INPUT -p tcp --dport 587 -j ACCEPT</p><p># pop3, pop3s<br />-A INPUT -p tcp --dport 110 -j ACCEPT<br />-A INPUT -p tcp --dport 995 -j ACCEPT</p><p># imap, imaps<br />-A INPUT -p tcp --dport 143 -j ACCEPT<br />-A INPUT -p tcp --dport 993 -j ACCEPT</p><p>Those should be set to ACCEPT for the ports that you need to use. If they&#039;re not set to accept (the ports are closed off), and iptables is running as a service, you&#039;re not going to be able to communicate with your mail machine. I believe that those rules are set as a default with a new iRedMail install. At least they were on my machines.&nbsp; You can try to open that single port on the command line as a test by typing in your shell:</p><p>&quot;iptables -A INPUT -p tcp --dport 995 -j ACCEPT&quot; and see what happens. Hopefully opening the port works.</p>]]></description>
			<author><![CDATA[null@example.com (SteveLuxe)]]></author>
			<pubDate>Mon, 15 Jun 2015 19:24:53 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40142.html#p40142</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post40137.html#p40137</link>
			<description><![CDATA[<p>I have installed latest iRedMail-0.9.2 in our system and created some mail boxes. Able to send and receive mails using mail clients like outlook/thunderbird (Using imap over SSL and pop3s are working fine to fetch new mails)<br />We have an application installed in anther system, and that application is checking new mails in the above mail boxes using RSS feeds.We have created RSS feed url using the POP3S working credentials that we used in above cases.Not able to fetch mails using this feed with the following error<br />Warning: imap_open(): Couldn&#039;t open stream {mail.XXX.com:995/pop3/ssl} in /usr/share/nginx/www/dev.XXXXXXX/mail2rss.php on line 73</p><p>Warning: imap_num_msg() expects parameter 1 to be resource, boolean given in /usr/share/nginx/www/dev.XXXXXX/mail2rss.php on line 78</p><p>Notice: Unknown: Can&#039;t connect to mail.XXX.com,995: Connection refused (errflg=2) in Unknown on line 0</p><p>But when i disable the iptable services in this box this same feed url start working without any issues. How can I troubleshoot this issue by enabling this traffic in iptable?</p>]]></description>
			<author><![CDATA[null@example.com (roni)]]></author>
			<pubDate>Mon, 15 Jun 2015 13:23:33 +0000</pubDate>
			<guid>https://forum.iredmail.org/post40137.html#p40137</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post874.html#p874</link>
			<description><![CDATA[<div class="quotebox"><cite>thomas wrote:</cite><blockquote><p>So basically all i have to do is a &quot;yum update&quot; followed by &quot;yum upgrade&quot; and manually change the config files, mysql etc.?</p></blockquote></div><p>Yes (almost).</p><p>If addition operations are required after binary package upgrade, we will public relate information in this forum and our twitter (@iredmail, <a href="http://twitter.com/iredmail">http://twitter.com/iredmail</a>), and push the binary package into yum repository about one week later so that system admins have enough time to notice the addition requirements.</p><p>This situation appeared before, but not so much times. </p><p>So, don&#039;t forget to subscribe forum RSS feed or follow us on twitter.<br />About RSS feed, you can subscribe to &#039;News &amp; Announcements&#039; forum for this purpose.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 19 Aug 2009 12:33:15 +0000</pubDate>
			<guid>https://forum.iredmail.org/post874.html#p874</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post873.html#p873</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>thomas wrote:</cite><blockquote><p>I am still wondering, what he recommended way to upgrade my installation is.<br />...<br />Having a yum repository made me think i just could use &quot;yum update&quot; and everything wil be worked out more or less by itself.</p></blockquote></div><p>As you may know, we have a yum repository for RHEL/CentOS 5.x, used to update binary packages.<br />But we may change settings in config files in new version, it&#039;s not *SAFE* to change them while you use &#039;yum update/upgrade&#039; to update binary packages, so we drop them in a upgrade tutorial, system admins have to adjust settings manually.</p></blockquote></div><p>So basically all i have to do is a &quot;yum update&quot; and manually change the config files, mysql etc.?<br />I don&#039;t really get it. &quot;yum update&quot; did not alter anything. Not even the binaries, nothing.</p><p>Regards,<br />Tom</p>]]></description>
			<author><![CDATA[null@example.com (thomas)]]></author>
			<pubDate>Wed, 19 Aug 2009 12:20:48 +0000</pubDate>
			<guid>https://forum.iredmail.org/post873.html#p873</guid>
		</item>
		<item>
			<title><![CDATA[Re: General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post871.html#p871</link>
			<description><![CDATA[<div class="quotebox"><cite>thomas wrote:</cite><blockquote><p>I am still wondering, what he recommended way to upgrade my installation is.<br />...<br />Having a yum repository made me think i just could use &quot;yum update&quot; and everything wil be worked out more or less by itself.</p></blockquote></div><p>As you may know, we have a yum repository for RHEL/CentOS 5.x, used to update binary packages.<br />But we may change settings in config files in new version, it&#039;s not *SAFE* to change them while you use &#039;yum update/upgrade&#039; to update binary packages, so we drop them in a upgrade tutorial, system admins have to adjust settings manually.</p><p>This is the best way for upgrading i can image, if you have better idea, please do contact me, let&#039;s make it better <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="quotebox"><cite>thomas wrote:</cite><blockquote><p>What is the correct way to check the iRedMail-Version?</p></blockquote></div><p>You can find it in all config files which modifed by iRedMail, such as /etc/dovecot.conf, /etc/postfix/ldap_*.cf, /etc/postfix/mysql_*.cf, etc.</p><p>And you can get it with this command:<br /></p><div class="codebox"><pre><code>$ sudo postconf -n mail_name
mail_name = iRedMail

$ sudo postconf -n mail_version
mail_version = 0.5.0</code></pre></div><div class="quotebox"><cite>thomas wrote:</cite><blockquote><p>The wiki-documenation on these topics states &quot;this is work in progress - don&#039;t do this!&quot;...</p></blockquote></div><p>Thanks for your remind, i removed this notice. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 19 Aug 2009 12:12:29 +0000</pubDate>
			<guid>https://forum.iredmail.org/post871.html#p871</guid>
		</item>
		<item>
			<title><![CDATA[General way to upgrade]]></title>
			<link>https://forum.iredmail.org/post863.html#p863</link>
			<description><![CDATA[<p>Hi,</p><p>i am running an iRedMail-installation on CentOS 5.3 without any bigger problems so far. Thumbs up, excellent work <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />I am still wondering, what he recommended way to upgrade my installation is.<br />Having a yum repository made me think i just could use &quot;yum update&quot; and everything wil be worked out more or less by itself.<br />No i found that i still have i.e. phpMyAdmin - 2.11.9.4 and so i think i am somewhat stuck with iRedMail 0.3.x.<br />What is the correct way to check the iRedMail-Version?<br />How do i upgrade a running installation without bigger hassle? The wiki-documenation on these topics states &quot;this is work in progress - don&#039;t do this!&quot;...</p><p>Thanks for your help and kind regards,<br />Thomas</p>]]></description>
			<author><![CDATA[null@example.com (thomas)]]></author>
			<pubDate>Wed, 19 Aug 2009 10:05:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post863.html#p863</guid>
		</item>
	</channel>
</rss>
