> There may be other references to people who have tried similar set ups 
> in the mailing list: http://lists.policyd.org/pipermail/users/

> But in particular have a look at this message and I think you'll find 
> the information you need: 
> http://lists.policyd.org/pipermail/users/2011-September/003532.html

Hi Robert,
thanks for reply.
Thanks to your link I've learned that PHP usually just drop mail in queue 
without using smtp so policyd can't see it.
So I googled a little and I found some suggestion:
modify php.ini to be like "sendmail_path = /usr/sbin/sendmail.postfix -t -i"

This change doesn't solve as mails keep passing out but into policyd log I can 
see lines like these everytime mails are sent by php:
[2012/02/09-11:09:13 - 2412] [CORE] INFO: 2012/02/09-11:09:13 CONNECT TCP Peer: 
"127.0.0.1:41264" Local: "127.0.0.1:10031"
[2012/02/09-11:09:13 - 31193] [CORE] INFO: Starting "1" children
[2012/02/09-11:09:17 - 3044] [CORE] INFO: 2012/02/09-11:09:17 CONNECT TCP Peer: 
"127.0.0.1:41291" Local: "127.0.0.1:10031"
[2012/02/09-11:09:47 - 31193] [CORE] INFO: Killing "1" children

Actually I'm still looking around for a way to force PHP to ues SMTP instead of 
"drop a mail in the queue"

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to