sendmail smtp auth configuration / OFFICE365

1. sendmail smtp auth configuration / OFFICE365

robson augusto
rlalier

(usa CentOS)

Enviado em 09/08/2018 - 12:41h

Senhores (as),

Boa tarde, preciso enviar e-mail pelo sendmail, com a configuração padrão ele envia email para o dominio do gmail.com normalmente, para Office365 é necesário configurar o authinfo, fiz várias buscas na internet, fiz vários testes mas não funciona, coloquei o log no fim do post, desde de já agradeço a ajuda.

https://community.spiceworks.com/how_to/98692-create-an-smtp-relay-in-o365-to-allow-a-unitrends-appl...

https://support.office.com/en-us/article/how-to-set-up-a-multifunction-device-or-application-to-send...

https://www.easy-smtp.com/smtp-sendmail


uname -a
Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2 i686 GNU/Linux

cat /etc/issue
Debian GNU/Linux 6.0 \n \l

220 PBXXXXX.conecta.net ESMTP Sendmail 8.14.4/8.14.4/Debian-8+deb8u2; Thu, 9 Aug 2018 12:34:44 -0300; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]


Aug 9 12:17:07 PBXXXXXX1 sendmail[7343]: w79FH6f8007343: from=root, size=308, class=0, nrcpts=1, msgid=<20180809151706.GB7220@PBXXXXXX1.conecta.net>, relay=root@localhost
Aug 9 12:17:07 PBXXXXXX1 sm-mta[7344]: w79FH7pZ007344: from=<root@PBXXXXXX1.conecta.net>, size=463, class=0, nrcpts=1, msgid=<20180809151706.GB7220@PBXXXXXX1.conecta.net>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Aug 9 12:17:07 PBXXXXXX1 sendmail[7343]: w79FH6f8007343: to=rlalier@gmail.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30308, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (w79FH7pZ007344 Message accepted for delivery)
Aug 9 12:17:09 PBXXXXXX1 sm-mta[7346]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
Aug 9 12:17:12 PBXXXXXX1 sm-mta[7346]: w79FH7pZ007344: to=<rlalier@gmail.com>, ctladdr=<root@PBXXXXXX1.conecta.net> (0/0), delay=00:00:05, xdelay=00:00:05, mailer=esmtp, pri=120463, relay=gmail-smtp-in.l.google.com. [64.233.190.27], dsn=2.0.0, stat=Sent (OK 1533827832 x2-v6si7180083qth.11 - gsmtp)



Aug 9 12:15:02 PBXXXXXX1 sendmail[7264]: w79FF2aL007264: from=munin, size=769, class=0, nrcpts=1, msgid=<201808091515.w79FF2aL007264@PBXXXXXX1.conecta.net>, relay=munin@localhost
Aug 9 12:15:03 PBXXXXXX1 sm-mta[7265]: w79FF2C1007265: from=<munin@PBXXXXXX1.conecta.net>, size=1060, class=0, nrcpts=1, msgid=<201808091515.w79FF2aL007264@PBXXXXXX1.conecta.net>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Aug 9 12:15:03 PBXXXXXX1 sendmail[7264]: w79FF2aL007264: to=root, ctladdr=munin (115/123), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30769, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (w79FF2C1007265 Message accepted for delivery)
Aug 9 12:15:03 PBXXXXXX1 sm-mta[7267]: w79FF2C1007265: Warning: program /usr/sbin/sensible-mda unsafe: World writable directory
Aug 9 12:15:03 PBXXXXXX1 sm-mta[7266]: w79FF2C1007265: to=XXXXX, ctladdr=<munin@PBXXXXXX1.conecta.net> (115/123), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31281, dsn=2.0.0, stat=Sent
Aug 9 12:15:03 PBXXXXXX1 sendmail[7263]: w79FF2mb007263: from=root, size=309, class=0, nrcpts=1, msgid=<20180809151502.GA7220@PBXXXXXX1.conecta.net>, relay=root@localhost
Aug 9 12:15:03 PBXXXXXX1 sm-mta[7268]: w79FF37p007268: <rlalier@XXXXX.com>... User unknown
Aug 9 12:15:03 PBXXXXXX1 sendmail[7263]: w79FF2mb007263: to=rlalier@XXXXX.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30309, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Aug 9 12:15:03 PBXXXXXX1 sm-mta[7268]: w79FF37p007268: from=<root@PBXXXXXX1.conecta.net>, size=309, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Aug 9 12:15:03 PBXXXXXX1 sendmail[7263]: w79FF2mb007263: w79FF2mc007263: DSN: User unknown
Aug 9 12:15:04 PBXXXXXX1 sm-mta[7268]: w79FF37r007268: from=<>, size=2183, class=0, nrcpts=1, msgid=<201808091515.w79FF2mc007263@PBXXXXXX1.conecta.net>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Aug 9 12:15:04 PBXXXXXX1 sendmail[7263]: w79FF2mc007263: to=root, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31333, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (w79FF37r007268 Message accepted for delivery)
Aug 9 12:15:04 PBXXXXXX1 sm-mta[7270]: w79FF37r007268: Warning: program /usr/sbin/sensible-mda unsafe: World writable directory
Aug 9 12:15:04 PBXXXXXX1 sm-mta[7269]: w79FF37r007268: to=XXXXX, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32407, dsn=2.0.0, stat=Sent



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts