Zitat von Jeremy Hansen <[email protected]>:

Remote mail works just fine. I’m trying to send mail to a local user on the localhost:

echo test | mail -s Test test@localhost && tail -f maillog

It looks like the response coming back from cipher mail is that it can’t find localhost:

Feb 2 00:23:29 mx postfix/smtp[5852]: 22CD28F65E: to=<test@localhost>, relay=none, delay=0.05, delays=0.04/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)

This is Postfix telling you that it has no idea how to deliver mail to the domain localhost. To my knowledge you should set localhost in mydestination of Postfix to get it work, but be aware that by default this will be delivered on the local machine to the OS user test if available.

Regards

Andreas


_______________________________________________
Users mailing list
[email protected]
https://lists.djigzo.com/lists/listinfo/users

Reply via email to