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

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 Display Modes
  #1 (permalink)  
Old 06-25-2009, 10:21 PM
Active Member
 
Posts: 44
Default Send mail through Zimbra with sendmail

I was unable to find an answer in the forums to this, so here it goes.

I have a web server that I need to send e-mail from. I've installed sendmail but cannot figure out how to use the outgoing authentication for it. I just want to be able to send mail from the web server through Zimbra to myself and other domains. For example, I would like to create a script that would send my web logs as an attachment once a week. I can figure out the script side, but need help with Zimbra authentication. Any hints?

Zimbra Server - CentOS 5.3 with Zimbra 5.0.16GA.
Web Server - Ubuntu 8.04 with the newest sendmail package.
Reply With Quote
  #2 (permalink)  
Old 06-26-2009, 05:51 AM
Moderator
 
Posts: 6,275
Default

Why even bother installing sendmail ? On your Ubuntu server do the following
Code:
apt-get install sendemail
__________________
Reply With Quote
  #3 (permalink)  
Old 06-26-2009, 11:34 AM
Special Member
 
Posts: 137
Default

Try to configure the sendmail server to use a "SMARTHOST"
check the sendmail.mc for a SMART_HOST line on my system its
Code:
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST', `ip-of-zimbra-server')dnl
then add the ip of the sendmail server to your zimbra server's "Mynetwork"

In my case both systems are in a DMZ and it seams to work ok.
Reply With Quote
  #4 (permalink)  
Old 06-26-2009, 11:58 AM
Moderator
 
Posts: 6,275
Default

Why add the overhead ? If you are purely using Sendmail to relay through a smarthost it is such a overkill on resources What ever language you are using eg. Perl/PHP you there will be a hook to send email anyway; so why not use it ?
__________________
Reply With Quote
  #5 (permalink)  
Old 06-26-2009, 03:30 PM
Active Member
 
Posts: 44
Default What's the difference?

Quote:
Originally Posted by uxbod View Post
Why add the overhead ? If you are purely using Sendmail to relay through a smarthost it is such a overkill on resources What ever language you are using eg. Perl/PHP you there will be a hook to send email anyway; so why not use it ?
Is there some advantage to using sendemail over sendmail?
Reply With Quote
  #6 (permalink)  
Old 06-26-2009, 03:42 PM
Moderator
 
Posts: 6,275
Default

Yes, it is a lightweight script for sending email and not a full blown MTA.

sendEmail | freshmeat.net
__________________
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com