1

Topic: Migrate iredmail to another vps server

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.7.3 MYSQL edition.
- Linux/BSD distribution name and version: Ubuntu 24.04
- Web server: Nginx
====
Hello,
this is my first post!
just one question, I have managed to move all databases to 'new vps', and all is working receiving and sending email, lastly I want to move the file /etc/amavis/conf.d/50-user,  which has this nformation in it: (I have omitted domain names)
# Add dkim_key here.

@dkim_signature_options_bysender_maps = ({
    # 'd' defaults to a domain of an author/sender address,
    # 's' defaults to whatever selector is offered by a matching key

    # Per-domain dkim key
    #"domain.com"  => { d => "domain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
    # catch-all (one dkim key for all domains)
    '.' => {d => '********.co.uk',
            a => 'rsa-sha256',
            c => 'relaxed/simple',
            ttl => 30*24*3600 },
});

but when I move the actual file itself to the 'new vps' and delete the new vps 50-user file and place the 'old vps'  50-user file in it's place and restart all services:
#systemctl restart dovecot postfix nginx
#sudo systemctl restart amavis
#sudo systemctl reboot
I cannot receive or send email, can you help me please

Kindet Regards

J

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Migrate iredmail to another vps server

jamesnelson82 wrote:

#systemctl restart dovecot postfix nginx
#sudo systemctl restart amavis
#sudo systemctl reboot
I cannot receive or send email

Any related error in Postfix log file (/var/log/maillog)?
Is "amavis" service running?