Ricker42 |
12-09-2010 09:47 AM |
Quote:
Originally Posted by bathory
(Post 4185873)
Well it was expected that sasl2 is installed, but I thought to ask anyway.
MAybe you can increase logging by adding
Code:
define(`confLOG_LEVEL', `20')dnl
in sendmail.mc, or starting sendmail from CLI using:
Code:
/usr/sbin/sendmail -L sm-mta -bd -q25m -O LogLevel=20 -X /tmp/smtp.log
and watch the logs
|
Ok, it looks like my guess was right, sendmail isn't doing the authentication or doing it incorrectly, if I'm reading this right. However, I've no clue as to why...here's the entire /var/log/maillog contents, starting from the last restart of sendmail with the above changed added in.
Code:
Dec 9 10:42:02 rnd sendmail[12034]: alias database /etc/aliases rebuilt by rgreene
Dec 9 10:42:02 rnd sendmail[12034]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Dec 9 10:42:03 rnd sendmail[12041]: starting daemon (8.14.2): SMTP+queueing@01:00:00
Dec 9 10:42:03 rnd sendmail[12041]: STARTTLS: CRLFile missing
Dec 9 10:42:03 rnd sendmail[12041]: STARTTLS=server: file /etc/mail/certs/smtp.cert.pem unsafe: No such file or directory
Dec 9 10:42:03 rnd sendmail[12041]: started as: /usr/sbin/sendmail -bd -q1h
Dec 9 10:42:03 rnd sm-msp-queue[12049]: starting daemon (8.14.2): queueing@01:00:00
Dec 9 10:42:16 rnd sendmail[12054]: oB9FgEsf012054: from=rickg@datarealm.com, size=51, class=0, nrcpts=1, msgid=<201012091542.oB9FgEsf012054@localhost.localdomain>, relay=root@localhost
Dec 9 10:42:16 rnd sendmail[12055]: NOQUEUE: connect from rnd [127.0.0.1]
Dec 9 10:42:16 rnd sendmail[12055]: AUTH: available mech=CRAM-MD5 DIGEST-MD5 ANONYMOUS LOGIN PLAIN, allowed mech=EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: Milter: no active filter
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 220 localhost.localdomain ESMTP Sendmail 8.14.2/8.14.2; Thu, 9 Dec 2010 10:42:16 -0500
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: <-- EHLO localhost.localdomain
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-localhost.localdomain Hello rnd [127.0.0.1], pleased to meet you
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-ENHANCEDSTATUSCODES
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-PIPELINING
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-8BITMIME
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-SIZE
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-DSN
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-ETRN
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250-DELIVERBY
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250 HELP
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: <-- MAIL From:<rickg@datarealm.com> SIZE=51 AUTH=rickg@datarealm.com
Dec 9 10:42:16 rnd sendmail[12055]: ruleset=trust_auth, arg1=rickg@datarealm.com, relay=rnd [127.0.0.1], reject=550 5.7.1 <rickg@datarealm.com>... not authenticated
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250 2.1.0 <rickg@datarealm.com>... Sender ok
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: <-- RCPT To:<rgreene@xanodria.com>
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250 2.1.5 <rgreene@xanodria.com>... Recipient ok
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: <-- DATA
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 354 Enter mail, end with "." on a line by itself
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: Subject:testing
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: from=<rickg@datarealm.com>, size=335, class=0, nrcpts=1, msgid=<201012091542.oB9FgEsf012054@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=rnd [127.0.0.1]
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwA012055: --- 250 2.0.0 oB9FgGwA012055 Message accepted for delivery
Dec 9 10:42:16 rnd sendmail[12054]: oB9FgEsf012054: to=rgreene@xanodria.com, ctladdr=rickg@datarealm.com (0/0), delay=00:00:02, xdelay=00:00:00, mailer=relay, pri=30051, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (oB9FgGwA012055 Message accepted for delivery)
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwB012055: <-- QUIT
Dec 9 10:42:16 rnd sendmail[12055]: oB9FgGwB012055: --- 221 2.0.0 localhost.localdomain closing connection
Dec 9 10:42:17 rnd sendmail[12057]: oB9FgGwA012055: SMTP outgoing connect on rnd
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS: ClientCertFile missing
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS: ClientKeyFile missing
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS: CRLFile missing
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client: file /etc/mail/certs/CA.cert.pem unsafe: No such file or directory
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client, error: load verify locs /etc/mail/certs/, /etc/mail/certs/CA.cert.pem failed: 0
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client: 12057:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('/etc/mail/certs/CA.cert.pem','r')
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client: 12057:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client: 12057:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:by_file.c:279:
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client, init=1
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client, start=ok
Dec 9 10:42:17 rnd sendmail[12057]: STARTTLS=client, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]:last message repeated 2 times
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=client, get_verify: 20 get_peer: 0xb8f65380
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=client, relay=smtp2.datarealm.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=client, cert-subject=/C=US/postalCode=54016/ST=Wisconsin/L=Hudson/streetAddress=PO+20Box+201616/O=Datarealm+20Internet+20Services,+20LLC/OU=Security+20Services/OU=Comodo+20PremiumSSL+20Wildcard/CN=*.datarealm.com, cert-issuer=/C=US/ST=UT/L=Salt+20Lake+20City/O=The+20USERTRUST+20Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware, verifymsg=unable to get local issuer certificate
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]: AUTH=client, relay=smtp2.datarealm.com., mech=, bits=0
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgGwA012055: to=<rgreene@xanodria.com>, delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=120335, relay=smtp2.datarealm.com. [65.23.128.130], dsn=5.7.1, stat=Service unavailable
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgGwA012055: oB9FgIwA012057: DSN: Service unavailable
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]:last message repeated 2 times
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwA012057: to=<rickg@datarealm.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31555, relay=smtp2.datarealm.com. [65.23.128.130], dsn=5.7.1, stat=Service unavailable
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwA012057: alias MAILER-DAEMON => postmaster
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwA012057: alias postmaster => root
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwA012057: alias postmaster => root
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwA012057: oB9FgIwB012057: return to sender: Service unavailable
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwB012057: Subject:testing
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwB012057: Subject:Returned.mail:see.transcript.for.details
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwB012057: Subject:testing
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwB012057: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32579, dsn=2.0.0, stat=Sent
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwB012057: done; delay=00:00:00, ntries=1
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgIwA012057: done; delay=00:00:00, ntries=1
Dec 9 10:42:18 rnd sendmail[12057]: oB9FgGwA012055: done; delay=00:00:02, ntries=1
Dec 9 10:42:18 rnd sendmail[12057]: STARTTLS=read, info: fds=9/8, err=2
Dec 9 10:42:19 rnd sendmail[12057]: STARTTLS=client, SSL_shutdown not done
Strangely, it doesn't look like it's actually trying to contact the SMART_HOST relay, but it is just contacting itself??
|