Mail configuration question

Discussion in 'Installation/Configuration' started by wowwen, Apr 12, 2010.

  1. wowwen

    wowwen New Member

    Hello again.

    Iam a bit confused about my setup and i need some suggestions.

    Iam using ISP Config for handling a few domains. One of my domain, i use an external mailserver for my mail which is working with no problem at all. But now i have encounter a small trouble. On the same domain, i use a webbased script which sends mail to a specified mailadress at the same domain. But when i do this, the mail doesnt go to the external mailserver, it goes to the local one. Ive created an identical address on the ispconfig server and when i manually connects to that account, all my mails that are generated through my script are here. So, it seems like the mail doesnt read the domain mx record when i send a mail from Ispconfig smtp.

    Is there anyway i can solve this?
  2. falko

    falko Super Moderator ISPConfig Developer

    Please delete the mail domain in ISPConfig, and the mails will go to the other server.
  3. wowwen

    wowwen New Member


    Thanks for the quick response.

    I have now tried to delete the email domain with success, but now the mails get stuck in the mail queue.

    Do i need to restart anything for the changes to take place?

    When i look at the queue now i see the following

    mail for loops back to myself
    Last edited: Apr 12, 2010
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if you used as hostname for the server. You can not use a email domain as hostname for a postfix mailserver. Please change in postfix to something like and restart postfix.
  5. wowwen

    wowwen New Member

    That was what i thought to, but when i check my config the server name is:, and this is also the server hostname.

    The email server iam trying to reach is which points to an other server.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the contents of the poastfix file, comments stripped.

Share This Page