I'm trying to allow users to reply to Bugzilla emails, but I'm having trouble 
getting Postfix to execute the command that 
handles this.  The proper alias is defined:

$ postconf | grep ^alias_maps
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
$ grep bugzilla-daemon /etc/aliases
bugzilla-daemon:        "| /usr/local/www/data/bugzilla/email_in.pl"

The program exists and works when tested on a local file:

$ ls /usr/local/www/data/bugzilla/email_in.pl
/usr/local/www/data/bugzilla/email_in.pl
$ sudo /usr/local/www/data/bugzilla/email_in.pl < /tmp/bugtest
$

However, when I sent mail to that alias, I get:

Mar  4 09:46:31 web2 postfix/qmgr[58081]: DC2E855E59D: from=<k...@desktop>, 
size=305, nrcpt=1 (queue 
active)
Mar  4 09:46:31 web2 local[61974]: fatal: execvp 
/usr/local/www/data/bugzilla/email_in.pl: No such file or directory
Mar  4 09:46:31 web2 postfix/local[61973]: DC2E855E59D: 
to=<bugzilla-dae...@web2>, relay=local, delay=1126, 
delays=1126/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command 
output: local: fatal: execvp 
/usr/local/www/data/bugzilla/email_in.pl: No such file or directory )

I'm sure I'm missing something simple, but don't know where to go from here.
-- 
Kirk Strauser

Reply via email to