Results 1 to 2 of 2

Thread: failed to setup outgoing smtp relay

  1. #1
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    3

    Default failed to setup outgoing smtp relay

    Hi All,

    I am new zimbra server (open source), my server was able to send message before i have configured external smtp relay and now it is throw error "-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message"

    i have followed the Outgoing SMTP Authentication - Zimbra :: Wiki to set the outgoing smtp authentication

    i am struggling to get the solution from last 5 days
    Below is the details of my server:

    # cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.10.12 servername.dyndns-mail.com



    ]# dig servername.dyndns-mail.com mx

    ; <<>> DiG 9.7.0-P1-RedHat-9.7.0-9.P1.fc13 <<>> printo.dyndns-mail.com mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5781
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;servername.dyndns-mail.com. IN MX

    ;; Query time: 0 msec
    ;; SERVER: 192.168.10.251#53(192.168.10.251)
    ;; WHEN: Tue Jul 17 22:44:15 2012
    ;; MSG SIZE rcvd: 40




    # dig servername.dyndns-mail.com any

    ; <<>> DiG 9.7.0-P1-RedHat-9.7.0-9.P1.fc13 <<>> servername.dyndns-mail.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25199
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;servername.dyndns-mail.com. IN ANY

    ;; ANSWER SECTION:
    servername.dyndns-mail.com. 5 IN A 120.63.xxx.xx

    ;; Query time: 0 msec
    ;; SERVER: 192.168.10.251#53(192.168.10.251)
    ;; WHEN: Tue Jul 17 22:45:09 2012
    ;; MSG SIZE rcvd: 56



    ]# nslookup servername.dyndns-mail.com
    Server: 192.168.10.251
    Address: 192.168.10.251#53

    Non-authoritative answer:
    Name: servername.dyndns-mail.com
    Address: 120.63.xxx.xx



    ########################

    cat /var/log/zimbra.log
    Jul 17 22:40:53 printo zmmailboxdmgr[11656]: status requested
    Jul 17 22:40:53 printo zmmailboxdmgr[11656]: status OK
    Jul 17 22:40:53 printo zmmailboxdmgr[11664]: status requested
    Jul 17 22:40:53 printo zmmailboxdmgr[11664]: status OK
    Jul 17 22:41:10 printo postfix/smtpd[11807]: connect from servername.dyndns-mail.com[192.168.10.12]
    Jul 17 22:41:10 printo postfix/smtpd[11807]: 4D13313223DF: client=servername.dyndns-mail.com[192.168.10.12]
    Jul 17 22:41:10 printo postfix/cleanup[11810]: 4D13313223DF: message-id=<02d9fc6d-ca71-442f-87b1-16a91743d50b@servername.dyndns-mail.com>
    Jul 17 22:41:10 printo postfix/qmgr[7403]: 4D13313223DF: from=<mayurs@servername.dyndns-mail.com>, size=690, nrcpt=1 (queue active)
    Jul 17 22:41:10 printo postfix/smtpd[11807]: disconnect from servername.dyndns-mail.com[192.168.10.12]
    Jul 17 22:41:10 printo amavis[4731]: (04731-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20120717T224110-04731: <mayurs@servername.dyndns-mail.com> -> <catchmeon@gmail.com> SIZE=690 Received: from servername.dyndns-mail.com ([127.0.0.1]) by localhost (servername.dyndns-mail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <catchmeon@gmail.com>; Tue, 17 Jul 2012 22:41:10 +0530 (IST)
    Jul 17 22:41:10 printo amavis[4731]: (04731-01) Checking: Z9VL1f1rRcUZ MYNETS [192.168.10.12] <mayurs@servername.dyndns-mail.com> -> <catchmeon@gmail.com>
    Jul 17 22:41:10 printo postfix/smtpd[11812]: connect from localhost.localdomain[127.0.0.1]
    Jul 17 22:41:10 printo postfix/smtpd[11812]: E502513223E9: client=localhost.localdomain[127.0.0.1]
    Jul 17 22:41:10 printo postfix/cleanup[11810]: E502513223E9: message-id=<02d9fc6d-ca71-442f-87b1-16a91743d50b@servername.dyndns-mail.com>
    Jul 17 22:41:11 printo postfix/qmgr[7403]: E502513223E9: from=<mayurs@servername.dyndns-mail.com>, size=1167, nrcpt=1 (queue active)
    Jul 17 22:41:11 printo amavis[4731]: (04731-01) FWD via SMTP: <mayurs@servername.dyndns-mail.com> -> <catchmeon@gmail.com>,BODY=7BIT 250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E502513223E9
    Jul 17 22:41:11 printo amavis[4731]: (04731-01) Passed CLEAN, MYNETS LOCAL [192.168.10.12] [192.168.10.12] <mayurs@servername.dyndns-mail.com> -> <catchmeon@gmail.com>, Message-ID: <02d9fc6d-ca71-442f-87b1-16a91743d50b@servername.dyndns-mail.com>, mail_id: Z9VL1f1rRcUZ, Hits: 4.679, size: 690, queued_as: E502513223E9, 625 ms
    Jul 17 22:41:11 printo postfix/smtp[11811]: 4D13313223DF: to=<catchmeon@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.7, delays=0.07/0/0/0.62, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E502513223E9)
    Jul 17 22:41:11 printo postfix/qmgr[7403]: 4D13313223DF: removed
    Jul 17 22:41:11 printo amavis[4731]: (04731-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/auto/Net/SSLeay/randomize.al, /usr/lib64/perl5/auto/Net/LibIDN/autosplit.ix, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/LibIDN.pm, Net/SSLeay.pm
    Jul 17 22:41:12 printo postfix/smtp[11813]: E502513223E9: to=<catchmeon@gmail.com>, relay=mailrelay.externalserver.com[74.52.xxx.xxx]:25, delay=1.4, delays=0.07/0/0.85/0.47, dsn=5.0.0, status=bounced (host mailrelay.externalserver.com[74.52.xxx.xxx] said: 550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message. 550-static-mum-120.63.xxx.xx.mtnl.net.in (servername.dyndns-mail.com) 550-[120.63.xxx.xx]:54098 is not permitted to relay through this server without 550 authentication. (in reply to RCPT TO command))
    Jul 17 22:41:12 printo postfix/cleanup[11810]: 950D013223EA: message-id=<20120717171112.950D013223EA@servername.dyndns-mail.com>
    Jul 17 22:41:12 printo postfix/bounce[11814]: E502513223E9: sender non-delivery notification: 950D013223EA
    Jul 17 22:41:12 printo postfix/qmgr[7403]: 950D013223EA: from=<>, size=3813, nrcpt=1 (queue active)
    Jul 17 22:41:12 printo postfix/qmgr[7403]: E502513223E9: removed
    Jul 17 22:41:33 printo postfix/lmtp[11815]: connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out
    Jul 17 22:41:33 printo postfix/lmtp[11815]: 950D013223EA: to=<mayurs@servername.dyndns-mail.com>, relay=none, delay=21, delays=0.08/0/21/0, dsn=4.4.1, status=deferred (connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out)
    Jul 17 22:41:46 printo postfix/qmgr[7403]: C370513223DE: from=<>, size=3813, nrcpt=1 (queue active)
    Jul 17 22:41:46 printo postfix/qmgr[7403]: EF8F11322337: from=<>, size=4332, nrcpt=1 (queue active)
    Jul 17 22:41:46 printo postfix/qmgr[7403]: A3EB613223A3: from=<>, size=3812, nrcpt=1 (queue active)
    Jul 17 22:41:54 printo zmmailboxdmgr[11901]: status requested
    Jul 17 22:41:54 printo zmmailboxdmgr[11901]: status OK
    Jul 17 22:41:54 printo zmmailboxdmgr[11909]: status requested
    Jul 17 22:41:54 printo zmmailboxdmgr[11909]: status OK
    Jul 17 22:42:04 printo zmmailboxdmgr[12337]: status requested
    Jul 17 22:42:04 printo zmmailboxdmgr[12337]: status OK
    Jul 17 22:42:07 printo postfix/lmtp[11815]: connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out
    Jul 17 22:42:07 printo postfix/lmtp[11827]: connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out
    Jul 17 22:42:07 printo postfix/lmtp[11828]: connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out
    Jul 17 22:42:07 printo postfix/lmtp[11828]: A3EB613223A3: to=<mayurs@servername.dyndns-mail.com>, relay=none, delay=2049, delays=2028/0.01/21/0, dsn=4.4.1, status=deferred (connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out)
    Jul 17 22:42:07 printo postfix/lmtp[11827]: EF8F11322337: to=<card@servername.dyndns-mail.com>, relay=none, delay=2469, delays=2448/0/21/0, dsn=4.4.1, status=deferred (connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out)
    Jul 17 22:42:07 printo postfix/lmtp[11815]: C370513223DE: to=<mayurs@servername.dyndns-mail.com>, relay=none, delay=589, delays=568/0/21/0, dsn=4.4.1, status=deferred (connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out)
    Jul 17 22:42:55 printo zmmailboxdmgr[12540]: status requested
    Jul 17 22:42:55 printo zmmailboxdmgr[12540]: status OK
    Jul 17 22:42:55 printo zmmailboxdmgr[12548]: status requested
    Jul 17 22:42:55 printo zmmailboxdmgr[12548]: status OK
    Jul 17 22:43:57 printo zmmailboxdmgr[12774]: status requested
    Jul 17 22:43:57 printo zmmailboxdmgr[12774]: status OK
    Jul 17 22:43:57 printo zmmailboxdmgr[12782]: status requested
    Jul 17 22:43:57 printo zmmailboxdmgr[12782]: status OK
    Jul 17 22:44:04 printo zmmailboxdmgr[13207]: status requested
    Jul 17 22:44:04 printo zmmailboxdmgr[13207]: status OK
    Jul 17 22:44:58 printo zmmailboxdmgr[13420]: status requested
    Jul 17 22:44:58 printo zmmailboxdmgr[13420]: status OK
    Jul 17 22:44:58 printo zmmailboxdmgr[13428]: status requested
    Jul 17 22:44:58 printo zmmailboxdmgr[13428]: status OK
    Jul 17 22:46:00 printo zmmailboxdmgr[13676]: status requested
    Jul 17 22:46:00 printo zmmailboxdmgr[13676]: status OK
    Jul 17 22:46:00 printo zmmailboxdmgr[13684]: status requested
    Jul 17 22:46:00 printo zmmailboxdmgr[13684]: status OK
    Jul 17 22:46:04 printo zmmailboxdmgr[14112]: status requested
    Jul 17 22:46:04 printo zmmailboxdmgr[14112]: status OK
    Jul 17 22:46:11 printo postfix/smtpd[11812]: timeout after END-OF-MESSAGE from localhost.localdomain[127.0.0.1]
    Jul 17 22:46:11 printo postfix/smtpd[11812]: disconnect from localhost.localdomain[127.0.0.1]
    Jul 17 22:46:46 printo postfix/qmgr[7403]: C18D713223C9: from=<>, size=3813, nrcpt=1 (queue active)
    Jul 17 22:46:46 printo postfix/qmgr[7403]: 950D013223EA: from=<>, size=3813, nrcpt=1 (queue active)
    Jul 17 22:46:46 printo postfix/error[14243]: 950D013223EA: to=<mayurs@servername.dyndns-mail.com>, relay=none, delay=334, delays=334/0.01/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out)
    Jul 17 22:46:46 printo postfix/error[14242]: C18D713223C9: to=<mayurs@servername.dyndns-mail.com>, relay=none, delay=971, delays=971/0.01/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to servername.dyndns-mail.com[120.63.xxx.xx]:7025: Connection timed out)
    Jul 17 22:47:01 printo zmmailboxdmgr[14319]: status requested
    Jul 17 22:47:01 printo zmmailboxdmgr[14319]: status OK


    #####################

    # cat /opt/zimbra/postfix-2.7.4.2z/conf/main.cf

    mail_owner = postfix
    bounce_notice_recipient = postmaster
    content_filter = smtp-amavis:[127.0.0.1]:10024
    smtpd_sasl_authenticated_header = no
    broken_sasl_auth_clients = yes
    minimal_backoff_time = 300s
    sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
    always_add_missing_headers = yes
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    smtpd_helo_required = yes
    virtual_transport = error
    sendmail_path = /opt/zimbra/postfix/sbin/sendmail
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
    smtpd_reject_unlisted_recipient = no
    bounce_queue_lifetime = 5d
    local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_tls_security_level = may
    smtpd_milters =
    smtpd_sender_restrictions =
    lmtp_host_lookup = dns
    delay_warning_time = 0h
    virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf
    queue_run_delay = 300s
    header_checks =
    notify_classes = resource,software
    command_directory = /opt/zimbra/postfix/sbin
    smtpd_client_restrictions = reject_unauth_pipelining
    smtpd_tls_auth_only = yes
    virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
    mailq_path = /opt/zimbra/postfix/sbin/mailq
    mynetworks = 127.0.0.0/8 192.168.10.0/24
    lmtp_connection_cache_time_limit = 4s
    transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
    virtual_alias_domains = proxy:ldap:/opt/zimbra/conf/ldap-vad.cf
    smtpd_sasl_auth_enable = yes
    smtpd_tls_loglevel = 1
    maximal_backoff_time = 4000s
    virtual_mailbox_domains = proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
    daemon_directory = /opt/zimbra/postfix/libexec
    non_smtpd_milters =
    setgid_group = postdrop
    alias_maps = hash:/etc/aliases
    mydestination = localhost
    myhostname = servername.dyndns-mail.com
    message_size_limit = 10240000
    recipient_delimiter =
    in_flow_delay = 1s
    queue_directory = /opt/zimbra/data/postfix/spool
    propagate_unmatched_extensions = canonical
    manpage_directory = /opt/zimbra/postfix/man
    smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    lmtp_connection_cache_destinations =
    newaliases_path = /opt/zimbra/postfix/sbin/newaliases
    policy_time_limit = 3600
    mailbox_size_limit = 0
    disable_dns_lookups = no
    smtp_sasl_security_options = noanonymous
    relayhost = mailrelay.externalserver.com

    ##################

    # cat /opt/zimbra/conf/relay_password
    mail.secureparking.co.in deepak@secureparking.co.inassword


    my mind is totally hang searching forum and applying multiple methods.

    Please help me to know where i am wrong

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

    Default

    Do not add your post to a thread that's over four years old and also in the wrong forum, I'll move this to a new thread in the correct forum.

    Your hosts file is incorrect and you appear to have no MX record for your server, you need to fix both of those errors before you go any further. Read the Split DNS article in the wiki (or search the forums) for the correct details on how to set this up correctly.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Replies: 1
    Last Post: 07-13-2012, 08:57 AM
  2. Replies: 0
    Last Post: 09-13-2009, 05:56 AM
  3. Problems with outgoing SMTP Relay
    By cyber_jack in forum Administrators
    Replies: 3
    Last Post: 01-10-2008, 03:38 PM
  4. Replies: 2
    Last Post: 10-10-2006, 01:45 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
  •