Hi everyone!

I'm using the Mai::Box module for reading mail from a client's inbox and then I have to validate some info in the headers and last I have to send a new mail to another client based in the info of the first message....It works great .. but...I want to execute the script like a normal user, not as root, 'cause the connection SMTP is open by the root .. but the header in the new message says "From: [EMAIL PROTECTED]"...so it's like masquerading the true address... Well like I said .. when the script is executed by the root everything it's fine... but when I run it like a normal user I get this :

WARNING: Couldn't get a lock on folder /var/spool/mail/client.
WARNING: mbox: Folder /var/spool/mail/client does not exist.
Can't call method "messages" on an undefined value at box.pl line 11.

I don't know if Linux lock the file for the user ... but it's stupid, cause I'm tryng to run the script like "client", the owner of the inbox ...
Please help...




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to