|
Question : Relaying mail using the AUTH-SMTP in Redhat 9
|
|
I am able to pop and send mail with my outlook client in clear text.
Two questions. 1 Is it possible to use sasldb2 to authenticate the pop3. Not sure the settings that I need to make at the server.
2 How to solve the problem of relaying denied.
I have configured the sendmail.mc to relay mail using AUTH-SMTP. Created users into the sasldb2. The mail server is behind a firewall. When I try to send mail to the server for relaying from the internet I get an error relaying is denied. [root@oldguard log]# sendmail -O LogLevel=14 -bs -Am 220 mydomain.com ESMTP Sendmail 8.12.8/8.12.8; Mon, 5 Apr 2004 01:10:37 +0800 ehlo localhost 250-mydomain.com Hello root@localhost, pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP and the content of the maillog from /var/log/maillog Apr 5 01:10:37 sasco sendmail[13133]: NOQUEUE: connect from root@localhost Apr 5 01:10:37 sasco sendmail[13133]: STARTTLS: ServerCertFile missing Apr 5 01:10:37 sasco sendmail[13133]: AUTH: available mech=DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN Apr 5 01:10:37 sasco sendmail[13133]: i34HAbFF013133: Milter: no active filter Apr 5 01:10:51 sasco sendmail[13133]: i34HAbFF013133: root@localhost did not is sue MAIL/EXPN/VRFY/ETRN during connection to stdin
Any help and pointers would be apprecaited.
Rgds Atma
|
Answer : Relaying mail using the AUTH-SMTP in Redhat 9
|
|
From what I can see, the test1 account and the server config are now consistant and SNTP AUTH should work. From the maillog in the last comment it looks like AUTH wasn't tried because the mail server allowed the connection as a result of an access map or DNS lookup provision. To tell if AUTH worked with that client it would be necessary test from a client whose relayed message is known to fail without AUTH.
Trying to test authentication to SMTP can't be done on the command line when telneting to the mail server. You can't simply enter the login name and password. That data and some other stuff must be in a bas64 encoded packet set to the Sendmail server. See http://sendmail.org/~ca/email/authrealms.html#authexamples for examples of that exchange.
|
|
|