Problems with postfix

Discussion in 'Installation/Configuration' started by vervem, Oct 15, 2005.

  1. vervem

    vervem New Member

    Hi,

    I'm using ISPconfig for my webshop named "www.anywebshop.nl".
    In my webshop, the costumers have the option of sending a mail to me ([email protected]).
    Only the mailserver is not the same server as de ISPconfig server, so this doesn't work.
    Even when i use the "external mailserver" setting in ISPconfig, it doesn't work.
    The problem is in "/etc/postfix/local-host-names". When i # "anywebshop.nl", it works fine for a short wile, then ISPconfig removes my #.
    My question:
    Is it possible to stop ISPconfig to rewrite my local-host-names file?
    Or is there any other sollution to my problem?

    Thanx already,

    Matthijs Verver
    Holland
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You must set the Co-Domain anywebshop.nl to external too!
     
  3. vervem

    vervem New Member

    Thanx for the quick re:

    What does the option Co-Domain do?

    If i change Co-Domain, is the site still working then? Only the mx record is external.

    Matthijs
     
  4. falko

    falko Super Moderator Howtoforge Staff

    It works like this: when you create the web site www.anywebshop.nl, the Co-Domain anywebshop.nl is created automatically so that you can access your web site using http://www.anywebshop.nl and http://anywebshop.nl.
    Every user you create has then email addresses like [email protected] and [email protected].

    If you remove the Co-Domain anywebshop.nl, then you can't use http://anywebshop.nl anymore to reach your web site, and your user can receive emails only under [email protected].

    If you use an external mail server, then you have to tell www.anywebshop.nl and anywebshop.nl to use this external mail server. If you do this only for www.anywebshop.nl, then emails for anywebshop.nl will still arrive on your server.
     
  5. vervem

    vervem New Member

    I got it.
    It works fine now ! :D

    Thanx guys

    Matthijs
     
  6. teknology

    teknology New Member

    Falko, you should write a book. Great tutorials!
     

Share This Page