Inserting a new handled domain directly into MWES.db

Anything else, but be polite...
User avatar
CorporateBackup
Student Sheep
Posts: 15
Joined: Fri Oct 17, 2014 2:55 pm

Inserting a new handled domain directly into MWES.db

Thu Nov 06, 2014 3:41 pm

I'd like to be able to insert a new managed mail domain into Mailwasher from a script rather than via http://localhost:4044/Domains.srv, and was wondering if I could simply use something like sqlite3 to add an entry to the domains table in MWES.db. Would MWES pick it up immediately and start accepting mail for that domain, or are there other administrative processes which would need to be manually prodded (restarting services etc) to get MWES to reload the list?

(Likewise for removing entries via script.)
-Steve
Corporate Backup
User avatar
nick.bolton
The Big Cheese
Posts: 1809
Joined: Thu Aug 28, 2008 4:02 pm

Re: Inserting a new handled domain directly into MWES.db

Mon Nov 17, 2014 10:22 am

Return to “Miscellaneous”