hello! something strange happens to me. i have several clients and sites. one of the clients has two sites, two dns zones and two mail domains. both mail domains have the same settings. with the mailboxes of one of the domains, it's all ok, i can send and receive mails. instead, with the other one, i can create mailboxes, and login with roundcube or thunderbird, but i don't recevie the new user mail, also i can send mails with this accounts, but if i try to send a mail to this accounts, i receive something like this: This is the mail system at host XXXXXX.com. 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]>: unknown user: "pau" any ideas, please?
Hello. That's what i have in the logs (nothing on mail.err): Code: mail.warn Jun 17 09:50:01 XXXXXXXX postfix/trivial-rewrite[1230]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 09:55:02 XXXXXXXX postfix/trivial-rewrite[1323]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 09:55:02 XXXXXXXX postfix/trivial-rewrite[1323]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 09:55:02 XXXXXXXX postfix/trivial-rewrite[1323]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:01 XXXXXXXX postfix/trivial-rewrite[1416]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:01 XXXXXXXX postfix/trivial-rewrite[1416]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:01 XXXXXXXX postfix/trivial-rewrite[1416]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:32 XXXXXXXX postfix/trivial-rewrite[1439]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:33 XXXXXXXX postfix/trivial-rewrite[1439]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:01:06 XXXXXXXX postfix/trivial-rewrite[1454]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains mail.info Jun 17 10:00:01 XXXXXXXX postfix/cleanup[1415]: 8089C3E6057: message-id=<[email protected]> Jun 17 10:00:01 XXXXXXXX postfix/qmgr[12492]: 8089C3E6057: from=<[email protected]>, size=1296, nrcpt=1 (queue active) Jun 17 10:00:01 XXXXXXXX postfix/trivial-rewrite[1416]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:01 XXXXXXXX postfix/smtpd[1423]: disconnect from localhost[127.0.0.1] Jun 17 10:00:01 XXXXXXXX postfix/trivial-rewrite[1416]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:01 XXXXXXXX amavis[32332]: (32332-08) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: Ube2TwtUUH8v, Hits: -0.001, size: 834, queued_as: 8089C3E6057, 130 ms Jun 17 10:00:01 XXXXXXXX postfix/smtp[1420]: 5CB603E62E3: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.44, delays=0.29/0.01/0/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=32332-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8089C3E6057) Jun 17 10:00:01 XXXXXXXX postfix/qmgr[12492]: 5CB603E62E3: removed Jun 17 10:00:01 XXXXXXXX postfix/local[1425]: 8089C3E6057: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Jun 17 10:00:01 XXXXXXXX postfix/qmgr[12492]: 8089C3E6057: removed Jun 17 10:00:12 XXXXXXXX pop3d: LOGIN, [email protected], ip=[::ffff:YY.YY.YY.YY], port=[19894] Jun 17 10:00:12 XXXXXXXX pop3d: LOGOUT, [email protected], ip=[::ffff:YY.YY.YY.YY], port=[19894], top=0, retr=0, rcvd=12, sent=39, time=0 Jun 17 10:00:23 XXXXXXXX postfix/smtpd[1395]: connect from YY.Red-YY-YY-YYY.staticIP.rima-tde.net[YY.YY.YY.YY] Jun 17 10:00:32 XXXXXXXX postfix/trivial-rewrite[1439]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:32 XXXXXXXX postfix/smtpd[1395]: A555E3E6057: client=YY.Red-YY-YY-YYY.staticIP.rima-tde.net[YY.YY.YY.YY], sasl_method=PLAIN, [email protected] Jun 17 10:00:32 XXXXXXXX postfix/cleanup[1415]: A555E3E6057: message-id=<[email protected]> Jun 17 10:00:32 XXXXXXXX postfix/qmgr[12492]: A555E3E6057: from=<[email protected]>, size=600, nrcpt=1 (queue active) Jun 17 10:00:32 XXXXXXXX postfix/smtpd[1395]: disconnect from YY.Red-YY-YY-YYY.staticIP.rima-tde.net[YY.YY.YY.YY] Jun 17 10:00:33 XXXXXXXX postfix/smtpd[1423]: connect from localhost[127.0.0.1] Jun 17 10:00:33 XXXXXXXX postfix/trivial-rewrite[1439]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:00:33 XXXXXXXX postfix/smtpd[1423]: 284773E62E3: client=localhost[127.0.0.1] Jun 17 10:00:33 XXXXXXXX postfix/cleanup[1415]: 284773E62E3: message-id=<[email protected]> Jun 17 10:00:33 XXXXXXXX postfix/smtpd[1423]: disconnect from localhost[127.0.0.1] Jun 17 10:00:33 XXXXXXXX postfix/qmgr[12492]: 284773E62E3: from=<[email protected]>, size=1052, nrcpt=1 (queue active) Jun 17 10:00:33 XXXXXXXX amavis[32226]: (32226-09) Passed CLEAN, [YY.YY.YY.YY] [YY.YY.YY.YY] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: 3BPUEAiEbUl1, Hits: 1.459, size: 600, queued_as: 284773E62E3, 316 ms Jun 17 10:00:33 XXXXXXXX postfix/smtp[1420]: A555E3E6057: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.6, delays=0.28/0/0/0.32, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=32226-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 284773E62E3) Jun 17 10:00:33 XXXXXXXX postfix/qmgr[12492]: A555E3E6057: removed Jun 17 10:00:35 XXXXXXXX postfix/smtp[1446]: 284773E62E3: to=<[email protected]>, relay=YYYYYYYY.com[ZZ.ZZ.ZZ.ZZ]:25, delay=2.6, delays=0.02/0.01/0.14/2.5, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B897E48ADC3) Jun 17 10:00:35 XXXXXXXX postfix/qmgr[12492]: 284773E62E3: removed Jun 17 10:01:05 XXXXXXXX postfix/smtpd[1395]: connect from dl51.dinaserver.com[ZZ.ZZ.ZZ.ZZ] Jun 17 10:01:05 XXXXXXXX postfix/smtpd[1395]: 252CF3E6057: client=dl51.dinaserver.com[ZZ.ZZ.ZZ.ZZ] Jun 17 10:01:05 XXXXXXXX postfix/cleanup[1415]: 252CF3E6057: message-id=<[email protected]> Jun 17 10:01:05 XXXXXXXX postfix/qmgr[12492]: 252CF3E6057: from=<[email protected]>, size=1404, nrcpt=1 (queue active) Jun 17 10:01:05 XXXXXXXX postfix/smtpd[1395]: disconnect from dl51.dinaserver.com[ZZ.ZZ.ZZ.ZZ] Jun 17 10:01:05 XXXXXXXX postfix/smtpd[1423]: connect from localhost[127.0.0.1] Jun 17 10:01:05 XXXXXXXX postfix/smtpd[1423]: F19513E62E3: client=localhost[127.0.0.1] Jun 17 10:01:05 XXXXXXXX postfix/cleanup[1415]: F19513E62E3: message-id=<[email protected]> Jun 17 10:01:06 XXXXXXXX postfix/qmgr[12492]: F19513E62E3: from=<[email protected]>, size=1864, nrcpt=1 (queue active) Jun 17 10:01:06 XXXXXXXX postfix/smtpd[1423]: disconnect from localhost[127.0.0.1] Jun 17 10:01:06 XXXXXXXX postfix/trivial-rewrite[1454]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:01:06 XXXXXXXX amavis[32332]: (32332-09) Passed CLEAN, [ZZ.ZZ.ZZ.ZZ] [YY.YY.YY.YY] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: sJEq7s8j7bEI, Hits: 0, size: 1404, queued_as: F19513E62E3, 840 ms Jun 17 10:01:06 XXXXXXXX postfix/smtp[1420]: 252CF3E6057: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.9, delays=0.05/0/0/0.84, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=32332-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F19513E62E3) Jun 17 10:01:06 XXXXXXXX postfix/qmgr[12492]: 252CF3E6057: removed Jun 17 10:01:06 XXXXXXXX postfix/local[1425]: F19513E62E3: to=<[email protected]>, relay=local, delay=0.06, delays=0.03/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "pau") Jun 17 10:01:06 XXXXXXXX postfix/cleanup[1415]: 0B4493E6057: message-id=<[email protected]> Jun 17 10:01:06 XXXXXXXX postfix/bounce[1457]: F19513E62E3: sender non-delivery notification: 0B4493E6057 Jun 17 10:01:06 XXXXXXXX postfix/qmgr[12492]: 0B4493E6057: from=<>, size=3668, nrcpt=1 (queue active) Jun 17 10:01:06 XXXXXXXX postfix/qmgr[12492]: F19513E62E3: removed Jun 17 10:01:06 XXXXXXXX postfix/smtp[1446]: 0B4493E6057: to=<[email protected]>, relay=YYYYYYYY.com[ZZ.ZZ.ZZ.ZZ]:25, delay=0.57, delays=0.02/0/0.07/0.47, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 48E0248FDDA) Jun 17 10:01:06 XXXXXXXX postfix/qmgr[12492]: 0B4493E6057: removed mail.log Jun 17 10:05:01 XXXXXXXX postfix/cleanup[1544]: EEC4B3E6057: message-id=<[email protected]> Jun 17 10:05:02 XXXXXXXX postfix/qmgr[12492]: EEC4B3E6057: from=<[email protected]>, size=1296, nrcpt=1 (queue active) Jun 17 10:05:02 XXXXXXXX postfix/trivial-rewrite[1545]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:05:02 XXXXXXXX postfix/smtpd[1549]: disconnect from localhost[127.0.0.1] Jun 17 10:05:02 XXXXXXXX amavis[32226]: (32226-10) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: pl7rov8DmfBO, Hits: -0.001, size: 834, queued_as: EEC4B3E6057, 148 ms Jun 17 10:05:02 XXXXXXXX postfix/trivial-rewrite[1545]: warning: do not list domain XXXXXXXX.com in BOTH mydestination and virtual_mailbox_domains Jun 17 10:05:02 XXXXXXXX postfix/smtp[1546]: CD3BA3E62E3: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.43, delays=0.26/0.01/0/0.15, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=32226-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EEC4B3E6057) Jun 17 10:05:02 XXXXXXXX postfix/qmgr[12492]: CD3BA3E62E3: removed Jun 17 10:05:02 XXXXXXXX postfix/local[1550]: EEC4B3E6057: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Jun 17 10:05:02 XXXXXXXX postfix/qmgr[12492]: EEC4B3E6057: removed
That's the problem. I guess the second domain that you added in ISPConfig is already listed in mydestination in /etc/postfix/main.cf.
thanks! i remove the second domain from the line mydestination in postfix/main.cf and it works perfect!