Results 1 to 5 of 5

Thread: SMTP Relay

  1. #1
    adarsh is offline Starter Member
    Join Date
    May 2006
    Posts
    2
    Rep Power
    9

    Unhappy SMTP Relay

    hi all,
    I am using a zimbra mail server locally.when i am trying to relay the
    mails through an exim mail server (ISP) its is not allowing me to
    relay through eventhough i am trying it with authorised username and
    password.
    Logs from the exim server says that

    (testserver2.mydomain.net) [83.112.214.22] F=<adarsh@mydomain.net>
    rejected RCPT <vpadarsh@gmail.com>: de2-b1225.alshamil.net.ae
    (testserver2.mydomain.net) [83.112.214.22] is currently not permitted
    to relay through this server. Perhaps you have not logged into the
    pop/imap server in the last 30 minutes or do not have SMTP
    Authentication turned on in your email client.

    and the zimbra logs says
    May 14 14:49:53 testserver2 postfix/smtp[16150]: 2FAEA33EB5: to=<vpadarsh@gmail.com>, relay=72.36.132.186[72.36.132.186], delay=10, status=bounced (host 72.36.132.186[72.36.132.186] said: 550-de2-b1225.alshamil.net.ae (testserver2.mydomain.net) [83.110.214.225] is 550-currently not permitted to relay through this server. Perhaps you have not 550-logged into the pop/imap server in the last 30 minutes or do not have SMTP 550 Authentication turned on in your email client. (in reply to RCPT TO command))

    i am able to send mail out when i am not using the relayhost entry.

    i have the zimbra postfix entries as
    content_filter = smtp-amavis:[127.0.0.1]:10024
    myhostname = testserver2.mydomain.net
    recipient_delimiter =
    smtpd_sasl_auth_enable = yes
    smtpd_tls_auth_only = yes
    smtpd_use_tls = yes
    disable_dns_lookups = yes
    message_size_limit = 10240000
    relayhost = mail.testdomainforme.net
    smtpd_recipient_restrictions = reject_non_fqdn_recipient,
    permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname,
    reject_unknown_sender_domain, reject_unauth_destination, permit
    alias_maps = hash:/etc/aliases
    broken_sasl_auth_clients = yes
    command_directory = /opt/zimbra/postfix-2.2.9/sbin
    daemon_directory = /opt/zimbra/postfix-2.2.9/libexec
    header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    mailq_path = /opt/zimbra/postfix-2.2.9/sbin/mailq
    manpage_directory = /opt/zimbra/postfix-2.2.9/man
    newaliases_path = /opt/zimbra/postfix-2.2.9/sbin/newaliases
    queue_directory = /opt/zimbra/postfix-2.2.9/spool
    sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
    sendmail_path = /opt/zimbra/postfix-2.2.9/sbin/sendmail
    smtpd_client_restrictions = reject_unauth_pipelining
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_helo_required = yes
    smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    smtpd_tls_loglevel = 3
    transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
    version = 2.2.9
    virtual_alias_domains = ldap://opt/zimbra/conf/ldap-vad.cf
    virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
    virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
    virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    virtual_transport = error
    smtp_sasl_security_options =
    smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password

    can anybody help me solve this problem(for me)

    Thanks &Regards

    Adarsh

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Hi

    Welcome to the forums.

    Don't you need to set 'smtp_sasl_auth_enable=yes' as well?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    adarsh is offline Starter Member
    Join Date
    May 2006
    Posts
    2
    Rep Power
    9

    Thumbs up

    Quote Originally Posted by phoenix
    Hi

    Welcome to the forums.

    Don't you need to set 'smtp_sasl_auth_enable=yes' as well?
    hi bill,
    thanks a lot
    i was struggling a lot

    Adarsh

  4. #4
    msshahanshah is offline New Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    4

    Default how did you do it ?

    Quote Originally Posted by adarsh View Post
    hi bill,
    thanks a lot
    i was struggling a lot

    Adarsh
    Hi am having the same issue but cant figure out how to enable the authentication.
    is there a command or can it be done from the gui interface ?

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by msshahanshah View Post
    Hi am having the same issue but cant figure out how to enable the authentication.
    is there a command or can it be done from the gui interface ?
    It's not a good idea to add your question to a thread that's over four years old. This question has been answered many times in the forums you should search the forums or wiki for details on how to do it.

    It would also be an idea if you gave some follow-up to the last thread you started and answer the questions that I asked you.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.


LinkBacks (?)

  1. 09-07-2007, 12:23 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  2. Open Relay Help & Telnet Security Issue
    By OfMacAndMen in forum Installation
    Replies: 17
    Last Post: 07-10-2007, 07:51 PM
  3. Replies: 2
    Last Post: 10-10-2006, 12:45 AM
  4. SMTP Relay
    By alohrer in forum Installation
    Replies: 28
    Last Post: 04-24-2006, 08:35 AM
  5. SMTP Relay for particular ip's
    By DMRDave in forum Administrators
    Replies: 8
    Last Post: 03-10-2006, 04:09 PM

Posting Permissions

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