[ZendTo] Issues with sending to external users

Brian Novogradac Brian.Novogradac at utoronto.ca
Thu Jan 12 21:31:38 GMT 2017


Thanks for response and help.

This system is using sendmail not postfix
Default domain is set in preferences.php
/etc/hosts has correct info

Brian

From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Ken Etter
Sent: Thursday, January 12, 2017 3:37 PM
To: ZendTo List <zendto at zend.to>
Subject: Re: [ZendTo] Issues with sending to external users

Its been a while since I setup my ZendTo server, but here are some things to check:

* Make sure "defaultEmailDomain" in the ZendTo preferences.php is set correctly.
* Make sure "myhostname" and "mydestination" in /etc/postfix/main.cf have the correct info.
* Make sure /etc/mailname, /etc/hostname, and /etc/hosts have the correct info.

Ken
>>> Brian Novogradac <Brian.Novogradac at utoronto.ca<mailto:Brian.Novogradac at utoronto.ca>> 1/12/2017 3:23 PM >>>
No I think its this line

Received: from zendto.xxxxx.ca (localhost.localdomain [127.0.0.1])

Gmail/Yahoo etc email servers are rejecting these emails form the zendto instance

Brian

From: zendto-bounces at zend.to<mailto:zendto-bounces at zend.to> [mailto:zendto-bounces at zend.to] On Behalf Of Ken Etter
Sent: Thursday, January 12, 2017 2:51 PM
To: ZendTo List <zendto at zend.to<mailto:zendto at zend.to>>
Subject: Re: [ZendTo] Issues with sending to external users

Is the issue the apache at localhost<mailto:apache at localhost> address?  There might be other ways to deal with this, but you can masquerade the mail sender.
    Open your main.cf file
        vi /etc/postfix/main.cf
    Append following parameter
        smtp_generic_maps = hash:/etc/postfix/generic
    Open /etc/postfix/generic file
        vi /etc/postfix/generic
    Insert this line into generic
        apache at localhost<mailto:apache at localhost> sender at your_domain<mailto:sender at your_domain>
    Create or update generic postfix table
        postmap /etc/postfix/generic
    Restart postfix
        /etc/init.d/postfix restart



Ken Etter, System Administrator
Architectural Group
260.432.9337 | msktd.com<http://msktd.com/>

[cid:image001.png at 01D26CF1.588DECA0]<http://msktd.com/>




>>> Brian Novogradac <Brian.Novogradac at utoronto.ca<mailto:Brian.Novogradac at utoronto.ca>> 1/12/2017 2:21 PM >>>
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 (localhost.localdomain [127.0.0.1]) by
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 (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 >

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://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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170112/3319e981/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18080 bytes
Desc: image001.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170112/3319e981/attachment-0001.png 


More information about the ZendTo mailing list