What's going on with this SMTP AUTH.
I setup one RedHat AS3 sendmail server. but i get a problem is the sendmail server just relay the mail which was listed in the /etc/mail/access use Outlook Express.
here is what i'm doing
1. install cyrus-SASL rpm
2. enable the option sasl in /etc/mail/sendmail.mc
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
3. test my sasl
[root@linuxas]#sendmail -d0.1 -bv root |grep SASL
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS
at this time i'm trying to test my SMTP use OE. but i can not pass it, my OE always ask me the password. it's not work whatever i input my correct password.
i'm use #saslpasswd2 -c user_name to add my user to sasl database
and use #sasldblistusers2 to check whether my user in the list. i confirm my user in that list.
at this time the outlook express not ask me password.
so i guess my sasl auth is work
and then i delete the item in the /etc/mail/access
but i just can not send mail to any address except my own domain user.
if i send mail to other server, i get following error:
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'firstname.lastname@example.org'. Subject 'test', Account: '10.1.104.9', Server: '10.1.104.9', Protocol: SMTP, Server Response: '550 5.7.1 <email@example.com>... Relaying denied. IP name lookup failed [10.1.104.2]', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79
following line is my /usr/lib/sasl2/Sendmail.conf content
/usr/lib/sasl2/smtp.conf as following:
so .... how to resolve this question
i'm now just add many domain in the /etc/mail/access to grant the permission
Thanks for your helps
Last edited by exper; 12-25-2004 at 04:03 AM.