mail for 172.18.0.22 loops back to myself

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

  1. morten44

    morten44 New Member

    Hi
    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/main.cf 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
    Morten
     
  2. falko

    falko Super Moderator Howtoforge Staff

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

    What's in /etc/postfix/main.cf?

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

    morten44 New Member

    Log files

    Hi
    Thanks for your reply
    Yes I have created a mail domain and an email info@http://werkvoorafrika.nl
    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 "main.cf" file:


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


    Does this tell you something?

    Kind Regards
    Morten
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I hope your email address is [email protected], not info@http://werkvoorafrika.nl.

    Is this the whole main.cf file, or just a part? It doesn't look correct.

    Which tutorial (URL) did you use to set up the system?
     
  5. morten44

    morten44 New Member

    The main.cf file again

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

    I used this manual:
    http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3


    I can see there was missing some part of the main.cf 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

    Regards
    Morten
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    ifconfig
    ? 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
    Morten
     
  8. falko

    falko Super Moderator Howtoforge Staff

    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
    Morten
     
  10. falko

    falko Super Moderator Howtoforge Staff

    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

    OK
    Thanks
    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 gratisdns.dk 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 gratisdns.dk login to point to the server.

    Can this be a problem?

    Kind REgards
    Morten
     
  12. falko

    falko Super Moderator Howtoforge Staff

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

    morten44 New Member

    Thanks

    OK, Thanks for all your reply

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

    Cheers
    Morten
     
  14. filipealvarez

    filipealvarez Member

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

    filipealvarez Member

    The problem was the wrong 'server_id' field.

    But now I have another problem:


    (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/hehe100.com/teste/11607.0.mailserver.xxx.com.br.)
    [email protected]
     

Share This Page