misc Tux's lil' helper

Joined: 09 Sep 2003 Posts: 109
|
Posted: Sat Nov 22, 2003 8:07 am Post subject: virtual mail and postfix problem |
|
|
Hello, I have been reading the virtual mail howto and have gotten imap working with mysql, but I can't seem to get postfix working.
After configuring postfix to the way it says, I tried to send mail to myself and this is what appears in the logs:
postfix/smtp[28585]: 4294110A96: to=<third@domain2.com>, relay=mail.domainca.com[211.106.65.102], delay=36, status=bounced (host mail.domainca.com[211.106.65.102] said: 550 5.1.1 <third@domain2.com>... User unknown (in reply to RCPT TO command))
Now, the 'third' user is a user that exists in the database under the 'users' table as follows:
3 | third@domain2.com | pass | asdf | 1006 | 1006 | /home/vmail | /home/vmail/domain2.com/third/ | | y
So, the user exists, but after looking through the logs more, I see this entry a bit before it:
dict_mysql_lookup using sql query: select destination from virtual where email = '@domain2.com'
And then it goes on further saying that no rows were retrieved, but that's because there is no data in the 'virtual' table.
My question is, when setting up a new user, does it go in the 'users' table or in the 'virtual' table, or both? Theres nothing in the document that actually explains howto setup a user.
Thanks for any help. |
|