Hello, I have the following problem with my postfix configuration:
If i send an email from gmail to a valid mailbox / alias on my server it works fine: Aug 18 10:57:52 server postfix/smtpd[17528]: connect from mail-bw0-f205.google.com[209.85.218.205] Aug 18 10:57:52 server postfix/smtpd[17528]: 31AA4164000A: client= mail-bw0-f205.google.com[209.85.218.205] Aug 18 10:57:52 server postfix/cleanup[17410]: 31AA4164000A: message-id=< [email protected]> Aug 18 10:57:52 server postfix/qmgr[2770]: 31AA4164000A: from=< [email protected]>, size=1825, nrcpt=1 (queue active) Aug 18 10:58:06 server postfix/smtpd[17750]: connect from localhost.localdomain[127.0.0.1] Aug 18 10:58:06 server postfix/smtpd[17750]: 7C2781640041: client=localhost.localdomain[127.0.0.1] Aug 18 10:58:06 server postfix/cleanup[17410]: 7C2781640041: message-id=< [email protected]> Aug 18 10:58:06 server postfix/qmgr[2770]: 7C2781640041: from=< [email protected]>, size=2484, nrcpt=1 (queue active) Aug 18 10:58:06 server postfix/smtpd[17750]: disconnect from localhost.localdomain[127.0.0.1] Aug 18 10:58:06 server amavis[16926]: (16926-05) Passed CLEAN, [209.85.218.205] [209.85.218.205] <[email protected]> -> <[email protected]>, Message-ID: < [email protected]>, mail_id: 8bXThNkELilx, Hits: 1.603, size: 1825, queued_as: 7C2781640041, 14246 ms Aug 18 10:58:06 server postfix/smtp[17742]: 31AA4164000A: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=14, delays=0.14/0.01/0.01/14, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=16926-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7C2781640041) Aug 18 10:58:06 server postfix/qmgr[2770]: 31AA4164000A: removed Aug 18 10:58:06 server postfix/pipe[17751]: 7C2781640041: to=<[email protected]>, relay=dovecot, delay=0.12, delays=0.01/0.02/0/0.1, dsn=2.0.0, status=sent (delivered via dovecot service) Aug 18 10:58:06 server postfix/qmgr[2770]: 7C2781640041: removed Problem is when i send an email to an alias or mailbox that is not valid in my database: Aug 18 10:56:20 server postfix/smtpd[17528]: connect from mail-bw0-f205.google.com[209.85.218.205] Aug 18 10:56:20 server postfix/smtpd[17528]: warning: mysql query failed: Unknown column 'email' in 'where clause' Aug 18 10:56:20 server postfix/smtpd[17528]: NOQUEUE: reject: RCPT from mail-bw0-f205.google.com[209.85.218.205]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-bw0-f205.google.com> Aug 18 10:56:20 server postfix/cleanup[17410]: 6E3C8164000A: message-id=<[email protected]> Aug 18 10:56:20 server postfix/qmgr[2770]: 6E3C8164000A: from=<[email protected]>, size=913, nrcpt=1 (queue active) Aug 18 10:56:20 server postfix/smtpd[17528]: disconnect from mail-bw0-f205.google.com[209.85.218.205] Aug 18 10:56:20 server postfix/smtp[17475]: 6E3C8164000A: to=<[email protected]>, orig_to=<postmaster>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for server.mydomain.tld loops back to myself) Aug 18 10:56:20 server postfix/bounce[17699]: warning: 6E3C8164000A: undeliverable postmaster notification discarded Aug 18 10:56:20 server postfix/qmgr[2770]: 6E3C8164000A: removed I presume this is not how it's intended to work, anyone can help me out ? (please tell me if you need any config file mailed, i will do it shortly) Kind Regards.
