From: Ralf Hildebrandt on
Today I found:

Dec 31 20:05:54 mail-ausfall kernel: [876822.781710] smtpd[27410] general protection ip:80813d8 sp:bf9c2d68 error:0 in smtpd[8048000+53000]
Jan 1 21:22:23 mail-ausfall kernel: [967812.555067] smtpd[1590] general protection ip:80813d8 sp:bfbebe28 error:0 in smtpd[8048000+53000]
Jan 2 04:36:23 mail-ausfall kernel: [993852.201068] smtpd[5253] general protection ip:80813d8 sp:bfd2aa38 error:0 in smtpd[8048000+53000]

but these are not backed by any "error" or "fatal" entries in the log;
instead I found these:

Jan 1 20:19:41 mail-ausfall postfix/verify[26329]: fatal: close database /var/lib/postfix/verify.db: No such file or directory
Jan 1 21:52:04 mail-ausfall postfix/verify[31780]: fatal: close database /var/lib/postfix/verify.db: No such file or directory
Jan 2 04:09:40 mail-ausfall postfix/verify[2919]: fatal: close database /var/lib/postfix/verify.db: No such file or directory
Jan 2 04:42:40 mail-ausfall postfix/verify[4901]: fatal: close database /var/lib/postfix/verify.db: No such file or directory
Jan 2 10:17:55 mail-ausfall postfix/postscreen[17151]: fatal: close database /var/lib/postfix/ps_cache.db: No such file or directory

Which also baffle me, since:

# ls -l /var/lib/postfix/verify.db
-rw-r--r-- 1 postfix postfix 20844544 2. Jan 10:28 /var/lib/postfix/verify.db
# ls -l /var/lib/postfix/ps_cache.db
-rw------- 1 postfix postfix 6131712 2. Jan 10:24 /var/lib/postfix/ps_cache.db

I updated to postfix-2.7-20100101 these minutes; maybe something
changes.

--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt(a)charite.de | http://www.charite.de


From: Ralf Hildebrandt on
* Ralf Hildebrandt <Ralf.Hildebrandt(a)charite.de>:

> I updated to postfix-2.7-20100101 these minutes; maybe something
> changes.

postfix-2.7-20091228-nonprod was the old version that caused all the
logentries.

--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt(a)charite.de | http://www.charite.de


From: Wietse Venema on
Ralf Hildebrandt:
> * Ralf Hildebrandt <Ralf.Hildebrandt(a)charite.de>:
>
> > I updated to postfix-2.7-20100101 these minutes; maybe something
> > changes.
>
> postfix-2.7-20091228-nonprod was the old version that caused all the
> logentries.

Introduced 20091227, fixed 20091230 (dangling pointer in event manager).

Sometimes non-production software has a defect.

Wietse

From: Len Conrad on

>Dec 31 20:05:54 mail-ausfall kernel: [876822.781710] smtpd[27410] general protection ip:80813d8 sp:bf9c2d68 error:0 in smtpd[8048000+53000]

....I have none of these.

>Jan 1 20:19:41 mail-ausfall postfix/verify[26329]: fatal: close database /var/lib/postfix/verify.db: No such file or directory

I don't use verify anymore, but we get these each time we stop postfix:


>Jan 2 10:17:55 mail-ausfall postfix/postscreen[17151]: fatal: close database
>/var/lib/postfix/ps_cache.db: No such file or directory


Jan 2 09:26:06 mx7 postfix/master[32550]: terminating on signal 15
Jan 2 09:26:06 mx7 postfix/postscreen[32558]: fatal: close database /var/db/postfix/ps_cache.db: No such file or directory

mx7# egrep -i "postscreen" /var/log/maillog | awk '{ print $6}' | sort -f | uniq -ic | sort -rfn
404335 PASS
347830 BLACKLISTED
60258 PREGREET
2124 HANGUP
593 warning:
193 WHITELISTED
35 fatal: <<<<<<<<<

mx7# postconf mail_version
mail_version = 2.7-20091209

Wietse gave a patch but I'm waiting for it to be fixed in a snapshot.

Len

From: Wietse Venema on
Len Conrad:
>
> >Dec 31 20:05:54 mail-ausfall kernel: [876822.781710] smtpd[27410] general protection ip:80813d8 sp:bf9c2d68 error:0 in smtpd[8048000+53000]
>
> ...I have none of these.
>
> >Jan 1 20:19:41 mail-ausfall postfix/verify[26329]: fatal: close database /var/lib/postfix/verify.db: No such file or directory
>
> I don't use verify anymore, but we get these each time we stop postfix:
>
> >Jan 2 10:17:55 mail-ausfall postfix/postscreen[17151]: fatal: close database
> >/var/lib/postfix/ps_cache.db: No such file or directory

That is that stupid but HARMLESS Berkeley DB bug where they
barf when a process closes a database after a it fork()s.

I'm running a DB version that does not do such things, so it
did not show up in my testing.

I'll fix this in the next release.

Wietse