Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Send mail via ISP SMTP

  1. #1
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default Send mail via ISP SMTP

    I've been testing Zimbra via the pre-built VMWare install, and like what I see very much.

    One thing I need to be able to do is deliver mail via an ISP-provided SMTP server. This server requires authentication.

    I see under the admin GUI -->Global settings -->MTA where I can enter a Relay MTA for external deliver, but how do I enter username/password credentials for authentication?

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default

    Perfect...but it took almost 2 minutes for a response...you guys sleeping?

    Seriously..great looking product, and apparently well documented and well supported.

    Keep up the great work. I may just have to migrate to Zimbra soon.

  4. #4
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default Still working on it

    Zimbra is installed and running nicely. On an open internet connection, I can send and receive mail fine.

    I've followed the instructions above, and have also played with:

    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options =

    When I send a message, I get the following error:

    <destination.address@destinationdomain.com>: host xxx.xxx.xxx.xxx said: 530
    authentication required


    Anyone have any ideas? I'm about ready to hang it up and stick with the no-calendar-having crapmail system I currently have.
    Last edited by mcevoys; 05-05-2006 at 08:36 AM.

  5. #5
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    So you can connect to the ISP SMTP relay without AUTH but you want to use AUTH for Zimbra? Not sure what you are asking for now. Also you'll need to make sure if your not on your local network when trying to send though Zimbra your mail client has to use SMTP Auth.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  6. #6
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default

    No, my ISP requires AUTH.

    I tested on an open internet connection via a different ISP to make sure all else was working with Zimbra. It is...with the exception of SMTP authentication with the ISP.

  7. #7
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default

    Doing some research, the 530 error sounds like I'm definitely hitting the right server, so it must be something in /postfix/main.cf

    For the pertinent settings, I have:

    smtpd_sasl_auth_enable = yes
    smtpd_tls_auth_only = yes
    smtpd_use_tls = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options = <---blank

  8. #8
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Does /var/log/zimbra.log show that postfix is trying to auth?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  9. #9
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default

    Here's the log:

    May 9 06:21:17 localhost postfix/smtpd[23708]: initializing the server-side TLS engine
    May 9 06:21:17 localhost postfix/smtpd[23708]: connect from localhost.localdomain[127.0.0.1]
    May 9 06:21:17 localhost postfix/smtpd[23708]: A2BF792F9: client=localhost.localdomain[127.0.0.1]
    May 9 06:21:17 localhost postfix/cleanup[23712]: A2BF792F9: message-id=<13443474.01147170076349.JavaMail.root@mail>
    May 9 06:21:17 localhost postfix/qmgr[23405]: A2BF792F9: from=<me@mcevoy.org>, size=1089, nrcpt=1 (queue active)
    May 9 06:21:17 localhost postfix/smtpd[23708]: disconnect from localhost.localdomain[127.0.0.1]
    May 9 06:21:17 localhost amavis[22313]: (22313-01) ESMTP::10024 /opt/zimbra/amavisd/tmp/amavis-20060509T062117-22313: <sean@mcevoy.org> -> <me@external.com> Received: SIZE=1089 from localhost.localdomain ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22313-01 for <me@external.com>; Tue, 9 May 2006 06:21:17 -0400 (EDT)
    May 9 06:21:17 localhost amavis[22313]: (22313-01) Checking: XzvY3qc+ZG3S [127.0.0.1] <me@mcevoy.org> -> <me@external.com>
    May 9 06:21:19 localhost postfix/smtpd[23717]: initializing the server-side TLS engine
    May 9 06:21:19 localhost postfix/smtpd[23717]: connect from localhost.localdomain[127.0.0.1]
    May 9 06:21:19 localhost postfix/smtpd[23717]: 520DC92FC: client=localhost.localdomain[127.0.0.1]
    May 9 06:21:19 localhost postfix/cleanup[23712]: 520DC92FC: message-id=<13443474.01147170076349.JavaMail.root@mail>
    May 9 06:21:19 localhost amavis[22313]: (22313-01) FWD via SMTP: <me@mcevoy.org> -> <me@external.com>, 250 2.6.0 Ok, id=22313-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 520DC92FC
    May 9 06:21:19 localhost postfix/smtpd[23717]: disconnect from localhost.localdomain[127.0.0.1]
    May 9 06:21:19 localhost postfix/qmgr[23405]: 520DC92FC: from=<me@mcevoy.org>, size=1932, nrcpt=1 (queue active)
    May 9 06:21:19 localhost amavis[22313]: (22313-01) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <me@mcevoy.org> -> <me@external.com>, Message-ID: <13443474.01147170076349.JavaMail.root@mail>, mail_id: XzvY3qc+ZG3S, Hits: -1.5, 1622 ms
    May 9 06:21:19 localhost postfix/smtp[23713]: A2BF792F9: to=<me@external.com>, relay=127.0.0.1[127.0.0.1], delay=2, status=sent (250 2.6.0 Ok, id=22313-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 520DC92FC)
    May 9 06:21:19 localhost amavis[22313]: (22313-01) extra modules loaded: Net/LDAP/Bind.pm
    May 9 06:21:19 localhost postfix/qmgr[23405]: A2BF792F9: removed
    May 9 06:21:20 localhost postfix/smtp[23718]: 520DC92FC: to=<me@external.com>, relay=smtp.snet.yahoo.com[68.142.229.41], delay=1, status=deferred (Authentication failed: SASL authentication failed; server smtp.snet.yahoo.com[68.142.229.41] said: 535 authorization failed (#5.7.0))

    So close and yet so far....
    Last edited by mcevoys; 05-09-2006 at 05:33 AM.

  10. #10
    Join Date
    Apr 2006
    Location
    Ridgefield, CT
    Posts
    152
    Rep Power
    9

    Default

    Here's my /postfix/conf/main.cf:

    content_filter = smtp-amavis:[127.0.0.1]:10024
    myhostname = localhost.localdomain
    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 = smtp.snet.yahoo.com
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_sender, 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_auth_enable = yes
    smtp_sasl_security_options =
    smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 02:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  5. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 04:34 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
  •