bergman--- via Postfix-users:
> 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().

Postfix does nothing to prevent a child process from making a system
call.  For blocked calls, you may find more useful info in SeLinux
or AppArmor event logs.

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

Reply via email to