Perfect Ubuntu Mail Problems

Discussion in 'Installation/Configuration' started by parkerj, Mar 23, 2007.

  1. parkerj

    parkerj Member

    I installed Ubuntu 6.06 and I am having trouble sending and receiving mail. This is the first time. When I was using Debian Etch, I did not have this trouble. Below is an excerpt of /var/log/mail.info
    Please click here for my dns report. /etc/hosts contains
    I can send email, but I cannot receive email. Thanks for your help.
     
    Last edited: Mar 23, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The above lines are from imap logins and not from sending a email. Please send a email and post the lines that appear then in the mail log.

    /etc/hosts:

    The line:

    64.79.209.234 server1.securetrp.com localhost localhost.localdomain

    must be:

    64.79.209.234 server1.securetrp.com

    You can not define localhost for 2 different IP addresses.
     
  3. parkerj

    parkerj Member

    Ok, I changed what you said in /etc/hosts and I sent an email. There was no message that occurred in mail.log, but below is what I get from mail.warn:
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please run
    Code:
    postconf -e 'inet_protocols = ipv4'
    /etc/init.d/postfix restart
     
  5. parkerj

    parkerj Member

    Thank you. But I still cannot send email to myself. when I send email, I get back the following message:
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please add the line:

    server1.securetrp.com

    at the end of the file /etc/postfix/local-host-names and restart postfix.
     
  7. parkerj

    parkerj Member

    Problem solved. Thank you.
     

Share This Page