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 Search this Thread Display Modes
  #1 (permalink)  
Old 07-21-2010, 04:05 AM
Senior Member
 
Posts: 56
Default [SOLVED] Zimbra and console mail does not work

Hi!

I have Zimbra working on a machine, witch also running as a web server.
Zimbra works fine, I can send, and receive emails.

However, when I try to send mail out from a web site, It wont work.
The same problem if I try it from console:
Code:
/usr/lib/sendmail -v my@mailaddress.com  < /etc/motd
In both cases, I can see the mail in mailq, but stucks there.
Code:
mailq
postqueue: warning: Mail system is down -- accessing queue directly
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
D1E2363A194      609 Wed Jul 21 10:27:17  www-data
                                         MY@MAILADDRESS.COM
Sendmail also wont work.

Code:
sendmail -q
postqueue: warning: unable to look up public/qmgr: No such file or directory
postqueue: fatal: Cannot flush mail queue - mail system is down
I guess I am using a wrong sendmail ?
So what sould I use to be able to send out a mail from console? I can configure php to use the same I guess But what?
Anyone had this kind of problem before?

Thanks,
Tibby
Reply With Quote
  #2 (permalink)  
Old 07-21-2010, 04:13 AM
Senior Member
 
Posts: 56
Default

UPDATE:

If i use:
Code:
/opt/zimbra/postfix-2.6.5.2z/sbin/sendmail -v MY@MAILADDRESS.COM < /etc/motd
It works fine.
Only from php side doesn't seems to work.
Php uses also sendmail to deliver messages.
Reply With Quote
  #3 (permalink)  
Old 07-21-2010, 05:36 AM
Outstanding Member
 
Posts: 708
Default

Zimbra instructs you to disable sendmail entirely. Better advice is to run it, but stop it from listening on the network. On RedHat, set DAEMON=no in /etc/sysconfig/sendmail. On others, do whatever is needed to eliminate the -bd argument.

Your backlog of unsent mail is in /var/spool/clientqueue. If you can't figure out an upgrades-safe way to run sendmail without -bd, another way to clear that queue would be to run /usr/sbin/sendmail -Ac -q every few minutes out of cron.
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.