Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st September 2006, 06:10
gorolla gorolla is offline
Junior Member
 
Join Date: Jun 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot receive emails

Hi,

I have a problem with my email using ISPConfig, I cannot receive emails at all but I can send using Outlook Express. However if I use webmail - squirrelmail - the email I receive will be myusername@example.com. The following is my mail log;

Aug 31 12:42:46 linux postfix/sendmail[5538]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postalias[5538]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5554]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5557]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5560]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5563]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5566]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5569]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5572]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:46 linux postfix/postmap[5575]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Aug 31 12:42:47 linux postfix[5579]: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

Can some let me know how to get this up and running. Thank you

gorolla
Reply With Quote
Sponsored Links
  #2  
Old 1st September 2006, 06:56
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Please post the content of /etc/postfix/main.cf. Also, what distro are you using? What host and domain name did you use when you did the intial setup?
Reply With Quote
  #3  
Old 4th September 2006, 08:23
gorolla gorolla is offline
Junior Member
 
Join Date: Jun 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your fast reply, my main.cf file is as followed

http://www.ibtaus.info/temp/main.cf

Thank you for your great help.

gorolla
Reply With Quote
  #4  
Old 4th September 2006, 09:38
gorolla gorolla is offline
Junior Member
 
Join Date: Jun 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The following is my log file;

