When sending mails from a PHP script using SwiftMailer and Swift_SendmailTransport, the execution hangs and mail.log shows the following entries:
postfix/smtpd[14003]: warning: connect #1 to subsystem /var/spool/postfix/private/proxymap: Permission denied
postfix/smtpd[14003]: warning: connect #2 to subsystem /var/spool/postfix/private/proxymap: Permission denied
...
postfix/smtpd[14003]: warning: connect #10 to subsystem /var/spool/postfix/private/proxymap: Permission denied
postfix/smtpd[14003]: fatal: connect #11 to subsystem /var/spool/postfix/private/proxymap: Permission denied
All I know that this used to work, and has something to do with permissions. While investigating this myself I have been able to fix a slew of other problems, but I have no idea where I should start with this.
The proxymap mentioned in the warning is owned by postfix:postfix and has permissions srw-rw-rw-, shouldn't this make it usable to anybody?
What could be the cause of this and how can I fix sending of emails?
Swift_MailTransportpreviously and that works, but I'd still like to know whySwift_SendmailTransportisn't working.. – Tatu Ulmanen Sep 10 '12 at 16:22