[BlueOnyx:27014] Re: Exporting and Importing Secondary Mail Server Records

Richard Morgan richard at morgan-web.co.uk
Fri May 31 11:47:43 -05 2024


Hi Michael

The service I'm referring to is only available when Sendmail is used for the
SMTP Server and found at: Network services >> Email >> Secondary
Mail-server. It receives and forwards emails when the primary is down or
slow.

There are definitely records in /etc/mail/mailertable, in the format
"example.com smtp:mail1.example.com"

I've tried copying the files and running "makemap hash
/etc/mail/mailertable.db < /etc/mail/mailertable" but the records don't
appear in the GUI.

I've tried easy-migrate.pl, but even with your guidelines I'm experiencing
SSH issues (mainly because the source server has a few issues). I'd prefer
to manually move the secondary-mail config files manually so I know the new
server is clean.

Thanks for your continued help with this.

Regards, Richard

-----Original Message-----
From: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of
Michael Stauber via Blueonyx
Sent: 31 May 2024 17:13
To: blueonyx at mail.blueonyx.it
Subject: [BlueOnyx:27013] Re: Exporting and Importing Secondary Mail Server
Records

Hi Richard,

> Thank you for the detailed answer, but it's not DNS but secondary email
services I'm having trouble exporting.

Oh, sorry. Yeah, the subject even said that clearly, but that's what happens
when I didn't have coffee yet. :p

> I can see the records I need in /etc/mail/mailertable but I don't know how
to move them in a way that makes them editable in the GUI.
BlueOnyx doesn't even use /etc/mail/mailertable and TBH: I'm not sure what
you mean with "secondary mail services".

Do you by chance mean the Vsite and User email aliases?

These are configured in /etc/mail/virtusertable and that's something the GUI
automatically updates based on the data in CODB. So this can't be migrated
"on foot" other than using Easy-Migrate, Easy-Backup or the old CMU (don't
use CMU anymore).

Or do you refer to the "Smart Relay Server", where BlueOnyx can use another
email server as relay for outgoing email? That setting is easily set in the
GUI under "Network Services" / "Email" in the "Basics" tab. 
If it is this (and perhaps other MTA settings) then that can also be nicely
migrate with Easy-Migrate:

/usr/sausalito/sbin/easy-migrate.pl --source <IP-of-Source-Server> -p 22
--config

That will migrate most of the server settings from the old to the new
server. Including the configuration of the Email server.

--
With best regards

Michael Stauber

_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx



More information about the Blueonyx mailing list