HowTo qsheff aktualisieren [Zusatz zu V-Server Strato SA + ClamAV mit qsheff

V40

Caspar
Hallo,

dieses Thema bezieht sich auf ein vorangegangenes Tutorial!
Vorraussetzung sind die selben wie in dem Tutorial!

Gemeint ist folgendes :

Oder bei Huschi : huschi.net - Plesk: Spamassassin und ClamAV per qsheff einbinden

Kurze vorgeschichte :
Da es auf meinem vServer nicht möglich war ClamAV vernüntig mit einzubinden habe ich diverse Versuche unternommen.
Zuletzt die Aktualisierung von qsheff, und genau das brachte den gewünschten Erfolg.

Also fangen wir an:

Qmail stoppen:
Code:
/etc/init.d/qmail stop

Die zur Zeit aktuelleste Fassung von qSheff runterladen und entpacken :
Code:
cd /usr/local/src
wget http://www.enderunix.org/qsheff/qsheff-II-2.1-r2.tar.gz
tar -xzvf qsheff-II-2.1-r2.tar.gz

In das neue Verzeichnis wechseln:
cd qsheff-II-2.1-r2

./configure aufrufen :
Code:
./configure --with-clamav --with-clamd-socket=/var/lib/clamav/clamd-socket --enable-subject-tag --enable-virus-tag
Es gibt noch weitere Optionen, eine Liste der möglichen Optionen findet ihr hier : http://www.enderunix.org/qsheff/docs/handbook.en.txt

Nächster Schritt :
Code:
make

Jetzt müssen wir erstmal den alten qsheff entfernen :
(Inklusive der Änderungen die gemacht wurden dafür)
Code:
rm /var/qmail/bin/qmail-queue.orig
rm /var/qmail/bin/qmail-queue.orig.2
mv /var/qmail/bin/qmail-queue.bak /var/qmail/bin/qmail-queue
/usr/local/etc/qsheff/uninstall-wrapper.sh

Nun legen wir wieder eine Sicherung der mail-queue an :
Code:
cp -p /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.bak

Der, in meinen Augen interessanteste Schritt :
Code:
make install

Nun werdet ihr wenn alles gut gegangen ist bislang folgenden Hinweis lesen :
Code:
WARNING! qsheff has not installed yet.
Type '/usr/local/etc/qsheff-II/install-wrapper.sh' to install it manually.

Und genau deswegen werden wir das jetzt machen :)
Code:
/usr/local/etc/qsheff-II/install-wrapper.sh

Nun kommen wir zu dem bekannten Schritt die mail-queue anpassen damit auch Spamassassin mit läuft :
Code:
rm -f /var/qmail/bin/qmail-queue
echo '#!/bin/sh' >/var/qmail/bin/qmail-queue
echo '/usr/bin/spamc | /var/qmail/bin/qmail-qsheff' >>/var/qmail/bin/qmail-queue
chmod 4755 /var/qmail/bin/qmail-queue

Jetzt müssen wir ClamAV noch anpassen damit das auch im Local-Socket Modus läuft.

Ersteinmal stoppen wir clamd und freshclam:
Code:
/etc/init.d/clamd stop
/etc/init.d/freshclam stop

Nun passen wir die clamd.conf unseren neuen Ansprüchen an:
Code:
edit /etc/clamd.conf

Wir müssen TCP also auskommentieren da clamd sich ansonsten nicht mehr starten lässt da clamd nur entweder TCP oder Local-Socket unterstützt.
PHP:
Bei #LocalSocket /var/lib/clamav/clamd-socket das # weg machen
Bei TCPSocket 3310 ein # vor machen
Bei TCPAddr 127.0.0.1 ebenfalls ein # vor machen

Variablen die eine Raute (#) haben werden nicht beachtet.
Nur mal als Hinweis am Rande.

Nun starten wir clamd und freshclam wieder :
Code:
/etc/init.d/clamd start
/etc/init.d/freshclam start

Und zu guter letzt:
Code:
/etc/init.d/qmail start

Das war es eigentlich schon :)

Es sei noch erwähnt das man in der qsheff.conf eine ganze Reihe von Einstellungen machen kann die man sich mal ruhig angucken sollte.

Für den der mit seinem super Viren-Scanner im Mailverkehr werben möchte für den ist die letzte Zeile sehr interessant ;)

Also :
Code:
edit /usr/local/etc/qsheff-II/qsheff.conf

In dem Verzeichnis /usr/local/etc/qsheff-II liegen auch die Regeln mit denen qsheff arbeitet.
Auch sehr interessant.

Und nun viel Spaß damit ;)

Ich habe mit Sicherheit Schritte gemacht die nicht unbedingt Notwendig wären, aber ich weiss das es so funktioniert :)

P.S.
Ich möchte den Usern im eigentlichen Thread sehr danken und vor allem auch Huschi.
 
Last edited by a moderator:
Hey Caspar,

danke dir für das HowTo habe es ja grade @IRC schon nachvollzogen als es noch nicht public war und muss sagen echt gut!

Super gelöst!

Thx a lot

Lg
Free
 
Hi.

Ich wollte nur kurz Danke für das Tutorial sagen.
Das funktioniert einwandfrei so wie Du es beschrieben hast.

Gruß
z400
 
Bei mir funktioniert es leider noch nicht.
Ich hatte vorher schon Qsheff II mit Spamassassin am Laufen, aber clamd funktionierte nicht, da ich das mit dem Socket nicht gemacht hatte.
Ich bin jetzt die Schritte durchgegangen und dabei scheint eigentlich auch alles in Ordnung, aber ich kann keine Emails mehr senden und empfangen. In meiner /var/log/mail.err kommt dauernd folgendes:
Code:
Mar  6 20:53:41 h1114923 spamc[9493]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar  6 20:53:42 h1114923 pop3d: 
Mar  6 20:53:42 h1114923 spamc[9493]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar  6 20:53:43 h1114923 spamc[9493]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar  6 20:53:44 h1114923 spamc[9493]: connection attempt to spamd aborted after 3 retries
Mar  6 20:53:45 h1114923 spamc[9508]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar  6 20:53:46 h1114923 spamc[9508]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar  6 20:53:47 h1114923 spamc[9508]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar  6 20:53:48 h1114923 spamc[9508]: connection attempt to spamd aborted after 3 retries

Hab danach schon im Internet gesucht, aber keine Lösung gefunden.
Was läuft bei mir schief?
 
spamd läuft nicht.
Das ist der Fehler.

# /etc/init.d/spamd status
Checking for service spamd running

Sagt mein Putty. Auch ein Neustart ändert nichts. Da muss doch irgendwo in der Konfiguration was nicht stimmen, oder?

Edit: Mittlerweile bekomm ich nur noch folgendes:
Code:
Mar  6 20:53:42 h1114923 spamc[9493]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar  6 20:53:43 h1114923 spamc[9493]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar  6 20:53:44 h1114923 spamc[9493]: connection attempt to spamd aborted after 3 retries
Mar  6 20:53:45 h1114923 spamc[9508]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar  6 20:53:46 h1114923 spamc[9508]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar  6 20:53:47 h1114923 spamc[9508]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar  6 20:53:48 h1114923 spamc[9508]: connection attempt to spamd aborted after 3 retries
Mar  6 20:56:49 h1114923 pop3d: 
Mar  6 20:58:10 h1114923 pop3d: 
Mar  6 21:00:41 h1114923 pop3d: 
Mar  6 21:00:41 h1114923 last message repeated 2 times
Mar  6 21:01:50 h1114923 pop3d: 
Mar  6 21:03:27 h1114923 pop3d: 
Mar  6 21:06:51 h1114923 pop3d: 
Mar  6 21:08:43 h1114923 pop3d: 
Mar  6 21:11:52 h1114923 pop3d: 
Mar  6 21:13:48 h1114923 pop3d: 
Mar  6 21:14:47 h1114923 pop3d: 
Mar  6 21:18:54 h1114923 pop3d: 
Mar  6 21:21:54 h1114923 pop3d: 
Mar  6 21:24:05 h1114923 pop3d: 
Mar  6 21:26:55 h1114923 pop3d: 
Mar  6 21:29:11 h1114923 pop3d: 
Mar  6 21:31:56 h1114923 pop3d: 
Mar  6 21:34:17 h1114923 pop3d: 
Mar  6 21:36:57 h1114923 pop3d: 
Mar  6 21:39:24 h1114923 pop3d: 
Mar  6 21:44:30 h1114923 pop3d: 
Mar  6 21:49:35 h1114923 pop3d: 
Mar  6 21:54:41 h1114923 pop3d: 
Mar  6 21:59:48 h1114923 pop3d: 
Mar  6 22:04:53 h1114923 pop3d: 
Mar  6 22:10:05 h1114923 pop3d: 
Mar  6 22:15:12 h1114923 pop3d: 
Mar  6 22:20:17 h1114923 pop3d: 
Mar  6 22:25:23 h1114923 pop3d: 
Mar  6 22:30:29 h1114923 pop3d: 
Mar  6 22:35:30 h1114923 pop3d: 
Mar  6 22:40:37 h1114923 pop3d: 
Mar  6 22:45:43 h1114923 pop3d: 
Mar  6 22:50:53 h1114923 pop3d: 
Mar  6 22:55:58 h1114923 pop3d: 
Mar  6 23:01:04 h1114923 pop3d: 
Mar  6 23:02:40 h1114923 pop3d: 
Mar  6 23:02:41 h1114923 last message repeated 2 times
Mar  6 23:06:09 h1114923 pop3d: 
Mar  6 23:11:21 h1114923 pop3d: 
Mar  6 23:16:26 h1114923 pop3d: 
Mar  6 23:21:32 h1114923 pop3d: 
Mar  6 23:26:43 h1114923 pop3d: 
Mar  6 23:31:48 h1114923 pop3d: 
Mar  6 23:36:53 h1114923 pop3d: 
Mar  6 23:38:10 h1114923 pop3d: 
Mar  7 10:39:25 h1114923 imapd: 1173260365.817910 DISCONNECTED, ip=[85.18.73.41], headers=0, body=0, rcvd=0, sent=278, maildir=/
Mar  7 12:04:53 h1114923 pop3d: 
Mar  7 12:59:16 h1114923 imapd: 1173268756.466986 DISCONNECTED, ip=[213.139.136.147], headers=0, body=0, rcvd=0, sent=278, maildir=/
Mar  7 19:05:42 h1114923 pop3d: 
Mar  7 19:06:11 h1114923 pop3d: 
Mar  7 19:11:16 h1114923 pop3d: 
Mar  7 19:16:22 h1114923 pop3d: 
Mar  7 19:21:36 h1114923 pop3d: 
Mar  7 19:22:29 h1114923 last message repeated 3 times
Mar  7 19:24:43 h1114923 pop3d: 
Mar  7 19:24:44 h1114923 last message repeated 2 times
Mar  7 19:26:39 h1114923 last message repeated 4 times
Mar  7 19:31:43 h1114923 pop3d: 
Mar  7 19:33:10 h1114923 pop3d: 
Mar  7 19:33:27 h1114923 last message repeated 5 times
Mar  7 19:36:15 h1114923 imapd: /etc/courier-imap/shared/index: No such file or directory
Mar  7 19:36:19 h1114923 imapd: /etc/courier-imap/shared/index: No such file or directory
Mar  7 19:36:48 h1114923 pop3d: 
Mar  7 19:41:53 h1114923 pop3d: 
Mar  7 19:47:02 h1114923 pop3d: 
Mar  7 19:52:06 h1114923 pop3d: 
Mar  7 19:55:11 h1114923 pop3d: 
Mar  7 19:55:12 h1114923 last message repeated 2 times
Mar  7 19:57:26 h1114923 pop3d: 
Mar  7 20:00:58 h1114923 pop3d: 
Mar  7 20:01:22 h1114923 last message repeated 5 times
Mar  7 20:02:28 h1114923 pop3d: 
Mar  7 20:07:38 h1114923 pop3d: 
Mar  7 20:10:19 h1114923 pop3d: 
Mar  7 20:12:43 h1114923 pop3d: 
Mar  7 20:15:19 h1114923 pop3d: 
Mar  7 20:17:50 h1114923 pop3d: 
Mar  7 20:17:51 h1114923 last message repeated 3 times
Mar  7 20:20:19 h1114923 pop3d: 
Mar  7 20:21:01 h1114923 last message repeated 6 times
Mar  7 20:22:56 h1114923 pop3d: 
Mar  7 20:25:03 h1114923 pop3d: 
Mar  7 20:26:16 h1114923 last message repeated 4 times
Mar  7 20:26:17 h1114923 last message repeated 2 times
Mar  7 20:28:07 h1114923 last message repeated 3 times
Mar  7 20:30:34 h1114923 pop3d: 
Mar  7 20:33:21 h1114923 pop3d: 
Mar  7 20:35:35 h1114923 pop3d: 
Mar  7 20:38:27 h1114923 pop3d: 
Mar  7 20:40:36 h1114923 pop3d: 
Mar  7 20:43:38 h1114923 pop3d: 
Mar  7 20:45:31 h1114923 pop3d: 
Mar  7 20:45:54 h1114923 last message repeated 3 times
Mar  7 20:48:39 h1114923 pop3d: 
Mar  7 20:50:55 h1114923 pop3d: 
Mar  7 20:53:45 h1114923 pop3d:
 
