Hi,

i've been trying to set up policyd in my system for weeks, but i can't 
get it working as i want.
I'm using postfix and freebsd in a local machine. Postfix has both uses: 
incoming and outgoing mails.
The thing is that i've set up policyd to work on mysql and if i use this 
server as "smtp server" from thunderbird, policyd logs its activities in 
the maillog file and actually works as i want. 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.

Is that a normal behaviour? can i do anything at all to make postfix use 
policyd when i run a script from the command line interface?
The thing is that when i run a script, postfix logs that the email has 
been sent but policyd doesn't appear anywhere. The lines written in the 
log file in this case are exactly the same as the ones when i use the 
stmp server from thunderbird, but it's just that the policyd lines are 
omitted.

the only thing i did to add policyd support into postfix was to add this 
line in the main.cf

check_policy_service inet:127.0.0.1:10031

in the "smtpd_client_restrictions" section


Thanks.

-------------------------------------------------------------------------
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
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to