Results 1 to 7 of 7

Thread: Smarthost requires password

  1. #1
    Verbunk is offline Active Member
    Join Date
    Feb 2006
    Location
    Boston
    Posts
    38
    Rep Power
    9

    Default Smarthost requires password

    Hi Guys,

    In the admin UI under the MTA there is a spot to put a smarthost and port. My question is what happens when the smarthost requires authentication?

    To keep a long story short, I'm looking to use gmail as a smarthost b/c there are some BOFH that define waaaay to restrictive spam guidelines and lowly me not having a proper domian is finding my emails rejected outright. I have already used

    zmprov ma me@PC.local.net zimbraMailCanonicalAddress blah@where.com

    to change my email to my gmail address (to use gmail's always on servers to catch incoming which I can then fetchmail) but that's evidently not enough for some businesses.

    Any tips on how to instruct zimbra to use gmail as a smarthost?

    -Joshua


    p.s. Happy Birthday KevinH

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

    Default

    Search the wiki for 'relay'.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Verbunk is offline Active Member
    Join Date
    Feb 2006
    Location
    Boston
    Posts
    38
    Rep Power
    9

    Default Done but not done

    Thanks for the pointer.

    I followed the directions here
    http://wiki.zimbra.com/index.php?tit...Authentication

    <code>
    "Change relay host in Admin UI"

    $ echo smtp.gmail.com username@gmail.comassword > /opt/zimbra/conf/relay_password

    $ postmap /opt/zimbra/conf/relay_password

    $ postmap -q smtp.gmail.com /opt/zimbra/conf/relay_password

    $ postconf -e smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password
    $ postconf -e smtp_sasl_auth_enable=yes

    $ postfix reload
    </code>

    But the email headers still suggest it's not using the relay host even after a full zimbra restart (just in case). A check of the 'All Mail' folder (which should save a copy of the mail I believe) doesn't show the email.

    Can you see what I'm doing wrong?

    -J
    Last edited by Verbunk; 04-11-2007 at 06:10 AM. Reason: new info

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Does running 'postconf -n' as the Zimbra user show those changes as having been made? Did you also look in the logfiles for any authentication errors?
    Last edited by phoenix; 04-11-2007 at 06:06 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Verbunk is offline Active Member
    Join Date
    Feb 2006
    Location
    Boston
    Posts
    38
    Rep Power
    9

    Default

    Upon another restart of the zimbra services it's not sending mail out at all so the relay host may have taken effect, but there is no mention of sending errors etc in mailbox.log. The emails just aren't sent....

    I have confirmed that postconf -n returns what I put in for the wiki procedure.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Is there anything like:
    Code:
    (Authentication failed: cannot SASL authenticate to server ...: no mechanism available)
    in the logs? What do you meany by 'The emails just aren't sent....'? Where are the messages? How do you know they're not sent?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Verbunk is offline Active Member
    Join Date
    Feb 2006
    Location
    Boston
    Posts
    38
    Rep Power
    9

    Default

    ok, in the mail queue in admin UI it says

    Reason: connect to gmail-smtp.l.google.com[IP] Read timeout

    I did not find that error message in any of the logs in the /opt/zimbra/log folder.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ISP requires login and password on Relay host
    By somz911 in forum Administrators
    Replies: 2
    Last Post: 09-08-2006, 07:19 AM
  2. FC4 Test install getting SU: Incorrect Password
    By bbepristis in forum Installation
    Replies: 16
    Last Post: 08-11-2006, 10:07 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
  •