Cannot receive emails

Discussion in 'Installation/Configuration' started by gorolla, Sep 1, 2006.

  1. gorolla

    gorolla New Member

    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
     
  2. Rocky

    Rocky New Member

    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?
     
  3. gorolla

    gorolla New Member

  4. gorolla

    gorolla New Member

    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.ibtaus.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
     
  5. gorolla

    gorolla New Member

    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 *:pop3 *:* 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
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  7. gorolla

    gorolla New Member

    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
     
  8. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    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
     
  9. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    Last edited: Sep 5, 2006
  10. falko

    falko Super Moderator ISPConfig Developer

    Yes, it's /etc/postfix/main.cf.
     
  11. gorolla

    gorolla New Member

    Thank you everyone for your great help. I finally got the mail server up and running.

    Once again, thank you very much!!
     

Share This Page