• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Qmail not mail redirect anymore

J

jluerken

Guest
Hi,

since my last update from plesk 8.1.0 to 8.1.1 my system is not redirecting mails anymore.

Example: I created an account [email protected] via plesk without a mailbox but with a redirect.

The mail is send to the server and in /usr/local/psa/var/log/maillog the following happens:
Apr 28 13:33:29 p15201018 qmail: 1177760009.627605 status: local 0/10 remote 0/20
Apr 28 13:34:46 p15201018 relaylock: /var/qmail/bin/relaylock: mail from 213.165.64.20:39399 (mail.gmx.net)
Apr 28 13:34:46 p15201018 qmail: 1177760086.780764 new msg 16820054
Apr 28 13:34:46 p15201018 qmail: 1177760086.780919 info msg 16820054: bytes 991 from <[email protected]> qp 30582 uid 2020
Apr 28 13:34:46 p15201018 qmail: 1177760086.793487 starting delivery 17: msg 16820054 to local [email protected]
Apr 28 13:34:46 p15201018 qmail: 1177760086.793646 status: local 1/10 remote 0/20
Apr 28 13:34:46 p15201018 qmail: 1177760086.817651 delivery 17: failure:
Apr 28 13:34:46 p15201018 qmail: 1177760086.817799 status: local 0/10 remote 0/20
Apr 28 13:34:46 p15201018 qmail: 1177760086.828529 bounce msg 16820054 qp 30587
Apr 28 13:34:46 p15201018 qmail: 1177760086.828684 end msg 16820054
Apr 28 13:34:46 p15201018 qmail: 1177760086.829054 new msg 16821051
Apr 28 13:34:46 p15201018 qmail: 1177760086.829142 info msg 16821051: bytes 1495 from <> qp 30587 uid 2522
Apr 28 13:34:46 p15201018 qmail: 1177760086.847836 starting delivery 18: msg 16821051 to remote [email protected]
Apr 28 13:34:46 p15201018 qmail: 1177760086.847992 status: local 0/10 remote 1/20
Apr 28 13:34:46 p15201018 qmail: 1177760086.950280 delivery 18: success: 213.165.64.100_accepted_message./Remote_host_said:_250_2.6.0_Message_accepted_{mx058}/
Apr 28 13:34:46 p15201018 qmail: 1177760086.950445 status: local 0/10 remote 0/20
Apr 28 13:34:46 p15201018 qmail: 1177760086.950524 end msg 16821051

The mail is not delivered to the address entered as redirection destination.

Instead I get the following mail:

Hi. This is the qmail-send program at domain.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[email protected]>:

/etc/resolv.conf looks fine

./qmHandle -L
Messages in local queue: 0
Messages in remote queue: 85

shows that there are a lot of mails to be delivered but none is send.

I checked /var/qmail/control/me and it looks correct.

I started /usr/local/psa/admin/bin/mchk --with-spam and also the complete server but this also did not solve the problem.

Please assist cause I cannot get any mails from the system anymore :(
 
In /usr/local/psa/var/log/maillog I get:

May 3 08:34:16 p15201018 qmail: 1178174056.472035 starting delivery 489: msg 16820025 to local [email protected]
May 3 08:34:16 p15201018 qmail: 1178174056.472180 status: local 1/10 remote 1/20
May 3 08:34:16 p15201018 qmail: 1178174056.474913 delivery 489: failure:
 
I logged on to the server via ssh
and wrote a direct mail

#> mail [email protected]

I received it without problems so I still believe that there is a config problem in qmail.
 
Have you had any luck in solving this problem. I am also running into it on a fresh build on 8.1.1 on a clean FC6 box.
 
Yes its solved for me:

/var/qmail/control/rcpthosts should get the correct rights
-rw-r--r-- 1 root root 644 Apr 16 11:18 rcpthosts

In /var/qmail/control/locals only localhost should be in. Rest can be deleted (make a backup before)

In /etc/passwd the qmail Users hat the wrong directory "/qmail" but it should be "/var/qmail"

Correct those three things and restart qmail /etc/init.d/qmail restart

This should fix your problem
 
Back
Top