Results 1 to 7 of 7
-
03-10-2012, 06:25 AM #1Junior Guru Wannabe
- Join Date
- Dec 2011
- Posts
- 35
How to prevent an account from sending mail
Hi
I have received couple of local relay mail alerts since last night.
This was happend before , and I warned that user about this matter. but last night he repeated spamming.
So I need to know how to prevent the account from sending mail without blocking the entire account.
Thanks in advance.
-
03-10-2012, 01:52 PM #2Junior Guru Wannabe
- Join Date
- Feb 2012
- Location
- Montreal, QC, Canada
- Posts
- 47
Which control panel are you using?
cPanel: http://docs.cpanel.net/twiki/bin/vie...mailAbuse#Step 4: Configure the max hourly
Plesk: http://kb.parallels.com/164█ Black://Octet :: Server Management & IT Services
█ Linux & Windows :: cPanel & Plesk :: Backup/Monitoring/Load-Balancing/High-Availability Solutions
█ Contact Us!
-
03-10-2012, 02:16 PM #3Junior Guru Wannabe
- Join Date
- Dec 2011
- Posts
- 35
-
03-10-2012, 10:32 PM #4Web Hosting Master
- Join Date
- Mar 2009
- Location
- Miami, Florida
- Posts
- 20,777
-
03-11-2012, 12:47 AM #5WHT Addict
- Join Date
- Dec 2011
- Location
- World Wide Web
- Posts
- 124
You can try the following steps. First, in root SSH, run these commands:
Code:touch /etc/blockeddomains echo "domain.com" >> /etc/blockeddomains
In WHM > Exim Configuration Editor > Advanced Editor, put the following in the topmost box:
Code:domainlist blocked_domains = lsearch;/etc/blockeddomains
democheck:
driver = redirect
require_files = "+/etc/demouids"
condition = "${if eq {${lookup {$originator_uid} lsearch {/etc/demouids} {$value}}}{}{false}{true}}"
allow_fail
data = :fail: demo accounts are not permitted to relay email
Code:reject_domains: driver = redirect # RBL Blacklist incoming hosts domains = blocked_domains allow_fail data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
█ ProHosterz Web Solutions - Reliable Web Hosting for the right price.
█ Domain Name | Shared Hosting | Reseller Hosting | VPS Hosting | Dedicated Servers
█ 99.9% Uptime Guarantee, 7 Day Money Back Guarantee, 24/7 Premium Support
█ Follow Us on Twitter @prohosterz More Info Visit: ProHosterz.com
-
03-14-2012, 01:17 AM #6Disabled
- Join Date
- Mar 2012
- Posts
- 4
Change password
I usually change my password to stop my account from being used to spam.
-
03-14-2012, 05:10 AM #7WHT Addict
- Join Date
- Nov 2011
- Posts
- 110
If you do not want to suspend domains, better try removing MX for the particular domain
Similar Threads
-
How can I prevent an account from sending emails over the limit ? (cPanel)
By TenqHosting in forum Web HostingReplies: 10Last Post: 01-15-2012, 10:45 PM -
Mail sending from nobody account
By ChrisF79 in forum Hosting Security and TechnologyReplies: 3Last Post: 01-02-2006, 07:47 PM -
Prevent someone from sending too much email?
By Adrnalnrsh in forum Dedicated ServerReplies: 7Last Post: 10-11-2005, 02:21 AM -
Prevent user 'nobody' sending out mail?
By Duport in forum Hosting Security and TechnologyReplies: 2Last Post: 03-04-2005, 12:10 AM -
Prevent mailnull from sending messeges
By Bambuk in forum Web HostingReplies: 1Last Post: 01-31-2005, 12:10 PM