Skip to content

[POSTFIX] do not list domain mydomain.tld in BOTH mydestination and virtual_mailbox_domains #1731

@gGraph32

Description

@gGraph32

Hi,

I do not understand I do not receive messages;
they exist on since I can send emails from their email addresses

To : [email protected] [OR] [email protected]
From : [email protected]
=> it's Ok

To : [email protected]
From : [email protected], [email protected]
=> Error

  • 550 5.1.1 [email protected]: Recipient address rejected: User unknown in local recipient table
  • 550 5.1.1 [email protected]: Recipient address rejected: User unknown in local recipient table
$ ./setup.sh debug show-mail-logs
Dec 23 23:22:37 mail postfix/trivial-rewrite[128551]: warning: do not list domain mydomain.tld in BOTH mydestination and virtual_mailbox_domains
Dec 23 23:22:37 mail policyd-spf[128553]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=XXX.XXX.XXX.XXX; helo=fra01-mr2-obe.outbound.protection.outlook.com; [email protected]; receiver=<UNKNOWN> 
Dec 23 23:22:37 mail postfix/smtpd[128543]: NOQUEUE: reject: RCPT from mail-eopbgr90051.outbound.protection.outlook.com[XXX.XXX.XXX.XXX]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<FRA01-MR2-obe.outbound.protection.outlook.com>
Dec 23 23:22:37 mail postfix/trivial-rewrite[128551]: warning: do not list domain mydomain.tld in BOTH mydestination and virtual_mailbox_domains
Dec 23 23:22:37 mail postfix/smtpd[128543]: NOQUEUE: reject: RCPT from mail-eopbgr90051.outbound.protection.outlook.com[XXX.XXX.XXX.XXX]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<FRA01-MR2-obe.outbound.protection.outlook.com>
Dec 23 23:22:37 mail postfix/smtpd[128543]: disconnect from mail-eopbgr90051.outbound.protection.outlook.com[XXX.XXX.XXX.XXX] ehlo=2 starttls=1 mail=1 rcpt=0/2 quit=1 commands=5/7
$ cat postfix-accounts.cf 
[email protected]|{SHA512-CRYPT}[...]
[email protected]|{SHA512-CRYPT}[...]
[email protected]|{SHA512-CRYPT}[...]
$ nano mailserver.env
[...]
# empty => all daemons start
# 1 => only launch postfix smtp
SMTP_ONLY=
[...]

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions