Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
Search Forums:



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-12-2010
Registered User
 

Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How do I configure sendmail to block all OUTGOING mail FROM one userid TO the world?

Hello,

ENVIRONMENT:
OS: Solaris 10
Sendmail: 8.13.8+Sun

BACKGROUND:
We had a user account that was compromised and was used as a relay. She sent out (or would have if we didn't kill sendmail) ~10K emails alerting people they just won $75K.

The target for this spam was everyone internal to our company and EVERYONE with an @aol.com address, maybe other domains as well, we just stopped looking. Stopping all mail for our company until we took her offline was not a suitable solution.

QUESTION:
Is it possible to configure sendmail as to block ALL OUTGOING email from ONE user? I don't want to shut down mail for the entire organization again. I've seen solutions on how to block INCOMING and how to block outgoing TO targets, but not how to block ALL OUTGOING FROM the sender.

Any help would be greatly appreciated.
Sponsored Links
    #2  
Old 03-14-2010
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 8,506
Thanks: 67
Thanked 401 Times in 390 Posts
You did block/stop/delete whatever caused the one account to become a spambot, right? Othwerise the problem will spread to other user accounts. And this answer becomnes pointless.

You can employ setfacl to block execute access for the sendmail image for use by one specific username. I would completely disable that account, and move it to the nobody group if you have one. I would also question any file that user had write acces to. Then give the user another, new account.
Sponsored Links
Closed Thread

Tags
sendmail spam relay block solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sendmail outgoing email rate sunmagic2003 UNIX and Linux Applications 1 07-27-2009 06:06 AM
Disable Outgoing Mail Rosko UNIX for Dummies Questions & Answers 0 10-28-2008 01:44 PM
Need help for configuring outgoing mail in Solaris 9 Albert J. UNIX for Dummies Questions & Answers 1 05-18-2005 07:12 AM
Hi plz How to configure my sendmail or mail commands??? atiato UNIX for Dummies Questions & Answers 7 02-10-2002 04:34 PM
Sendmail outgoing mail only setup. warrend UNIX for Dummies Questions & Answers 6 02-05-2002 04:07 PM



All times are GMT -4. The time now is 05:53 AM.