Maildelivery: unknown user

Discussion in 'Installation/Configuration' started by wiseguy, Apr 26, 2010.

  1. wiseguy

    wiseguy New Member


    I tested the Mailservice with a mail from But I got an error mesage:
    This is the mail system at host
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    For further assistance, please send mail to postmaster.
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
                      The mail system
    <[email protected]> (expanded from <[email protected]>): unknown user:
    Reporting-MTA: dns;
    X-Postfix-Queue-ID: 2B07C68E0DC
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Mon, 26 Apr 2010 18:26:02 +0200 (CEST)
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: X-Postfix; unknown user: "admin"
    Von: Erler Benjamin <[email protected]>
    Datum: 26. April 2010 18:18:51 MESZ
    An: [email protected]
    Betreff: Testmail
    I have a mailbox "[email protected]" and an alias:
    Source mailadress: "[email protected]"
    Destination mailbox: "[email protected]"
    Last edited: Apr 26, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. wiseguy

    wiseguy New Member

    Okay I sent the mesage and I saw the error message in logfile:
    warning: do not list domain in BOTH mydestination and virtual_mailbox_domains
    But I have the entry
    mydestination =, localhost, localhost.localdomain
    in the and in the is the following:
    user = ispconfig
    password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    dbname = dbispconfig
    table = mail_domain
    select_field = domain
    where_field = domain
    additional_conditions = and active = 'y' and server_id = 1
    hosts =
    In the table mail_domain in field domain is in one line the entry "" of course, too.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not use a domain as mydomain, myhostname or mydestination in postfix that is used as virtual mail domain. Please change the line:

    mydestination =, localhost, localhost.localdomain


    mydestination = localhost, localhost.localdomain

    and make sure that is not used as myhostname or mydomain. Then restart postfix.
    Ahmad Hamada likes this.
  5. wiseguy

    wiseguy New Member

    You are the Best!!!
    Thanks that was it. Now that works ;-)
  6. Ahmad Hamada

    Ahmad Hamada New Member

    Many Thanks to you :)

Share This Page