Re: Trouble sending mail to a piped alias

From: Ralf Hildebrandt (no email)
Date: Wed Mar 04 2009 - 11:14:17 EST

  • Next message: Wietse Venema: "Re: Trouble sending mail to a piped alias"

    * Kirk Strauser <>:
    > 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=<kirk at 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-daemon at 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 ()          
    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. 
    

  • Next message: Wietse Venema: "Re: Trouble sending mail to a piped alias"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD