Roland Vogt wrote:

>So, I set up on Thunderbird my mail with my server as SMTP server. 
>When I coment the lines for policyd in <http://main.cf>main.cf it 
>works. But If I uncoment the lines I can't send mail. I can see 
>nothing in the log files. Normal or bad configuration of Policyd ?

"can't send mail" is not a problem description !

What does Postfix log - it **WILL** log something ?
Does Postfix even start ?

You can test the policy daemon by sending a query to it with nc 
(netcat) like this (replace all <...> with your values) :


echo 'request=smtpd_access_policy
protocol_state=RCPT
protocol_name=ESMTP
client_address=<your pc IP>
client_name=<your PC name>
reverse_client_name=<your PC name>
helo_name=<your PC name>
sender=<your email address>
recipient=<another email address>
recipient_count=0
queue_id=1E3C749E0
instance=c6a2. 484aa120. 06ad0.f
size=1167
etrn_domain=
stress=
sasl_method=LOGIN
sasl_username=<your login>
sasl_sender=
ccert_subject=
ccert_issuer=
ccert_fingerprint=
encryption_protocol=
encryption_cipher=
' | nc localhost 10031

You should get a one line response to this.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to