Rocksolid Light

groups  faq  privacy  How to post  login

Message-ID:  

There will be big changes for you but you will be happy.


rocksolid / de.comm.software.mailserver / Re: Postfix queue file write error (amavis?)

SubjectAuthor
* Postfix queue file write error (amavis?)Ulli Horlacher
+* Re: Postfix queue file write error (amavis?)Marco Moock
|`* Re: Postfix queue file write error (amavis?)Ulli Horlacher
| `- Re: Postfix queue file write error (amavis?)Marco Moock
+* Re: Postfix queue file write error (amavis?)Tim Ritberg
|+* Re: Postfix queue file write error (amavis?)Ulli Horlacher
||`* Re: Postfix queue file write error (amavis?)Tim Ritberg
|| `* Re: Postfix queue file write error (amavis?)Ulli Horlacher
||  `* Re: Postfix queue file write error (amavis?)Tim Ritberg
||   `* Re: Postfix queue file write error (amavis?)Ulli Horlacher
||    `* Re: Postfix queue file write error (amavis?)Tim Ritberg
||     `* Re: Postfix queue file write error (amavis?)Ulli Horlacher
||      `- Re: Postfix queue file write error (amavis?)Ulli Horlacher
|`* Re: Postfix queue file write error (amavis?)Ulli Horlacher
| `- Re: Postfix queue file write error (amavis?)Tim Ritberg
+- Re: Postfix queue file write error (amavis?)Stephan Seitz
`* Re: Postfix queue file write error (amavis?)Ulli Horlacher
 `- Re: Postfix queue file write error (amavis?)Tim Ritberg

1
Subject: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Wed, 10 Jan 2024 12:54 UTC
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 12:54:12 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 86
Message-ID: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
X-Trace: news2.informatik.uni-stuttgart.de 1704891252 24579 129.69.1.129 (10 Jan 2024 12:54:12 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Wed, 10 Jan 2024 12:54:12 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Ich bekomme seit 2 Tagen immer wieder mal solche Mails:

From: Mail Delivery System <MAILER-DAEMON@...
To: Postmaster <postmaster@...
Subject: Postfix SMTP server: errors from ...
Date: Wed, 10 Jan 2024 12:15:32 +0100 (CET)

Transcript of session follows.

Out: 220 tandem-fahren.de ESMTP Postfix (Ubuntu)
In: EHLO ...
Out: 250-tandem-fahren.de
Out: 250-PIPELINING
Out: 250-SIZE 33554432
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250-DSN
Out: 250 CHUNKING
In: STARTTLS
Out: 220 2.0.0 Ready to start TLS
In: EHLO ...
Out: 250-tandem-fahren.de
Out: 250-PIPELINING
Out: 250-SIZE 33554432
Out: 250-VRFY
Out: 250-ETRN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250-DSN
Out: 250 CHUNKING
In: MAIL FROM:<...> SIZE=3403
Out: 250 2.1.0 Ok
In: RCPT TO:<...>
Out: 250 2.1.5 Ok
In: BDAT 2380 LAST
Out: 451 4.3.0 Error: queue file write error

Session aborted, reason: lost connection

For other details, see the local mail logfile

Im mail.log finde ich dazu:

2024-01-10 12:15:32 warning: timeout talking to proxy 127.0.0.1:10024
2024-01-10 12:15:32 proxy-reject: END-OF-MESSAGE: 451 4.3.0 Error: queue file write error; from=<...> to=<...> proto=ESMTP helo=<...>

Auf Port laeuft amavis:

root@tandem:/var/log# lsof -i -P | grep 10024
/usr/sbin 41812 amavis 6u IPv4 269812 0t0 TCP localhost:10024 (LISTEN)
/usr/sbin 41812 amavis 7u IPv6 269813 0t0 TCP localhost:10024 (LISTEN)
/usr/sbin 41876 amavis 6u IPv4 269812 0t0 TCP localhost:10024 (LISTEN)
/usr/sbin 41876 amavis 7u IPv6 269813 0t0 TCP localhost:10024 (LISTEN)
/usr/sbin 41877 amavis 6u IPv4 269812 0t0 TCP localhost:10024 (LISTEN)
/usr/sbin 41877 amavis 7u IPv6 269813 0t0 TCP localhost:10024 (LISTEN)

Also hat amavis die Mailannahme verweigert - nur warum?

Dazu finde ich nur im syslog:

2024-01-10 07:08:36 amavis.service: State 'stop-sigterm' timed out. Killing.
2024-01-10 07:08:36 amavis.service: Killing process 33357 (/usr/sbin/amavi) with signal SIGKILL.
2024-01-10 07:08:36 amavis.service: Killing process 33418 (/usr/sbin/amavi) with signal SIGKILL.
2024-01-10 07:08:36 amavis.service: Main process exited, code=killed, status=9/KILL
2024-01-10 07:08:36 amavis.service: Failed with result 'timeout'.
2024-01-10 07:08:36 amavis.service: Consumed 3min 659ms CPU time.
2024-01-10 07:08:57 starting. /usr/sbin/amavisd-new at tandem-fahren.de amavisd-new-2.12.2 (20211013), Unicode aware, LANG="en_US.ISO-8859-15", LC_TIME="en_DK.UTF-8"
2024-01-10 09:18:01 (amavis) CMD (test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync)
2024-01-10 12:18:01 (amavis) CMD (test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync)

Der Server ist eine VM auf einem host, der teilweise eine sehr hohe load (20..50) hat.
Eventuell ein timing-Problem?

Mails gehen aber anscheinend keine verloren, ich bekomm nur welche doppelt in dem Zeitraum.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Marco Moock
Newsgroups: de.comm.software.mailserver
Date: Wed, 10 Jan 2024 13:03 UTC
References: 1
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mm+sol...@dorfdsl.de (Marco Moock)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 14:03:22 +0100
Message-ID: <unm4iq$9q57$11@solani.org>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 13:03:22 -0000 (UTC)
Injection-Info: solani.org;
logging-data="321703"; mail-complaints-to="abuse@news.solani.org"
Cancel-Lock: sha1:JC+qfQAdaB08PZAYYzXajZ/97Q8=
X-User-ID: eJwFwYERACEIA7CVHqGljqN/dP8RTJAM/l0EC4ZjeY/ybsFZPLZ0rElceXdwbHRFaRC5vgceQRDK
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-pc-linux-gnu)
View all headers

Am 10.01.2024 um 12:54:12 Uhr schrieb Ulli Horlacher:

> Mails gehen aber anscheinend keine verloren, ich bekomm nur welche
> doppelt in dem Zeitraum.

Die meisten werden auch nicht per BDAT sondern per DATA reinkommen.
Wird denn eine solche Mail, auch wenn mit 4xx abgelehnt, trotzdem
zugestellt bei dir?

Subject: Re: Postfix queue file write error (amavis?)
From: Tim Ritberg
Newsgroups: de.comm.software.mailserver
Date: Wed, 10 Jan 2024 14:29 UTC
References: 1
Path: i2pn2.org!i2pn.org!news.samoylyk.net!newsfeed.xs3.de!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: tim...@server.invalid (Tim Ritberg)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 15:29:04 +0100
Message-ID: <unm9jg$a9g1$1@tota-refugium.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 14:29:04 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="337409"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DRplA1R4CbXw8kBORi5dXyVuI+g=
Content-Language: de-DE
X-User-ID: eJwNyMEBwCAIA8CVFALUcSDC/iPYe56pb2fAzWFjs2ryFID6jxR+rMS10wzHulLRos7dqpKMBy0IEYU=
In-Reply-To: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
View all headers

Am 10.01.24 um 13:54 schrieb Ulli Horlacher:

> Also hat amavis die Mailannahme verweigert - nur warum?

Frag Amavis.
log_level auf 1 oder 2

Tim

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Wed, 10 Jan 2024 14:36 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 14:36:23 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 18
Message-ID: <unma17$pni$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm4iq$9q57$11@solani.org>
X-Trace: news2.informatik.uni-stuttgart.de 1704897383 26354 129.69.1.129 (10 Jan 2024 14:36:23 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Wed, 10 Jan 2024 14:36:23 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Marco Moock <mm+solani@dorfdsl.de> wrote:
> Am 10.01.2024 um 12:54:12 Uhr schrieb Ulli Horlacher:
>
>> Mails gehen aber anscheinend keine verloren, ich bekomm nur welche
>> doppelt in dem Zeitraum.
>
> Die meisten werden auch nicht per BDAT sondern per DATA reinkommen.
> Wird denn eine solche Mail, auch wenn mit 4xx abgelehnt, trotzdem
> zugestellt bei dir?

Ja, kommt an, sogar doppelt.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Marco Moock
Newsgroups: de.comm.software.mailserver
Date: Wed, 10 Jan 2024 14:39 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mm+sol...@dorfdsl.de (Marco Moock)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 15:39:23 +0100
Message-ID: <unma6r$9q57$14@solani.org>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
<unm4iq$9q57$11@solani.org>
<unma17$pni$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 10 Jan 2024 14:39:23 -0000 (UTC)
Injection-Info: solani.org;
logging-data="321703"; mail-complaints-to="abuse@news.solani.org"
Cancel-Lock: sha1:cOdp9ZNKir1ZhyGwPbgYxIQfKF4=
X-User-ID: eJwFwQERADEIAzBLMFr6yGEc8y/hE0Z6jpBM8PHh8FYYsWlfo6pcQu9VL4cept2ZAfJ4l34DxRB5
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-pc-linux-gnu)
View all headers

Am 10.01.2024 um 14:36:23 Uhr schrieb Ulli Horlacher:

> Marco Moock <mm+solani@dorfdsl.de> wrote:
> > Am 10.01.2024 um 12:54:12 Uhr schrieb Ulli Horlacher:
> >
> >> Mails gehen aber anscheinend keine verloren, ich bekomm nur welche
> >> doppelt in dem Zeitraum.
> >
> > Die meisten werden auch nicht per BDAT sondern per DATA reinkommen.
> > Wird denn eine solche Mail, auch wenn mit 4xx abgelehnt, trotzdem
> > zugestellt bei dir?
>
> Ja, kommt an, sogar doppelt.

Dann ist da was oberfaul, denn 4xx bedeutet, dass die Mail
temporär abgelehnt wird und der andere Server es dann nochmal versucht.

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Wed, 10 Jan 2024 14:44 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 14:44:57 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 32
Message-ID: <unmah9$pni$2@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm9jg$a9g1$1@tota-refugium.de>
X-Trace: news2.informatik.uni-stuttgart.de 1704897897 26354 129.69.1.129 (10 Jan 2024 14:44:57 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Wed, 10 Jan 2024 14:44:57 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Tim Ritberg <tim@server.invalid> wrote:
> Am 10.01.24 um 13:54 schrieb Ulli Horlacher:
>
>> Also hat amavis die Mailannahme verweigert - nur warum?
>
> Frag Amavis.
> log_level auf 1 oder 2

Wo stellt man das ein?

root@tandem:/etc/amavis/conf.d# fpg log *

15-av_scanners:
"--log=/var/log/vascan.log {}",
# GeCAD AV technology is acquired by Microsoft; RAV has been discontinued.
"{} -ss -i '*' -log=$MYHOME/vbuster.log", [0], [1],
# '-f -log scandir {}', [0], [3],

20-debian_defaults:
$log_recip_templ = undef; # disable by-recipient level-0 log entries
$DO_SYSLOG = 1; # log via syslogd (preferred)
$syslog_ident = 'amavis'; # syslog ident tag, prepended to all messages
$syslog_facility = 'mail';
$syslog_priority = 'debug'; # switch to info to drop debug output, etc

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Tim Ritberg
Newsgroups: de.comm.software.mailserver
Date: Wed, 10 Jan 2024 15:15 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: tim...@server.invalid (Tim Ritberg)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 16:15:44 +0100
Message-ID: <unmcb0$a9g1$2@tota-refugium.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
<unm9jg$a9g1$1@tota-refugium.de>
<unmah9$pni$2@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 15:15:45 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="337409"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:T7fm4SQ3KpYjLP12Xd3bPPr/qIA=
Content-Language: de-DE
In-Reply-To: <unmah9$pni$2@news2.informatik.uni-stuttgart.de>
X-User-ID: eJwNw4ENwDAIA7CXYJDQnVNa8v8JmyUj6DyVBBOC6NiXvYa9dSLc7qNIowpjPlKgzbQU9f4/I70RMQ==
View all headers

Am 10.01.24 um 15:44 schrieb Ulli Horlacher:
> Tim Ritberg <tim@server.invalid> wrote:
>> Am 10.01.24 um 13:54 schrieb Ulli Horlacher:
>>
>>> Also hat amavis die Mailannahme verweigert - nur warum?
>>
>> Frag Amavis.
>> log_level auf 1 oder 2
>
> Wo stellt man das ein?
>
> root@tandem:/etc/amavis/conf.d# fpg log *
>
> 15-av_scanners:
> "--log=/var/log/vascan.log {}",
> # GeCAD AV technology is acquired by Microsoft; RAV has been discontinued.
> "{} -ss -i '*' -log=$MYHOME/vbuster.log", [0], [1],
> # '-f -log scandir {}', [0], [3],
>
> 20-debian_defaults:
> $log_recip_templ = undef; # disable by-recipient level-0 log entries
> $DO_SYSLOG = 1; # log via syslogd (preferred)
> $syslog_ident = 'amavis'; # syslog ident tag, prepended to all messages
> $syslog_facility = 'mail';
> $syslog_priority = 'debug'; # switch to info to drop debug output, etc
>
>

Du hast Debian?
Dann sollte es eine 50-user geben.
$log_level = 1;

Tim

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Wed, 10 Jan 2024 17:40 UTC
References: 1 2 3 4
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.mb-net.net!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 17:40:08 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 72
Message-ID: <unmkpo$s74$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm9jg$a9g1$1@tota-refugium.de> <unmah9$pni$2@news2.informatik.uni-stuttgart.de> <unmcb0$a9g1$2@tota-refugium.de>
X-Trace: news2.informatik.uni-stuttgart.de 1704908408 28900 129.69.1.129 (10 Jan 2024 17:40:08 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Wed, 10 Jan 2024 17:40:08 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Tim Ritberg <tim@server.invalid> wrote:

>>> Frag Amavis.
>>> log_level auf 1 oder 2
>>
>> Wo stellt man das ein?
>>
>> root@tandem:/etc/amavis/conf.d# fpg log *
>>
>> 15-av_scanners:
>> "--log=/var/log/vascan.log {}",
>> # GeCAD AV technology is acquired by Microsoft; RAV has been discontinued.
>> "{} -ss -i '*' -log=$MYHOME/vbuster.log", [0], [1],
>> # '-f -log scandir {}', [0], [3],
>>
>> 20-debian_defaults:
>> $log_recip_templ = undef; # disable by-recipient level-0 log entries
>> $DO_SYSLOG = 1; # log via syslogd (preferred)
>> $syslog_ident = 'amavis'; # syslog ident tag, prepended to all messages
>> $syslog_facility = 'mail';
>> $syslog_priority = 'debug'; # switch to info to drop debug output, etc
>>
>>
>
> Du hast Debian?

Ubuntu, aber das hat wohl dieselbe config.

> Dann sollte es eine 50-user geben.
> $log_level = 1;

Ok, ist drin, nach "service amavis status" steht nun VIEL in
/var/log/mail.log:

2024-01-10 18:27:25 logging initialized, log level 1, syslog: amavis.mail
2024-01-10 18:27:25 starting. /usr/sbin/amavisd-new at tandem-fahren.de amavisd-new-2.12.2 (20211013), Unicode aware, LANG="en_US.I$
2024-01-10 18:27:25 perl=5.034000, user=112, EUID: 112 (112); group=, EGID: 121 119 121 (121 119 121)
2024-01-10 18:27:26 SpamControl: init_pre_chroot on SpamAssassin done
2024-01-10 18:27:26 Net::Server: 2024/01/10-18:27:26 Amavis (type Net::Server::PreForkSimple) starting! pid(49001)
2024-01-10 18:27:26 Net::Server: Binding to UNIX socket file "/var/lib/amavis/amavisd.sock"
2024-01-10 18:27:26 Net::Server: Binding to TCP port 10024 on host 127.0.0.1 with IPv4
2024-01-10 18:27:26 Net::Server: Binding to TCP port 10024 on host ::1 with IPv6
2024-01-10 18:27:26 Net::Server: Group Not Defined. Defaulting to EGID '121 119 121'
2024-01-10 18:27:26 Net::Server: User Not Defined. Defaulting to EUID '112'
2024-01-10 18:27:26 Module Amavis::Conf 2.412
(...)
2024-01-10 18:27:26 Using primary internal av scanner code for ClamAV-clamd
2024-01-10 18:27:26 Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
2024-01-10 18:27:26 Deleting db files __db.001,snmp.db,__db.003,__db.002,nanny.db in /var/lib/amavis/db
2024-01-10 18:27:26 Creating db in /var/lib/amavis/db/; BerkeleyDB 0.64, libdb 5.3
2024-01-10 18:27:26 initializing Mail::SpamAssassin (0)
2024-01-10 18:27:27 SA info: zoom: able to use 388/388 'body_0' compiled rules (100%)
2024-01-10 18:27:29 SA info: util: setuid: ruid=112 euid=112 rgid=121 119 121 egid=121 119 121
2024-01-10 18:27:29 SpamControl: init_pre_fork on SpamAssassin done
2024-01-10 18:27:29 extra modules loaded after daemonizing/chrooting: /etc/perl/Net/libnet.cfg, Mail/SpamAssassin/CompiledRegexps/body_0.pm, Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm, Mail/SpamAssassin/Plugin/FreeMail.pm, Mail/SpamAssassin/Plugin/SpamCop.pm, Net/Cmd.pm, Net/Config.pm, Net/SMTP.pm

Leider ohne amavis prefix ($syslog_ident). Ich sehe also nicht, ob die
Meldung vom postfix oder von amavis kam.

Noch besser waers, wenn es ein seperates amavis.log gaebe
Aber das ist wohl nicht vorgesehen.
Ich koennte es zwar mit rsyslog abspeichern, aber dafuer braeuchte ich ein
entsprechedes prefix tag in den Meldungen.

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Tim Ritberg
Newsgroups: de.comm.software.mailserver
Date: Wed, 10 Jan 2024 18:13 UTC
References: 1 2 3 4 5
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: tim...@server.invalid (Tim Ritberg)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Wed, 10 Jan 2024 19:13:05 +0100
Message-ID: <unmmnh$aeol$1@tota-refugium.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
<unm9jg$a9g1$1@tota-refugium.de>
<unmah9$pni$2@news2.informatik.uni-stuttgart.de>
<unmcb0$a9g1$2@tota-refugium.de>
<unmkpo$s74$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 18:13:05 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="342805"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:40F/W1cXWZEMqlnvLnVUuG1MOAM=
Content-Language: de-DE
In-Reply-To: <unmkpo$s74$1@news2.informatik.uni-stuttgart.de>
X-User-ID: eJwFwYEBwCAIA7CXxLUI5yjQ/09Yws/N68DpoKhWWikjUBe1m7ycwWo89zdLPGrsCkyGXf0xXBHU
View all headers

Am 10.01.24 um 18:40 schrieb Ulli Horlacher:
>
> Ok, ist drin, nach "service amavis status" steht nun VIEL in
> /var/log/mail.log:
>

$log_templ = $log_verbose_templ;
kann man noch nehmen. Ich hab beides an.

Tim

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Thu, 11 Jan 2024 08:47 UTC
References: 1 2 3 4 5 6
Path: i2pn2.org!rocksolid2!news.neodome.net!npeer.as286.net!npeer-ng0.as286.net!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Thu, 11 Jan 2024 08:47:33 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 37
Message-ID: <uno9v5$a0v$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm9jg$a9g1$1@tota-refugium.de> <unmah9$pni$2@news2.informatik.uni-stuttgart.de> <unmcb0$a9g1$2@tota-refugium.de> <unmkpo$s74$1@news2.informatik.uni-stuttgart.de> <unmmnh$aeol$1@tota-refugium.de>
X-Trace: news2.informatik.uni-stuttgart.de 1704962853 10271 129.69.1.129 (11 Jan 2024 08:47:33 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Thu, 11 Jan 2024 08:47:33 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Tim Ritberg <tim@server.invalid> wrote:
> Am 10.01.24 um 18:40 schrieb Ulli Horlacher:
>>
>> Ok, ist drin, nach "service amavis status" steht nun VIEL in
>> /var/log/mail.log:
>>
>
> $log_templ = $log_verbose_templ;
> kann man noch nehmen. Ich hab beides an.

Was macht das?
Und wie kriegt man eine vernuenftige Markierung hin damit man weiss dass
die Meldung von amavis kam?

Wo findet man Doku zu $log_templ und den anderen config Variablen?
In /usr/share/doc/amavisd-new hab ich nichts gefunden.

In https://www.ijs.si/software/amavisd/README.postfix.html hab ich gefunden:

Nov 1 11:28:10 mail postfix/smtpd[30986]: connect from localhost[127.0.0.1] #
Nov 1 11:28:10 mail postfix/smtpd[30986]: 079474CE44: client=localhost[127.0.0.1]
Nov 1 11:28:10 mail postfix/cleanup[30980]: 079474CE44: message-id=<20061101102810.079474CE44@mail.example.com>
Nov 1 11:28:10 mail postfix/qmgr[20432]: 079474CE44: from=<>, size=822, nrcpt=1 (queue active)
Nov 1 11:28:10 mail amavis[30897]: (30897-02) Passed BAD-HEADER, <> -> <postmaster>, quarantine: badh-le5gjszxowBk, mail_id: le5gjszxowBk, Hits: -1.76, queued_as: 079474CE44, 39505 ms #
Nov 1 11:28:10 mail postfix/smtpd[30986]: disconnect from localhost[127.0.0.1]
Nov 1 11:28:10 mail postfix/local[30987]: 079474CE44: to=<postmaster@example.com>, relay=local, delay=0.27, delays=0.14/0.05/0/0.08, dsn=2.0.0, status=sent (delivered to mailbox: postmaster) #
Nov 1 11:28:10 mail postfix/qmgr[20432]: 079474CE44: removed

SO haette ich das auch gerne! Diese prefix-tags fehlen aber bei mir!
Wo schaltet man die an?

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Stephan Seitz
Newsgroups: de.comm.software.mailserver
Organization: Barad-dûr, Mordor
Date: Thu, 11 Jan 2024 09:29 UTC
References: 1
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: stse+use...@rootsland.net (Stephan Seitz)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: 11 Jan 2024 09:29:35 GMT
Organization: Barad-dûr, Mordor
Lines: 19
Message-ID: <l09qntFkjr0U2@mid.individual.net>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net GqV3lZ+OKJF6gokExvQU6QPQglhJxX4oQpX//IOp12nGPEb2Iy
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:lJfmj3oP8seFeTENF91SmjBIaUs= sha256:7z6BGCkhHKWsycHTaiktBM5DkAwfr9qGl1OpD2OhNEI=
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/6.7.0 (x86_64))
View all headers

Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
> Out: 451 4.3.0 Error: queue file write error

Zumindest diesen Fehler hatte ich unter Debian 11 auch immer mal von
heute auf morgen. Amavis lief zwar, hat sich aber irgendwie teilweise
geweigert zu arbeiten.

Ein "service amavis stop" hat dann auch nicht alle Prozesse mehr
gekillt. Da gab es noch Kinder, die du mit "kill -9" beenden mußtest.
Danach lief es wieder. Ein "service amavis restart" hat da nicht
geholfen.

Jetzt mit Debian 12 habe ich diesen Fehler noch nicht gehabt.

Stephan

--
| Stephan Seitz E-Mail: stse+usenet@rootsland.net |
| If your life was a horse, you'd have to shoot it. |

Subject: Re: Postfix queue file write error (amavis?)
From: Tim Ritberg
Newsgroups: de.comm.software.mailserver
Date: Thu, 11 Jan 2024 10:00 UTC
References: 1 2 3 4 5 6 7
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: tim...@server.invalid (Tim Ritberg)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Thu, 11 Jan 2024 11:00:17 +0100
Message-ID: <unoe7h$bbna$1@tota-refugium.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
<unm9jg$a9g1$1@tota-refugium.de>
<unmah9$pni$2@news2.informatik.uni-stuttgart.de>
<unmcb0$a9g1$2@tota-refugium.de>
<unmkpo$s74$1@news2.informatik.uni-stuttgart.de>
<unmmnh$aeol$1@tota-refugium.de>
<uno9v5$a0v$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Jan 2024 10:00:17 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="372458"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ZwFZoXqBX9QehcqGMiftU8Ur/tg=
In-Reply-To: <uno9v5$a0v$1@news2.informatik.uni-stuttgart.de>
X-User-ID: eJwFwYEBACAEBMCViH+MU8r+I3QHo7LDCToGk7XtvUqVuTo8SqYvjGUkNr3fkQqJvtaGJR8TBRCB
Content-Language: de-DE
View all headers

Am 11.01.24 um 09:47 schrieb Ulli Horlacher:

>
> SO haette ich das auch gerne! Diese prefix-tags fehlen aber bei mir!
> Wo schaltet man die an?

Das liegt sicher nicht an Amavis. Ich habe da nichts besonderes eingestellt.
Da muss du dir deine Config von einem $syslog ansehen.

Tim

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Fri, 12 Jan 2024 12:12 UTC
References: 1 2 3 4 5 6 7 8
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Fri, 12 Jan 2024 12:12:21 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 21
Message-ID: <unrab5$2po$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm9jg$a9g1$1@tota-refugium.de> <unmah9$pni$2@news2.informatik.uni-stuttgart.de> <unmcb0$a9g1$2@tota-refugium.de> <unmkpo$s74$1@news2.informatik.uni-stuttgart.de> <unmmnh$aeol$1@tota-refugium.de> <uno9v5$a0v$1@news2.informatik.uni-stuttgart.de> <unoe7h$bbna$1@tota-refugium.de>
X-Trace: news2.informatik.uni-stuttgart.de 1705061541 2872 129.69.1.129 (12 Jan 2024 12:12:21 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Fri, 12 Jan 2024 12:12:21 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Tim Ritberg <tim@server.invalid> wrote:
> Am 11.01.24 um 09:47 schrieb Ulli Horlacher:
>
>>
>> SO haette ich das auch gerne! Diese prefix-tags fehlen aber bei mir!
>> Wo schaltet man die an?
>
> Das liegt sicher nicht an Amavis. Ich habe da nichts besonderes eingestellt.
> Da muss du dir deine Config von einem $syslog ansehen.

root@tandem:/etc/rsyslog.d# grep ^mail 50-default.conf
mail.* -/var/log/mail.log
mail.err /var/log/mail.err

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Fri, 12 Jan 2024 12:57 UTC
References: 1 2 3 4 5 6 7 8 9
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Fri, 12 Jan 2024 12:57:35 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 34
Message-ID: <unrcvv$3cf$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm9jg$a9g1$1@tota-refugium.de> <unmah9$pni$2@news2.informatik.uni-stuttgart.de> <unmcb0$a9g1$2@tota-refugium.de> <unmkpo$s74$1@news2.informatik.uni-stuttgart.de> <unmmnh$aeol$1@tota-refugium.de> <uno9v5$a0v$1@news2.informatik.uni-stuttgart.de> <unoe7h$bbna$1@tota-refugium.de> <unrab5$2po$1@news2.informatik.uni-stuttgart.de>
X-Trace: news2.informatik.uni-stuttgart.de 1705064255 3471 129.69.1.129 (12 Jan 2024 12:57:35 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Fri, 12 Jan 2024 12:57:35 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-91-generic (x86_64))
View all headers

Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
> Tim Ritberg <tim@server.invalid> wrote:
>> Am 11.01.24 um 09:47 schrieb Ulli Horlacher:
>>
>>>
>>> SO haette ich das auch gerne! Diese prefix-tags fehlen aber bei mir!
>>> Wo schaltet man die an?
>>
>> Das liegt sicher nicht an Amavis. Ich habe da nichts besonderes eingestellt.
>> Da muss du dir deine Config von einem $syslog ansehen.
>
> root@tandem:/etc/rsyslog.d# grep ^mail 50-default.conf
> mail.* -/var/log/mail.log
> mail.err /var/log/mail.err

Falsche Stelle. Habs:

root@tandem:/etc/rsyslog.d# vv -d 8 00-isodate.conf
--- .versions/00-isodate.conf~08~ 2017-10-25 16:11:19.000000000 +0200
+++ 00-isodate.conf 2024-01-12 13:48:36.632869465 +0100
@@ -1,2 +1,3 @@
-$template ISO8601,"%timereported:::date-pgsql% %msg%\n"
+# https://www.rsyslog.com/doc/configuration/properties.html
+$template ISO8601,"%timereported:::date-pgsql% %syslogtag%%msg%\n"
$ActionFileDefaultTemplate ISO8601

%syslogtag% fehlte!

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Tue, 7 May 2024 10:07 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Tue, 7 May 2024 10:07:44 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 79
Message-ID: <v1cuhg$506$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de> <unm9jg$a9g1$1@tota-refugium.de>
X-Trace: news2.informatik.uni-stuttgart.de 1715076464 5126 129.69.1.129 (7 May 2024 10:07:44 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Tue, 7 May 2024 10:07:44 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-105-generic (x86_64))
View all headers

Tim Ritberg <tim@server.invalid> wrote:
> Am 10.01.24 um 13:54 schrieb Ulli Horlacher:
>
>> Also hat amavis die Mailannahme verweigert - nur warum?
>
> Frag Amavis.
> log_level auf 1 oder 2

Hab ich inzwischen gemacht (und Konfigurations-Bug im rsyslog behoben).
Vorhin gabs wieder so eeine Fehlermail:

From: Mail Delivery System <MAILER-DAEMON@tandem-fahren.de>
To: Postmaster <postmaster@tandem-fahren.de>
Subject: Postfix SMTP server: errors from mr4.vodafonemail.de[145.253.228.164]
Date: Tue, 7 May 2024 11:28:12 +0200 (CEST)

Out: 220 tandem-fahren.de ESMTP Postfix (Ubuntu)
In: EHLO mr4.vodafonemail.de
Out: 250-tandem-fahren.de
Out: 250-PIPELINING
Out: 250-SIZE 33554432
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250-DSN
Out: 250 CHUNKING
In: STARTTLS
Out: 220 2.0.0 Ready to start TLS
In: EHLO mr4.vodafonemail.de
Out: 250-tandem-fahren.de
Out: 250-PIPELINING
Out: 250-SIZE 33554432
Out: 250-VRFY
Out: 250-ETRN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250-DSN
Out: 250 CHUNKING
In: MAIL FROM:<> SIZE=5263
Out: 250 2.1.0 Ok
In: RCPT TO:<liste-bounces@tandem-fahren.de>
ORCPT=rfc822;liste-bounces@tandem-fahren.de
Out: 250 2.1.5 Ok
In: DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error
In: QUIT
Out: 221 2.0.0 Bye

For other details, see the local mail logfile

Und im Syslog steht dazu:

2024-05-07 11:29:00 amavis[97956]: (97956-02) (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal: Exceeded allowed time at (eval 124) line 657.\n
2024-05-07 11:29:00 amavis[97956]: (97956-02) (!)WARN: all primary virus scanners failed, considering backups
2024-05-07 11:29:36 amavis[97913]: (97913-03) (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal: Exceeded allowed time at (eval 124) line 657.\n
2024-05-07 11:29:36 amavis[97913]: (97913-03) (!)WARN: all primary virus scanners failed, considering backups
2024-05-07 11:30:35 amavis[98202]: (97956-02) SA info: util: setuid: ruid=112 euid=112 rgid=121 119 121 egid=121 119 121
2024-05-07 11:30:38 amavis[97956]: (97956-02) SA info: pyzor: [98202] error: TERMINATED, signal 15 (000f)

Das ist das Einzige in der zeitlichen Gegend.

"queue file write error" wegen timeout?
Was macht man da? Ignorieren? :-}

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Tim Ritberg
Newsgroups: de.comm.software.mailserver
Date: Tue, 7 May 2024 11:10 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: tim...@server.invalid (Tim Ritberg)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Tue, 7 May 2024 13:10:25 +0200
Message-ID: <v1d271$4l9p$1@tota-refugium.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
<unm9jg$a9g1$1@tota-refugium.de>
<v1cuhg$506$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 7 May 2024 11:10:25 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="152889"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QTRn1DJgmA9fumpWAaK4UsC3RE4=
X-User-ID: eJwFwYEBwCAIA7CXRCi4c4qW/09YAk/LW5HIwGBKTjpaOJ88PJvgvHU1dXb18uITZhuMJv4rxRG1
Content-Language: de-DE
In-Reply-To: <v1cuhg$506$1@news2.informatik.uni-stuttgart.de>
View all headers

Am 07.05.24 um 12:07 schrieb Ulli Horlacher:
>
> 2024-05-07 11:29:00 amavis[97956]: (97956-02) (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal: Exceeded allowed time at (eval 124) line 657.\n
> 2024-05-07 11:29:00 amavis[97956]: (97956-02) (!)WARN: all primary virus scanners failed, considering backups
> 2024-05-07 11:29:36 amavis[97913]: (97913-03) (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal: Exceeded allowed time at (eval 124) line 657.\n
> 2024-05-07 11:29:36 amavis[97913]: (97913-03) (!)WARN: all primary virus scanners failed, considering backups
> 2024-05-07 11:30:35 amavis[98202]: (97956-02) SA info: util: setuid: ruid=112 euid=112 rgid=121 119 121 egid=121 119 121
> 2024-05-07 11:30:38 amavis[97956]: (97956-02) SA info: pyzor: [98202] error: TERMINATED, signal 15 (000f)
>
>
> Das ist das Einzige in der zeitlichen Gegend.
>
>
> "queue file write error" wegen timeout?
> Was macht man da? Ignorieren? :-}

Sag mal, läuft dein ClamAv nicht als Dienst/Daemon?

Tim

Subject: Re: Postfix queue file write error (amavis?)
From: Ulli Horlacher
Newsgroups: de.comm.software.mailserver
Organization: University of Stuttgart, FRG
Date: Thu, 25 Jul 2024 09:45 UTC
References: 1
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!news.datentrampelpfad.de!thinkmo.de!news.uni-stuttgart.de!.POSTED!not-for-mail
From: frams...@rus.uni-stuttgart.de (Ulli Horlacher)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Thu, 25 Jul 2024 09:45:54 +0000 (UTC)
Organization: University of Stuttgart, FRG
Lines: 68
Message-ID: <v7t6si$jh5$1@news2.informatik.uni-stuttgart.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
X-Trace: news2.informatik.uni-stuttgart.de 1721900754 20005 129.69.1.129 (25 Jul 2024 09:45:54 GMT)
X-Complaints-To: rusnews@informatik.uni-stuttgart.de
NNTP-Posting-Date: Thu, 25 Jul 2024 09:45:54 +0000 (UTC)
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/5.15.0-116-generic (x86_64))
View all headers

Ulli Horlacher <framstag@rus.uni-stuttgart.de> wrote:
> Ich bekomme seit 2 Tagen immer wieder mal solche Mails:
>
> From: Mail Delivery System <MAILER-DAEMON@...
> To: Postmaster <postmaster@...
> Subject: Postfix SMTP server: errors from ...
> Date: Wed, 10 Jan 2024 12:15:32 +0100 (CET)
>
> Transcript of session follows.
>
> Out: 220 tandem-fahren.de ESMTP Postfix (Ubuntu)
> In: EHLO ...
> Out: 250-tandem-fahren.de
> Out: 250-PIPELINING
> Out: 250-SIZE 33554432
> Out: 250-VRFY
> Out: 250-ETRN
> Out: 250-STARTTLS
> Out: 250-ENHANCEDSTATUSCODES
> Out: 250-8BITMIME
> Out: 250-DSN
> Out: 250 CHUNKING
> In: STARTTLS
> Out: 220 2.0.0 Ready to start TLS
> In: EHLO ...
> Out: 250-tandem-fahren.de
> Out: 250-PIPELINING
> Out: 250-SIZE 33554432
> Out: 250-VRFY
> Out: 250-ETRN
> Out: 250-ENHANCEDSTATUSCODES
> Out: 250-8BITMIME
> Out: 250-DSN
> Out: 250 CHUNKING
> In: MAIL FROM:<...> SIZE=3403
> Out: 250 2.1.0 Ok
> In: RCPT TO:<...>
> Out: 250 2.1.5 Ok
> In: BDAT 2380 LAST
> Out: 451 4.3.0 Error: queue file write error
>
> Session aborted, reason: lost connection
>
> For other details, see the local mail logfile

Das tritt inzwischen wieder (sporadisch) auf, top zeigt dann an:

104464 amavis 20 0 1456708 1.3g 8852 R 82.5 22.4 0:16.36 clamscan
636 clamav 20 0 3086400 2.5g 5976 R 37.4 43.1 18:39.49 clamd

Nachdem ich das loglevel erhoeht habe, finde ich nun im amavis.log:

2024-07-25 11:27:13 amavis[90789]: (90789-07) (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal: Exceeded allowed time at (eval 124) line 657.\n
2024-07-25 11:27:13 amavis[90789]: (90789-07) (!)WARN: all primary virus scanners failed, considering backups

Ich vermute eine Form von Mailbombe (rekursives zip, etc)?

(Was) kann/sollte man da tun?

--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/

Subject: Re: Postfix queue file write error (amavis?)
From: Tim Ritberg
Newsgroups: de.comm.software.mailserver
Date: Thu, 25 Jul 2024 10:26 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: tim...@server.invalid (Tim Ritberg)
Newsgroups: de.comm.software.mailserver
Subject: Re: Postfix queue file write error (amavis?)
Date: Thu, 25 Jul 2024 12:26:55 +0200
Message-ID: <v7t99f$b69a$1@tota-refugium.de>
References: <unm41k$o03$1@news2.informatik.uni-stuttgart.de>
<v7t6si$jh5$1@news2.informatik.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 25 Jul 2024 10:26:55 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="366890"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:80QeaPi6rQ7LoMnKTZfF4PJwxhc=
X-User-ID: eJwFwQcBwEAIBDBLzIPKeZZ/CU1cwegwOMzPL6q+kdSz3QVvsUw2Y8mP5zVOqAIkz1Ga+wMueRGK
In-Reply-To: <v7t6si$jh5$1@news2.informatik.uni-stuttgart.de>
Content-Language: de-DE
View all headers

Am 25.07.24 um 11:45 schrieb Ulli Horlacher:
>
> 104464 amavis 20 0 1456708 1.3g 8852 R 82.5 22.4 0:16.36 clamscan
> 636 clamav 20 0 3086400 2.5g 5976 R 37.4 43.1 18:39.49 clamd
Hast du Camav als Socket für Amavis laufen oder wird clamscan aufgerufen?

>
> Nachdem ich das loglevel erhoeht habe, finde ich nun im amavis.log:
>
> 2024-07-25 11:27:13 amavis[90789]: (90789-07) (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal: Exceeded allowed time at (eval 124) line 657.\n
> 2024-07-25 11:27:13 amavis[90789]: (90789-07) (!)WARN: all primary virus scanners failed, considering backups
>
>
> Ich vermute eine Form von Mailbombe (rekursives zip, etc)?
>
> (Was) kann/sollte man da tun?
>
>

Clamav nicht so große Mails geben.


rocksolid / de.comm.software.mailserver / Re: Postfix queue file write error (amavis?)

1
server_pubkey.txt

rocksolid light 0.9.136
clearnet tor