Postfix: user unknown error

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

  1. paka

    paka New 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:

    Code:
    Reporting-MTA: dns; xxxx.eu
    X-Postfix-Queue-ID: 4F77A4240F
    X-Postfix-Sender: rfc822; xxxx@xxxxxxxx.com
    Arrival-Date: Thu,  3 Oct 2013 17:09:31 +0200 (CEST)
    
    Final-Recipient: rfc822; tester@xxxxxx.xxx
    Original-Recipient: rfc822;tester@xxxxxx.xxx
    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 3.0.5.3.

    The directory for this user does exist:

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

    Update:
    From the Mail Warning log:

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

    till Super Moderator

    Please edit the postfix main.cf file (/etc/postfix/main.cf) and replace all occurrences of "fluffy.......eu with a subdomain of that dmain like "mail.fluffy.......eu". Then restart postfix.

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

    paka New Member

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

    I noticed the domain when reviewing main.cf 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

    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 server1.example.com as placeholder / example) to avoid problems in apache and postfix.
     
  5. paka

    paka New 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

    <sigh>

    FWIW, excellent install guide.
     

Share This Page