I found a way to work around the problem. I still don't understand de exact reason for the problem.

But Wietse Veenema hinted that perhaps an underlying and not very clear protection system prohibited the open() call in the binary queue. One possibility could have been the systemd service but changing to a start/stop script in init.d wasn't the solution. Today I decided to install a fresh sympa in a more debian way. Configure and install without the prefix /usr/local/sympa. The configure I used  is now:

./configure \
   -enable-fhs \
   --sysconfdir=/etc/sympa \
   --sbindir=/usr/lib/sympa/bin \
   --libexecdir=/usr/lib/sympa/bin \
   --with-cgidir=/usr/lib/cgi-bin/sympa \
   --with-staticdir=/usr/share/sympa/static_content \
   --with-cssdir=/var/lib/sympa/css \
   --with-picturesdir=/var/lib/sympa/pictures \
   --datadir=/usr/share \
   --localedir=/usr/share/locale \
   --mandir=/usr/share/man \
   --docdir=/usr/share/doc/sympa \
   --with-piddir=/run/sympa \
   --without-initdir \
   --with-unitsdir=/etc/systemd/system \
   --with-user=sympa \
   --with-group=sympa \
   --with-aliases_file=/etc/mail/sympa/aliases \

And it runs without a problem (sofar). Thanks for all the help and suggestions.

PS: It made me nostalgic. Back in the day, we were still in charge on a Linux/unix system.


Op 4-2-2026 om 21:42 schreef Ruud Baart:

If i follow your strace statement, the mail is stored in the postfix active spool directory

    -Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient-------
    3DEF95F444E*    2688 Wed Feb  4 21:32:05 [email protected]
    [email protected]

It is stored as expected in /var/spool/postfix/active/3DEF95F444E

in de logging:

Feb 04 20:14:20 monk postfix/pipe[17727]: 00C185F444E: to=<[email protected]>, relay=sympa, delay=1695,  delays=694/0.01/ 0/1000, dsn=5.3.0, status=bounced (Command time limit exceeded: "/usr/bin/strace") Feb 04 21:32:05 monk kernel: audit: type=1326 audit(1770237125.277:124): auid=4294967295 uid=120 gid=126 ses=4294967295 subj=unconfined pid=26499 comm="strace" exe="/usr/bin/strace" sig=31 arch=c000003e syscall=101 compat=0 ip=0x7f9eef626888 code=0x80000000


Op 4-2-2026 om 19:01 schreef Jean Charles Delépine:
Quoting Ruud Baart <[email protected]>:

In postfix master.cf

sympa   unix    -       n       n       -       -       pipe
  flags=hqRu null_sender= user=sympa argv=/usr/local/sympa/bin/queue ${nexthop}

Change that by :
sympa   unix    -       n       n       -       -       pipe
   flags=hqRu null_sender= user=sympa argv=strace -o /var/tmp/queue /usr/local/sympa/bin/queue ${nexthop}

And send a mail.

You should find something like :
[...]
chdir("/var/spool/sympa/queue")         = 0
umask(027)                              = 077
getpid()                                = 445618
openat(AT_FDCWD, "[email protected]", O_WRONLY|O_CREAT, 0600) = 3
[...]

Maybe that can clarify things.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to