cp /etc/postfix/ispcp/domains /etc/ispcp/postfix/working
New and improved version
It works with the gui:
– switch to the user (dom.tld)
– delete all mail accounts
– switch back to the corresponding reseller
– change the domain, set the numer of mail accounts to -1 (disable)
– change the traffic limit
– if needed: change the domain, set the traffic limit back to the previus number
this way the domain is removed from the domain hashfile (the mportant thing is the change of the transfer volume).
Note by BT: The traffic limit trick is needed to invoke the ISPCP Engine, which updates the domains.