Hi, I just installed Ubuntu Server 9.04 with ISPConfig using Falkos how to: http://www.howtoforge.com/perfect-server-ubuntu-9.04-ispconfig-3 My websites are up and running and everything is working fine except the mail. I have installed Squirrelmail as advised in the "how to" and created an email account, I can log in to that account and send mail, but the mail won't reach the recepient. I also don't recieve mail sent to this account. Please help me out guyz! If you need any logs or info just reply and I will post it. Thanks in advance.
Some logs would be good. Also, is your firewall configured to pass traffic on port 25/tcp to and from your server?
Hi, I can now recieve email but not send! Thanks for helping me out. Here is an output from mail.log: Sep 2 15:09:29 server1 imapd: Connection, ip=[::1] Sep 2 15:09:29 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49979] , protocol=IMAP Sep 2 15:09:29 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0 Sep 2 15:10:01 server1 imapd: Connection, ip=[::1] Sep 2 15:10:01 server1 imapd: Disconnected, ip=[::1], time=0 Sep 2 15:10:01 server1 pop3d: Connection, ip=[::1] Sep 2 15:10:01 server1 pop3d: Disconnected, ip=[::1] Sep 2 15:10:01 server1 postfix/smtpd[11218]: connect from localhost.localdomain [127.0.0.1] Sep 2 15:10:01 server1 postfix/smtpd[11218]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] Sep 2 15:10:01 server1 postfix/smtpd[11218]: disconnect from localhost.localdom ain[127.0.0.1] ^C root@server1:/var/log# tail -f mail.log Sep 2 15:09:29 server1 imapd: Connection, ip=[::1] Sep 2 15:09:29 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49979] , protocol=IMAP Sep 2 15:09:29 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0 Sep 2 15:10:01 server1 imapd: Connection, ip=[::1] Sep 2 15:10:01 server1 imapd: Disconnected, ip=[::1], time=0 Sep 2 15:10:01 server1 pop3d: Connection, ip=[::1] Sep 2 15:10:01 server1 pop3d: Disconnected, ip=[::1] Sep 2 15:10:01 server1 postfix/smtpd[11218]: connect from localhost.localdomain [127.0.0.1] Sep 2 15:10:01 server1 postfix/smtpd[11218]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] Sep 2 15:10:01 server1 postfix/smtpd[11218]: disconnect from localhost.localdom ain[127.0.0.1] Sep 2 15:10:15 server1 imapd: Connection, ip=[::1] Sep 2 15:10:15 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49990] , protocol=IMAP Sep 2 15:10:15 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=61, sent=348, time=0 Sep 2 15:10:16 server1 imapd: Connection, ip=[::1] Sep 2 15:10:16 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49991] , protocol=IMAP Sep 2 15:10:16 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=822 , body=0, rcvd=318, sent=1925, time=0 Sep 2 15:10:17 server1 imapd: Connection, ip=[::1] Sep 2 15:10:17 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49992] , protocol=IMAP Sep 2 15:10:17 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0 Sep 2 15:10:18 server1 imapd: Connection, ip=[::1] Sep 2 15:10:18 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49993] , protocol=IMAP Sep 2 15:10:18 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=36, sent=148, time=0 Sep 2 15:10:18 server1 imapd: Connection, ip=[::1] Sep 2 15:10:18 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49994] , protocol=IMAP Sep 2 15:10:18 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=33, sent=277, time=0 Sep 2 15:10:29 server1 imapd: Connection, ip=[::1] Sep 2 15:10:29 server1 imapd: LOGIN, [email protected], ip=[::1], port=[49995] , protocol=IMAP Sep 2 15:10:29 server1 postfix/pickup[7433]: A9432F58C6: uid=5004 from=<siam@za mir.eu> Sep 2 15:10:29 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=421, sent=196, time=0 Sep 2 15:10:29 server1 postfix/cleanup[11308]: A9432F58C6: message-id=<2c1f2dea 7760713faccd122ea522488f@localhost> Sep 2 15:10:29 server1 postfix/qmgr[3246]: A9432F58C6: from=<[email protected]>, si ze=467, nrcpt=1 (queue active) Sep 2 15:10:29 server1 postfix/smtpd[11314]: connect from localhost.localdomain [127.0.0.1] Sep 2 15:10:29 server1 postfix/smtpd[11314]: F2D85F58C5: client=localhost.local domain[127.0.0.1] Sep 2 15:10:29 server1 postfix/cleanup[11308]: F2D85F58C5: message-id=<2c1f2dea 7760713faccd122ea522488f@localhost> Sep 2 15:10:30 server1 postfix/qmgr[3246]: F2D85F58C5: from=<[email protected]>, si ze=923, nrcpt=1 (queue active) Sep 2 15:10:30 server1 amavis[2597]: (02597-07) Passed CLEAN, <[email protected]> - > <[email protected]>, Message-ID: <2c1f2dea7760713faccd122ea522488f@localhost>, mail_id: RxYO83LYuWS0, Hits: 4.846, size: 467, queued_as: F2D85F58C5, 276 ms Sep 2 15:10:30 server1 postfix/smtp[11311]: A9432F58C6: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.35, delays=0.06/0.01/0/0.28, dsn=2.0. 0, status=sent (250 2.0.0 Ok, id=02597-07, from MTA([127.0.0.1]:10025): 250 2.0. 0 Ok: queued as F2D85F58C5) Sep 2 15:10:30 server1 postfix/qmgr[3246]: A9432F58C6: removed Sep 2 15:10:30 server1 postfix/smtpd[11314]: disconnect from localhost.localdom ain[127.0.0.1] Sep 2 15:10:30 server1 imapd: Connection, ip=[::1] Sep 2 15:10:30 server1 imapd: LOGIN, [email protected], ip=[::1], port=[50003] , protocol=IMAP Sep 2 15:10:30 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=61, sent=348, time=0 Sep 2 15:10:30 server1 postfix/smtp[11315]: connect to gmail-smtp-in.l.google.c om[74.125.77.27]:25: Connection refused Sep 2 15:10:30 server1 postfix/smtp[11315]: connect to alt1.gmail-smtp-in.l.goo gle.com[72.14.213.27]:25: Connection refused Sep 2 15:10:30 server1 postfix/smtp[11315]: connect to alt2.gmail-smtp-in.l.goo gle.com[74.125.127.27]:25: Connection refused Sep 2 15:10:30 server1 postfix/smtp[11315]: connect to alt3.gmail-smtp-in.l.goo gle.com[74.125.67.27]:25: Connection refused Sep 2 15:10:30 server1 postfix/smtp[11315]: connect to alt4.gmail-smtp-in.l.goo gle.com[74.125.45.27]:25: Connection refused Sep 2 15:10:30 server1 postfix/smtp[11315]: F2D85F58C5: to=<[email protected]>, relay=none, delay=0.22, delays=0.01/0.03/0.17/0, dsn=4.4.1, status=deferred (co nnect to alt4.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection refused) Sep 2 15:10:30 server1 imapd: Connection, ip=[::1] Sep 2 15:10:30 server1 imapd: LOGIN, [email protected], ip=[::1], port=[50010] , protocol=IMAP Sep 2 15:10:30 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=822 , body=0, rcvd=318, sent=1925, time=0 Sep 2 15:10:30 server1 imapd: Connection, ip=[::1] Sep 2 15:10:30 server1 imapd: LOGIN, [email protected], ip=[::1], port=[50011] , protocol=IMAP Sep 2 15:10:30 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=79, sent=562, time=0 Sep 2 15:10:34 server1 imapd: Connection, ip=[::1] Sep 2 15:10:34 server1 imapd: LOGIN, [email protected], ip=[::1], port=[50012] , protocol=IMAP Sep 2 15:10:34 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=749 , body=0, rcvd=325, sent=2181, time=0 Sep 2 15:11:30 server1 imapd: Connection, ip=[::1] Sep 2 15:11:30 server1 imapd: LOGIN, [email protected], ip=[::1], port=[50013], protocol=IMAP Sep 2 15:11:30 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=81, sent=413, time=0 Sep 2 15:12:30 server1 imapd: Connection, ip=[::1] Sep 2 15:12:30 server1 imapd: LOGIN, [email protected], ip=[::1], port=[50014], protocol=IMAP Sep 2 15:12:30 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=81, sent=413, time=0 Sep 2 15:13:30 server1 imapd: Connection, ip=[::1] Sep 2 15:13:30 server1 imapd: LOGIN, [email protected], ip=[::1], port=[42479], protocol=IMAP Sep 2 15:13:30 server1 imapd: LOGOUT, [email protected], ip=[::1], headers=0, body=0, rcvd=81, sent=413, time=0 Sep 2 15:13:39 server1 postfix/qmgr[3246]: 7509AF58C4: from=<[email protected]>, size=910, nrcpt=2 (queue active) Sep 2 15:13:39 server1 postfix/smtp[11381]: connect to mx3.hotmail.com[65.55.37.72]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11381]: connect to mx3.hotmail.com[65.55.92.152]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11381]: connect to mx2.hotmail.com[65.55.37.120]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11381]: connect to mx4.hotmail.com[65.55.92.136]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11381]: connect to mx1.hotmail.com[65.54.188.94]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11381]: 7509AF58C4: to=<[email protected]>, relay=none, delay=907, delays=907/0.03/0.16/0, dsn=4.4.1, status=deferred (connect to mx1.hotmail.com[65.54.188.94]:25: Connection refused) Sep 2 15:13:39 server1 postfix/smtp[11380]: connect to gmail-smtp-in.l.google.com[74.125.77.27]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11380]: connect to alt1.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11380]: connect to alt2.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11380]: connect to alt3.gmail-smtp-in.l.google.com[74.125.67.27]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11380]: connect to alt4.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection refused Sep 2 15:13:39 server1 postfix/smtp[11380]: 7509AF58C4: to=<[email protected]>, relay=none, delay=907, delays=907/0.03/0.25/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection refused)
Fixed! Thank you matty for replying, but I fixed the issue as follows: Solution 1: for not being able to recieve emails: aptitude install maildrop=2.0.4-3 postfix flush aptitude hold maildrop http://www.howtoforge.com/forums/showthread.php?t=42935 Solution 2: for not being able to send mails: http://www.howtoforge.com/how-to-relay-email-on-a-postfix-server