[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Sendmail problem........



According to Abdul Naseer C:
> 
> Hi All.........
> 
> I am facing a lot of problems related to sendmail. Can
> anybody pls help me out?
> 
> MY SETUP
> I am using sendmail 8.8.5 version in my mail server,
> the OS is Linux Slackware 2.0.29.
> 
> THE PROBLEM I AM FACING
> A number of "junk" mails are coming to all users from
> a particular mail address.
> 
> WHAT I WANT TO KNOW?
> I want to do the following:
> a) Reject all mails from that particular address, say
>   xyz@xxxxxxx
> b) Reject all mails from a particular domain, abc.com
> c) Reject all mails from outside to a particular user
> of my company.
> 
> For  (c) I think I can use the feature
> "Blacklist_recipients", but I would like to know what
> exactly has to be done for this. I am ready to upgrade
> the sendmail to ver 8.9 if it supports  all these
> features and if that is the only option
> 
> Thanks and Regds,
> 
> Naseer.
> 
> 
> ===
> 
> 
> -------------------------------------------------------------------------------------------
> e-mail:  abdulnaseer@xxxxxxxxx
> Web:   http://www.members.tripod.com/abdulnaseer/
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --------------------------------------------------------------------
> For more information on Linux in India visit http://www.linux-india.org/
> Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
> Flame baits will not be tolerated.  If you can appreciate satire read
> http://www.templetons.com/brad/emily.html
> 
Hello,
The best way to tackle this is to setup procmail , thre will be a univrsal
procmailrc in /etc where you can write procmail rules and where you can
put filters for the mail rules , only confirm if your sendmail has been
compiled with procmail part of it( it normally is ) 
then mails from some address you ddont want to see you can justt > /dev/null
Read man procmailrc and man procmailex , this will work
nps 

- -- 
~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*
                           Mrs N P Salaria
                         System Administrator
                           TERA INFORMATICS
                          Tel: (022)-8290251
                          Res: (022)-5770472
                         Email: nps@xxxxxxxxxxx
~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*~~*~~~~*~~*~~*


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------