Hello, I use the tuto "The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3)" My server have only 1 IP I manage my domain (dns informations) throught my registrar or with Amazon Route 53 Domain's websites are OK but I can't receive or send email ! Could you tell me which informations I must put for DNS (on Amazon Route53 or my registrar), must I add MX records ? or only * A myserverIP ? and If i need to manage DNS with ISP Config (I don't want a DNS server) ? Thank you, Have a nice day.
ou ust add a mx record which has to point to the hostnae of your server (or to another domain / subdomain which has a a-record that points to your server). You dnt have to use the dns on ispconfig for that, using the dns server of your registry is fine. After you did that, check the mail.log file for errors.
Hello, I deleted the mail.log file and now I don't have a new mail.log file :-( How to initialise for another mail.log file ? The domain is "morlaer.com", it use Amazon Route 53 DNS and DNS informations seems to be OK I added the domain, and create a mailbox [email protected] I uncomment the lines : submission inet n - - - - smtpd smtps inet n - - - - smtpd I sent a message from/to this email address with Roundcube I sent a message from this email address to another gmail address with Roundcube But I never received email :-(
This is the last syslog : Oct 4 13:30:39 iaasgs001 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=6033, secured, session=<L+X0Turn3QAAAAAAAAAAAAAAAAAAAAAB> Oct 4 13:30:39 iaasgs001 dovecot: imap([email protected]): Disconnected: Logged out in=89 out=745 Oct 4 13:31:01 iaasgs001 /USR/SBIN/CRON[6035]: (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) Oct 4 13:31:14 iaasgs001 postfix/scache[5915]: statistics: start interval Oct 4 15:27:53 Oct 4 13:31:14 iaasgs001 postfix/scache[5915]: statistics: domain lookup hits=0 miss=2 success=0% Oct 4 13:31:14 iaasgs001 postfix/scache[5915]: statistics: address lookup hits=0 miss=2 success=0% Oct 4 13:32:01 iaasgs001 /USR/SBIN/CRON[6046]: (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) Oct 4 13:32:53 iaasgs001 postfix/qmgr[5598]: E0003D92D: from=<root@iaasgs001>, size=1054, nrcpt=1 (queue active) Oct 4 13:32:53 iaasgs001 postfix/qmgr[5598]: 8D29FD94B: from=<www-data@iaasgs001>, size=911, nrcpt=1 (queue active) Oct 4 13:32:53 iaasgs001 postfix/smtp[6055]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Oct 4 13:32:53 iaasgs001 postfix/smtp[6056]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Oct 4 13:32:53 iaasgs001 postfix/smtp[6055]: E0003D92D: to=<root@iaasgs001>, orig_to=<root>, relay=none, delay=5032, delays=5032/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Oct 4 13:32:53 iaasgs001 postfix/smtp[6056]: 8D29FD94B: to=<root@iaasgs001>, orig_to=<root>, relay=none, delay=2570, delays=2570/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Oct 4 13:33:01 iaasgs001 /USR/SBIN/CRON[6062]: (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) Oct 4 13:34:01 iaasgs001 /USR/SBIN/CRON[6073]: (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) Oct 4 13:35:01 iaasgs001 /USR/SBIN/CRON[6088]: (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) Oct 4 13:35:01 iaasgs001 /USR/SBIN/CRON[6089]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null) Oct 4 13:35:02 iaasgs001 pure-ftpd: (?@::1) [INFO] New connection from ::1 Oct 4 13:35:02 iaasgs001 pure-ftpd: (?@::1) [INFO] Logout. Oct 4 13:35:02 iaasgs001 postfix/smtpd[6119]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman Oct 4 13:35:02 iaasgs001 dovecot: imap-login: Disconnected (disconnected before greeting, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<zqSYXurn6AAAAAAAAAAAAAAAAAAAAAAB> Oct 4 13:35:02 iaasgs001 postfix/smtpd[6119]: connect from localhost[::1] Oct 4 13:35:02 iaasgs001 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<bQaZXurnegAAAAAAAAAAAAAAAAAAAAAB> Oct 4 13:35:02 iaasgs001 postfix/smtpd[6119]: lost connection after CONNECT from localhost[::1] Oct 4 13:35:02 iaasgs001 postfix/smtpd[6119]: disconnect from localhost[::1] Oct 4 13:36:01 iaasgs001 /USR/SBIN/CRON[6145]: (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)
Ok, when I tried to send to an external email address, this is the mail.log : Oct 4 15:11:14 iaasgs001 postfix/scache[9012]: statistics: start interval Oct 4 17:07:53 Oct 4 15:11:14 iaasgs001 postfix/scache[9012]: statistics: domain lookup hits=0 miss=3 success=0% Oct 4 15:11:14 iaasgs001 postfix/scache[9012]: statistics: address lookup hits=0 miss=3 success=0% Oct 4 15:11:17 iaasgs001 dovecot: auth-worker(9636): mysql(localhost): Connected to database dbispconfig Oct 4 15:11:17 iaasgs001 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=9638, secured, session=<NwLNtuvnXAAAAAAAAAAAAAAAAAAAAAAB> Oct 4 15:11:17 iaasgs001 postfix/pickup[7926]: 2DB88D99D: uid=33 from=<[email protected]> Oct 4 15:11:17 iaasgs001 postfix/cleanup[9003]: 2DB88D99D: message-id=<[email protected]> Oct 4 15:11:17 iaasgs001 postfix/qmgr[5598]: 2DB88D99D: from=<[email protected]>, size=492, nrcpt=1 (queue active) Oct 4 15:11:17 iaasgs001 postfix/error[9004]: 2DB88D99D: to=<[email protected]>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Oct 4 15:11:17 iaasgs001 dovecot: imap([email protected]): Disconnected: Logged out in=435 out=518 Oct 4 15:11:18 iaasgs001 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=9642, secured, session=<UJ/etuvnXgAAAAAAAAAAAAAAAAAAAAAB> Oct 4 15:11:18 iaasgs001 dovecot: imap([email protected]): Disconnected: Logged out in=70 out=535 Oct 4 15:11:19 iaasgs001 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=9645, secured, session=<aYbxtuvnXwAAAAAAAAAAAAAAAAAAAAAB> Oct 4 15:11:19 iaasgs001 dovecot: imap([email protected]): Disconnected: Logged out in=50 out=422 Oct 4 15:11:19 iaasgs001 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=9647, secured, session=<b1nytuvnYAAAAAAAAAAAAAAAAAAAAAAB> Oct 4 15:11:19 iaasgs001 dovecot: imap([email protected]): Disconnected: Logged out in=82 out=583
In the mail.log I have always these lines : Oct 4 15:36:54 iaasgs001 postfix/error[11088]: 885E7D51B: to=<root@iaasgs001>, orig_to=<root>, relay=none, delay=168412, delays=168412/0.2/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Hi, I just had the same problem. It was amavist which had not started. So > /etc/init.d/amavis start and you're done!