Re: Trouble sending mail to a piped alias

From: Kirk Strauser (no email)
Date: Wed Mar 04 2009 - 11:41:49 EST

  • Next message: Charles Marcus: "Re: postconf -n suggestion"

    On Wednesday 04 March 2009 10:19:01 Wietse Venema wrote:
    > Kirk Strauser:
    > > $ sudo /usr/local/www/data/bugzilla/email_in.pl < /tmp/bugtest
    >
    > This executes the command as ROOT. This test is invalid because:
    > > Mar 4 09:46:31 web2 local[61974]: fatal: execvp
    > > /usr/local/www/data/bugzilla/email_in.pl: No such file or directory
    >
    > This executes the command as NON-ROOT.

    For the benefit of others:

    Fixed by creating a new aliases-www file with group www and adding that to
    alias_maps and alias_database, then moving the alias to that file so the piped
    command runs with group www.

    -- 
    Kirk Strauser
    

  • Next message: Charles Marcus: "Re: postconf -n suggestion"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD