Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Relay_Host problem - another thread

  1. #1
    zimbuca is offline Junior Member
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default Relay_Host problem - another thread

    So I've gone through all of the Wiki's, doc, google searches on the planet. Have tried them all. But I still can't send out to a relay host unless I change the main.cf and add the port number (:2525) to the end of the relay_host. Obviously I can't do a postfix reload or it will re-write the main.cf. But when I do this my server will eventually hang by the time I get. home.

    Was using GA 4.x for a couple of years and was able to solve this one quickly.
    Installed fresh 5.0.2 GA on fresh openSUSE 10.2
    Everything works great, i love it
    But were the old one would let me set the relay host and port# from the admin gui this one will not. It only lets me set the IP not hostname. Can't figure it out.

    This is my first post but you guys have been great since I started using Zimbra

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Welcome to the forums,
    su - zimbra
    zmprov ms server.domain.com zimbraMtaRelayHost external.relay.com:#

  3. #3
    zimbuca is offline Junior Member
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default

    That worked like magic. Haven't seen that command anywhere before. Thanks

    So after a reboot zimbra didn't start because calmd didn't start.
    tailing mail.err
    postfix/postfix-script[6919]: warning: not owned by root: /opt/zimbra/postfix-2.4.3.4z/conf/main.cf

    clamd log
    +++ Started at Mon Mar 10 23:42:43 2008
    Mon Mar 10 23:42:43 2008 -> clamd daemon 0.92 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Mon Mar 10 23:42:43 2008 -> Log file size limited to 20971520 bytes.
    Mon Mar 10 23:42:43 2008 -> Reading databases from /opt/zimbra/clamav/db
    Mon Mar 10 23:42:43 2008 -> Not loading PUA signatures.
    Mon Mar 10 23:42:44 2008 -> ERROR: MD5 verification error

    When I saw this the first time I found this but change the start and stop commands (which i'm not totally sure of)

    su - zimbra
    mkdir /tmp/clamdb
    zmamavisctl stop
    mv /opt/zimbra/clamav/db/* /tmp/clamdb
    zmprov ms `zmhostname` +zimbraServiceEnabled antivirus
    /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf
    zmamavisctl start

    it seemed to fix until i rebooted the server to verify

  4. #4
    zimbuca is offline Junior Member
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default

    Going from past experience I unchecked AV service from the admin console and restart zimbra. no error which i had expected.

    Still getting this and it's owned by :

    postfix/postfix-script[12165]: warning: not owned by root: /opt/zimbra/postfix-2.4.3.4z/conf/main.cf

  5. #5
    zimbuca is offline Junior Member
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default

    Seems like when I entered
    "zmprov ms server.domain.com zimbraMtaRelayHost external.relay.com:#"
    I put my full hostname and I bet Clam was using localhost for the hostname and made it barf.

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Is this all working okay now for you?

    If so would be grateful if you could mark the thread as [SOLVED].

  7. #7
    zimbuca is offline Junior Member
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default

    No it's not fixed. clamd won't start.

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by zimbuca View Post
    Still getting this and it's owned by :

    postfix/postfix-script[12165]: warning: not owned by root: /opt/zimbra/postfix-2.4.3.4z/conf/main.cf
    You can ignore this as it's only a warning and of no consequence.

    Quote Originally Posted by zimbuca View Post
    No it's not fixed. clamd won't start.
    How about some feedback such as error messages from the logs and an exact description of the problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    zimbuca is offline Junior Member
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default

    Seems that after I entered: "zmprov ms server.domain.com zimbraMtaRelayHost external.relay.com:#" and put my full hostname at "server.domain.com" calmd was looking for localhost or 127.0.0.1 and now it doesn't start.

    Since my /var/log/zimbra.log is 0 bytes I tail the other log file.

    tail of localmessages
    zimbramon[20142]: 20142:info: zmmtaconfig: Watchdog adding antivirus to restart list
    clamd[23015]: clamd daemon 0.92 (OS: linux-gnu, ARCH: i386, CPU: i686)
    clamd[23015]: Log file size limited to 20971520 bytes.
    clamd[23015]: Reading databases from /opt/zimbra/clamav/db
    clamd[23015]: Not loading PUA signatures.
    clamd[23015]: MD5 verification error

    tail of mail
    relay=127.0.0.1[127.0.0.1]:10024, delay=459, delays=452/0.05/0.03/7.2, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=20573-01, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: CODE(0x8190098) Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 91) line 310. at (eval 91) line 511. (in reply to end of DATA command))

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Is clamav actually running?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Missing Email Problem
    By prox in forum Zimbra Connector for Outlook
    Replies: 6
    Last Post: 03-16-2008, 10:01 PM
  2. The *ULTIMATE* 451 / convertd problem thread!
    By Leesbian in forum Administrators
    Replies: 13
    Last Post: 10-31-2007, 01:44 PM
  3. Zimbra, WM5.0, AS + problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 7
    Last Post: 06-25-2007, 01:04 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 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
  •