#1 (permalink)  
Old 04-23-2006, 12:27 PM
Banned
 
Join Date: Jul 2005
Posts: 537
jackie46 is an unknown quantity at this point
Is there a way to set /dev/null to :fail:?

We have a bunch of people who have set /dev/null. We also have a bunch of people who have set various combinations of blackhole and fail to things like;

blackhole:
:blackhole
blackhole
fail:
:fail
fail
/dev/null

I used the replace command on the server to correct it;

replace :blackhole: :fail: -- /etc/valiases/*
replace blackhole: :fail: -- /etc/valiases/*
replace :blackhole :fail: -- /etc/valiases/*
replace :fail :fail: -- /etc/valiases/*
replace fail: :fail: -- /etc/valiases/*

BUT there are a bunch of people who have set it to /dev/null

Is there a way to use the replace command to set /dev/null to :fail:?

replace /dev/null :fail: -- /etc/valiases/* does not fix it.

Last edited by jackie46; 04-23-2006 at 12:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-23-2006, 12:28 PM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
That ought to do it. This is what I use as a first pass:

Code:
replace :blackhole: :fail: -- /etc/valiases/*
replace :blackhole :fail: -- /etc/valiases/*
replace blackhole: :fail: -- /etc/valiases/*
replace blackhole :fail: -- /etc/valiases/*
replace " fail:" " :fail:" -- /etc/valiases/*
replace /dev/null :fail: -- /etc/valiases/*
cd /etc/valiases/
grep fail * | grep -v " :fail:"
__________________
Jonathan Michaelson
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-29-2006, 12:54 AM
Registered User
 
Join Date: Jul 2004
Posts: 95
IRCBrasil is on a distinguished road
my are set to *: :fail: no such address here

there are some problem? if yes, how i chante to only :fail: ?

Thank you!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-29-2006, 10:57 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
That's correct. The actual entry in /etc/valiases/domain file should be:

*: :fail:

which is what you have.
__________________
Jonathan Michaelson
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc