Enrique Verdes wrote:
I'm setting up a courier 0.53 mail server with ldap users. I can't send
mail to or from users on this new server. Users should authenticate, and
this is functioning as far as the logs tell me. I have the IP of my
internal network in esmtpaccess file with "allow, RELAYCLIENT", and as
you can see sending user is being accepted.
Unrelated to your problem, I'd note that you don't need to both
authenticate *and* specify RELAYCLIENT in the esmtpaccess file. Either
one will allow users to relay messages. If you want to make sure that
users authenticate, you should remove the RELAYCLIENT settings from
esmtpaccess, so that they can't relay unless they AUTH.
Here is the maillog snippet:
Jan 17 11:40:10 njupiter courieresmtpd: RCPT TO:<othe...@example2.com.uy>
Jan 17 11:40:10 njupiter courieresmtpd:
error,relay=client-ip-address,from=<us...@example.com.uy>,to=<othe...@example2.com.uy>:
400 Service temporarily unavailable.
That error message indicates that there's a problem resolving aliases.
Maybe run "makealiases"? If LDAP_ALIAS is set to 1 in
/etc/courier/ldapaliasrc, try setting it to 0 and get the rest of your
setup tested, before you try to add LDAP aliases to the mix.