Hi,
> > > I read about mysql maps and now I understand how it works. > > My problem was that my /etc/postfix/mysql_something.cf > > <http://mysql_something.cf> didn't have an additional conditional to the > > postfix's query. > > > > To enable what I want, was need add directive additional_conditional = > > and active = '1' to my map and update this map. > > > > you really should read postfix docs, on www.postfix.org. the new syntax is > ... I read about postfix virtual domain mail delivery agent. [1] To get what domains I am final destinatination, i'm using virtual_mailbox_domains with mysql map. [2] In my table, I have a field called active, with 1 to true and 0 to false. And when I want just disable a domain without delete it, I use the additional_conditions above. With this asset this domain won't receive messages. My reference was: Hildebrandt, Ralf. The book of Postfix : state-of-the-art message transport / Ralf Hildebrandt and Patrick Koetter. > query = select .... > > oh and don't tell me where you got that "active=" thing. I don't > understand why people add a column for this... According to my reference, this query is mounted automatically with the parameters: user hosts password dbname table select_field where_field additional_conditions [1] - http://www.postfix.org/virtual.8.html [2] - http://www.postfix.org/postconf.5.html#virtual_mailbox_domains []'s -- Eduardo Júnior GNU/Linux user #423272 :wq