Hi Guys, My configuration can not receivie email. I build it above my primary domain (domainname[dot]com). Postfix, dovecot, amavis and roundcube looks running correctly. I get the following message: status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused) Here is the last liines of mail.log: Nov 21 08:25:30 domainname postfix/smtp[15479]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Nov 21 08:25:30 domainname postfix/smtp[15481]: 80FD6FDC3F: to=<[email protected][dot]com>, relay=none, delay=2204, delays=2204/0.06/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:25:30 domainname postfix/smtp[15479]: 8C5D2FA0A6: to=<[email protected][dot]com>, relay=none, delay=5297, delays=5297/0.07/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:25:30 domainname postfix/error[15485]: 405E1FDD86: to=<[email protected][dot]com>, relay=none, delay=2109, delays=2109/0.08/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:25:40 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15487, secured, session=<worF8nleXtt/AAAB> Nov 21 08:25:40 domainname dovecot: imap([email protected][dot]com): Logged out in=76 out=525 Nov 21 08:25:42 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15489, secured, session=<s1jc8nleYNt/AAAB> Nov 21 08:25:42 domainname dovecot: imap([email protected][dot]com): Logged out in=76 out=525 Nov 21 08:25:43 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15491, secured, session=<AYvr8nleYtt/AAAB> Nov 21 08:25:43 domainname dovecot: imap([email protected][dot]com): Logged out in=76 out=525 Nov 21 08:25:43 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15493, secured, session=<MQX48nleZNt/AAAB> Nov 21 08:25:43 domainname dovecot: imap([email protected][dot]com): Logged out in=76 out=525 Nov 21 08:25:44 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15495, secured, session=<52EE83leZtt/AAAB> Nov 21 08:25:44 domainname dovecot: imap([email protected][dot]com): Logged out in=76 out=525 Nov 21 08:25:45 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15497, secured, session=<hzgP83leaNt/AAAB> Nov 21 08:25:45 domainname dovecot: imap([email protected][dot]com): Logged out in=76 out=525 Nov 21 08:25:51 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15499, secured, session=<iZ9s83leatt/AAAB> Nov 21 08:25:51 domainname dovecot: imap([email protected][dot]com): Logged out in=50 out=484 Nov 21 08:26:52 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15527, secured, session=<RYkK93lebNt/AAAB> Nov 21 08:26:52 domainname dovecot: imap([email protected][dot]com): Logged out in=50 out=484 Nov 21 08:27:52 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15546, secured, session=<iySb+nlebtt/AAAB> Nov 21 08:27:52 domainname dovecot: imap([email protected][dot]com): Logged out in=50 out=484 Nov 21 08:28:50 domainname postfix/scache[15483]: statistics: start interval Nov 21 08:25:30 Nov 21 08:28:50 domainname postfix/scache[15483]: statistics: domain lookup hits=0 miss=3 success=0% Nov 21 08:28:52 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15571, secured, session=<HRA2/nlecNt/AAAB> Nov 21 08:28:52 domainname dovecot: imap([email protected][dot]com): Logged out in=50 out=484 Nov 21 08:29:52 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15590, secured, session=<UpPJAXpectt/AAAB> Nov 21 08:29:52 domainname dovecot: imap([email protected][dot]com): Logged out in=50 out=484 Nov 21 08:30:02 domainname dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<hP5bAnpesrB/AAAB> Nov 21 08:30:02 domainname dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<LEdcAnpefNt/AAAB> Nov 21 08:30:02 domainname postfix/smtpd[15659]: connect from localhost[127.0.0.1] Nov 21 08:30:02 domainname postfix/smtpd[15659]: lost connection after CONNECT from localhost[127.0.0.1] Nov 21 08:30:02 domainname postfix/smtpd[15659]: disconnect from localhost[127.0.0.1] commands=0/0 Nov 21 08:30:30 domainname postfix/qmgr[15473]: BC1D0FA089: from=<[email protected][dot]com>, size=13597, nrcpt=1 (queue active) Nov 21 08:30:30 domainname postfix/qmgr[15473]: DB6C8FDDBA: from=<[email protected][dot]com>, size=3453, nrcpt=1 (queue active) Nov 21 08:30:30 domainname postfix/qmgr[15473]: 53693FD6BA: from=<[email protected][dot]com>, size=2917, nrcpt=1 (queue active) Nov 21 08:30:30 domainname postfix/qmgr[15473]: 9DE0DFDD8B: from=<[email protected][dot]com>, size=2931, nrcpt=1 (queue active) Nov 21 08:30:30 domainname postfix/qmgr[15473]: 46BB1FDDC2: from=<[email protected][dot]com>, size=4068, nrcpt=1 (queue active) Nov 21 08:30:30 domainname postfix/smtp[15664]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Nov 21 08:30:30 domainname postfix/smtp[15665]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Nov 21 08:30:30 domainname postfix/smtp[15664]: BC1D0FA089: to=<[email protected][dot]com>, relay=none, delay=485, delays=485/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:30:30 domainname postfix/smtp[15665]: DB6C8FDDBA: to=<[email protected][dot]com>, relay=none, delay=958, delays=958/0.05/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:30:30 domainname postfix/smtp[15665]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused Nov 21 08:30:30 domainname postfix/smtp[15665]: 53693FD6BA: to=<[email protected][dot]com>, relay=none, delay=2271, delays=2271/0.06/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused) Nov 21 08:30:30 domainname postfix/smtp[15664]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Nov 21 08:30:30 domainname postfix/smtp[15665]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Nov 21 08:30:30 domainname postfix/smtp[15664]: 9DE0DFDD8B: to=<[email protected][dot]com>, relay=none, delay=2369, delays=2369/0.06/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:30:30 domainname postfix/smtp[15665]: 46BB1FDDC2: to=<[email protected][dot]com>, relay=none, delay=311, delays=311/0.07/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Nov 21 08:30:52 domainname dovecot: imap-login: Login: user=<[email protected][dot]com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15671, secured, session=<OwxeBXpejtt/AAAB> Nov 21 08:30:52 domainname dovecot: imap([email protected][dot]com): Logged out in=50 out=484 What would be the problem and how to fix it? Thanks in Advance, Ari
amavis is not running. Try starting it, and if it won't start, check logs and troubleshoot why. Also test a reboot, maybe you just need to set it to run at system startup (refer to the Perfect Server guide for your OS for specific commands to do so).
It is running, here is the status: ● amavis.service - LSB: Starts amavisd-new mailfilter Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled) Active: active (running) since Tue 2017-11-21 14:20:07 UTC; 6h ago Docs: man:systemd-sysv-generator(8) Process: 4362 ExecStop=/etc/init.d/amavis stop (code=exited, status=0/SUCCESS) Process: 4404 ExecStart=/etc/init.d/amavis start (code=exited, status=0/SUCCESS) Tasks: 3 Memory: 142.2M CPU: 22.605s CGroup: /system.slice/amavis.service ├─4430 /usr/sbin/amavisd-new (master ├─4434 /usr/sbin/amavisd-new (ch12-avail └─4435 /usr/sbin/amavisd-new (ch11-avail Nov 21 15:25:03 webname,.com amavis[4435]: (04435-11) (!!)AV: ALL VIRUS SCANNERS FAILED Nov 21 15:25:03 webname,com amavis[4434]: (04434-12) (!!)file(1) utility (/usr/bin/file) FAILED: run_command: can't fork: Cannot allocate Nov 21 15:25:03 webname,com amavis[4434]: (04434-12) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-201 Nov 21 15:25:03 webname,com amavis[4434]: (04434-12) (!)ClamAV-clamd av-scanner FAILED: CODE(0xbac00a8) unexpected , output="/var/lib/amav Nov 21 15:25:03 webname,com amavis[4434]: (04434-12) (!)WARN: all primary virus scanners failed, considering backups Nov 21 15:25:03 webname,.,com amavis[4434]: (04434-12) (!)run_av (ClamAV-clamscan): run_command: can't fork: Cannot allocate memory at /usr/ Nov 21 15:25:03 webname,,com amavis[4434]: (04434-12) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan run_command: can't fork: Cann Nov 21 15:25:03 webname,,com amavis[4434]: (04434-12) (!!)AV: ALL VIRUS SCANNERS FAILED Nov 21 15:25:04 webname,,com amavis[4434]: (04434-12) Passed UNCHECKED {RelayedTaggedInternal}, LOCAL [127.0.0.1] <[email protected],,com> -> < Nov 21 15:25:07 webname,com amavis[4435]: (04435-11) Passed UNCHECKED {RelayedTaggedInternal}, LOCAL [127.0.0.1] <[email protected],,com> -> <
Indeed, that shows amavis running - your earlier messages indicate it was not. That also shows you're running out of memory, can you add some more memory? If not, you might need to disable virus scanning.