can not chdir(/var/spool/mqueue/): Permission denied
Of course I don't do any chdir anywhere in the script, it's a simple open sendmail by the methods you're all familiar with. Being Dirt-Cheap-Hosting I only have access via FTP. Everything was working fine until a few days ago, no new changes.
So am I correct in assuming this is an issue with the host? Any ideas to work around it? Sendmail is the only command-line mail they offer.
Yeah it's your typical perl sendmail usage, with -t to reduce abuse on the pipe
open (MAIL,"¦ $mailprog -t") or &error("Cannot start $mailprog $!");
With a content-type header at the top it stops with the mailqueue error and never gets to my error sub. The folks I'm doing this for have zero technical knowledge, and when I presented the question to the host they replied "have the primary account holder call us to discuss the issue." They won't have a clue what to tell them!
Ya get what ya pay for I guess.
EDIT: in my absence, Lo and behold, it has gone away, apparently they have fixed it.