• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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