Dear Alex,

Am 08.08.24 um 20:41 schrieb Alex via Postfix-users:

On Thu, Aug 8, 2024 at 2:13 PM Wietse Venema wrote:

Alex via Postfix-users:

I've migrated my config and user data from a fedora38 system to a fedora40
system with postfix-3.8.5 and now vacation is segfaulting for some users. I
don't understand why it's failing for some while succeeding for others.

Aug  8 12:44:00 cipher postfix/local[403497]: 280B665FBD: to=<61...@example.com>, 
relay=local, delay=5986, delays=5986/0/0/0.18, dsn=4.3.0, status=deferred (Command died with 
signal 11: "/usr/bin/vacation 61104")

Any idea what could be wrong?

I have removed the .vacation.db file in case it was somehow corrupt. I've
also verified file ownership.

# ls -l .vacation* .forward
-rw-r--r--. 1 61104 users    40 Apr 15  2022 .forward
-rw-------  1 61104 users 16384 Aug  8 12:48 .vacation.db
-rw-------. 1 61104 users   223 Jul 30  2020 .vacation.msg
-rw-------. 1 61104 users    90 Jul 30  2020 .vacation.pref
-rw-------. 1 61104 users   158 Jul 30  2020 .vacation.sq
-rw-------. 1 61104 users    19 Jul 30  2020 .vacation.subj

# cat .forward
g...@gmail.com
"|/usr/bin/vacation 61104"

Is 61104 a user account name, like this?

     postmap -q 61104 unix:passwd.byname

Historically bad choice for usernames, but yes, exactly:

postmap -q 61104 unix:passwd.byname
61104:x:3400:100:Premier Medicine Hat:/home/61104:/bin/bash

How is this different form the 'working' accounts?

That's what I'm trying to figure out. I've also noticed that sometimes it
succeeds for the same user and fails other times.

Aug  8 14:19:42 cipher postfix/local[454810]: 7BFB371CAE: 
to=<14...@example.com>, relay=local, delay=0.11, delays=0.07/0/0/0.04, 
dsn=2.0.0, status=sent (delivered to command: /usr/bin/vacation 14180)
Aug  8 14:39:01 cipher postfix/local[458067]: B2AD171CF3: to=<14...@example.com>, 
relay=local, delay=1118, delays=1118/0/0/0.13, dsn=4.3.0, status=deferred (Command died with 
signal 11: "/usr/bin/vacation 14180")

Bad memory sounds like a logical explanation here, and this is a new
server, but I just wanted to be sure I'm not missing something else.

It's a relatively active server and haven't noticed any other segfaults
(other than with vacation) after about 48 hours of operation.
Does `coredumpctl` list the crash, and can you get a backtrace?

`vacation` does not seem part of Postfix’ source. From what package is it?


Kind regards,

Paul
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to