Results 1 to 3 of 3

Thread: [SOLVED] Zimbra and console mail does not work

  1. #1
    Join Date
    May 2010
    Location
    Budapest
    Posts
    56
    Rep Power
    5

    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

  2. #2
    Join Date
    May 2010
    Location
    Budapest
    Posts
    56
    Rep Power
    5

    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.

  3. #3
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    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.

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 02:55 PM
  2. Replies: 17
    Last Post: 08-30-2010, 12:59 PM
  3. Zimbra Admin console 'view mail' problem
    By bubarooni in forum Administrators
    Replies: 3
    Last Post: 06-11-2009, 11:40 PM
  4. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 09:03 AM
  5. Fresh Zimbra installation does not work
    By Datax in forum Installation
    Replies: 4
    Last Post: 08-18-2008, 02:18 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
  •