Hi, OS: Ubuntu 13.04 installed on Amazon's EC2 micro instance. ISPconfig3 installed using http://www.howtoforge.com/perfect-server-ubuntu-13.04-apache2-bind-dovecot-ispconfig-3 Site created in ISPconfig: example.com Email zone created: example.com Mailbox created: [email protected] No Spamassassin enabled on domain or mailbox. DNS records on external server: A xx.xx.xx.xx MX 10 example.com MX 20 example.com Problem: Emails cannot be sent or received. Mail Queue: 9BCB547CE3 1142 Fri Aug 16 03:09:01 [email protected]al (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected]al System Log: Code: Aug 16 10:04:01 ip-10-248-78-208 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<ENi9tQ3k6wB/AAAB> Aug 16 10:04:01 ip-10-248-78-208 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<BAi+tQ3kUQB/AAAB> Aug 16 10:05:01 ip-10-248-78-208 CRON[7364]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null) Aug 16 10:05:01 ip-10-248-78-208 CRON[7365]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 16 10:05:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Aug 16 10:05:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] Logout. Aug 16 10:05:01 ip-10-248-78-208 postfix/smtpd[7221]: connect from localhost[127.0.0.1] Aug 16 10:05:01 ip-10-248-78-208 postfix/smtpd[7221]: lost connection after CONNECT from localhost[127.0.0.1] Aug 16 10:05:01 ip-10-248-78-208 postfix/smtpd[7221]: disconnect from localhost[127.0.0.1] Aug 16 10:05:01 ip-10-248-78-208 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<+ExVuQ3k8QB/AAAB> Aug 16 10:05:01 ip-10-248-78-208 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<x4pVuQ3kVwB/AAAB> Aug 16 10:05:02 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Aug 16 10:05:02 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] Logout. Aug 16 10:05:02 ip-10-248-78-208 postfix/smtpd[7221]: connect from localhost[127.0.0.1] Aug 16 10:05:02 ip-10-248-78-208 postfix/smtpd[7221]: lost connection after CONNECT from localhost[127.0.0.1] Aug 16 10:05:02 ip-10-248-78-208 postfix/smtpd[7221]: disconnect from localhost[127.0.0.1] Aug 16 10:05:02 ip-10-248-78-208 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<4UNXuQ3k9wB/AAAB> Aug 16 10:05:02 ip-10-248-78-208 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<PoFXuQ3kXQB/AAAB> Aug 16 10:06:01 ip-10-248-78-208 CRON[7438]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 16 10:06:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Aug 16 10:06:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] Logout. Aug 16 10:06:01 ip-10-248-78-208 postfix/smtpd[7221]: connect from localhost[127.0.0.1] Aug 16 10:06:01 ip-10-248-78-208 postfix/smtpd[7221]: lost connection after CONNECT from localhost[127.0.0.1] Aug 16 10:06:01 ip-10-248-78-208 postfix/smtpd[7221]: disconnect from localhost[127.0.0.1] Aug 16 10:06:01 ip-10-248-78-208 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<sp3hvA3k/QB/AAAB> Aug 16 10:06:01 ip-10-248-78-208 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<5sjhvA3kYwB/AAAB> Aug 16 10:07:01 ip-10-248-78-208 CRON[7452]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 16 10:07:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Aug 16 10:07:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] Logout. Aug 16 10:07:01 ip-10-248-78-208 postfix/smtpd[7221]: connect from localhost[127.0.0.1] Aug 16 10:07:01 ip-10-248-78-208 postfix/smtpd[7221]: lost connection after CONNECT from localhost[127.0.0.1] Aug 16 10:07:01 ip-10-248-78-208 postfix/smtpd[7221]: disconnect from localhost[127.0.0.1] Aug 16 10:07:01 ip-10-248-78-208 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<HBF4wA3kAwB/AAAB> Aug 16 10:07:01 ip-10-248-78-208 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<ZT54wA3kaQB/AAAB> Aug 16 10:07:19 ip-10-248-78-208 postfix/scache[7336]: statistics: start interval Aug 16 10:03:59 Aug 16 10:07:19 ip-10-248-78-208 postfix/scache[7336]: statistics: domain lookup hits=0 miss=2 success=0% Aug 16 10:07:19 ip-10-248-78-208 postfix/scache[7336]: statistics: address lookup hits=0 miss=2 success=0% Aug 16 10:08:01 ip-10-248-78-208 CRON[7466]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done) Aug 16 10:08:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 Aug 16 10:08:01 ip-10-248-78-208 pure-ftpd: ([email protected]) [INFO] Logout. Aug 16 10:08:01 ip-10-248-78-208 postfix/smtpd[7221]: connect from localhost[127.0.0.1] Aug 16 10:08:01 ip-10-248-78-208 postfix/smtpd[7221]: lost connection after CONNECT from localhost[127.0.0.1] Aug 16 10:08:01 ip-10-248-78-208 postfix/smtpd[7221]: disconnect from localhost[127.0.0.1] Aug 16 10:08:01 ip-10-248-78-208 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<j5kOxA3kCQB/AAAB> Aug 16 10:08:01 ip-10-248-78-208 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<7NEOxA3kbwB/AAAB> Aug 16 10:08:59 ip-10-248-78-208 postfix/qmgr[11442]: 9D02E47CA8: from=<[email protected]>, size=1142, nrcpt=1 (queue active) Aug 16 10:08:59 ip-10-248-78-208 postfix/qmgr[11442]: 9A61D47D3E: from=<[email protected]>, size=1142, nrcpt=1 (queue active) Any ideas? I'm sure when I first configured the system, emails worked. I only tested them using the squirrelmail webmail, but I could send and receive. Now - nothing! Thanks, Adam
Amavis is not started. Please run: /etc/init.d/amavis restart and then: /etc/init.d/postfix restart How much ram does your server has?
Hi Till, Thanks for the speedy response. Amavis wasn't running - any idea why that is/was? I restarted it and restarted Postfix, but it doesn't appear to have made any difference.
I think you will definitly run into trouble with that amount of ram. I had a Server with 1024MB ram and it refused to run because the virus scanner (clamav) takes lots of ram, the mail server, the web server, the database server... That's quite a lot of services for this small amount of memory. And if amavis runs, but cannot access the virus scanner it might refuse mails. Is the clamav daemon running? I had some cases where amavis even crashed due to a failing clamav daemon.
clamav appears to be running, however amavis has stopped again. I understand that 613MB is not alot. What would be the best thing/s to remove? I don't specifically need a local DNS service (as far as I understand it!) nor anti-virus or spamassassin. I could even remove the mySQL server, as I'm only planning on hosting static sites on the server. Shall I just remove them? What is the best way to do this - "apt-get remove ..."? Will removing these services cause ISPconfig problems? Cheers, Adam
Please follwo this guide to diable mail filtering in ispconfig. This will save you some ram. http://www.faqforge.com/linux/contr...ilter-and-antivirus-functions-in-ispconfig-3/
Thanks so much for your prompt and helpful replies. I'm off on vacation for next week, so have drawn a line under the problems until I return. I'll look at it afresh then. Thanks again. Adam