Alex via Postfix-users:
> Hi,
> 
> On Thu, Aug 8, 2024 at 2:13?PM Wietse Venema via Postfix-users <
> postfix-users@postfix.org> wrote:
> 
> > Alex via Postfix-users:
> > > Hi,
> > >
> > > 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")

After delivery fails, will later deliveries for that user still
succeed some of the time?  If later deliveries for that user fail
permanently, then that would suggest file system corruption.  If
later deliveries for that user fail intermittently, then memory
corruption becomes more plausible.

You could wrap vacation with ltrace and see what's up.

    "|/usr/bin/ltrace -o /tmp/strace.$$ /usr/bin/vacation username"

It gives more insight than strace. These programs may require to
be installed if not already present. The file time stamp can
be correlated with the mail log.

        Wietse

> 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.
> 
> Thanks,
> Alex

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

Reply via email to