Postfix: user unknown error

Discussion in 'ISPConfig 3 Priority Support' started by paka, Oct 3, 2013.

  1. paka

    paka Member

    New installed v3.0.5.3 following:

    Debian Wheezy (nginx, BIND, Dovecot, ISPConfig 3)

    Outbound email functions normally.

    Inbound email is bouncing due to unknown user:

    Reporting-MTA: dns;
    X-Postfix-Queue-ID: 4F77A4240F
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Thu,  3 Oct 2013 17:09:31 +0200 (CEST)
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: X-Postfix; unknown user: "tester"
    There is one email account with the user 'tester' created from ISPConfig

    The directory for this user does exist:

    [..]/tester/Maildir# ls
    courierimapsubscribed  cur  dovecot.index.log  dovecot-uidlist	dovecot-uidvalidity  dovecot-uidvalidity.524d6e26  new	subscriptions  tmp
    Any thoughts on this?

    From the Mail Warning log:

    Oct 4 01:10:20 fluffybunny postfix/trivial-rewrite[2705]: warning: do not list domain in BOTH mydestination and virtual_mailbox_domains
    Last edited: Oct 4, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please edit the postfix file (/etc/postfix/ and replace all occurrences of " with a subdomain of that dmain like "". Then restart postfix.

    AS last step, add a dns a-record for that points to the IP address of your server.
  3. paka

    paka Member

    Cheers. Email being received after the simple edit you suggested.

    I noticed the domain when reviewing but didn't think to add the subdomain.

    Was this an error of mine when setting up ISPConfig? I ask as my preference is to learn from my mistakes.

    Again, thank you.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you installed the operting system and postfix, then most likely yes. The hostname of the server is set as one of the first steps in the perfect setup guide and postfix asks for the mailname when it gets installed. In general, the hostname of a server (and also the mailname) should be a subdomain (in the guides we use as placeholder / example) to avoid problems in apache and postfix.
  5. paka

    paka Member

    Ah. So I must have used no subdomain at that point. Possibly accepting the default if there was one.

    It would seem for a flawless ISPConfig install one requires two things:
    1. The Perfect Setup Guide ...
    2. The Perfect Admin


    FWIW, excellent install guide.

Share This Page