Outgoing authentification?

Hi. I recently install EHCP 0.29.07 and everything works great.

I would like to force authentification on outgoing mail, as I don't like the idea that anyone can (ab)use my smtp server.

I tried configuring postfix using the instructions mentioned here without any luck, and have now reversed to EHCP standard configuration.

Does anyone know how to get it right?

i didnt tested for a long time, if anybody without auth can send by using a server with ehcp.

I think it may be enaugh to include following in /etc/postfix/main.cf:

smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access hash:/var/lib/pop-before-smtp/hosts, warn_if_reject,reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit

i didnt tested it, just found and wrote here... you can test...
i will test, try and write here asap.

I inserted the line you suggested in /etc/postfix/main.cf and restarted postfix.
I'm still able to send unauthenticated messages, and when enabling authentification in my email client (thunderbird) using my mail address as user, it won't accept my login.

the line includes this part "check_client_access hash:/var/lib/pop-before-smtp/hosts,"
however when I check the listing in the mentioned library i only see one file hosts.db

Could this be something?

and i must say that the config of ehcp is very similar to the one you gave link, http://flurdy.com/docs/postfix/