> is the user defined in this target-domain? The user that the logs reported a successful delivery for (bluethu...@mail.crispycode.com) was not originally in the database because I was intending to get the domain @crispycode.com to work. :) But I decided to add the domain mail.crispycode.com and add the user bluethu...@mail.crispycode.com to the database and there was no change.
mysql> select * from domains; +---------------------+ | domain | +---------------------+ | crispycode.com | | mail.crispycode.com | +---------------------+ 2 rows in set (0.00 sec) mysql> select * from users; +--------------------------------+---------------+----------+ | email | password | quota | +--------------------------------+---------------+----------+ | bluethu...@crispycode.com | blah | 10485760 | | bluethu...@mail.crispycode.com | blah | 10485760 | +--------------------------------+---------------+----------+ 2 rows in set (0.00 sec) I telnet into localhost on 25 and send the mail to bluethu...@mail.crispycode.com [root@mail postfix]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 mail.crispycode.com ESMTP Postfix HELO mail 250 mail.crispycode.com MAIL FROM: <bluethu...@gmail.com> 250 2.1.0 Ok RCPT TO: <bluethu...@mail.crispycode.com> 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> Subject: test mail test test test . 250 2.0.0 Ok: queued as 58DB724F9F quit 221 2.0.0 Bye Connection closed by foreign host. The message ID appears in the logs: [root@mail postfix]# grep 58DB724F9F /var/log/maillog Nov 27 22:08:24 mail postfix/smtpd[17789]: 58DB724F9F: client=localhost[127.0.0.1] Nov 27 22:08:35 mail postfix/cleanup[17798]: 58DB724F9F: message-id=<20111128030824.58db724...@mail.crispycode.com> Nov 27 22:08:35 mail postfix/qmgr[16591]: 58DB724F9F: from=<bluethu...@gmail.com>, size=384, nrcpt=1 (queue active) Nov 27 22:08:35 mail postfix/local[17801]: 58DB724F9F: to=<bluethu...@mail.crispycode.com>, relay=local, delay=21, delays=21/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Nov 27 22:08:35 mail postfix/qmgr[16591]: 58DB724F9F: removed But there is no sign on the file system of the message: [root@mail postfix]# ls -l /home/vmail/ total 4 drwxr-xr-x 3 vmail vmail 4096 Nov 26 15:37 crispycode.com [root@mail postfix]# ls -l /home/vmail/crispycode.com/ total 4 drwxr-xr-x 10 vmail vmail 4096 Nov 27 14:22 bluethundr [root@mail postfix]# ls -l /home/vmail/crispycode.com/bluethundr/cur/ total 0 Thanks Tim ----- Original Message ----- From: "Reindl Harald" <h.rei...@thelounge.net> To: postfix-users@postfix.org Sent: Sunday, November 27, 2011 5:13:27 PM Subject: Re: mail to domain bounced, to hostname accepted Am 27.11.2011 23:09, schrieb Tim Dunphy: > [root@mail postfix]# grep D1A5724F9F /var/log/maillog > Nov 27 17:01:33 mail postfix/smtpd[17522]: D1A5724F9F: > client=localhost[127.0.0.1] > Nov 27 17:01:42 mail postfix/cleanup[17531]: D1A5724F9F: > message-id=<20111127220133.d1a5724...@mail.crispycode.com> > Nov 27 17:01:42 mail postfix/qmgr[16591]: D1A5724F9F: > from=<bluethu...@jokefire.com>, size=352, nrcpt=1 (queue active) > Nov 27 17:01:42 mail postfix/smtp[17534]: D1A5724F9F: > to=<bluethu...@crispycode.com>, relay=none, delay=18, delays=18/0.01/0/0, > dsn=5.4.6, status=bounced (mail for 127.0.0.1 loops back to myself) > Nov 27 17:01:42 mail postfix/bounce[17536]: D1A5724F9F: sender non-delivery > notification: 91C6C24FA1 > Nov 27 17:01:42 mail postfix/qmgr[16591]: D1A5724F9F: removed is the user defined in this target-domain?