Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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