Not receiving internal mail

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
jacko
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

Not receiving internal mail

Post by jacko »

Hi,
I have installed Zimbra CS on a fresh FC4 installation. The only two problems I experienced were /etc/hosts and the symlink issue.

and
http://www.zimbra.com/forums/showpost.p ... stcount=16
I">http://www.zimbra.com/forums/showpost.p ... ostcount=8
and
http://www.zimbra.com/forums/showpost.p ... stcount=16
I am now able to connect and log in to both the admin and user interfaces, however I am unable to receive mail. I have a test domain setup with the test address: jacko@mailcs.domain.com and I appear to be sending fine but I don't appear to be receiving mail, I tried sending a test to myself. I also tried sending a message manually by telnetting on to localhost:25 the message was accepted and queued but still no messages have appeared.
I have tried turning off DNS lookups and I am not using any of the other MTA security checks.
I have not managed to determine where the MTA traffic is being logged to so if someone could point me in that direction it would be very much appreciated along with any other suggestions.
So far, very impressed with the suite in these early stages of eval.
Jacko
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Not receiving internal mail

Post by marcmac »

mta traffic is logged to /var/log/maillog
To find these messages, run postqueue -p (as the zimbra user) to see if they're stuck in the mta queue. If they are, there should be some indication of why they haven't been deliverd.
If they aren't in the queue, check /opt/zimbra/log/zimbra.log to see what the lmtp server did with the messages when they were delivered to it...
jacko
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

Not receiving internal mail

Post by jacko »

thanks for your response Marcmac,
/var/log/maillog has nothing beyond a few sendmail entries before it was killed yesterday as part of the zimbra installation.
Looks like CLAMAV has failed to start:
Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) ClamAV-clamd: Connecting to socket 127.0.0.1:3310, retry #2

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3

310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 40) line 264.

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) WARN: all primary virus scanners failed, considering backups

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNER

S FAILED: ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3

310: Connection refused) at (eval 40) line 264.

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) PRESERVING EVIDENCE in /opt/zimbra/amavisd/tmp/amavis-20051003T161931-1

6817

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) TIMING [total 7100 ms] - SMTP EHLO: 5 (0%)0, SMTP pre-MAIL: 2 (0%)0, mk

dir tempdir: 0 (0%)0, create email.txt: 0 (0%)0, lookup_ldap: 24 (0%)0, SMTP pre-DATA-flush: 2 (0%)0, SMTP DATA: 21 (0%)1, bod

y_hash: 3 (0%)1, gen_mail_id: 1 (0%)1, mkdir parts: 1 (0%)1, mime_decode: 11 (0%)1, get-file-type1: 13 (0%)1, decompose_part:

1 (0%)1, parts_decode: 0 (0%)1, AV-scan-1: 7015 (99%)100, rundown: 2 (0%)100

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) extra modules loaded: Net/LDAP/Bind.pm

Oct 3 16:19:38 solveitsrv02 amavis[16817]: (16817-03) load: 0 %, total idle 6151.755 s, busy 25.693 s

Oct 3 16:19:38 solveitsrv02 postfix/smtp[9513]: 5EDBCFDDE4: to=, relay=127.0.0.1[127.0.0.1], delay=

68, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=16817-03, virus_scan FAILED: virus_scan

: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: 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 40) line 264. (in reply to end of DATA command))



[zimbra@solveitsrv02 ~]$ zmcontrol status

Calling GetServiceInfoRequest (mailcs.solveitsimply.com)
RESPONSE: (Zimbra::Mon::serviceInfo)

antispam

status Running

antivirus

status Stopped

ldap

status Running

mailbox

status Running

mta

status Running

snmp

status Stopped

host

ip 192.168.1.12

name mailcs.solveitsimply.com
I've tried restarting zimbra but I still get the above status output.
I am getting the following error:
/opt/zimbra/clamav/sbin/clamd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file

or directory
in: /opt/zimbra/log/clamd.log
Is this another symlink required? If so could you let me know where and what I should be linking to?
So close :)
Thanks
Jacko
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Not receiving internal mail

Post by marcmac »

On my system, the missing lib is part of the gmp package - do you have that installed? I found version 4.1.4 on my box (FC3).
jacko
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

Not receiving internal mail

Post by jacko »

Brilliant!! Thanks Marcmac. I installed gmp and that seems to have done it. I have now received all the messages the I was expecting to see.
I am still seeing snmp as stopped though, where can I look to determine why this is not starting? I am assuming that this is used for monitoring usage is it?
[zimbra@solveitsrv02 ~]$ zmcontrol start

Calling start (mailcs.solveitsimply.com)
perl /opt/zimbra/bin/zmmon &
RESPONSE: (Zimbra::Mon::serviceInfo)

antispam

status Running

antivirus

status Running

ldap

status Running

mailbox

status Running

mta

status Running

snmp

status Stopped

host

ip 192.168.1.12

name mailcs.solveitsimply.com
Do you know when the expected first full release is due?
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Not receiving internal mail

Post by marcmac »

try running zmsnmpinit and restarting snmp (swatchctl start).
jacko
Posts: 10
Joined: Fri Sep 12, 2014 9:56 pm

Not receiving internal mail

Post by jacko »

Thanks Marcmac,
zmsnmpinit seems to have done something but swatchctl doesn't exist and swatch start doesn't work. I tried as both root and zimbra.
[zimbra@solveitsrv02 ~]$ zmsnmpinit

creating /opt/zimbra/conf/swatchrc

[zimbra@solveitsrv02 ~]$ swatchctl start

-bash: swatchctl: command not found


[zimbra@solveitsrv02 ~]$ swatch start

swatch: cannot read /opt/zimbra/.swatchrc

swatch: using default configuration of:
watchfor = /.*/

echo


*** swatch version 3.1.1 (pid:27056) started at Tue Oct 4 07:16:07 BST 2005
/usr/bin/tail: cannot open `/var/log/messages' for reading: Permission denied

/usr/bin/tail: no files remaining
I tried a restart of the Zimbra suite but SNMP is still not starting. Are there any logs for the SNMP service anywhere?
Is swatch a Zimbra tool or is that a linux tool that should have been installed separately?
Post Reply