Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
What did you change before this stopped working? –  SvW Sep 10 '12 at 16:20
    
That's the problem - I don't know. One possibility is that the PHP application was using Swift_MailTransport previously and that works, but I'd still like to know why Swift_SendmailTransport isn't working.. –  Tatu Ulmanen Sep 10 '12 at 16:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.