1

Topic: Only getting e-mail after rebooting server

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  PGSQL
- Linux/BSD distribution name and version: Ubuntu LAMP 12.04 on Digital Ocean
- Related log if you're reporting an issue: Not sure what Log file I should paste.
====

Hi,
So I followed this guide (http://www.iredmail.org/install_iredmail_on_ubuntu.html) and set up iRedMail 0.8.5 on my Droplet (12.04 LAMP Ubuntu), my hostname was MYDOMAIN.com and I used mail.MYDOMAIN.com as my first Virtual Domain Name. Using PostgreSQL.

For some reason it is not sending or receiving any e-mails until I "Reboot"

Thanks for your assistance.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Only getting e-mail after rebooting server

Could you please extract related log in Postfix log file in /var/log/mail.log and paste here? It's hard for us to help troubleshoot without related log.

Do you have LAMP installed before iRedMail installation?

3 (edited by zylo 2013-09-18 11:17:37)

Re: Only getting e-mail after rebooting server

Hi, Yes I had LAMP installed before iRedMail installation, it was an Ubuntu 12.04 LAMP bundle from DigitalOcean.
I chose PostgreSQL because I didn't think it would interfere with anything.

It's actually sending/receiving e-mail now, just takes a very long time. (sometimes a few minutes, sometimes over an hour)

Sep 18 03:02:25 kellwebdesign postfix/smtpd[4813]: connect from S0106185933483608.wp.shawcable.net[24.77.223.149]
Sep 18 03:02:27 kellwebdesign postfix/smtpd[4813]: A2347120101: client=S0106185933483608.wp.shawcable.net[24.77.223.149], sasl_method=PLAIN, sasl_username=kelly@kolisnik.com
Sep 18 03:02:28 kellwebdesign postfix/cleanup[4830]: A2347120101: message-id=<B688DF23-C352-44EB-BD24-6D8D2979D2CA@kolisnik.com>
Sep 18 03:02:28 kellwebdesign postfix/qmgr[1457]: A2347120101: from=<kelly@kolisnik.com>, size=563, nrcpt=1 (queue active)
Sep 18 03:02:29 kellwebdesign postfix/smtpd[4813]: disconnect from S0106185933483608.wp.shawcable.net[24.77.223.149]
Sep 18 03:02:30 kellwebdesign amavis[875]: (00875-09) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)
Sep 18 03:02:36 kellwebdesign amavis[875]: (00875-09) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 102) line 375.\n
Sep 18 03:02:36 kellwebdesign amavis[875]: (00875-09) (!!)WARN: all primary virus scanners failed, considering backups
Sep 18 03:02:43 kellwebdesign postfix/smtpd[4842]: connect from localhost[127.0.0.1]
Sep 18 03:02:43 kellwebdesign postfix/smtpd[4842]: 4F911121713: client=localhost[127.0.0.1]
Sep 18 03:02:43 kellwebdesign postfix/cleanup[4830]: 4F911121713: message-id=<B688DF23-C352-44EB-BD24-6D8D2979D2CA@kolisnik.com>
Sep 18 03:02:43 kellwebdesign postfix/qmgr[1457]: 4F911121713: from=<kelly@kolisnik.com>, size=1018, nrcpt=1 (queue active)
Sep 18 03:02:43 kellwebdesign postfix/smtpd[4842]: disconnect from localhost[127.0.0.1]
Sep 18 03:02:43 kellwebdesign amavis[875]: (00875-09) Passed CLEAN, LOCAL [24.77.223.149] [24.77.223.149] <kelly@kolisnik.com> -> <kellykolisnik@msn.com>, Message-ID: <B688DF23-C352-44EB-BD24-6D8D2979D2CA@kolisnik.com>, mail_id: ivPPIZKmcQ-4, Hits: -10, size: 563, queued_as: 4F911121713, 14376 ms
Sep 18 03:02:43 kellwebdesign postfix/smtp[4835]: A2347120101: to=<kellykolisnik@msn.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=16, delays=1.6/0.01/0.01/14, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4F911121713)
Sep 18 03:02:43 kellwebdesign postfix/qmgr[1457]: A2347120101: removed
Sep 18 03:02:44 kellwebdesign postfix/smtp[4843]: 4F911121713: to=<kellykolisnik@msn.com>, relay=mx3.hotmail.com[65.55.92.136]:25, delay=1.2, delays=0.01/0.01/0.51/0.63, dsn=2.0.0, status=sent (250  <B688DF23-C352-44EB-BD24-6D8D2979D2CA@kolisnik.com> Queued mail for delivery)
Sep 18 03:02:44 kellwebdesign postfix/qmgr[1457]: 4F911121713: removed
Sep 18 03:02:58 kellwebdesign postfix/smtpd[4845]: connect from blu0-omc2-s28.blu0.hotmail.com[65.55.111.103]
Sep 18 03:02:58 kellwebdesign postfix/smtpd[4845]: C1553120101: client=blu0-omc2-s28.blu0.hotmail.com[65.55.111.103]
Sep 18 03:02:59 kellwebdesign postfix/cleanup[4830]: C1553120101: message-id=<BLU168-W24AB44C8BE17FE13DCFA3AC200@phx.gbl>
Sep 18 03:02:59 kellwebdesign postfix/qmgr[1457]: C1553120101: from=<kellykolisnik@msn.com>, size=2007, nrcpt=1 (queue active)
Sep 18 03:03:00 kellwebdesign postfix/smtpd[4845]: disconnect from blu0-omc2-s28.blu0.hotmail.com[65.55.111.103]
Sep 18 03:03:01 kellwebdesign amavis[874]: (00874-10) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)
Sep 18 03:03:07 kellwebdesign amavis[874]: (00874-10) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 102) line 375.\n
Sep 18 03:03:07 kellwebdesign amavis[874]: (00874-10) (!!)WARN: all primary virus scanners failed, considering backups
Sep 18 03:03:12 kellwebdesign amavis[874]: (00874-10) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan KILLED, signal 9 (0009) at (eval 102) line 596.
Sep 18 03:03:12 kellwebdesign amavis[874]: (00874-10) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 18 03:03:12 kellwebdesign amavis[874]: (00874-10) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20130917T222911-00874
Sep 18 03:03:12 kellwebdesign postfix/smtp[4835]: C1553120101: to=<kelly@kolisnik.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=13, delays=1.4/0/0/12, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=00874-10, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
Sep 18 03:04:16 kellwebdesign postfix/smtpd[4865]: connect from S0106185933483608.wp.shawcable.net[24.77.223.149]
Sep 18 03:04:18 kellwebdesign postfix/trivial-rewrite[4817]: warning: do not list domain kellwebdesign.com in BOTH mydestination and virtual_mailbox_domains
Sep 18 03:04:18 kellwebdesign postfix/smtpd[4865]: 97AC91216FC: client=S0106185933483608.wp.shawcable.net[24.77.223.149], sasl_method=PLAIN, sasl_username=kelly@kellwebdesign.com
Sep 18 03:04:19 kellwebdesign postfix/cleanup[4830]: 97AC91216FC: message-id=<814211BF-03E2-44C6-9D33-A2E12D45A99E@kellwebdesign.com>
Sep 18 03:04:19 kellwebdesign postfix/qmgr[1457]: 97AC91216FC: from=<kelly@kellwebdesign.com>, size=573, nrcpt=1 (queue active)
Sep 18 03:04:20 kellwebdesign amavis[875]: (00875-10) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)
Sep 18 03:04:26 kellwebdesign amavis[875]: (00875-10) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 102) line 375.\n
Sep 18 03:04:26 kellwebdesign amavis[875]: (00875-10) (!!)WARN: all primary virus scanners failed, considering backups
Sep 18 03:04:32 kellwebdesign amavis[875]: (00875-10) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan KILLED, signal 9 (0009) at (eval 102) line 596.
Sep 18 03:04:32 kellwebdesign amavis[875]: (00875-10) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Sep 18 03:04:32 kellwebdesign amavis[875]: (00875-10) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20130917T225411-00875
Sep 18 03:04:32 kellwebdesign postfix/smtp[4835]: 97AC91216FC: to=<kellykolisnik@msn.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=14, delays=1.5/0/0/12, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=00875-10, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
Sep 18 03:05:20 kellwebdesign postfix/smtpd[4865]: disconnect from S0106185933483608.wp.shawcable.net[24.77.223.149]

4

Re: Only getting e-mail after rebooting server

zylo wrote:

Sep 18 03:04:20 kellwebdesign amavis[875]: (00875-10) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)

ClamAV service is not running, or doesn't use /tmp/clamd.socket as socket file.