Hi,

I'm running postfix with spamassassin as a relay (before-queue). The
host is connected via OpenVPN. If the tunnel is down mails bounce:

Sep 16 06:08:09 h2786452 postfix-in/smtp[12937]: 194853E04AA:
to=<info@>, relay=none, delay=0.01, delays=0.01/0/0.01/0, dsn=5.4.4,
status=bounced (Host or domain name not found. Name service error for
name=exchange01 type=AAAA: Host not found)

I already created an entry in the hosts file without success.

Where can I change the DSN to 4xx and ensure that mails are delivered
when the tunnel is up again?

helmut@h2786452:~$ postfix.sh -l
Getting Instances ... done
Instance '-': -               -               y         /etc/postfix
Instance 'postfix-in': postfix-in      -               y
/etc/postfix-in
Instance 'postfix-out': postfix-out     -               y
/etc/postfix-out
helmut@h2786452:~$

Thank you!

Reply via email to