Results 1 to 8 of 8

Thread: Help for SMTP Relays for external domains

  1. #1
    Join Date
    Feb 2009
    Posts
    13
    Rep Power
    6

    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.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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

  3. #3
    Join Date
    Feb 2009
    Posts
    13
    Rep Power
    6

    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)

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    dig smtpout.secureserver.net
    to make sure you DNS is actually able to resolve it.

  5. #5
    Join Date
    Feb 2009
    Posts
    13
    Rep Power
    6

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

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Within the Admin GUI under the MTA tab do you have "Enable DNS Lookups" enabled ? If so, untick that, and restart ZCS.

  7. #7
    Join Date
    Feb 2009
    Posts
    13
    Rep Power
    6

    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?

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Advanced MTA Configuration - multiple domains
    By keyhman in forum Installation
    Replies: 6
    Last Post: 04-20-2012, 03:23 AM
  2. Sending mails to domains without use of DNS server
    By generic31 in forum Administrators
    Replies: 5
    Last Post: 08-08-2011, 04:17 AM
  3. [SOLVED] Different combinations of domains in GAL
    By fang0654 in forum Installation
    Replies: 2
    Last Post: 02-08-2010, 07:18 PM
  4. Replies: 3
    Last Post: 06-07-2007, 08:19 AM
  5. Virtual Domains Breaking Themes
    By jhoelz in forum Administrators
    Replies: 0
    Last Post: 03-14-2007, 06:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •