Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-10-2007, 08:39 PM
Active Member
 
Posts: 38
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
Reply With Quote
  #2 (permalink)  
Old 04-10-2007, 11:35 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Search the wiki for 'relay'.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-11-2007, 05:55 AM
Active Member
 
Posts: 38
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
Reply With Quote
  #4 (permalink)  
Old 04-11-2007, 06:04 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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?
__________________
Regards


Bill

Last edited by phoenix; 04-11-2007 at 06:06 AM..
Reply With Quote
  #5 (permalink)  
Old 04-11-2007, 06:14 AM
Active Member
 
Posts: 38
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.
Reply With Quote
  #6 (permalink)  
Old 04-11-2007, 06:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #7 (permalink)  
Old 04-11-2007, 04:15 PM
Active Member
 
Posts: 38
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.