You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Daniel Perry <d....@netcase.co.uk> on 2004/03/29 13:32:20 UTC

sendmail and james not working :(

Hi,
I've followed the instructions for making sendmail forward to james.

It works for users local to james, no prbs.

BUT it doesnt work once it needs authentication - see output below!

/etc/mail/sendmail.cf file has the following related to smtp auth:

# list of authentication mechanisms
O AuthMechanisms=LOGIN PLAIN EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5

# default authentication information for outgoing connections
O DefaultAuthInfo=/etc/mail/default-auth-info

# SMTP AUTH flags
O AuthOptions=A

But, it doesnt seem to use auth!
note /etc/mail/default-auth-info is as specified

Any thoughts?

Daniel.


[root@p4-7138 root]# mail -v d.perry@netcase.co.uk
Subject: test
test
.
Cc:
d.perry@netcase.co.uk... Connecting to [127.0.0.1] via relay...
220 p4-7138.uk2net.com SMTP Server (JAMES SMTP Server 2.1.3) ready Mon, 29
Mar 2
004 12:33:12 +0100 (BST)
>>> EHLO p4-7138.uk2net.com
250-SIZE 10240000
250-p4-7138.uk2net.com Hello p4-7138.uk2net.com (p4-7138.uk2net.com
[127.0.0.1])

250-AUTH LOGIN PLAIN
250 AUTH=LOGIN PLAIN
>>> MAIL From:<ro...@p4-7138.uk2net.com> AUTH=root@p4-7138.uk2net.com
250 Sender <ro...@p4-7138.uk2net.com> OK
>>> RCPT To:<d....@netcase.co.uk>
530 Authentication Required
>>> RSET
250 OK
>>> RSET
250 OK
root... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> MAIL From:<>
250 Sender <> OK
>>> RCPT To:<ro...@p4-7138.uk2net.com>
250 Recipient <ro...@p4-7138.uk2net.com> OK
>>> DATA
354 Ok Send data ending with <CRLF>.<CRLF>
>>> .
250 Message received
root... Sent (Message received)
Closing connection to [127.0.0.1]
>>> QUIT
221 p4-7138.uk2net.com Service closing transmission channel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org