Hi,

I'm struggling with external command delivery in a simple /etc/aliases file:

scan:|/usr/local/bin/deliver_scan.py

The email bounces with <|/usr/local/bin/deliver_scan...@antipoul.fr>
(expanded from <s...@antipoul.fr>): unknown user:
"|/usr/local/bin/deliver_scan.py"

I enabled verbosity in trivial-rewrite and cleanup, and it seems that
cleanup does the lookup in the /etc/aliases file, and after that, it
appends $my_origin.

I experienced this behavior with either an authenticated client or an
external sender.

And, of course, commands should be allowed:

# postconf -f | grep 'allow'
allow_mail_to_commands = alias, forward
allow_mail_to_files = alias, forward

Is there something more I can do to know why or how this happens?

Thanks a lot for your answers, and have a nice day,

Adrien

Reply via email to