Last edited by a moderator:
Code:
 # ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    604   248 ?        Ss   Mar06   0:00 init [3]
root      5123  0.0  0.0   1456   592 ?        Ss   Mar06   0:00 /sbin/syslogd -a /var/lib/named/dev/log -a /var/lib/ntp/dev/log -a /var/lib/stunnel/dev/log
root      5129  0.0  0.0   3984   784 ?        Ss   Mar06   0:00 /usr/sbin/saslauthd -n 2 -a pam
root      5130  0.0  0.0   3984   468 ?        S    Mar06   0:00 /usr/sbin/saslauthd -n 2 -a pam
root      5197  0.0  0.0   4524  1216 ?        Ss   Mar06   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root      5203  0.0  0.0   2080   884 ?        Ss   Mar06   0:00 /usr/sbin/xinetd
named     5252  0.0  0.1  37344  2808 ?        Ssl  Mar06   0:00 /usr/sbin/named -t /var/lib/named -u named
root      5266  0.0  0.0   2376  1136 ?        S    Mar06   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --datadir=
mysql     5300  0.0  1.1 118204 23372 ?        Sl   Mar06   0:02 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking --
root      5364  0.0  0.6  29508 13004 ?        Ss   Mar06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root      5377  0.0  0.2  28512  5324 ?        S    Mar06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root      5400  0.0  0.2  35464  4828 ?        Ss   Mar06   0:00 /usr/local/psa/admin/bin/httpsd
psaadm    5404  0.0  0.7  39288 15356 ?        S    Mar06   0:01 /usr/local/psa/admin/bin/httpsd
root      5470  0.0  0.0   1668   692 ?        Ss   Mar06   0:00 /usr/sbin/cron
root      5478  0.0  0.0   1676   420 ?        S    Mar06   0:00 /usr/sbin/cron
ts        5479  0.0  0.0      0     0 ?        Zs   Mar06   0:00 [server_linux] <defunct>
ts        5483  0.0  0.0  76968  1880 ?        SNl  Mar06   0:05 /home/ts/tss2_rc2/server_linux
ts        5492  0.0  0.0   1300   292 ?        S    Mar06   0:00 bin/qmail-inject -H --
psaadm    5493  0.0  0.8  39892 16720 ?        S    Mar06   0:01 /usr/local/psa/admin/bin/httpsd
drweb     5495  0.0  0.6  15956 13204 ?        Ss   Mar06   1:08 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
wwwrun   26357  0.0  0.9  39348 18940 ?        S    Mar06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    7249  0.0  0.9  39436 19564 ?        S    09:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun    7250  0.0  0.9  39344 19100 ?        S    09:31   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root     17695  0.0  0.1   9236  2864 ?        Ss   19:18   0:00 sshd: root@pts/0
root     17699  0.0  0.0   2708  1780 pts/0    Ss+  19:18   0:00 -bash
root     17885  0.0  0.1   9236  2896 ?        Ss   19:20   0:01 sshd: root@notty
root     17888  0.0  0.0   4372  1464 ?        Ss   19:20   0:00 /usr/lib/ssh/sftp-server
root     17950  0.0  0.1   9236  2868 ?        Ss   19:22   0:00 sshd: root@notty
root     17953  0.0  0.0   4268  1404 ?        Ss   19:22   0:00 /usr/lib/ssh/sftp-server
wwwrun   21966  0.0  0.9  39252 18788 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   21988  0.0  0.9  39256 18792 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   21992  0.0  0.6  34512 13948 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   21993  0.0  0.9  39248 18784 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   21996  0.0  0.9  39268 18868 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   21997  0.0  0.8  37228 17132 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   22011  0.0  0.9  39240 18768 ?        S    19:36   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
vscan    27989  0.1  1.0  26700 21788 pts/0    S    19:54   0:06 /usr/sbin/clamd
vscan    28005  0.0  0.0   3784  1268 ?        Ss   19:54   0:00 /usr/bin/freshclam -d
root     32352  0.0  1.0  24684 22160 ?        Ss   20:17   0:00 /usr/sbin/spamd -d -c -L
root     32353  0.0  1.0  25504 22564 ?        S    20:17   0:01 spamd child
root     32354  0.0  1.0  25296 22344 ?        S    20:17   0:01 spamd child
root     32355  0.0  1.0  25344 22392 ?        S    20:17   0:01 spamd child
root     32356  0.0  1.2  27364 24868 ?        S    20:17   0:01 spamd child
root     32357  0.0  1.1  27344 24320 ?        S    20:17   0:01 spamd child
qmails    1703  0.0  0.0   1436   376 pts/0    S    20:26   0:00 qmail-send
qmaill    1705  0.0  0.0   1392   444 pts/0    S    20:26   0:00 splogger qmail
root      1706  0.0  0.0   1420   336 pts/0    S    20:26   0:00 qmail-lspawn ./Maildir/
qmailr    1707  0.0  0.0   1416   332 pts/0    S    20:26   0:00 qmail-rspawn
qmailq    1708  0.0  0.0   1384   312 pts/0    S    20:26   0:00 qmail-clean
root      1963  0.0  0.0   3976   704 ?        S    20:27   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd -maxprocs=40 -max
root      1965  0.0  0.0   3952   624 ?        S    20:27   0:00 /usr/sbin/courierlogger imapd
root      1974  0.0  0.0   3252   704 ?        S    20:27   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd-ssl -maxprocs=40
root      1976  0.0  0.0   2484   624 ?        S    20:27   0:00 /usr/sbin/courierlogger imapd-ssl
root      1983  0.0  0.0   3832   712 ?        S    20:27   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d -maxprocs=40 -max
root      1985  0.0  0.0   2960   776 ?        S    20:27   0:00 /usr/sbin/courierlogger pop3d
root      1993  0.0  0.0   4656   704 ?        S    20:27   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40
root      1995  0.0  0.0   3924   624 ?        S    20:27   0:00 /usr/sbin/courierlogger pop3d-ssl
root      7407  0.0  0.1   9240  2896 ?        Ss   20:54   0:00 sshd: root@notty
root      7410  0.0  0.0   4268  1416 ?        Ss   20:54   0:00 /usr/lib/ssh/sftp-server
root      8075  0.0  0.1   9092  2848 ?        Rs   21:00   0:00 sshd: root@pts/1
root      8079  0.0  0.0   2704  1744 pts/1    Ss   21:00   0:00 -bash
root      9360  0.0  0.0   2380   856 pts/1    R+   21:04   0:00 ps aux

