Mails are not sending and receving

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
AzizAhmed
Posts: 7
Joined: Sat Sep 13, 2014 3:26 am

Mails are not sending and receving

Postby AzizAhmed » Mon Jan 13, 2014 5:43 am

Hello

I installed zimbra 8.0.6 in Ubuntu 12.04 x64, every thing is ok and my webclient is running well but the main issue is that i can't send and receive mails not from Zimbra to Zimbra and Zimbra to Outside please help me in this issue
zimbra.log
Jan 13 19:27:41 domainname postfix/smtpd[512]: connect from localhost.localdomain[127.0.0.1]

Jan 13 19:27:41 domainname postfix/smtpd[512]: NOQUEUE: filter: RCPT from localhost.localdomain[127.0.0.1]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=ESMTP helo=

Jan 13 19:27:41 domainname postfix/smtpd[512]: 080ED23F7A2: client=localhost.localdomain[127.0.0.1]

Jan 13 19:27:41 domainname postfix/cleanup[31296]: 080ED23F7A2: message-id=

Jan 13 19:27:41 domainname postfix/qmgr[26194]: 080ED23F7A2: from=, size=695, nrcpt=1 (queue active)

Jan 13 19:27:41 domainname postfix/smtpd[512]: disconnect from localhost.localdomain[127.0.0.1]

Jan 13 19:27:41 domainname postfix/smtp[31317]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

Jan 13 19:27:41 domainname postfix/smtp[31317]: 080ED23F7A2: to=, relay=none, delay=0.13, delays=0.13/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)

Jan 13 19:28:19 domainname zmconfigd[23464]: Fetching All configs

Jan 13 19:28:19 domainname zmconfigd[23464]: All configs fetched in 0.07 seconds

Jan 13 19:28:21 domainname zmconfigd[23464]: Watchdog: service antivirus status is OK.

Jan 13 19:28:21 domainname zmconfigd[23464]: All rewrite threads completed in 0.01 sec

Jan 13 19:28:21 domainname zmconfigd[23464]: All restarts completed in 0.00 sec

Jan 13 19:29:21 domainname zmconfigd[23464]: Fetching All configs

Jan 13 19:29:21 domainname zmconfigd[23464]: All configs fetched in 0.07 seconds

Jan 13 19:29:25 domainname zmconfigd[23464]: Watchdog: service antivirus status is OK.

Jan 13 19:29:25 domainname zmconfigd[23464]: All rewrite threads completed in 0.02 sec

Jan 13 19:29:25 domainname zmconfigd[23464]: All restarts completed in 0.00 sec

Jan 13 19:30:02 domainname zimbramon[1492]: 1492:info: 2014-01-13 19:30:01, QUEUE: 33 16

Jan 13 19:30:04 domainname postfix/smtpd[1671]: connect from localhost.localdomain[127.0.0.1]

Jan 13 19:30:04 domainname postfix/smtpd[1671]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]

Jan 13 19:30:04 domainname postfix/smtpd[1671]: disconnect from localhost.localdomain[127.0.0.1]

Jan 13 19:30:25 domainname zmconfigd[23464]: Fetching All configs

Jan 13 19:30:25 domainname zmconfigd[23464]: All configs fetched in 0.17 seconds

Jan 13 19:30:30 domainname zmconfigd[23464]: Watchdog: service antivirus status is OK.

Jan 13 19:30:30 domainname zmconfigd[23464]: All rewrite threads completed in 0.01 sec

Jan 13 19:30:30 domainname zmconfigd[23464]: All restarts completed in 0.00 sec



Thanks in Advance

--

Aziz


czguy
Advanced member
Advanced member
Posts: 86
Joined: Sat Sep 13, 2014 3:29 am

Mails are not sending and receving

Postby czguy » Sat Jan 18, 2014 2:47 pm

Can you provide an output of zmcontrol status to make sure all services are running?
Also you're getting Connection refused when connecting to localhost. Do you have any IPTables rules that would keep postfix from delivering? Can you send a test message from inside zimbra and outside of zimbra to zimbra and output the full zimbra.log excerpt so we can see more information?
AzizAhmed
Posts: 7
Joined: Sat Sep 13, 2014 3:26 am

Mails are not sending and receving

Postby AzizAhmed » Sun Jan 19, 2014 2:40 pm

Thank You for reply

well my zmcontrol status is



antispam Running

antivirus Running

ldap Running

logger Running

mailbox Running

mta Running

opendkim Running

snmp Running

spell Running

stats Running

zmconfigd Running

No i don't have PTables rules and the second thing is that i can receive mails from outside like gmail, yahoo, hotmail etc but can't send and zimbra to zimbra i can't send mails.
This Log is when i send mail to outside account admin@domainname.com to outsidemail@gmail.com



