[NBLUG/talk] Configuring sendmail to forward email via sonic.net
Todd Cary
todd at aristesoftware.com
Wed Aug 28 09:59:55 PDT 2013
Ron -
I made the changes and the list of errors in the maillog file are
less [see below]. However my setup of sendmail is not providing
the correct authorization:
AUTH=client, available mechanisms do not fulfill requirements
Though most of the lines in the maillog are past my level, the phrase
ctladdr=root (0/0)
and
ctladdr=<root at localhost.localdomain> (0/0)
seem to indicate the the sender of the email
root at localhost.localdomain, not what is in the hosts file as I
*think* I have it correctly configured.
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost centos5
::1 localhost6.localdomain6 localhost6
216.228.174.9 centos.toddcary.com centos5
I am sending the test message as root since any application would
be too.
Suggestions?
Todd
Aug 28 09:39:22 localhost sendmail[14703]: alias database
/etc/aliases rebuilt by todd
Aug 28 09:39:22 localhost sendmail[14703]: /etc/aliases: 76
aliases, longest 10 bytes, 765 bytes total
Aug 28 09:39:22 localhost sendmail[14708]: starting daemon
(8.13.8): SMTP+queueing at 01:00:00
Aug 28 09:39:23 localhost sm-msp-queue[14717]: starting daemon
(8.13.8): queueing at 01:00:00
Aug 28 09:39:34 localhost sendmail[14721]: r7SGdYHh014721:
from=root, size=65, class=0, nrcpts=1,
msgid=<201308281639.r7SGdYHh014721 at localhost.localdomain>,
relay=root at localhost
Aug 28 09:39:35 localhost sendmail[14722]: r7SGdYWS014722:
from=<root at localhost.localdomain>, size=368, class=0, nrcpts=1,
msgid=<201308281639.r7SGdYHh014721 at localhost.localdomain>,
proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Aug 28 09:39:35 localhost sendmail[14721]: r7SGdYHh014721:
to=todd at aristesoftware.com, ctladdr=root (0/0), delay=00:00:01,
xdelay=00:00:01, mailer=relay, pri=30065, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (r7SGdYWS014722 Message
accepted for delivery)
Aug 28 09:39:41 localhost sendmail[14724]: STARTTLS=client,
relay=mail.sonic.net., version=TLSv1/SSLv3, verify=FAIL,
cipher=DHE-RSA-AES256-SHA, bits=256/256
Aug 28 09:39:41 localhost sendmail[14724]: r7SGdYWS014722:
AUTH=client, available mechanisms do not fulfill requirements
Aug 28 09:39:41 localhost sendmail[14724]: AUTH=client,
relay=mail.sonic.net., temporary failure, connection abort
Aug 28 09:39:41 localhost sendmail[14724]: r7SGdYWS014722:
to=<todd at aristesoftware.com>,
ctladdr=<root at localhost.localdomain> (0/0), delay=00:00:06,
xdelay=00:00:06, mailer=relay, pri=120368, relay=mail.sonic.net.
[64.142.7.162], dsn=4.0.0, stat=Deferred: Temporary AUTH failure
Ariste Software
Bend, OR 97702
http://www.aristesoftware.com
On 8/26/2013 3:25 PM, Ron Wickersham wrote:
> hi Todd,
>
> and realized that you have to do authentication to come in from
> outside
> a sonic.net ip address, so found this:
>
> http://lists.centos.org/pipermail/centos/2010-March/092053.html
>
> specifically for centos...
>
>
> #########################################################################
>
>
> Should be a piece of cake. Here are the relevant lines from my
> sendmail.mc:
>
> define(`RELAY_MAILER_ARGS',`TCP $h 587')dnl
> define(`ESMTP_MAILER_ARGS',`TCP $h 587')dnl
> define(`SMART_HOST', `smtp.comcast.net')dnl
> FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
>
> And in /etc/mail/auth/client-info:
>
> AuthInfo:smtp.comcast.net "U:root" "I:my_user_name"
> "P:my_passwd"
>
> And in /etc/mail/auth/Makefile:
>
> client-info.db: client-info
> makemap hash $@ < $<
>
>
> #########################################################################
>
>
> -ron
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.3392 / Virus Database: 3211/6610 - Release
> Date: 08/26/13
>
>
More information about the talk
mailing list