Vielleicht hat das hier auch damit zu tun (der fehler in der main 116), aus /var/log/qsheff.log:
Code:
07/03/2007 20:56:48: [qSheff] QUEUE, queue=q1173297408-829740-7641, recvfrom=80.136.38.44, from=`nh2@meinedomain.de', to=`nh2@meinedomain.de', subj=`test2', size=965, error=`main.c:116: No such file or directory', exitcode=245
07/03/2007 20:57:50: [qSheff] QUEUE, queue=q1173297469-959111-7672, recvfrom=80.136.38.44, from=`nh2@meinedomain.de', to=`nh2@meinedomain.de', subj=`test2', size=965, error=`main.c:116: No such file or directory', exitcode=245
07/03/2007 20:58:51: [qSheff] QUEUE, queue=q1173297531-13476-7700, recvfrom=80.136.38.44, from=`nh2@meinedomain.de', to=`nh2@meinedomain.de', subj=`test2', size=965, error=`main.c:116: No such file or directory', exitcode=245
 
Last edited by a moderator:
Ausschnitt aus meiner main.c (/home/qsheff-II-2.1-r2/src/main.c - mein Qsheff Installverzeichnis):

Code:
static int run_queue()
{
	pid_t qpid;
	int pstat;

	#ifdef _DEBUG_
	printf("- qmail-queue\n");
	#endif

	if((fd = open(msgfile, O_RDONLY)) == -1) {
		errlog(__FILE__, __LINE__, errno);
		return -11;
	}

	if (chdir(QMAILDIR) == -1) { errlog(__FILE__, __LINE__, errno); return -11; }

	switch(qpid = vfork()) {
		case -1:
			close(fd);
			errlog(__FILE__, __LINE__, errno);
			return -11;
		case 0:
			close(0);
			dup2(fd,0);
			if (execv(*binqqargs, binqqargs) == -1)
				errlog(__FILE__, __LINE__, errno);
			_exit(-11);
	}

        /* wait for queue to get exit status. */
        if ( waitpid(qpid, &pstat, 0) == -1 ) {
		errlog(__FILE__, __LINE__, errno);
		close(fd);
		return -11;
	}

	close(fd);
	
        /* check if the child died on a signal */
        if ( WIFSIGNALED(pstat) ) { 
		syslog(LOG_NOTICE, "qSheff got signal."); return -11; }

        /* qmail-queue exit status */
        if ( WIFEXITED(pstat) ) return(WEXITSTATUS(pstat));

        /* check if the child stopped. */
        if ( WIFSTOPPED(pstat) ) { 
		syslog(LOG_NOTICE, "qSheff stopped."); return -11; }

        /* should never come here */
        return -11;
}

Zeile 116 ist folgendes im obigen Abschnitt:
errlog(__FILE__, __LINE__, errno);
 
Deine Aussage war relativ nix sagend. Der entsprechende Context ist Zeile 115:
Code:
if (execv(*binqqargs, binqqargs) == -1)
...und binqqargs ist als "bin/qmail-queue.orig" gesetzt (wenn der Qmailqueue-Patch nicht gesetzt ist).

Also ist "qmail-queue.orig" die Datei, die nicht ausgeführt werden kann. Forsche in der Richtung weiter.

huschi.
 
Danke,

das mit der main.c scheint geklärt.
Edit:
Leider doch nicht. Es kommt wieder die Meldung mit main.c:116, obwohl ich eine qmail-queue.orig habe und diese voll ausführbar ist. Ich kapier das nicht.
Was meinst du mit dem Qmailqueuepatch, Huschi? Meinst du den Qsheff-II un/install-wrapper? Der gibt mir in der Tat immer die Meldung, dass der Link entweder nicht da ist oder nicht glöscht oder erzeugt werden konnte, weil ich gar keine originale qmail-queue mehr im *.bak habe oder so etwas...

Jetzt kriege ich aber wieder die

Code:
Mar 14 19:44:21 h1114923 spamc[31744]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 14 19:44:21 h1114923 pop3d: 
Mar 14 19:44:22 h1114923 spamc[31744]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 14 19:44:23 h1114923 spamc[31744]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 14 19:44:24 h1114923 spamc[31744]: connection attempt to spamd aborted after 3 retries
Mar 14 19:44:25 h1114923 spamc[31763]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 14 19:44:26 h1114923 spamc[31763]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 14 19:44:27 h1114923 spamc[31763]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 14 19:44:28 h1114923 spamc[31763]: connection attempt to spamd aborted after 3 retries

Und spamd ist an! Was kann ich machen?

Edit:
Hier noch das ps aux:
Code:
# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    604   248 ?        Ss   Mar07   0:00 init [3]
root      7286  0.0  0.0   1456   592 ?        Ss   Mar07   0:02 /sbin/syslogd -a /var/lib/named/dev/log -a /var/lib/ntp/dev/log -a /var/lib/stunnel/dev/log
root      7305  0.0  0.0   3984   784 ?        Ss   Mar07   0:00 /usr/sbin/saslauthd -n 2 -a pam
root      7308  0.0  0.0   3984   468 ?        S    Mar07   0:00 /usr/sbin/saslauthd -n 2 -a pam
root      7320  0.0  0.0   2664   708 ?        S    Mar07   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd -maxp
root      7325  0.0  0.0   2568   772 ?        S    Mar07   0:00 /usr/sbin/courierlogger imapd
root      7331  0.0  0.0   2664   700 ?        S    Mar07   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd-ssl -
root      7333  0.0  0.0   2436   620 ?        S    Mar07   0:00 /usr/sbin/courierlogger imapd-ssl
root      7340  0.0  0.0   2664   708 ?        S    Mar07   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d -maxp
root      7342  0.0  0.0   2568   772 ?        S    Mar07   0:00 /usr/sbin/courierlogger pop3d
root      7350  0.0  0.0   2664   700 ?        S    Mar07   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d-ssl -
root      7352  0.0  0.0   2436   620 ?        S    Mar07   0:00 /usr/sbin/courierlogger pop3d-ssl
root      7360  0.0  0.0   4524  1216 ?        Ss   Mar07   0:04 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
named     7415  0.0  0.1  37344  2816 ?        Ssl  Mar07   0:00 /usr/sbin/named -t /var/lib/named -u named
root      7429  0.0  0.0   2376  1136 ?        S    Mar07   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.soc
mysql     7466  0.0  1.1 118192 23768 ?        Sl   Mar07   0:09 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --ski
root      7530  0.0  0.6  29508 12980 ?        Ss   Mar07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root      7536  0.0  0.2  28512  5324 ?        S    Mar07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root      7560  0.0  0.2  35464  4740 ?        Ss   Mar07   0:00 /usr/local/psa/admin/bin/httpsd
psaadm    7568  0.0  1.3  42280 28328 ?        S    Mar07   0:11 /usr/local/psa/admin/bin/httpsd
root      7617  0.0  0.0   1668   692 ?        Ss   Mar07   0:00 /usr/sbin/cron
root      7621  0.0  0.0   1676   420 ?        S    Mar07   0:00 /usr/sbin/cron
ts        7622  0.0  0.0      0     0 ?        Zs   Mar07   0:00 [server_linux] <defunct>
ts        7631  0.0  0.0   1300   292 ?        S    Mar07   0:00 bin/qmail-inject -H --
ts        7632  0.0  0.0  76968  1936 ?        SNl  Mar07   0:29 /home/ts/tss2_rc2/server_linux
psaadm    7640  0.0  1.3  42728 28144 ?        S    Mar07   0:10 /usr/local/psa/admin/bin/httpsd
drweb     7642  0.0  0.6  16096 13364 ?        Ss   Mar07   7:54 /opt/drweb/drwebd -ini=/etc/drweb/drweb32.ini
root     20457  0.0  0.1   9236  2864 ?        Ss   18:28   0:00 sshd: root@notty
root     20460  0.0  0.0   4268  1400 ?        Ss   18:28   0:00 /usr/lib/ssh/sftp-server
root     22317  0.0  0.1   9232  2880 ?        Ss   18:52   0:00 sshd: root@pts/0
root     22332  0.0  0.0   2708  1780 pts/0    Ss   18:52   0:00 -bash
wwwrun   22415  0.0  0.6  32196 12768 ?        S    18:53   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root     22507  0.0  0.1   9236  2884 ?        Ss   18:56   0:00 sshd: root@notty
root     22510  0.0  0.0   4372  1440 ?        Ss   18:56   0:00 /usr/lib/ssh/sftp-server
root     23810  0.0  0.1   9240  2884 ?        Ss   19:00   0:00 sshd: root@notty
root     23813  0.0  0.0   4268  1416 ?        Ss   19:00   0:00 /usr/lib/ssh/sftp-server
root     24156  0.0  0.0   3496   896 ?        Ss   19:05   0:00 /usr/sbin/xinetd
root     24247  0.0  0.0   1664   524 pts/0    S+   19:06   0:00 tail -f /tmp/greylist_dbg.txt
wwwrun   24343  0.0  0.5  31500 11972 ?        S    19:07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24350  0.0  0.6  32640 13268 ?        S    19:07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24418  0.0  0.4  29508  8960 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24419  0.0  0.3  29508  7060 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24420  0.0  0.3  29508  7060 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24421  0.0  0.3  29508  7060 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24422  0.0  0.3  29508  7060 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24423  0.0  0.3  29508  7064 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun   24424  0.0  0.3  29508  7064 ?        S    19:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root     26193  0.0  0.1   9240  2896 ?        Ss   19:23   0:00 sshd: root@notty
root     26196  0.0  0.0   4268  1420 ?        Ss   19:23   0:00 /usr/lib/ssh/sftp-server
root     26257  0.0  0.1   9092  2840 ?        Ss   19:25   0:00 sshd: root@notty
root     26260  0.0  0.0   4268  1352 ?        Ss   19:25   0:00 /usr/lib/ssh/sftp-server
root     27658  0.0  0.1   9236  2864 ?        Rs   19:34   0:00 sshd: root@pts/1
root     27702  0.0  0.0   2708  1756 pts/1    Ss   19:35   0:00 -bash
vscan    30502  0.4  0.9  24504 20452 pts/1    Sl   19:41   0:02 /usr/sbin/clamd
vscan    30513  0.0  0.0   3756   968 ?        Ss   19:41   0:00 /usr/bin/freshclam -d
qmails   30682  0.0  0.0   1436   376 pts/1    S    19:44   0:00 qmail-send
qmaill   30684  0.0  0.0   1392   444 pts/1    S    19:44   0:00 splogger qmail
root     30685  0.0  0.0   1420   336 pts/1    S    19:44   0:00 qmail-lspawn ./Maildir/
qmailr   30686  0.0  0.0   1416   332 pts/1    S    19:44   0:00 qmail-rspawn
qmailq   30687  0.0  0.0   1384   312 pts/1    S    19:44   0:00 qmail-clean
root     31894  0.2  1.0  24684 22160 ?        Ss   19:45   0:00 /usr/sbin/spamd -d -c -L
root     31895  0.0  1.0  25416 22416 ?        S    19:45   0:00 spamd child
root     31896  0.0  1.1  25524 23024 ?        S    19:45   0:00 spamd child
root     31897  0.0  1.0  25320 22364 ?        S    19:45   0:00 spamd child
root     31898  0.0  1.0  25320 22364 ?        S    19:45   0:00 spamd child
root     31899  0.0  1.0  25320 22364 ?        S    19:45   0:00 spamd child
root     32099  0.0  0.0   2380   856 pts/1    R+   19:49   0:00 ps aux
 
Last edited by a moderator:
Was meinst du mit dem Qmailqueuepatch, Huschi?
Solange Du nicht weißt was es ist, braucht es auch nicht zu jucken.
Ich hatte es lediglich der Vollständigkeit halber erwähnt.

Deine Beschreibung, was alles an qmail-queue vorhanden ist und was nicht, ist etwas verwirrend. Bring mal bitte Licht ins Dunkel:
ls -l /var/qmail/bin/qmail-queue*

spamc[31744]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Prüf mal mit netstat, ob spamd auch wirklich am richtigen Port und auf dem Loopdevice lauscht.

huschi.
 
Ich hab jetzt erst einmal das Backup wieder aufgesetzt.
Nach dem nächsten Backup schreibe ich mal ganz genau meine Situation hin und was ich mache.

Aber ne kurze Zwischenfrage: Es kann doch nicht sein, dass sich das ganze mit dem Greylisting beißt, oder? Ich habe nämlich bei mir nach huschi.net Greylisting installiert, da ändert man ja auch an Qmail was.
 
Nein. Das Greylisting setzt an anderer Stelle ein: qmail-smtpd. Also bei der Email-Einlieferung. Qsheff hingegen greift bei der lokalen Verarbeitung (qmail-queue) ein.

huschi.
 
Habe das gleiche Problem, kann keine Emails senden oder empfangen

Hallo,

also ich habe alles wie im Thread beschrieben installiert. Nur mit dem Unterschied, daß ich gleich qsheff-II installiert habe.
Seitdem kann ich aber keine E-Mails mehr versenden u. empfangen.
Folgende Fehelrmeldung:

"mail server temporarily rejeceted...."

Hier meine Logs:

maill.err
Code:
Mar 29 15:31:50 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:51 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:52 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:31:53 h1232389 spamc[9401]: connection attempt to spamd aborted after 3 retries
Mar 29 15:31:54 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:33935 (mout31.stratoserver.net)
Mar 29 15:31:54 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:55 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:56 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:31:57 h1232389 spamc[9408]: connection attempt to spamd aborted after 3 retries
Mar 29 15:31:57 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:49615 (mout31.stratoserver.net)
Mar 29 15:31:57 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:58 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 84.155.118.90:63562 (p549b765a.dip.t-dialin.net)
Mar 29 15:31:58 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:59 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:00 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:32:00 h1232389 spamc[9415]: connection attempt to spamd aborted after 3 retries
Mar 29 15:32:00 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:36973 (mout31.stratoserver.net)
Mar 29 15:32:00 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:32:01 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:32:01 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:32:02 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:02 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:03 h1232389 spamc[9424]: connection attempt to spamd aborted after 3 retries
Mar 29 15:32:03 h1232389 spamc[9431]: connection attempt to spamd aborted after 3 retries
Mar 29 15:37:12 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:37:13 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:37:14 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:37:15 h1232389 spamc[9662]: connection attempt to spamd aborted after 3 retries
Mar 29 15:45:59 h1232389 spamd[10150]: spamd starting
Mar 29 15:46:00 h1232389 spamd[10152]: server started on port 783/tcp (running version 3.0.2)
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10153
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10154
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10155
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10156
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10157
Mar 29 15:46:25 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 84.155.118.90:63647 (p549b765a.dip.t-dialin.net)
Mar 29 15:46:27 h1232389 spamd[10153]: connection from h1232389.stratoserver.net [127.0.0.1] at port 54311
Mar 29 15:46:27 h1232389 spamd[10153]: info: setuid to qmaild succeeded
Mar 29 15:46:27 h1232389 spamd[10153]: Creating default_prefs [/var/qmail//.spamassassin/user_prefs]
Mar 29 15:46:27 h1232389 spamd[10153]: Cannot write to /var/qmail//.spamassassin/user_prefs: No such file or directory
Mar 29 15:46:27 h1232389 spamd[10153]: Couldn't create readable default_prefs for [/var/qmail//.spamassassin/user_prefs]
Mar 29 15:46:27 h1232389 spamd[10153]: processing message <460BC372.8070607@foerg-online.de> for qmaild:2020.
Mar 29 15:46:27 h1232389 spamd[10153]: clean message (0.0/5.0) for qmaild:2020 in 0.1 seconds, 623 bytes.
Mar 29 15:46:27 h1232389 spamd[10153]: result: . 0 - scantime=0.1,size=623,mid=<460BC372.8070607@foerg-online.de>,autolearn=failed
mail.warn
Code:
Mar 29 15:31:50 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:51 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:52 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:31:53 h1232389 spamc[9401]: connection attempt to spamd aborted after 3 retries
Mar 29 15:31:54 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:33935 (mout31.stratoserver.net)
Mar 29 15:31:54 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:55 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:56 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:31:57 h1232389 spamc[9408]: connection attempt to spamd aborted after 3 retries
Mar 29 15:31:57 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:49615 (mout31.stratoserver.net)
Mar 29 15:31:57 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:58 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 84.155.118.90:63562 (p549b765a.dip.t-dialin.net)
Mar 29 15:31:58 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:59 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:00 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:32:00 h1232389 spamc[9415]: connection attempt to spamd aborted after 3 retries
Mar 29 15:32:00 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:36973 (mout31.stratoserver.net)
Mar 29 15:32:00 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:32:01 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:32:01 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:32:02 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:02 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:03 h1232389 spamc[9424]: connection attempt to spamd aborted after 3 retries
Mar 29 15:32:03 h1232389 spamc[9431]: connection attempt to spamd aborted after 3 retries
Mar 29 15:37:12 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:37:13 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:37:14 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:37:15 h1232389 spamc[9662]: connection attempt to spamd aborted after 3 retries
Mar 29 15:45:59 h1232389 spamd[10150]: spamd starting
Mar 29 15:46:00 h1232389 spamd[10152]: server started on port 783/tcp (running version 3.0.2)
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10153
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10154
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10155
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10156
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10157
Mar 29 15:46:25 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 84.155.118.90:63647 (p549b765a.dip.t-dialin.net)
Mar 29 15:46:27 h1232389 spamd[10153]: connection from h1232389.stratoserver.net [127.0.0.1] at port 54311
Mar 29 15:46:27 h1232389 spamd[10153]: info: setuid to qmaild succeeded
Mar 29 15:46:27 h1232389 spamd[10153]: Creating default_prefs [/var/qmail//.spamassassin/user_prefs]
Mar 29 15:46:27 h1232389 spamd[10153]: Cannot write to /var/qmail//.spamassassin/user_prefs: No such file or directory
Mar 29 15:46:27 h1232389 spamd[10153]: Couldn't create readable default_prefs for [/var/qmail//.spamassassin/user_prefs]
Mar 29 15:46:27 h1232389 spamd[10153]: processing message <460BC372.8070607@foerg-online.de> for qmaild:2020.
Mar 29 15:46:27 h1232389 spamd[10153]: clean message (0.0/5.0) for qmaild:2020 in 0.1 seconds, 623 bytes.
Mar 29 15:46:27 h1232389 spamd[10153]: result: . 0 - scantime=0.1,size=623,mid=<460BC372.8070607@foerg-online.de>,autolearn=failed
mail.info
Code:
Mar 29 15:31:50 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:51 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:52 h1232389 spamc[9401]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:31:53 h1232389 spamc[9401]: connection attempt to spamd aborted after 3 retries
Mar 29 15:31:54 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:33935 (mout31.stratoserver.net)
Mar 29 15:31:54 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:55 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:56 h1232389 spamc[9408]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:31:57 h1232389 spamc[9408]: connection attempt to spamd aborted after 3 retries
Mar 29 15:31:57 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:49615 (mout31.stratoserver.net)
Mar 29 15:31:57 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:31:58 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 84.155.118.90:63562 (p549b765a.dip.t-dialin.net)
Mar 29 15:31:58 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:31:59 h1232389 spamc[9415]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:00 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:32:00 h1232389 spamc[9415]: connection attempt to spamd aborted after 3 retries
Mar 29 15:32:00 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 81.169.163.93:36973 (mout31.stratoserver.net)
Mar 29 15:32:00 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:32:01 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:32:01 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:32:02 h1232389 spamc[9424]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:02 h1232389 spamc[9431]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:32:03 h1232389 spamc[9424]: connection attempt to spamd aborted after 3 retries
Mar 29 15:32:03 h1232389 spamc[9431]: connection attempt to spamd aborted after 3 retries
Mar 29 15:37:12 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Mar 29 15:37:13 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Mar 29 15:37:14 h1232389 spamc[9662]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Mar 29 15:37:15 h1232389 spamc[9662]: connection attempt to spamd aborted after 3 retries
Mar 29 15:45:59 h1232389 spamd[10150]: spamd starting
Mar 29 15:46:00 h1232389 spamd[10152]: server started on port 783/tcp (running version 3.0.2)
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10153
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10154
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10155
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10156
Mar 29 15:46:00 h1232389 spamd[10152]: server successfully spawned child process, pid 10157
Mar 29 15:46:25 h1232389 relaylock: /var/qmail/bin/relaylock: mail from 84.155.118.90:63647 (p549b765a.dip.t-dialin.net)
Mar 29 15:46:27 h1232389 spamd[10153]: connection from h1232389.stratoserver.net [127.0.0.1] at port 54311
Mar 29 15:46:27 h1232389 spamd[10153]: info: setuid to qmaild succeeded
Mar 29 15:46:27 h1232389 spamd[10153]: Creating default_prefs [/var/qmail//.spamassassin/user_prefs]
Mar 29 15:46:27 h1232389 spamd[10153]: Cannot write to /var/qmail//.spamassassin/user_prefs: No such file or directory
Mar 29 15:46:27 h1232389 spamd[10153]: Couldn't create readable default_prefs for [/var/qmail//.spamassassin/user_prefs]
Mar 29 15:46:27 h1232389 spamd[10153]: processing message <460BC372.8070607@foerg-online.de> for qmaild:2020.
Mar 29 15:46:27 h1232389 spamd[10153]: clean message (0.0/5.0) for qmaild:2020 in 0.1 seconds, 623 bytes.
Mar 29 15:46:27 h1232389 spamd[10153]: result: . 0 - scantime=0.1,size=623,mid=<460BC372.8070607@foerg-online.de>,autolearn=failed
Wo könnte da denn der Fehler liegen?

Gruß,
kantiran
 
Last edited by a moderator:
Exakt das Gleiche wie bei mir. Wenn das gelöst ist, wüsste ich auch gerne bescheid.

...und - habt ihr Euer Problem lösen können - ich traue mich noch nicht 'ran und warte erstmal ab, was bei Euch los ist
 
Jetzt müssen wir erstmal den alten qsheff entfernen :
(Inklusive der Änderungen die gemacht wurden dafür)
Code:
rm /var/qmail/bin/qmail-queue.orig
rm /var/qmail/bin/qmail-queue.orig.2
mv /var/qmail/bin/qmail-queue.bak /var/qmail/bin/qmail-queue
/usr/local/etc/qsheff/uninstall-wrapper.sh

so, habe von der "Huschi-Anleitung" die Punkte

- ClamAV intallieren:
und
-Ripmime installieren:

durchgeführt (Spamassassin hatte ich bereits vorige Woche "zufuß" installiert und zum Laufen gebracht (jaja, mit Hilfe von dieversen Leuten).

da ich Qsheff noch garnicht installiert habe kann ich doch obenzitierten Schritt auslassen, oder wie läuft das bei einer Neuinstallation?

Gruß aus Berlin

DOGSCH
 
Back
Top