Dave (DavesTechShop.net) wrote, at 01/28/2009 07:26 PM: > I am not finding any solution. Here is my error: > > Jan 28 19:18:23 ubuntu postfix/smtp[27317]: 13nnnnn20: > to=<r...@localhost>, relay=none, delay=8, delays=7.9/0.01/0/0, > dsn=5.4.4, status=bounced (Host or domain name not found. Name service > error for name=localhost type=AAAA: Host not found) > > If I send to just root, it is delivered perfectly. But to > r...@localhost, I get this error. And the problem is that I have > services on my machine that use the "@localhost" type of email > addressing. I'd rather not change those settings because my goal is to > just get all the notifications that any thing running on my server might > want to send to me.
Check the output of: postconf inet_protocols If you don't need IPv6 support, set it to: inet_protocols = ipv4 in main.cf. That's the default, but maybe Ubuntu (or someone) has changed it.