Now it is working, you just need to set the file as follows:

:ip_address_dest

And now my server is not being blocked by that ugly spam list. I had to set first the smarthost server.

Thank you all for your help!

Greetings.


El 20/08/2020 a las 05:23 p. m., Miguel Ángel Amable escribió:
Yes, the test email (destination) is not in localdomain it's destinated to hotmail.com and it does not relay to the ip_address_dest server.

El 20/08/2020 a las 02:40 p. m., Tonix - Antonio Nati escribió:
smtproutes works only if the domain is not in localdomains.

Il 20/08/2020 20:24, Miguel Angel Amable Ventura ha scritto:
Hello everyone,

I have been trying to set up the smtproutes file in /var/qmail/control/smtproutes

with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the ip_address_dest server, instead it goes directly to the destination domain and does not do the smarthost function. Checking the logs in /var/log/qmail/send/current it does not even try to contact the smarthost! Maybe I am missing to restart any other service related to qmail to read the new config file?

Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to