Merve Temizer:
> I have a line in master.cf
> 
> apipe unix - n n - - pipe user=pstfx flags=Rq argv=perl /home/merve/
> myscript.pl null_sender= -f ${sender} -- ${recipient}
> 
> I see line
> 
> dsn=5.3.0, status=bounced (Command died with status 13: "perl". Command
> output: Permission denied at /home/merve/myscript.pl line 4. )
> 
> in /var/log/mail.log
> 
> In my perl code the line 4 is:
> 
> open OUTPUT, '>', "output.txt" or die $!;
> 
> 
> I tried
> 
> chmod 777 /home/merve/output.txt

First, your script does not have "open OUTPUT, '>', "/home/merve/output.txt".
Instead it has "open OUTPUT, '>', "output.txt". See the difference?

Second, you will lose email because Postfix delivers mail in parallel.

Third, what problem are you trying to solve? Please describe the
problem, not your solution (write email to file). 

        Wietse

Reply via email to