Unable to forward email: mail forwarding loop

Created:

2016-11-16 13:25:15 UTC

Modified:

2017-04-24 11:36:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to forward email: mail forwarding loop

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Mail forwarding is not working on the server. The following error appeared in /var/log/maillog :

postfix/pipe[131455]: 47A161232DA: to=<john.doe@example.com>, relay=plesk_virtual, delay=0.03, delays=0.01/0/0/0.02, dsn=5.4.6, status=bounced (mail forwarding loop for john.doe@example.com)

Cause

Link /usr/sbin/sendmail has been replaced or deleted.

Resolution

  1. Check if there is a missing link:

    # ls -la /usr/sbin/sendmail
    lrwxrwxrwx 1 root root 21 Oct 3 01:15 /usr/sbin/sendmail
  2. If the link is missing, create it using the following command:

    # ln -sf /etc/alternatives/mta /usr/sbin/sendmail

Check that the link was created successfully:

    # ls -la /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 Oct 3 02:15 /usr/sbin/sendmail -> /etc/alternatives/mta
  1. Restart postfix :
    # service postfix restart
Have more questions? Submit a request
Please sign in to leave a comment.