I'm trying to use gmi (https://github.com/gauteh/lieer#gmailieer) as a
pipe service under Postfix 3.9.0.

The gmi part itself works correctly via the shell, and postfix works
correctly to transport mail to other services defined in master.cf as
SMTP sites.

The entry in master.cf is:

        gmail  unix  y       n       n       -       5      pipe user=MyUser 
argv=/home/MyUser/.local/bin/gmi send -t --verbose -C /home/MyUser/gmail

Postfix correctly spawns gmi, which crashes consistently.

Based on looking at strace results comparing successful use of gmi
manually vs failures when called by postfix, the issue seems to be
in gmi failing to set a signal handler. My wild guess is that postfix
is preventing the gmi child process (running as an unprivileged user)
from calling rt_setsigproc().

I've opened an issue with lieer:

        https://github.com/gauteh/lieer/issues/302

but I'm hoping someone here has any suggestions about controlling
(permitting?) programs called as a pipe service by postfix to set their
own signal handlers.

Thanks,

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

Reply via email to