This is not a Perl problem.
Postfix processes run with the minimum privileges required to get the job done. Handing off a message from the Postfix core to an external process is done via the master.cf file. You can specify under which account name the process should be run. That should solve your permissions issue. Note that you will require root access to edit the file and signal the changes with a postfix reload.
• another intruder with the mooring in the heart of the Perl
In reply to Re: Problem writing when running script from Postfix mail to script
by grinder
in thread Problem writing when running script from Postfix mail to script
by Xxaxx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |