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
    <> (expanded from <>): unknown user:
    Reporting-MTA: dns;
    X-Postfix-Queue-ID: 2B07C68E0DC
    X-Postfix-Sender: rfc822;
    Arrival-Date: Mon, 26 Apr 2010 18:26:02 +0200 (CEST)
    Final-Recipient: rfc822;
    Original-Recipient: rfc822;
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: X-Postfix; unknown user: "admin"
    Von: Erler Benjamin <>
    Datum: 26. April 2010 18:18:51 MESZ
    Betreff: Testmail
    I have a mailbox "" and an alias:
    Source mailadress: "admin@meinedomain2"
    Destination mailbox: ""
    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.
    TLH, marquillo and Ahmad Hamada like 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 :)
  7. marquillo

    marquillo New Member

    Thank you, it works
  8. TLH

    TLH New Member

    I had a similar problem and your answer helped me as well. Thank you Till!
  9. Olhutch

    Olhutch New Member

    Yeah just had the same problem thanks Till.:)

Share This Page