Hi, On Fri, May 29, 2009 at 11:25 PM, Barney Desmond <barneydesm...@gmail.com>wrote:
> 2009/5/30 Eduardo Júnior <ihtrau...@gmail.com>: > > On Thu, May 28, 2009 at 11:15 PM, Sahil Tandon <sa...@tandon.net> wrote: > >> > >> What is your definition of 'disable' in this context? > > > > In my context, disable a domain would be leave it suspended. > > Become it inatve. > > > > I didn't find out more information about this field in the table domain > of > > the postfix to complete understanding, so i'm a little confused. > > > > But for me, become a domain inatice, means which it don't will receibe > mails > > after I unset active active. > > Or i'm wrong? > > This is really a feature of postfixadmin. Postfix just does what it's > told, it's up to the map files used by postfixadmin that determine how > it works. > > You can figure out what you need to change by inspecting the map files > (usually /etc/postfix/mysql_something.cf), but it will take some work. > It's been a while since I've touched postfix admin, but the > edit-domain.php script seems to make the change you're referring to. > You probably want the `domain` table (the name may be different), you > can set the `active` field to False. > I read about mysql maps and now I understand how it works. My problem was that my /etc/postfix/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. Thanks for the indications of the paths to understanding []'s -- Eduardo Júnior GNU/Linux user #423272 :wq