• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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