I've installed postfix on my arch linux pc. I use systemd-resolved and systemd-networkd to establish a network connection.
I want to use postfix as a satellite system to send some mails if my raid systems is broken.
So, when I want to send some test mails with echo "Body" | mail -s "Header" markus.pesch@my-mail.com
postfix write in my logs, that he can't resolve my domain after a A or MX record
Okt 21 22:16:54 markus-pc postfix/error[17574]: F1C6E2E0C10: to=, orig_to=, relay=none, delay=360970, delays=360969/0.57/0/0.02, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp1.example.com type=AAAA: Host not found, try again)
Okt 21 22:16:54 markus-pc postfix/error[17569]: 0448E2E0C0E: to=, relay=none, delay=360970, delays=360969/0.57/0/0.02, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp1.example.com type=AAAA: Host not found, try again)
Okt 21 22:16:54 markus-pc postfix/error[17577]: F420B2E0B46: to=, relay=none, delay=360970, delays=360969/0.57/0/0.02, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp1.example.com type=AAAA: Host not found, try again)
Omt 21 22:16:54 markus-pc postfix/error[17572]: F257B2E0C12: to=, orig_to=, relay=none, delay=360970, delays=360969/0.57/0/0.02, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp1.example.com type=AAAA: Host not found, try again)
But when I tried it with dig, I get a valid response.
How can I fix this dns error, that my local postfix installation can find my mailserver and can send him some mails?
Volker
No comments:
Post a Comment