ispcp disable mail for a domain

nano /etc/postfix/ispcp/domains
comment domain
cp /etc/postfix/ispcp/domains /etc/ispcp/postfix/working
cd /etc/postfix/ispcp
postmap domains

!!!!!
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
-> ok
– 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.

Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar