<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Migrate iredmail to another vps server]]></title>
		<link>https://forum.iredmail.org/topic21053-migrate-iredmail-to-another-vps-server.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic21053.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Migrate iredmail to another vps server.]]></description>
		<lastBuildDate>Sat, 21 Feb 2026 19:59:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91694.html#p91694</link>
			<description><![CDATA[<div class="quotebox"><cite>jamesnelson82 wrote:</cite><blockquote><p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version: 1.7.3 MYSQL edition.<br />- Linux/BSD distribution name and version: Ubuntu 24.04<br />- Web server: Nginx<br />====<br />Hello, <br />this is my first post!<br />just one question, I have managed to move all databases to &#039;new vps&#039;, and all is working receiving and sending email, lastly I want to move the file /etc/amavis/conf.d/50-user,&nbsp; which has this nformation in it: (I have omitted domain names)<br /># Add dkim_key here.</p><p>@dkim_signature_options_bysender_maps = ({<br />&nbsp; &nbsp; # &#039;d&#039; defaults to a domain of an author/sender address,<br />&nbsp; &nbsp; # &#039;s&#039; defaults to whatever selector is offered by a matching key</p><p>&nbsp; &nbsp; # Per-domain dkim key<br />&nbsp; &nbsp; #&quot;domain.com&quot;&nbsp; =&gt; { d =&gt; &quot;domain.com&quot;, a =&gt; &#039;rsa-sha256&#039;, ttl =&gt; 10*24*3600 },<br />&nbsp; &nbsp; # catch-all (one dkim key for all domains)<br />&nbsp; &nbsp; &#039;.&#039; =&gt; {d =&gt; &#039;********.co.uk&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a =&gt; &#039;rsa-sha256&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c =&gt; &#039;relaxed/simple&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ttl =&gt; 30*24*3600 },<br />});</p><p>but when I move the actual file itself to the &#039;new vps&#039; and delete the new vps 50-user file and place the &#039;old vps&#039;&nbsp; 50-user file in it&#039;s place and restart all services:<br />#systemctl restart dovecot postfix nginx<br />#sudo systemctl restart amavis<br />#sudo systemctl reboot<br />I cannot receive or send email, can you help me please</p><p>Kindet Regards</p><p>J</p></blockquote></div><p>Have you changed permissions of the amavis files you moved? Make sure the permissions are set to amavis:amavis under /etc/amavis. In that directory run ls -la and post output. </p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Sat, 21 Feb 2026 19:59:09 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91694.html#p91694</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91589.html#p91589</link>
			<description><![CDATA[<div class="quotebox"><cite>jamesnelson82 wrote:</cite><blockquote><p>the migration instructions on this site do not have this point in them</p></blockquote></div><p>Which one are we talking about? I will update it shortly.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 31 Dec 2025 08:37:08 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91589.html#p91589</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91586.html#p91586</link>
			<description><![CDATA[<p>Hello ZhangHuangbin,<br />sorry for the late reply it us Christmas here in England <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> you are correct it was the &#039;SQL username and password used in @storage_sql_dsn and @lookup_sql_dsn in /etc/amavis/conf.d/50-user&#039;, thanks for you support, also the migration instructions on this site do not have this point in them</p><p>Kindest Regards</p>]]></description>
			<author><![CDATA[null@example.com (jamesnelson82)]]></author>
			<pubDate>Wed, 31 Dec 2025 00:05:44 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91586.html#p91586</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91548.html#p91548</link>
			<description><![CDATA[<div class="quotebox"><cite>jamesnelson82 wrote:</cite><blockquote><p>Dec 13 04:10:19 mail.mailwhiz.co.uk amavis[2942]: (02942-01) (!)connect_to_sql: unable to connect to DSN &#039;DBI:mysql:database=amavisd;host=127.0.0.1;port=3306&#039;: Access denied for user &#039;amavisd&#039;@&#039;localhost&#039; (using pa&gt;</p></blockquote></div><p>Is MySQL service running? If not, please restart it.<br />If it&#039;s running, please restart &quot;amavis&quot; service then try again.<br />Also, check the SQL username and password used in @storage_sql_dsn and @lookup_sql_dsn in /etc/amavis/conf.d/50-user, make sure it&#039;s correct.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 13 Dec 2025 06:53:11 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91548.html#p91548</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91547.html#p91547</link>
			<description><![CDATA[<p>Hello ZhangHuangbin,<br />thank you for the reply here are the logs from var/log/maillog:</p><p>2025-12-13T04:06:06.054080+00:00 mail amavis[2527]: Using primary internal av scanner code for clamav-socket<br />2025-12-13T04:06:42.669585+00:00 mail roundcube: &lt;s9l8o76j&gt; Successful login for csr@imagodvds.su (ID: 6) from 94.197.128.17 in session s9l8o76jang0g13h<br />2025-12-13T04:06:50.218580+00:00 mail postfix/postscreen[2626]: CONNECT from [103.168.172.156]:34065 to [217.154.37.167]:25<br />2025-12-13T04:06:50.319712+00:00 mail postfix/postscreen[2626]: PASS OLD [103.168.172.156]:34065<br />2025-12-13T04:06:50.361989+00:00 mail postfix/smtpd[2629]: connect from fhigh-a5-smtp.messagingengine.com[103.168.172.156]<br />2025-12-13T04:06:50.445743+00:00 mail postfix/smtpd[2629]: discarding EHLO keywords: CHUNKING<br />2025-12-13T04:06:50.683414+00:00 mail postfix/smtpd[2629]: Anonymous TLS connection established from fhigh-a5-smtp.messagingengine.com[103.168.172.156]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256<br />2025-12-13T04:06:50.761466+00:00 mail postfix/smtpd[2629]: discarding EHLO keywords: CHUNKING<br />2025-12-13T04:06:50.909227+00:00 mail postfix/smtpd[2629]: 4dSt7G6SBjz25H8: client=fhigh-a5-smtp.messagingengine.com[103.168.172.156]<br />2025-12-13T04:06:50.991486+00:00 mail postfix/cleanup[2651]: 4dSt7G6SBjz25H8: message-id=&lt;736cf22b-258e-4660-9e45-a71fcac5c63a@app.fastmail.com&gt;<br />2025-12-13T04:06:50.992644+00:00 mail postfix/qmgr[1936]: 4dSt7G6SBjz25H8: from=&lt;williamtravers@fastmail.co.uk&gt;, size=4024, nrcpt=1 (queue active)<br />2025-12-13T04:06:50.992751+00:00 mail postfix/smtpd[2629]: disconnect from fhigh-a5-smtp.messagingengine.com[103.168.172.156] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7<br />2025-12-13T04:06:51.029034+00:00 mail amavis[2543]: (02543-01) (!)connect_to_sql: unable to connect to DSN &#039;DBI:mysql:database=amavisd;host=127.0.0.1;port=3306&#039;: Access denied for user &#039;amavisd&#039;@&#039;localhost&#039; (using password: YES)<br />2025-12-13T04:06:51.029203+00:00 mail amavis[2543]: (02543-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 255.<br />2025-12-13T04:06:51.029223+00:00 mail amavis[2543]: (02543-01) (!)Requesting process rundown after fatal error<br />2025-12-13T04:06:51.038048+00:00 mail postfix/amavis/smtp[2656]: 4dSt7G6SBjz25H8: to=&lt;csr@imagodvds.su&gt;, relay=127.0.0.1[127.0.0.1]:10024, delay=0.18, delays=0.13/0.02/0/0.02, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))<br />2025-12-13T04:08:21.838480+00:00 mail amavis[2889]: starting. /usr/sbin/amavisd at mail.mailwhiz.co.uk amavis-2.13.0 (20230106), Unicode aware, LANG=&quot;C.UTF-8&quot;<br />2025-12-13T04:08:21.838556+00:00 mail amavis[2889]: perl=5.038002, user=987, EUID: 987 (987);&nbsp; group=(), EGID: 987 987 (987 987)<br />2025-12-13T04:08:21.943510+00:00 mail amavis[2889]: Net::Server: Group Not Defined.&nbsp; Defaulting to EGID &#039;987 987&#039;<br />2025-12-13T04:08:21.943577+00:00 mail amavis[2889]: Net::Server: User Not Defined.&nbsp; Defaulting to EUID &#039;987&#039;<br />2025-12-13T04:08:21.948279+00:00 mail amavis[2889]: No ext program for&nbsp; &nbsp;.F, tried: unfreeze, freeze -d, melt, fcat<br />2025-12-13T04:08:21.948605+00:00 mail amavis[2889]: No ext program for&nbsp; &nbsp;.zoo, tried: zoo, unzoo<br />2025-12-13T04:08:21.948783+00:00 mail amavis[2889]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.F&nbsp; &nbsp;<br />2025-12-13T04:08:21.948811+00:00 mail amavis[2889]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.zoo <br />2025-12-13T04:08:21.948828+00:00 mail amavis[2889]: Using primary internal av scanner code for clamav-socket<br />2025-12-13T04:08:30.326083+00:00 mail amavis[2926]: starting. /usr/sbin/amavisd at mail.mailwhiz.co.uk amavis-2.13.0 (20230106), Unicode aware, LANG=&quot;C.UTF-8&quot;<br />2025-12-13T04:08:30.326180+00:00 mail amavis[2926]: perl=5.038002, user=987, EUID: 987 (987);&nbsp; group=(), EGID: 987 987 (987 987)<br />2025-12-13T04:08:30.419873+00:00 mail amavis[2926]: Net::Server: Group Not Defined.&nbsp; Defaulting to EGID &#039;987 987&#039;<br />2025-12-13T04:08:30.420046+00:00 mail amavis[2926]: Net::Server: User Not Defined.&nbsp; Defaulting to EUID &#039;987&#039;<br />2025-12-13T04:08:30.424382+00:00 mail amavis[2926]: No ext program for&nbsp; &nbsp;.F, tried: unfreeze, freeze -d, melt, fcat<br />2025-12-13T04:08:30.424661+00:00 mail amavis[2926]: No ext program for&nbsp; &nbsp;.zoo, tried: zoo, unzoo<br />2025-12-13T04:08:30.424829+00:00 mail amavis[2926]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.F&nbsp; &nbsp;<br />2025-12-13T04:08:30.424873+00:00 mail amavis[2926]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.zoo <br />2025-12-13T04:08:30.424890+00:00 mail amavis[2926]: Using primary internal av scanner code for clamav-socket<br />2025-12-13T04:09:36.083249+00:00 mail postfix/postscreen[3100]: CONNECT from [213.209.157.55]:61503 to [217.154.37.167]:25<br />2025-12-13T04:09:36.089466+00:00 mail postfix/dnsblog[3101]: addr 213.209.157.55 listed by domain zen.spamhaus.org as 127.0.0.3<br />2025-12-13T04:09:36.089541+00:00 mail postfix/dnsblog[3101]: addr 213.209.157.55 listed by domain zen.spamhaus.org as 127.0.0.4<br />2025-12-13T04:09:36.597782+00:00 mail postfix/postscreen[3100]: HANGUP after 0.51 from [213.209.157.55]:61503 in tests before SMTP handshake<br />2025-12-13T04:09:36.597869+00:00 mail postfix/postscreen[3100]: DISCONNECT [213.209.157.55]:61503<br />2025-12-13T04:10:11.188373+00:00 mail postfix/anvil[2633]: statistics: max connection rate 1/60s for (smtpd:103.168.172.156) at Dec 13 04:06:50<br />2025-12-13T04:10:11.188575+00:00 mail postfix/anvil[2633]: statistics: max connection count 1 for (smtpd:103.168.172.156) at Dec 13 04:06:50<br />2025-12-13T04:10:11.188619+00:00 mail postfix/anvil[2633]: statistics: max cache size 1 at Dec 13 04:06:50</p><p>and from sudo journalctl -u amavis -n 50:</p><p>Dec 13 04:08:21 mail.mailwhiz.co.uk systemd[1]: Stopping amavis.service - Interface between MTA and virus scanner/content filters...<br />Dec 13 04:08:21 mail.mailwhiz.co.uk systemd[1]: amavis.service: Deactivated successfully.<br />Dec 13 04:08:21 mail.mailwhiz.co.uk systemd[1]: Stopped amavis.service - Interface between MTA and virus scanner/content filters.<br />Dec 13 04:08:21 mail.mailwhiz.co.uk systemd[1]: amavis.service: Consumed 1.769s CPU time.<br />Dec 13 04:08:21 mail.mailwhiz.co.uk systemd[1]: Starting amavis.service - Interface between MTA and virus scanner/content filters...<br />Dec 13 04:08:21 mail.mailwhiz.co.uk systemd[1]: Started amavis.service - Interface between MTA and virus scanner/content filters.<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: starting. /usr/sbin/amavisd at mail.mailwhiz.co.uk amavis-2.13.0 (20230106), Unicode aware, LANG=&quot;C.UTF-8&quot;<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: perl=5.038002, user=987, EUID: 987 (987);&nbsp; group=(), EGID: 987 987 (987 987)<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: Net::Server: Group Not Defined.&nbsp; Defaulting to EGID &#039;987 987&#039;<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: Net::Server: User Not Defined.&nbsp; Defaulting to EUID &#039;987&#039;<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: No ext program for&nbsp; &nbsp;.F, tried: unfreeze, freeze -d, melt, fcat<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: No ext program for&nbsp; &nbsp;.zoo, tried: zoo, unzoo<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.F<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.zoo<br />Dec 13 04:08:21 mail.mailwhiz.co.uk amavis[2889]: Using primary internal av scanner code for clamav-socket<br />Dec 13 04:08:29 mail.mailwhiz.co.uk systemd[1]: Stopping amavis.service - Interface between MTA and virus scanner/content filters...<br />Dec 13 04:08:29 mail.mailwhiz.co.uk systemd[1]: amavis.service: Deactivated successfully.<br />Dec 13 04:08:29 mail.mailwhiz.co.uk systemd[1]: Stopped amavis.service - Interface between MTA and virus scanner/content filters.<br />Dec 13 04:08:29 mail.mailwhiz.co.uk systemd[1]: amavis.service: Consumed 1.546s CPU time.<br />Dec 13 04:08:29 mail.mailwhiz.co.uk systemd[1]: Starting amavis.service - Interface between MTA and virus scanner/content filters...<br />Dec 13 04:08:29 mail.mailwhiz.co.uk systemd[1]: Started amavis.service - Interface between MTA and virus scanner/content filters.<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: starting. /usr/sbin/amavisd at mail.mailwhiz.co.uk amavis-2.13.0 (20230106), Unicode aware, LANG=&quot;C.UTF-8&quot;<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: perl=5.038002, user=987, EUID: 987 (987);&nbsp; group=(), EGID: 987 987 (987 987)<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: Net::Server: Group Not Defined.&nbsp; Defaulting to EGID &#039;987 987&#039;<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: Net::Server: User Not Defined.&nbsp; Defaulting to EUID &#039;987&#039;<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: No ext program for&nbsp; &nbsp;.F, tried: unfreeze, freeze -d, melt, fcat<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: No ext program for&nbsp; &nbsp;.zoo, tried: zoo, unzoo<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.F<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: No decoder for&nbsp; &nbsp; &nbsp; &nbsp;.zoo<br />Dec 13 04:08:30 mail.mailwhiz.co.uk amavis[2926]: Using primary internal av scanner code for clamav-socket<br />Dec 13 04:10:19 mail.mailwhiz.co.uk amavis[2942]: (02942-01) (!)connect_to_sql: unable to connect to DSN &#039;DBI:mysql:database=amavisd;host=127.0.0.1;port=3306&#039;: Access denied for user &#039;amavisd&#039;@&#039;localhost&#039; (using pa&gt;<br />Dec 13 04:10:19 mail.mailwhiz.co.uk amavis[2942]: (02942-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at /usr/share/perl5/Amavis/Out/SQL/Connection.pm line 255.<br />Dec 13 04:10:19 mail.mailwhiz.co.uk amavis[2942]: (02942-01) (!)Requesting process rundown after fatal error</p>]]></description>
			<author><![CDATA[null@example.com (jamesnelson82)]]></author>
			<pubDate>Sat, 13 Dec 2025 04:13:19 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91547.html#p91547</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91538.html#p91538</link>
			<description><![CDATA[<div class="quotebox"><cite>jamesnelson82 wrote:</cite><blockquote><p>#systemctl restart dovecot postfix nginx<br />#sudo systemctl restart amavis<br />#sudo systemctl reboot<br />I cannot receive or send email</p></blockquote></div><p>Any related error in Postfix log file (/var/log/maillog)?<br />Is &quot;amavis&quot; service running?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 11 Dec 2025 07:18:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91538.html#p91538</guid>
		</item>
		<item>
			<title><![CDATA[Migrate iredmail to another vps server]]></title>
			<link>https://forum.iredmail.org/post91531.html#p91531</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version: 1.7.3 MYSQL edition.<br />- Linux/BSD distribution name and version: Ubuntu 24.04<br />- Web server: Nginx<br />====<br />Hello, <br />this is my first post!<br />just one question, I have managed to move all databases to &#039;new vps&#039;, and all is working receiving and sending email, lastly I want to move the file /etc/amavis/conf.d/50-user,&nbsp; which has this nformation in it: (I have omitted domain names)<br /># Add dkim_key here.</p><p>@dkim_signature_options_bysender_maps = ({<br />&nbsp; &nbsp; # &#039;d&#039; defaults to a domain of an author/sender address,<br />&nbsp; &nbsp; # &#039;s&#039; defaults to whatever selector is offered by a matching key</p><p>&nbsp; &nbsp; # Per-domain dkim key<br />&nbsp; &nbsp; #&quot;domain.com&quot;&nbsp; =&gt; { d =&gt; &quot;domain.com&quot;, a =&gt; &#039;rsa-sha256&#039;, ttl =&gt; 10*24*3600 },<br />&nbsp; &nbsp; # catch-all (one dkim key for all domains)<br />&nbsp; &nbsp; &#039;.&#039; =&gt; {d =&gt; &#039;********.co.uk&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a =&gt; &#039;rsa-sha256&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c =&gt; &#039;relaxed/simple&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ttl =&gt; 30*24*3600 },<br />});</p><p>but when I move the actual file itself to the &#039;new vps&#039; and delete the new vps 50-user file and place the &#039;old vps&#039;&nbsp; 50-user file in it&#039;s place and restart all services:<br />#systemctl restart dovecot postfix nginx<br />#sudo systemctl restart amavis<br />#sudo systemctl reboot<br />I cannot receive or send email, can you help me please</p><p>Kindet Regards</p><p>J</p>]]></description>
			<author><![CDATA[null@example.com (jamesnelson82)]]></author>
			<pubDate>Wed, 10 Dec 2025 16:28:21 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91531.html#p91531</guid>
		</item>
	</channel>
</rss>
