mail for loops back to myself

Discussion in 'General' started by morten44, Apr 10, 2012.

  1. morten44

    morten44 New Member

    I have installed Ubuntu 11.10/ispconfig3/postfix/squirrelmail
    I can send from my squirrelmail to any domain but I can not send to it
    If i send from hotmail to a domain on this server i get the following error:

    I found something telling me to add my domain to /etc/postfix/ but not sure where in that file to add it as I cant find any section for domain names.
    However using ispconfig, should I not be able to do all this from the web interface?

    Can anyone tell me where to look for the fault?

    Kind Regards
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log (in the /var/log/ directory)?

    What's in /etc/postfix/

    Did you create as a mail domain in ISPConfig?
  3. morten44

    morten44 New Member

    Log files

    Thanks for your reply
    Yes I have created a mail domain and an email info@
    I can send from it to hotmail,gmail etc but when i reply back i get this error

    I am totally "green" in Linux but after severl issues with wamp on Windows I have desided to learn this, so bear with me for my lack of knowledge :)

    Here is my "" file:

    Here is a part of my log file that might be related:

    Does this tell you something?

    Kind Regards
  4. falko

    falko Super Moderator ISPConfig Developer

  5. morten44

    morten44 New Member

    The file again

    Thanks for reply
    Yes the address is [email protected]. It was a copy/paste error. Sorry

    I used this manual:

    I can see there was missing some part of the file again
    I have attached it again,complete this time

    That is all
    Hopefully i did a better job this time :)

    Thanks for your time

  6. falko

    falko Super Moderator ISPConfig Developer

    Can you post the output of
    ? What's in /etc/hosts and /etc/mailname?
  7. morten44

    morten44 New Member

    Further files

    Hi again

    This is the outcome of ifconfig:

    This is my host file:
    The added ips 10,16,21 are other webservers/mail servers on same lan

    This is my mailname file:

    Kind regards
  8. falko

    falko Super Moderator ISPConfig Developer

    Looks ok to me. I'm running out of ideas... :(
  9. morten44

    morten44 New Member

    Next Step

    Hi again
    OK, thanks for looking into it

    Can i just confim one thing with you

    If ISPConfig is setup correct from the start
    Is it right that when a customer logs in and create a mail domain and a mail user, they should also go into Email routing and write that it should route the mail to the ip of mail server. is that right?

    Is it right that if all setup is right it should just work without having to enter domain name manually into any file?

    Is there a script I should try to run again to setup mail again. If so I could setup that part of it again and try. Is there a command for this?

    Kind Regards
  10. falko

    falko Super Moderator ISPConfig Developer

    No, they shouldn't do this.

    You as the administrator have to make sure that the DNS records of the domain are ok, expecially that the MX record points to the correct server.
  11. morten44

    morten44 New Member

    DNS Settings

    I know that the manual used does install a local DNS Server as well, however i am not using that one at all

    We buy all our domains at and manage a records and MX records from there poiting it to this server

    Is it problematic not using the build into DNS?
    Just wondering if there are settings in the system counting on it?
    I dont use it because i am not sure howto and I through it was enought just using the login to point to the server.

    Can this be a problem?

    Kind REgards
  12. falko

    falko Super Moderator ISPConfig Developer

    No, this is absolutely fine. :)
  13. morten44

    morten44 New Member


    OK, Thanks for all your reply

    I will contine to look into it and see what happens and update if any development.

  14. filipealvarez

    filipealvarez New Member

    I'm having the same problem on Ubuntu 12.04 with Local Bind and Multiple-Server Setup (2 Dns Servers) =(
  15. filipealvarez

    filipealvarez New Member

Share This Page