• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Problem with qmail; sending to remote server

M

Marinus

Guest
I have a problem on my Plesk 7.5 server. I can receive mail from local and remote e-mail addresses and I can send e-mail via my server to local e-mail addresses. But I cannot send e-mail to remote e-mail addresses, such as gmail. They simply do not get delivered and get stuck in the qmail queue, without an error message.

qstat output:

[root@terra httpdocs]# /var/qmail/bin/qmail-qstat
messages in queue: 757
messages in queue but not yet preprocessed: 0

maillog has these lines when sending a message to a remote server:

Feb 12 18:58:13 terra qmail: 1139767093.964759 new msg 2873522
Feb 12 18:58:13 terra qmail: 1139767093.964833 info msg 2873522: bytes 2087 from <[email protected]> qp 9350 uid 2020


Any thoughts?
 
Any thoughts?

More than likely the permissions on your Qmail queue have been messed with (you wouldn't know anything about that would you? :).

Try downloading queue-fix and running it, cut and paste from the first wget to (and include) the make command:

wget http://www.netmeridian.com/e-huss/queue-fix.tar.gz
wget http://www.qmail.org/queue-fix-todo.patch
gzip -dc queue-fix.tar.gz |tar xf -
cd queue-fix-1.4/
patch -p1 <../queue-fix-todo.patch
patch -p0 <<-EOF
--- error.h.orig 2006-02-12 14:40:00.240490337 -0500
+++ error.h 2006-02-12 14:40:01.117351386 -0500
@@ -1,5 +1,6 @@
#ifndef ERROR_H
#define ERROR_H
+#include <errno.h>

extern int errno;

EOF
make


I would first run a "test" run to see what it would do:
./queue-fix -N /var/qmail/queue


Then you can run it and have it make the changes:
./queue-fix /var/qmail/queue
 
Back
Top