Jordi Moles escreveu:
However, if i run, for example, a perl or php script which calls function mail(), policyd just doesn't do anything, it doesn't even write anything in the logs.
Of course you can modify your PHP scripts to 'connect on port 25' instead of delivering through sendmail binary. That would be some substancial changes and, anyway, why the hell would you like to have your own generated emails being greylisted ???? :)
If you're using policyd for throttling, for example, than having your own local generated mails getting policyd would be a nice idea. On that case, you'll have to modify your script and stop using mail() function. Interesting idea would use some of those PEAR classes which are already done and can handle this 'connect to SMTP' email sending situation, instead of sendmail deliverying.
http://pear.php.net/package/Mail http://pear.php.net/package/Mail_Mime http://phpmailer.codeworxtech.com/and there it goes .... there are hundreds of them. Any decent email class should provide you with the ability of connecting to SMTP port .... google it and good luck :)
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
[EMAIL PROTECTED]
My SPAMTRAP, do not email it
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ policyd-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/policyd-users
