Disable mail for a domain - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Disable mail for a domain (/thread-3247.html) |
RE: Disable mail for a domain - theprincy - 12-29-2009 05:28 PM (12-29-2009 05:14 PM)motokochan Wrote: Are you sure the mail is being sent from this specific server? Have you confirmed on the mail log? yes, is sent from domain orsus.it (12-29-2009 05:19 PM)kilburn Wrote: You should have it: yes RE: Disable mail for a domain - kilburn - 12-29-2009 05:59 PM If you disabled the account's password as I told you and there are still new messages appearing, it means that the website of this user got hacked or has a bug, and someone is sending the emails through it. You need to discover the vulnerable script and correct it... RE: Disable mail for a domain - joximu - 01-20-2010 07:46 PM (05-08-2008 08:48 PM)KeNt Wrote: nano /etc/postfix/ispcp/domains 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), and change the number of tranfervolume -> ok - if needed: change the domain, set the transfervolume 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). /J RE: Disable mail for a domain - Dylan - 04-11-2011 08:39 PM (01-20-2010 07:46 PM)joximu Wrote: It works with the gui: It's not work for me at 1.0.7 In the /etc/bind/domain.tld.db file have a line: IN MX 10 mail.domain.tld. (after it, have my unique settings, what I set in the admin panel) So the default mx record stay in the settings... (I hope you understand) Please help! If I change the mx record on a single domain, what can I do? Thank you! RE: Disable mail for a domain - kilburn - 04-14-2011 04:34 PM The procedure explained by joximu is to tell postfix that it is not the recipient of the domain's e-mails, yet it will not magically change the DNS MX records to your external email server. You'll have to do this modification manually, either through the custom DNS manager or by directly modifying the bind zones in /etc/ispcp/bind/working/domain.tld.db *and* /var/cache/bind/domain.tld.db. Don't forget to update the serial number. |