Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-31-2009, 11:17 PM
Member
 
Posts: 13
Default Help for SMTP Relays for external domains

Hi,

I read the docs at the Zimbra Wiki
and followed these steps:

Code:
zmprov ms mail.internal.com zimbraMtaRelayHost smtpout.secureserver.net:80
echo smtpout.secureserver.net john@example.com:password > /opt/zimbra/conf/relay_password
postmap hash:/opt/zimbra/conf/relay_password
postmap -q smtpout.secureserver.net /opt/zimbra/conf/relay_password
postconf -e smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password
postconf -e smtp_sasl_auth_enable=yes
postconf -e smtp_cname_overrides_servername=no
postfix reload
postconf -e smtp_use_tls=yes
postfix reload
john@example.com is the external godaddy account which I plan to use for relaying.

I still cannot send emails to external accounts:

The error message I see is:

/var/log/zimbra.log
Code:
Jun  1 04:22:58 mail postfix/qmgr[7867]: 2C2F35838008: to=, relay=none, delay=212705, delays=212705/0.03/0/0, dsn=4.4.3, status=deferred
(delivery temporarily suspended: Host or domain name not found. Name service error for name=smtpout.secureserver.net type=MX: Host not found, try again)
Also, for another ID

Code:
Jun  1 07:18:49 mail postfix/qmgr[7867]: D4AB05838002: to=, relay=none, delay=231400, delays=231348/51/0/0, dsn=4.3.0, status=defer
red (mail transport unavailable)
Any help will be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old 05-31-2009, 11:33 PM
Moderator
 
Posts: 7,929
Default

Well according to the Wiki you should use the proper address of smtp.secureserver.net which is actually
Code:
Non-authoritative answer:
smtpout.secureserver.net	canonical name = smtpout.where.secureserver.net.
Name:	smtpout.where.secureserver.net
Address: 72.167.82.80
__________________
Reply With Quote
  #3 (permalink)  
Old 06-01-2009, 12:08 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by uxbod View Post
Well according to the Wiki you should use the proper address of smtp.secureserver.net which is actually
Code:
Non-authoritative answer:
smtpout.secureserver.net	canonical name = smtpout.where.secureserver.net.
Name:	smtpout.where.secureserver.net
Address: 72.167.82.80
Right on..
I changed this via zmprov ms

still not able to send mail:

/var/log/zimbra

Code:
Jun  1 12:27:43 mail postfix/smtp[28950]: 40AEA583803D: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=30, delays=0.02/0.02/0/30, dsn
=2.0.0, status=sent (250 2.0.0 Ok: queued as 4F3625838057)
Code:
Jun  1 12:28:35 mail postfix/smtp[29427]: 4F3625838057: to=, relay=none, delay=52, delays=0.01/0.02/52/0, dsn=4.4.3, status=deferre
d (Host or domain name not found. Name service error for name=smtpout.where.secureserver.net type=MX: Host not found, try again)
Reply With Quote
  #4 (permalink)  
Old 06-01-2009, 12:23 AM
Moderator
 
Posts: 7,929
Default

Code:
dig smtpout.secureserver.net
to make sure you DNS is actually able to resolve it.
__________________
Reply With Quote
  #5 (permalink)  
Old 06-01-2009, 12:33 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by uxbod View Post
Code:
dig smtpout.secureserver.net
to make sure you DNS is actually able to resolve it.
Resolved successfully:

dig smtpout.secureserver.net

Code:
;; reply from unexpected source: 10.10.0.2#53, expected 10.10.3.2#53
;; Warning: ID mismatch: expected ID 12519, got 34639

; <<>> DiG 9.3.4-P1 <<>> smtpout.secureserver.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12519
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;smtpout.secureserver.net.      IN      A

;; ANSWER SECTION:
smtpout.secureserver.net. 30    IN      CNAME   smtpout.where.secureserver.net.
smtpout.where.secureserver.net. 300 IN  A       64.202.165.58

;; Query time: 394 msec
;; SERVER: 10.10.0.2#53(10.10.0.2)
;; WHEN: Mon Jun  1 13:01:23 2009
;; MSG SIZE  rcvd: 86
10.10.3.2 is the Zimbra server
10.10.0.2 is the gateway DNS...
Reply With Quote
  #6 (permalink)  
Old 06-01-2009, 01:02 AM
Moderator
 
Posts: 7,929
Default

Within the Admin GUI under the MTA tab do you have "Enable DNS Lookups" enabled ? If so, untick that, and restart ZCS.
__________________
Reply With Quote
  #7 (permalink)  
Old 06-01-2009, 03:53 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by uxbod View Post
Within the Admin GUI under the MTA tab do you have "Enable DNS Lookups" enabled ? If so, untick that, and restart ZCS.
This solved the problem, but unfortunately I still cannot send mail because of this:

Code:
Jun  1 15:41:23 mail postfix/smtp[27082]: 24E815838005: to=, relay=smtpout.secureserver.net[64.202.165.58]:80, delay=10, delays=0.04/0/9.2/0.74, dsn=5.0.0, status=bounced (host smtpout.secureserver.net[64.202.165.58] said: 553 Sorry, that domain isn't in my list of allowed rcpthosts. (in reply to RCPT TO command))
I realize this is not a problem with zimbra but with the godaddy SMTP server.

Does anyone have any experience with setting up relays for smtpout.secureserver.net?
Reply With Quote
  #8 (permalink)  
Old 06-01-2009, 07:24 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by sushant.tripathi View Post
I realize this is not a problem with zimbra but with the godaddy SMTP server.

Does anyone have any experience with setting up relays for smtpout.secureserver.net?
Outgoing SMTP Authentication - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.