3 messages in net.sourceforge.lists.courier-users[courier-users] 400: Service temporar...
FromSent OnAttachments
Enrique VerdesJan 17, 2007 6:19 am 
Eduardo RoldanJan 17, 2007 6:57 am 
Gordon MessmerJan 17, 2007 1:18 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] 400: Service temporarily unavailable error.Actions...
From:Enrique Verdes (ever@uygroup.com.uy)
Date:Jan 17, 2007 6:19:18 am
List:net.sourceforge.lists.courier-users

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. Here is the maillog snippet:

Jan 17 11:40:10 njupiter courieresmtpd: AUTH LOGIN Jan 17 11:40:10 njupiter authdaemond: received auth request, service=esmtp, authtype=login Jan 17 11:40:10 njupiter authdaemond: authldap: trying this module Jan 17 11:40:10 njupiter authdaemond: selected ldap protocol version 3 Jan 17 11:40:10 njupiter authdaemond: binding to LDAP server as DN 'cn=Manager,o=Enterprise, c=UY' Jan 17 11:40:10 njupiter authdaemond: using search filter: (&(objectClass=CourierMailAccount)(mail=us@example.com.uy)) Jan 17 11:40:10 njupiter authdaemond: one entry returned, DN: mail=us@example.com.uy,o=enterprise,c=UY Jan 17 11:40:10 njupiter authdaemond: authldaplib: sysusername=<null>, sysuserid=65533, sysgroupid=65533, homedir=/data/courier/enterprise/user, address=us@example.com.uy, fullname=User Name, maildir=<null>, quota=<null>, options=<null> Jan 17 11:40:10 njupiter authdaemond: password matches successfully Jan 17 11:40:10 njupiter authdaemond: Authenticated: sysusername=<null>, sysuserid=65533, sysgroupid=65533, homedir=/data/courier/enterprise/user, address=us@example.com.uy, fullname=User Name, maildir=<null>, quota=<null>, options=<null> Jan 17 11:40:10 njupiter courieresmtpd: MAIL FROM:<us@example.com.uy> SIZE=380 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.

This is the output of netstat -nltp, so you can see all ports courier manage are listening tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 16027/couriertcpd tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 16015/couriertcpd tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 15995/couriertcpd tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 16010/couriertcpd tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 16021/couriertcpd tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 16002/couriertcpd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 15986/couriertcpd

I captured the TCP stream with tcpdump and this is the result. 220 mail.example.com.uy ESMTP EHLO [ip-servidor] AUTH LOGIN 334 adfadfad adfadfadfad== 334 adfadfadf adfadfadf 235 Ok MAIL FROM:<us@example.com.uy> SIZE=404 250 Ok. RCPT TO:<othe@example2.com.uy> 400 Service temporarily unavailable.

out of this, the other conections are to the LDAP server running on the same machine. I can't see any other conection related to the mail service.

I've reviewed all my configuration files and can't find why this is happening or what service is trying to connect to. If you can give me some clue it'll be greatly appreciated.

Best regards