Sep 4 16:36:05 server1 postfix/smtpd[8523]: connect from localhost[127.0.0.1]
Sep 4 16:36:05 server1 postfix/smtpd[8523]: C0826A0049: client=localhost[127.0.0.1]
Sep 4 16:36:05 server1 postfix/cleanup[8525]: C0826A0049: message-id=<4921.192.168.1.1.1157351765.squirrel@www.ibtau s.info>
Sep 4 16:36:05 server1 postfix/qmgr[5281]: C0826A0049: from=<jeff@example.com>, size=644, nrcpt=1 (queue active)
Sep 4 16:36:05 server1 postfix/smtpd[8523]: disconnect from localhost[127.0.0.1]
Sep 4 16:36:05 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:05 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:05 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Sep 4 16:36:06 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:06 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:06 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Sep 4 16:36:06 server1 postfix/smtp[8527]: C0826A0049: to=<jeff@www.ibtaus.com>, orig_to=<jeff@ibtaus.info>, relay=smtp.secureserver.net[64.202.166.12], delay=1, status=bounced (host smtp.secureserver.net[64.202.166.12] said: 553 sorry, relaying denied from your location [203.173.40.87] (#5.7.1) (in reply to RCPT TO command))
Sep 4 16:36:06 server1 postfix/cleanup[8525]: EA5F0A004B: message-id=<20060904063606.EA5F0A004B@www.ibtaus.com>
Sep 4 16:36:06 server1 postfix/qmgr[5281]: C0826A0049: removed
Sep 4 16:36:06 server1 postfix/qmgr[5281]: EA5F0A004B: from=<>, size=2670, nrcpt=1 (queue active)
Sep 4 16:36:36 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:36 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:36 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Sep 4 16:36:36 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:36 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:37 server1 postfix/smtp[8527]: connect to example.com[192.0.34.166]: Connection timed out (port 25)
Sep 4 16:36:37 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Sep 4 16:36:37 server1 postfix/smtp[8527]: EA5F0A004B: to=<jeff@example.com>, relay=none, delay=31, status=deferred (connect to example.com[192.0.34.166]: Connection timed out)
Sep 4 16:36:37 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:37 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:37 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Sep 4 16:36:37 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:37 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:38 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=1
Sep 4 16:36:38 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:38 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:38 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
Sep 4 16:36:38 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Sep 4 16:36:38 server1 imapd: LOGIN, user=jeff, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep 4 16:36:38 server1 imapd: LOGOUT, user=jeff, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0

thanks
Reply With Quote
  #5  
Old 4th September 2006, 09:39
gorolla gorolla is offline
Junior Member
 
Join Date: Jun 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also the result when run netstat -tap

server1:/var/lib/named # netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 3098/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 4313/portmap
tcp 0 0 localhost:cryptoadmin *:* LISTEN 4688/fam
tcp 0 0 *:hosts2-ns *:* LISTEN 4381/ispconfig_http
tcp 0 0 192.168.1.3:domain *:* LISTEN 8341/named
tcp 0 0 server1.ibtaus.c:domain *:* LISTEN 8341/named
tcp 0 0 localhost:domain *:* LISTEN 8341/named
tcp 0 0 *:ftp *:* LISTEN 5309/proftpd: (acce
tcp 0 0 localhost:953 *:* LISTEN 8341/named
tcp 0 0 *:smtp *:* LISTEN 5259/master
tcp 0 0 *op3 *:* LISTEN 4476/couriertcpd
tcp 0 0 *:imap *:* LISTEN 4454/couriertcpd
tcp 0 0 *:www-http *:* LISTEN 5151/httpd2-prefork
tcp 0 0 *:ssh *:* LISTEN 4519/sshd
tcp 0 0 localhost:953 *:* LISTEN 8341/named
tcp 0 0 *:smtp *:* LISTEN 5259/master
tcp 0 0 *:https *:* LISTEN 5151/httpd2-prefork
tcp 0 696 server1.ibtaus.com:ssh 192.168.1.65%10738:4606 ESTABLISHED 6456/0

Thanks
Reply With Quote
  #6  
Old 4th September 2006, 12:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

Please replace the line:

myhostname = server1.$mydomain

with:

myhostname = server1.ibtaus.info

Make sure that server1.ibtaus.info exists in DNS and restart postfix after you changed the my.cnf file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th September 2006, 03:25
gorolla gorolla is offline
Junior Member
 
Join Date: Jun 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi till,

Thank you for your reply, but i am a little confused here. Which file should I been editing my main.cf or my.cnf. I thought my.cnf is for mysql server.

Also how do I check if server1.ibtaus.info is in the DNS? Sorry to be a hazzard.

Thank you
Reply With Quote
  #8  
Old 5th September 2006, 09:47
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

Quote:
Originally Posted by gorolla
Hi till,

Thank you for your reply, but i am a little confused here. Which file should I been editing my main.cf or my.cnf. I thought my.cnf is for mysql server.

Also how do I check if server1.ibtaus.info is in the DNS? Sorry to be a hazzard.

Thank you
I'm sure till ment main.cf.
I think you should have a A record pointing to your domain for example:

server1.ibtaus.info A yourIPhere
Reply With Quote
  #9  
Old 5th September 2006, 09:56
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

Just checked your DNS entry here
http://www.dnsreport.com/tools/dnsre...in=ibtaus.info

it looks like you have 2 MX records and the first one looks strange as you configured smtp.ibtaus.info as a CNAME.

I recommend to change them either to
Code:
ibtaus.info MX 10 yourIPhere
or
Code:
server1.ibtaus.info MX 10 yourIPhere
Try to fix all the red marked FAIL fields and you should be up an running.


For an example look here:
http://www.dnsreport.com/tools/dnsre...in=kynamoo.com

Last edited by torusturtle; 5th September 2006 at 10:12.
Reply With Quote
  #10  
Old 5th September 2006, 19:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by torusturtle
I'm sure till ment main.cf.
Yes, it's /etc/postfix/main.cf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
SMTP failed & can't receive new emails torusturtle Installation/Configuration 3 20th August 2006 20:48
Cant receive Emails, but they are in the Maildir!! Pharao Installation/Configuration 2 16th June 2006 23:22
Cannot receive emails skeeta Installation/Configuration 18 22nd April 2006 17:02
Unable to receive emails?!!! nandhu HOWTO-Related Questions 7 24th October 2005 00:49
Cannot receive emails skeeta Installation/Configuration 10 3rd September 2005 10:14


All times are GMT +2. The time now is 00:37.


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