[ZendTo] Issues with sending to external users

Brian Novogradac Brian.Novogradac at utoronto.ca
Fri Jan 13 13:31:42 GMT 2017


Thanks for helping me out here here is some more information.


-          Running Centos 6.8

-          Yes the zendto is sending messages to sendmail on the machine

-          I have all hostname information set correctly in hosts file

-          In sendmail.mc I have added the domainname in define(`confDOMAIN_NAME', `zendto.host.ca')dnl

Maillog:

Jan 13 08:19:19 zendto sendmail[5941]: v0DDJILc005941: from=apache, size=1517, class=0, nrcpts=1, msgid=<201701131319.v0DDJILc005941 at zendto.XXXXX>, relay=apache at localhost
Jan 13 08:19:19 zendto sendmail[5942]: v0DDJJOE005942: from=<apache@ zendto.XXXXX >, size=1744, class=0, nrcpts=1, msgid=<201701131319.v0DDJILc005941@ zendto.XXXXX >, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 13 08:19:19 zendto sendmail[5941]: v0DDJILc005941: to=userXXX at gmail.com, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31517, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (v0DDJJOE005942 Message accepted for delivery)
Jan 13 08:19:20 zendto sendmail[5944]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
Jan 13 08:19:20 zendto sendmail[5944]: v0DDJJOE005942: to=< userXXX at gmail.com >, ctladdr=<apache@ zendto.XXXXX > (48/48), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=121744, relay=gmail-smtp-in.l.google.com. [IPv6:2607:f8b0:4001:c01::1b], dsn=5.0.0, stat=Service unavailable
Jan 13 08:19:20 zendto sendmail[5944]: v0DDJJOE005942: v0DDJKOE005944: DSN: Service unavailable
Jan 13 08:19:20 zendto sendmail[5944]: v0DDJKOE005944: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32992, dsn=2.0.0, stat=Sent

Email Header:

Received: from zendto.XXXXX (localhost.localdomain [127.0.0.1]) by
zendto.XXXXX t(8.14.4/8.14.4) with ESMTP id v0CJ8WAd001980; Thu, 12 Jan
2017 14:08:32 -0500
Received: (from apache at localhost<mailto:apache at localhost>) by zendto.XXXXX (8.14.4/8.14.4/Submit)
id v0CJ8Wm9001976; Thu, 12 Jan 2017 14:08:32 -0500
Date: Thu, 12 Jan 2017 14:08:32 -0500
Message-ID: <201701121908.v0CJ8Wm9001976@ zendto.XXXXX <mailto:201701121908.v0CJ8Wm9001976 at send.utoronto.ca> >
To: < userXXX at gmail.com >
Subject: User has dropped off a file for you
X-PHP-Originating-Script: 0:NSSDropbox.php
From: Zendto <no-reply@ zendto.XXXXX <mailto:no-reply at utoronto.ca> >

I have no issues sending to internal email addresses.  Just outbound

No non-delivery report was sent or logged on google/yahoo, was not in junk or spam.  It looks like it just dropped it.

Brian


From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Mike Brudenell
Sent: Friday, January 13, 2017 4:56 AM
To: ZendTo Users <zendto at zend.to>
Subject: Re: [ZendTo] Issues with sending to external users

Hi, Brian -

You've not given us much to go on — always give as much logging/debugging information as you can to help us help you!

The "Received" header in your sample header seems to suggest that your ZendTo installation is handing its message over to the Sendmail software running on the computer running ZendTo itself. That's entirely expected if you've got ZendTo configured to send its messages to "localhost".

But whether it's right for your setup depends very much on your email service setup. The next step for you is to look in the Sendmail logs on your machine and see:

  *   Has Sendmail attempted to transmit the message onward? (If not, then there might be a problem with Sendmail's configuration.)
  *   If it has, did it transmit successfully? If it did, what machine did it go to? If it's one of your organisation's you'll then need to check its mail queues and logs. If it didn't transmit OK then the logs will hopefully give you an idea of why not.
If the outgoing message did actually reach Google/Yahoo's mail servers was the message rejected and returned with a Non-Delivery Report? If so, it will likely contain information as to why the message was rejected. If not, was the message accepted but put into a Spam/Junk folder?

If your ZendTo server is trying to send the messages direct to Google/Yahoo rather than via your corporate smarthost and your organisation is using SPF/DKIM/DMARC then they could be being rejected because of that: the messages are arriving from a machine not listed as being authorised to send out messages from the addresses you're using. (It's not really possible for us to check on this as you didn't include the address you're using in the From header, and obfuscate the server name in the Received header. You'll therefore have to check this possibility out for yourself.)

Cheers,
Mike B-)

On 12 January 2017 at 19:21, Brian Novogradac <Brian.Novogradac at utoronto.ca<mailto:Brian.Novogradac at utoronto.ca>> wrote:
Hello all I am having an issue sending to external users.  They do not get the email.  I think I found the issue but I don’t know where to change these settings.  I grabbed the email header and it is showing this:

Received: from zendto.xxxxx.ca<http://zendto.xxxxx.ca> (localhost.localdomain [127.0.0.1]) by
zendto.xxxxx.ca<http://zendto.xxxxx.ca> (8.14.4/8.14.4) with ESMTP id v0CJF2NS002063; Thu, 12 Jan
2017 14:15:02 -0500
Received: (from apache at localhost<mailto:apache at localhost>) by zendto.xxxxx.ca<http://zendto.xxxxx.ca> (8.14.4/8.14.4/Submit)
id v0CJF1NN002062; Thu, 12 Jan 2017 14:15:01 -0500
Date: Thu, 12 Jan 2017 14:15:01 -0500
Message-ID: <201701121915.v0CJF1NN002062 at send.utoronto.ca<mailto:201701121915.v0CJF1NN002062 at send.utoronto.ca>>
To: < zendto.xxxxx.ca<http://zendto.xxxxx.ca> >

Any help woul be appreciated.

There is an smtp setting in php.ini

[mail function]
; For Win32 only.
; http://www.php.net/manual/en/mail.configuration.php#ini.smtp
SMTP = zendto.xxxxx.ca<http://zendto.xxxxx.ca>
; http://www.php.net/manual/en/mail.configuration.php#ini.smtp-port
smtp_port = 25

do I use my hostname instead of localhost here.

Is there anwhere else???

Brian Novogradac
Intermediate Systems Administrator (I&ITS)

Information Security Is Everyone’s Responsibility. Learn more: http://uoft.me/cyberaware

University of Toronto at Mississauga
3359 Mississauga Road N.
Mississauga, Ontario, L5L 1C6

(P) 416-435-2543
(F) 905-569-4343
(E) brian.novogradac at utoronto.ca<mailto:brian.novogradac at utoronto.ca>
(W) www.utm.utoronto.ca/iits<http://www.utm.utoronto.ca/iits>

This E-mail contains privileged and confidential information intended only for the individual or entity named in the message. If the reader of this message is not the intended recipient, or the agent responsible to deliver it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited.  If this communication was received in error, please notify the sender by reply E-mail immediately, and delete and destroy the original message.


_______________________________________________
ZendTo mailing list
ZendTo at zend.to<mailto:ZendTo at zend.to>
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



--
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web:                www.york.ac.uk/it-services<http://www.york.ac.uk/it-services>
Disclaimer:      www.york.ac.uk/docs/disclaimer/email.htm<http://www.york.ac.uk/docs/disclaimer/email.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170113/a86069c9/attachment-0001.html 


More information about the ZendTo mailing list