On 13.06.20 23:42, olivier wrote:
I'm trying to configure postfix as internet site. The vm (centos) is
under proxmox, and behind pfsense (fw). tcp/587 ; tcp/25 are reachable
from the internet. When I try to send an email from outside to a user
on this server, the /var/log/maillog shows the errorĀ :
"mail for mail.mydomain.fr loops back to myself"

are you NORDNET? Because mydomain.fr belongs to them.

in main.cf there is mydestination = mydomain.fr

mydomain.fr is not mail.mydomain.fr. if you added mail.<domain> to your
mydestination, your mailserver would accept the mail as local.

and there is a line proxy_interfaces = myexternalinternetipadress

this help a bit, but the problem lies elsewhere.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759

Reply via email to