[SOLVED] SMTP route trouble

Hi, I’ve finally almost finish the migration from SME8 to Nethserver, but I’ve search for SMTP route in Nethserver and I haven’t find where I can set the route, so if you have documentation, on SME I’ve a file in templates for qmail with the route for each specific domain.
cat /etc/e-smith/templates-custom/var/qmail/control/smtproutes/25autre
.asso.fr:smtp.free.fr
future-b.eu:smtp.free.fr
aol.com:smtp.free.fr
cox.net:smtp.free.fr
antboymusic.com:smtp.free.fr
ig.com.br:smtp.free.fr
terra.com.br:smtp.free.fr
club-internet.fr:smtp.free.fr
yahoo.com:smtp.free.fr
yahoo.fr:smtp.free.fr
noos.fr:smtp.free.fr
tiscaly.com:smtp.free.fr
tiscaly.fr:smtp.free.fr
gmx.net:smtp.free.fr
gmx.de:smtp.free.fr
gmx.co.uk:smtp.free.fr
ntua.gr:smtp.free.fr
hellug.gr:smtp.free.fr
free.fr:smtp.free.fr
sfr.fr:smtp.free.fr
loire-atlantique.fr:smtp.free.fr
live.fr:smtp.free.fr
hotmail.fr:smtp.free.fr
hotmail.com:smtp.free.fr
laposte.net:smtp.free.fr
neuf.fr:smtp.free.fr
wanadoo.fr:smtp.free.fr
orange.fr:smtp.free.fr
outlook.fr:smtp.free.fr
monier-environnement.com:smtp.free.fr

If you have any idea it will be great :wink:

so there is no qmail in Netsherver we use POSTFIX, I try to make some help on this :slight_smile:

so i make custom teplate :
mkdir -p /etc/e-smith/templates-custom/etc/postfix/transport
cd /etc/e-smith/templates-custom/etc/postfix/transport && touch 30route
vi /etc/e-smith/templates-custom/etc/postfix/transport/30route

30route

.asso.fr	smtp:smtp.free.fr
future-b.eu	smtp:smtp.free.fr
aol.com		smtp:smtp.free.fr
cox.net		smtp:smtp.free.fr
antboymusic.com	smtp:smtp.free.fr
ig.com.br	smtp:smtp.free.fr
terra.com.br	smtp:smtp.free.fr
club-internet.fr	smtp:smtp.free.fr
yahoo.com	smtp:smtp.free.fr
yahoo.fr	smtp:smtp.free.fr
noos.fr		smtp:smtp.free.fr
tiscaly.com	smtp:smtp.free.fr
tiscaly.fr	smtp:smtp.free.fr
gmx.net		smtp:smtp.free.fr
gmx.de		smtp:smtp.free.fr
gmx.co.uk	smtp:smtp.free.fr
ntua.gr		smtp:smtp.free.fr
hellug.gr	smtp:smtp.free.fr
free.fr		smtp:smtp.free.fr
sfr.fr		smtp:smtp.free.fr
loire-atlantique.fr	smtp:smtp.free.fr
live.fr		smtp:smtp.free.fr
hotmail.fr	smtp:smtp.free.fr
hotmail.com	smtp:smtp.free.fr
laposte.net	smtp:smtp.free.fr
neuf.fr		smtp:smtp.free.fr
wanadoo.fr	smtp:smtp.free.fr
orange.fr	smtp:smtp.free.fr
outlook.fr	smtp:smtp.free.fr
monier-environnement.com	smtp:smtp.free.fr

signal-event nethserver-mail-server-update

check PLS it should work !

2 Likes

Sorry I was away from my pc, thanks for your help, I’ve follow your instruction and put your file in the server tonight, I will tell you if it work well.
Thanks again for your help.

Please, keep us in touch so we can solve this topic

Hi, sorry I’ve forgot to keep you in touch, it seem to work well, no user report some issue.

It is better to add this feature to WebUI! It is not so hard but wery usefull :slight_smile:

I can’t get the use case for such feature, webui should be used only for widely use cases.