natol44 has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

Despite it isn't a pure perl problem, I hope somebody can help, after a few hours spent without solution, thank you!


I need to pipe the incoming email at xxx@domain.com (CentOS, Plesk, qmail). In the correct place I setup a .qmail.xxx file with :

| /var/etc.../domain.com/httpdocs/test/test.pl

test.pl is chmod 755, chown popuser, chgrp popuser, the directory /test/ is chmod 755

I also tried 777 for both, tried user/group as root, as the usual user/group of the domain, etc

It does not work, qmail log shoes a "permission denied" when trying to run test.pl

Any suggestion?

Thanks for assistance !

Replies are listed 'Best First'.
Re: Permissions for email piping
by almut (Canon) on Mar 16, 2010 at 07:33 UTC
    | /var/etc.../domain.com/httpdocs/test/test.pl
    test.pl is chmod 755, chown popuser, chgrp popuser, the directory /test/ is chmod 755

    What about the directories further up in the tree, i.e. httpdocs, domain.com, etc.;  are they at least 'x' ("executable", i.e. traversable) for the popuser?