Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Building Websites
FAQ Community Calendar Today's Posts Search

Building Websites This section covers all aspects of publishing, developing and maintaining websites. Topics include: website design, graphic design, website programming, web hosting, website marketing (SEO, link exchange, publicity, advertising), monetization & etc.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2007, 02:33 PM
er_gaurav22 er_gaurav22 is offline
Junior Member
GB Newbie
 
Join Date: Jan 2007
Posts: 3
Default How to discard mail by any user in sendmail

Hi All,

i m discarding mail from jr*@* through /etc/mail/access

like this :-

vi /etc/mail/access

jr*@* DISCARD


But its not working.


so please help me how to discard mail from user starts from jr of every domain.
__________________
--
Regards,
Gaurav Sharma,
Linux Server Administrator,
Compare Infobase Ltd.(CIL).
New Delhi , India.
Tel :- +919910050445 , +919812394626
E-Mail :- er.gaurav22@gmail.com
Reply With Quote
  #2  
Old 11-09-2007, 01:20 AM
John John is offline
Administrator
GB Admin
GB GEEK
 
Join Date: Jun 2006
Location: NJ
Posts: 255
Default

I have no experience with sendmail as I only use qmail on my servers. The following site might be useful, although I cannot say one way or the other whether or not it is a good or accurate solution. The site was last updated over 2 years ago: http://www.brandonhutchinson.com/del...ail_queue.html

On that page scroll down to the section titled "Removing mail by email address" - that script is for removing mail based on the address receiving it. Maybe you could modify the script to instead remove mail based on the sender.

I highly suggest testing this out on a development/testing server before running it on your production box.
__________________
John Hammell
Network Administrator
Computer Geeks
Reply With Quote
Reply


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

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.