Am 06.04.2012 21:23, schrieb sean darcy:
> Trying to route email to a script.
> 
> /etc/aliases
> cat /etc/postfix/aliases
> #fax
> sendfax:   |/home/sendfax/fax/test-fax.cmd
> 
> cat /home/sendfax/fax/test-fax.cmd
> #!/bin/sh
> cat - > output
> 
> I've opened up all the permissions:
> 
> ls -l /home/sendfax
> total 8
> drwxrwxrwx 2 sendfax sendfax 4096 Apr  6 15:08 fax
> drwx------ 5 sendfax sendfax 4096 Apr  5 20:25 Maildir
> 
> ls -l /home/sendfax/fax
> total 4
> -rwxrwxrwx 1 sendfax sendfax 25 Apr  6 15:08 test-fax.cmd
> 
> but I still get "permission denied":

do NOT set 777 anywhere!
this does not help and procuces possibly more problems at it could ever solve

what are the permissions of the parent-folders?
i bet there lies the problem


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to