I have downloaded and am attempting to set up a Solaris 10 system to use mail relay for a small number of outgoing emails. I have an email account and thus a username and password for this provider.
I have set this exact configuration up in the past with different providers but I am running into issues I am unable to resolve.
I compiled and installed sendmail 8.13.8 using the sasl libraries and an appropriate sendmail.mc file
I am attempting to use the /etc/mail/default-auth-inf
o files for holding the authentication data as I have in the past but nothig is working.
Here are some usefull outputs:
RUN FROM LOCAL HOST
sendmail -d0.1 -bv root
Version 8.13.8
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NDBM NETINET NETINET6 NETUNIX NIS NISPLUS PIPELINING
SASLv2 SCANF XDEBUG
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = Charon
(canonical domain name) $j = Charon.localdomain
(subdomain name) $m = localdomain
(node name) $k = Charon
==========================
==========
==========
==========
quit
telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 Charon.localdomain ESMTP Sendmail 8.13.8/8.13.8; Wed, 9 Apr 2008 13:22:16 -0600 (MDT)
ehlo localhost
250-Charon.localdomain Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
quit
221 2.0.0 Charon.localdomain closing connection
Connection to localhost closed by foreign host.
END
I am concerned that I did not get an "AUTH" output line from the telnet. Thus I am not certain that authorization is enabled.
SENDMAIL.MC FILE
divert(0)dnl
VERSIONID(`$Id: ITI-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro Exp $')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
define(`confFALLBACK_SMART
HOST', `mailhost$?m.$m$.')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
define(`SMART_HOST', `smtpout.secureserver.net'
)dnl
define(`confAUTH_MECHANISM
S', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confDEF_AUTH_MECHA
NISMS',`/e
tc/mail/de
fault-auth
-info')dnl
FEATURE(`authinfo',`dbm /etc/mail/default-auth-inf
o')dnl
define(`confAUTH_OPTIONS',
`A')dnl
TRUST_AUTH_MECH(`EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
LOCAL_NET_CONFIG
R$* < @ $* .$m. > $* $#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3
END OF SENDMAIL.MC FILE
DEFAULT-AUTH-INFO FILE
AuthInfo:smtpout.secureser
ver.net "U:<myemail>@<mydomain>.ne
t" "I:<myemail>@<mydomain>.ne
t" "P:<mypassword>" "M:Plain"
END DEFAULT-AUTH-INFO FILE
When I run mailx from the command line I get the following verbose dialog
John@vosslers.net... Connecting to [127.0.0.1] via relay...
220 Charon.localdomain ESMTP Sendmail 8.13.8/8.13.8; Wed, 9 Apr 2008 13:29:09 -0600 (MDT)
>>> EHLO Charon.localdomain
250-Charon.localdomain Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<John@vosslers.net> SIZE=93
250 2.1.0 <John@vosslers.net>... Sender ok
>>> RCPT To:<John@vosslers.net>
>>> DATA
250 2.1.5 <John@vosslers.net>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <John@vosslers.net>... Connecting to smtpout.secureserver.net via relay...
050 220 smtpauth22.prod.mesa1.secu
reserver.n
et ESMTP
050 >>> EHLO Charon.localdomain
050 250-smtpauth22.prod.mesa1.
secureserv
er.net
050 250-AUTH LOGIN PLAIN
050 250-8BITMIME
050 250 PIPELINING
050 >>> QUIT
050 221 Good bye.
050 <John@vosslers.net>... Deferred: Temporary AUTH failure
250 2.0.0 m39JT93B005472 Message accepted for delivery
John@vosslers.net... Sent (m39JT93B005472 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 Charon.localdomain closing connection
Any and all help is appreciated.
Start Free Trial