Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st September 2010, 11:36
siamzam siamzam is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problem with email - Ubuntu 9.04 - ISPConfig 3

Hi,

I just installed Ubuntu Server 9.04 with ISPConfig using Falkos how to:

http://www.howtoforge.com/perfect-se...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.

Last edited by siamzam; 1st September 2010 at 12:30.
Reply With Quote
Sponsored Links
  #2  
Old 2nd September 2010, 02:07
matty matty is offline
Member
 
Join Date: Apr 2010
Location: Australia
Posts: 85
Thanks: 2
Thanked 12 Times in 11 Posts
Default

Some logs would be good. Also, is your firewall configured to pass traffic on port 25/tcp to and from your server?
Reply With Quote
The Following User Says Thank You to matty For This Useful Post:
siamzam (2nd September 2010)
  #3  
Old 2nd September 2010, 15:15
siamzam siamzam is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by matty View Post
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, user=siam@zamir.eu, ip=[::1], port=[49979] , protocol=IMAP
Sep 2 15:09:29 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[49979] , protocol=IMAP
Sep 2 15:09:29 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[49990] , protocol=IMAP
Sep 2 15:10:15 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[49991] , protocol=IMAP
Sep 2 15:10:16 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[49992] , protocol=IMAP
Sep 2 15:10:17 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[49993] , protocol=IMAP
Sep 2 15:10:18 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[49994] , protocol=IMAP
Sep 2 15:10:18 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, 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, user=siam@zamir.eu, 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=<siam@zamir.eu>, 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=<siam@zamir.eu>, si ze=923, nrcpt=1 (queue active)
Sep 2 15:10:30 server1 amavis[2597]: (02597-07) Passed CLEAN, <siam@zamir.eu> - > <siamzam@gmail.com>, 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=<siamzam@gmail.com>, 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, user=siam@zamir.eu, ip=[::1], port=[50003] , protocol=IMAP
Sep 2 15:10:30 server1 imapd: LOGOUT, user=siam@zamir.eu, 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=<siamzam@gmail.com>, 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, user=siam@zamir.eu, ip=[::1], port=[50010] , protocol=IMAP
Sep 2 15:10:30 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[50011] , protocol=IMAP
Sep 2 15:10:30 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[50012] , protocol=IMAP
Sep 2 15:10:34 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[50013], protocol=IMAP
Sep 2 15:11:30 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[50014], protocol=IMAP
Sep 2 15:12:30 server1 imapd: LOGOUT, user=siam@zamir.eu, 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, user=siam@zamir.eu, ip=[::1], port=[42479], protocol=IMAP
Sep 2 15:13:30 server1 imapd: LOGOUT, user=siam@zamir.eu, ip=[::1], headers=0, body=0, rcvd=81, sent=413, time=0
Sep 2 15:13:39 server1 postfix/qmgr[3246]: 7509AF58C4: from=<siam@zamir.eu>, 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=<siam@hotmail.com>, 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=<siamzam@gmail.com>, 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)
Reply With Quote
  #4  
Old 2nd September 2010, 21:43
siamzam siamzam is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default 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-rel...postfix-server
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email delivery problem - Ubuntu Karmic Koala (Ubuntu 9.10) [ISPConfig 2] qiubosu Installation/Configuration 1 18th January 2010 09:21
Cannot Receive External Email - ISPConfig 3, Ubuntu 9.10 jsmcdougall HOWTO-Related Questions 3 12th January 2010 14:53
Chrooted environments with Ubuntu and IspConfig hrvbid Installation/Configuration 5 23rd December 2009 18:44
Problem installing ISPconfig on Ubuntu 6.06 LTS ennodj Installation/Configuration 6 4th May 2008 18:12
ISPConfig Problem Dumping eMail Domains lecram Installation/Configuration 1 27th November 2006 10:16


All times are GMT +2. The time now is 21:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.