I have several accounts we don't want any email on. Nothing in, nothing out. How do I do that?
thanks.
I have several accounts we don't want any email on. Nothing in, nothing out. How do I do that?
thanks.
Remove their DNS MX record
Remove their domain from /etc/localhosts
Add their domain to /etc/remotehosts
That should cover just about everything.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
tried removing the mx record. whm won't allow me to do so. Gives an error msg.
You can just edit the zone file directly in /var/named/domain.com.db and remove the line with the MX record on it.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Matt,
Would you, please, post a note telling us what you did to get this working.
Thanks!![]()
So far, I have not been able to achieve what I needed.
If I try to remove the MX record using "edit dns record" for the domain(s) in question, I cant'. I get an error msg.
Why don't you do it how chirpy suggested? He is telling you how to do it directly (without going through WHM).Originally posted by matt621
So far, I have not been able to achieve what I needed.
If I try to remove the MX record using "edit dns record" for the domain(s) in question, I cant'. I get an error msg.
Just to clarify,
Is this the line I should be removing from domain.com.db:
domain.com. 14400 IN MX 0 domain.com.
and then restart Apache?
Thanks
I'm not that good at command line editing. That's the reason I use cpanel in the first place. Trying to use the 'edit' function does not work.Originally posted by SarcNBit
Why don't you do it how chirpy suggested? He is telling you how to do it directly (without going through WHM).
yes, that's the one.Originally posted by AndyReed
Just to clarify,
Is this the line I should be removing from domain.com.db:
domain.com. 14400 IN MX 0 domain.com.
and then restart Apache?
Thanks
then ndc reload, or rndc reload, not apache.
what's ndc/rndc?then ndc reload, or rndc reload, not apache.
I believe they mean restart namedOriginally posted by matt621
what's ndc/rndc?
Mickalo
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
Custom Perl and Database Programming
it's not really restarting named, it's just reloading the zones.
0 downtime.
i don't know exactly how cpanel restarts named from the WHM.
the WHM restarts BIND which I think is the same thing as restarting named, so the DNS zones are updated.Originally posted by jester.ro
it's not really restarting named, it's just reloading the zones.
0 downtime.
i don't know exactly how cpanel restarts named from the WHM.
Mickalo
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
Custom Perl and Database Programming
I removed the MX record in the DB and hope that turned off the email server. Now, my question is: know can I test it?