* Kirk Strauser <k...@strauser.com>:
> 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 )

Did you maybe chroot local?


-- 
Ralf Hildebrandt (ralf.hildebra...@charite.de)          snick...@charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
"I rigged my cellular to send a message to my PDA, which is online with
my PC, to get it to activate the voicemail, which sends the message to
the inbox of my email, which routes it to the PDA, which beams it back
to the cellular. Then I realized my gadgets have a better social life
than I do." !"  - Tom Ostad. 

Reply via email to