Gossamer Forum
Home : General : Perl Programming :

guru needed - email to perl script

Quote Reply
guru needed - email to perl script
I'm getting an error when I try to pipe the email. I hope you can suggest me something

I would like to log incoming emails to my info box

... /qmail/mailnames/domain.com/.qmail-info
-------------------------------------------
|/root/parsemail.pl

-------------------------------------------

.qmail-info is owned by popuser:popuser, chmoded 600

/root/parsemail.pl is ownerd by popuser:popuser and chmoded 755

My maillog error is

qmail: 1079698609.398747 delivery 84631: deferral: /bin/sh:_/root/parsemail.pl:_Permission_denied/

I get the same error even if I change the ownership to root:qmail

By the way.. before you ask ..I can execute /root/parsemail.pl from the command line.

Do you have any experience with this problem?

Thanks!!