LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 12-25-2004, 02:58 AM   #1
exper
Member
 
Registered: Jul 2003
Location: China
Distribution: Redhat
Posts: 48

Rep: Reputation: 15
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 'xxxx@yahoo.com'. Subject 'test', Account: '10.1.104.9', Server: '10.1.104.9', Protocol: SMTP, Server Response: '550 5.7.1 <xxxx@yahoo.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
pwcheck_method: saslauthd
mech_list:LOGIN PLAIN
/usr/lib/sasl2/smtp.conf as following:
pwcheck_method: saslauth

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 03:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 08:19 AM
postfix and smtp auth FragInHell Linux - Software 2 10-05-2005 06:23 AM
Problem when use SMTP auth. serchen Linux - Software 0 09-24-2005 09:53 AM
SMTP Auth with qmail?! Psykoral Linux - Software 1 12-17-2003 03:33 PM
Sendmail / SMTP Auth cleaner416 Linux - Networking 3 10-06-2003 10:40 AM


All times are GMT -5. The time now is 02:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration