Hello, sorry for the trouble i couse but as you may nothice I'm not very experienced user . I am really grateful for your help. I DO.
Victor Duchovni pisze: > On Fri, Mar 20, 2009 at 11:35:09PM +0100, Sebastian Chociwski wrote: > >> I am (almost ;) ) 100% sure that only mail could be delivered is in ONE >> mysql db. > > What in your Postfix configuration do you expect to reject mail not > listed in that MySQL table? I configured postfix to use one table to deliver mails to. When I send email to non-existing account it is rejected. As well as I try to send email to user I changed in table. > >> _email2email.cf points at DB I use to decide what mails to deliver >> _domains.cf is DB with domains i want to accept (one column with domain >> name) > > How did you communicate your intent (decision) to Postfix? I made additional column in table. Default integer is "1". ... And I just realized why it don't work ... virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf All changes I made in ALIAS_MAPS. Adding condition to mailbox_maps file make it work. So sorry for the time you lost on me. And THANK YOU , without your help it would take weeks before I realize why it don't work :( -- best regards, Sebastian Chociwski