Jan 20 04:45:22 domainname postfix/smtp[5828]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

Jan 20 04:45:22 domainname postfix/smtp[5829]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

Jan 20 04:45:22 domainname postfix/smtp[5828]: 16E3823F552: to=, relay=none, delay=105308, delays=105308/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)

Jan 20 04:45:22 domainname postfix/smtp[5829]: 2C2C023F805: to=, relay=none, delay=303986, delays=303986/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)

Jan 20 04:46:39 domainname postfix/smtpd[5799]: connect from localhost.localdomain[127.0.0.1]

Jan 20 04:46:39 domainname postfix/smtpd[5799]: NOQUEUE: filter: RCPT from localhost.localdomain[127.0.0.1]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=ESMTP helo=

Jan 20 04:46:39 domainname postfix/smtpd[5799]: 6FF75240F55: client=localhost.localdomain[127.0.0.1]

Jan 20 04:46:39 domainname postfix/cleanup[6498]: 6FF75240F55: message-id=

Jan 20 04:46:39 domainname postfix/qmgr[25740]: 6FF75240F55: from=, size=769, nrcpt=1 (queue active)

Jan 20 04:46:39 domainname postfix/smtpd[5799]: disconnect from localhost.localdomain[127.0.0.1]

Jan 20 04:46:39 domainname postfix/smtp[5828]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

Jan 20 04:46:39 domainname postfix/smtp[5828]: 6FF75240F55: to=, relay=none, delay=0.12, delays=0.12/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)


This Log is when i send mail to local account admin@domainname.com to localzimbraaccount@domainname.com



Jan 20 04:49:15 domainname postfix/smtpd[7666]: connect from domainname.com[27.54.89.130]

Jan 20 04:49:15 domainname postfix/smtpd[7666]: NOQUEUE: filter: RCPT from domainname.com[27.54.89.130]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=ESMTP helo=

Jan 20 04:49:15 domainname postfix/smtpd[7666]: B1AE4240F59: client=domainname.com[27.54.89.130]

Jan 20 04:49:15 domainname postfix/cleanup[7669]: B1AE4240F59: message-id=

Jan 20 04:49:15 domainname postfix/qmgr[25740]: B1AE4240F59: from=, size=769, nrcpt=1 (queue active)

Jan 20 04:49:15 domainname postfix/smtpd[7666]: disconnect from domainname.com[27.54.89.130]

Jan 20 04:49:15 domainname postfix/smtp[7670]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

Jan 20 04:49:15 domainname postfix/smtp[7670]: B1AE4240F59: to=, relay=none, delay=0.05, delays=0.04/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)


Please help i am spending too much time in it, i don't know where i am doing mistake

ThanK You so much :)
6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

Mails are not sending and receving

Postby 6233maxxer » Thu Jan 23, 2014 2:47 am

please post the output of the following command

netstat -tupln |grep amavis
AzizAhmed
Posts: 7
Joined: Sat Sep 13, 2014 3:26 am

Mails are not sending and receving

Postby AzizAhmed » Thu Jan 23, 2014 2:55 am


tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 1733/amavisd (maste
6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

Mails are not sending and receving

Postby 6233maxxer » Thu Jan 23, 2014 3:10 am

your amavis is not fully working, you should have two more rows for port 10025 10026.

try restarting amavisdctl and look for error in syslog
AzizAhmed
Posts: 7
Joined: Sat Sep 13, 2014 3:26 am

Mails are not sending and receving

Postby AzizAhmed » Thu Jan 23, 2014 3:27 am

its running, can i upload my zimbra logs again to you ???
6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

Mails are not sending and receving

Postby 6233maxxer » Thu Jan 23, 2014 3:36 am

Log Files - Zimbra :: Wiki
Restart amavisd and post the log to a pastebin or somewhere from when you restarted
AzizAhmed
Posts: 7
Joined: Sat Sep 13, 2014 3:26 am

Mails are not sending and receving

Postby AzizAhmed » Thu Jan 23, 2014 4:13 am

Hello

Its a amavis log after restart
Log - Pastebin.com


After restart zmcontrol logs
This log is after zmcontrol restart Jan 23 17:46:11 domainname zimbramon[2622 - Pastebin.com
6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

Mails are not sending and receving

Postby 6233maxxer » Thu Jan 23, 2014 5:03 am

Jan 23 17:52:02 domainname zmconfigd[27940]: Exception in bin/zmclamdctl: (Cannot run program "/opt/zimbra/bin/zmclamdctl" (in directory "/root"): error=13, Permission denied)

you messed up something with permissions.

Wondering also why it's trying to access something in /root!
try

/opt/zimbra/libexec/zmfixperms -extended

and restart zimbra

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 14 guests