Discussion:
issues with email delivery, zenoss core cannot but server can just fine
cgill
2011-12-01 22:25:31 UTC
Permalink
cgill [http://community.zenoss.org/people/cgill] created the discussion

"issues with email delivery, zenoss core cannot but server can just fine"

To view the discussion, visit: http://community.zenoss.org/message/62973#62973

--------------------------------------------------------------
I have zenoss core 3.2.1 installed on ubuntu 64 11.10 and I cannot seem to get email to work. When trying the test email I get an error of "Invalid Domain" kicked back to zenoss core. I made sure the server itself could email by using a telnet session to the email server (another server in the network) and all went well; so it's not the configuration of my ubuntu installation nor networking, nor mail server; but specifically an issue with zenoss core and its ability to talk to my mail server (exchange 2007.) The microsoft article here: http://technet.microsoft.com/en-us/library/bb123686.aspx http://technet.microsoft.com/en-us/library/bb123686.aspx leads me to believe it's a misconfiguration with the mail server, but it's not as I have checked using telnet from the ubuntu server, thus the
article states the only other obvious error is a typo, which there isn't from what I can see.
Is there a topic like this already posted, please notify me. How else can I fix this?

Kind regards
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62973#62973]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2011-12-02 12:54:37 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: issues with email delivery, zenoss core cannot but server can just fine"

To view the discussion, visit: http://community.zenoss.org/message/62982#62982

--------------------------------------------------------------
What we do is use the Zenoss server to generate the e-mail (I believe that's what it's doing) and then send it to port 25 on our internal mail server, same as outside mail would hit it... We're not logging into the mail server like a client and having that server send the mail...

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62982#62982]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
cgill
2011-12-02 13:16:06 UTC
Permalink
cgill [http://community.zenoss.org/people/cgill] created the discussion

"Re: issues with email delivery, zenoss core cannot but server can just fine"

To view the discussion, visit: http://community.zenoss.org/message/62975#62975

--------------------------------------------------------------
That's basically what I am doing. I have written plenty of scripts in php and python that just simply connect via smtp on port 25 and it just works (the exchange server is all set to accept clients in the ip range) so I'm surprised to see it doesn't work from zenoss core, but it does from the server itself. I'm almost tempted to rewrite the email script in zenoss just to fix this-- but that shouldn't be! Thanks for the input jmp, hopefully someone has had this issue before
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62975#62975]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
cgill
2011-12-05 16:39:17 UTC
Permalink
cgill [http://community.zenoss.org/people/cgill] created the discussion

"Re: issues with email delivery, zenoss core cannot but server can just fine"

To view the discussion, visit: http://community.zenoss.org/message/63043#63043

--------------------------------------------------------------
I fixed it. After a little more looking in to this I figured something is up with the hosts file in ubuntu (/etc/hosts), after checking it I changed a few things, I commented out the loopback that described the computer name, as it should be getting this information from my dns servers via the resolv file.


+127.0.0.1       localhost+
+# 127.0.1.1     ubuntu-server-64.(null) ubuntu-server-64+


Now all is well. Ubuntu must have put this in there at somepoint during the server installation; it rendered my python scripts as well as zenoss useless for emails since it refused to believe it could resolve my other computers.
Note: using direct IP did not work.

Hope this helps someone else in the future.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63043#63043]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...