added e-mail aliases don't work

Discussion in 'General' started by PermaNoob, Jan 17, 2007.

  1. PermaNoob

    PermaNoob Member

    I added some e-mail aliases using ISPconfig and they are rejected

    Recipient address rejected: User unknown in local recipient table

    The only addresses which work are the account addresses, web6_account etc.

    Do I have to restart postfix or the server or something to make the aliases work? If so, that's a problem, as I can't have clients requesting a restart everytime they add an alias.

    I tried logging out of ISPconfig and logging back in, and the aliases are displayed in the alias box.
     
    Last edited: Jan 17, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What exactly did you add in the alias box?
     
  3. PermaNoob

    PermaNoob Member

    As the instructions say, just the part before the @, each on a separate line, like:

    one
    two
    three
     
  4. martinfst

    martinfst Member Moderator

    I thought aliases need to point to the next hop, either another alias, or a real user? And shouldn't there be @ signs? so
    Code:
    one@  web1_user
    two@  web1_user
    three@  web1_user
    Not tested.
     
  5. PermaNoob

    PermaNoob Member

    That looks logical, martin, but it's not the way it's stated in the instructions.

    When I tried your solution, the changes are not saved.

    By the way, I rebooted the server and that had no effect.
     
    Last edited: Jan 18, 2007
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Its correct to add them in ISPConfig without the @. You are both right, Martinfst is talking about the file /etc/postfix/virtusertable and there the @ sign is added by ISPConfig automatically.

    Please check if the aliases are listed in the file /etc/postfix/virtusertable in the form of :

    [email protected] web1_user
    [email protected] web1_user
    [email protected] web1_user
     
  7. PermaNoob

    PermaNoob Member

    The site also wasn't resolving to the correct directory, so I deleted it, emptied the recycle bin (that's a good feature, by the way) and then set it up again, and now everything is working ok.

    Thanks for the help--it's good to know about the /etc/postfix/virtusertable anyway.
     

Share This Page