One catch all catches all other domain emails

Discussion in 'Installation/Configuration' started by ozjames, Jan 25, 2007.

  1. ozjames

    ozjames New Member

    I have 2 domains,

    I have a catch all on my domain and that is catching all mail for the domain

    i did find an FAQ when searching the forum but that mentions to check /etc/postfix/ for $mydomain

    Thanks in advance
    Last edited: Jan 27, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look at this FAQ entry:

    Is this line commented out? If not, ISPConfig is not properly installed on your server.
  3. ozjames

    ozjames New Member

    Yes the line is commented out
    :confused: :confused: :confused:
    in my /etc/postfix/ i dont have $mydomain are you saying i need to add that and put in

    $mydomain =

    and everytime i add a new domain via ispconfig i need to edit this file ?

    thank you for your help
    Forward Message
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No. ISPConfig adds the domains automatically to the file /etc/postfix/local-host-names.

    You must add the variable $mydomain = in and this domain that you use there may NOT be used for a ISPConfig website as described in the FAQ, otherwise you get the catchall problem that you described.
  5. ozjames

    ozjames New Member

    Ok I have removed, the website (DNS still remains) so now I have added another domain and created a catch-all email account
    but now when i send email [email protected] i get a bounce back saying

    <[email protected]> (expanded from <[email protected]>): mail for loops back to myself

    i must be missing a step

    thanks in advance
    Last edited: Jan 27, 2007
  6. falko

    falko Super Moderator ISPConfig Developer

    Please add at the end of /etc/postfix/local-host-names and restart Postfix.

Share This Page