LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-02-2003, 12:10 PM   #1
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
Sendmail Spam control


I have never used the send mail spam control.
I would like to setup rules to reject or discard emails from certain addresses and domains. like stoping 123@yahoo.com and then say everything from @hotmail.com

I am not for sure on hor to setup the domain style
 
Old 07-02-2003, 12:45 PM   #2
m_cornelsen
LQ Newbie
 
Registered: Nov 2001
Location: Fairview, Oklahoma
Distribution: RH 4.1, SuSE 6, RH 7.2, RH 7.3, RH 8, RH 9, Solaris 8
Posts: 16

Rep: Reputation: 0
Question? Are you trying to stop email from being relayed through your sendmail or are you wanting to create a filter to stop emails from being delivered to your user(s) email addresses?
 
Old 07-02-2003, 01:09 PM   #3
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Original Poster
Rep: Reputation: 15
I want to create a filter to stop the emails from being delivered.
 
Old 07-02-2003, 01:18 PM   #4
initpcsys
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: RH, Mandrake
Posts: 9

Rep: Reputation: 0
I would like to setup rules to reject or discard emails from certain addresses and domains. like stoping 123@yahoo.com and then say everything from @hotmail.com


You could use the /etc/mail/access file.
In this case you would insert the following lines:
123@yahoo.com REJECT "Not allowed"
hotmail.com RELAY

I hope this helps.
F.
 
Old 07-02-2003, 01:51 PM   #5
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Original Poster
Rep: Reputation: 15
Will the REJECT work for hotmail.com
 
Old 07-02-2003, 02:00 PM   #6
m_cornelsen
LQ Newbie
 
Registered: Nov 2001
Location: Fairview, Oklahoma
Distribution: RH 4.1, SuSE 6, RH 7.2, RH 7.3, RH 8, RH 9, Solaris 8
Posts: 16

Rep: Reputation: 0
If you are using sendmail to act as your incoming email server, initpcsys's solution is the easiest way. Just remember to have either sendmail to rebuild your access.db or do it manually at the terminal console by entering

makemap hash /etc/mail/access.db < /etc/mail/access

and yes REJECT will work as well for hotmail.com
 
Old 07-02-2003, 02:37 PM   #7
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Original Poster
Rep: Reputation: 15
Is there a good email filtering program out there that will scan into emails and reject or just drop them completely if it is junk email based upon your setup criteria

Last edited by jchristman; 07-02-2003 at 02:39 PM.
 
Old 07-02-2003, 03:14 PM   #8
m_cornelsen
LQ Newbie
 
Registered: Nov 2001
Location: Fairview, Oklahoma
Distribution: RH 4.1, SuSE 6, RH 7.2, RH 7.3, RH 8, RH 9, Solaris 8
Posts: 16

Rep: Reputation: 0
No perfect solution - but spamassassin for linux helps on the pop3 side.

http://spamassassin.org
 
Old 07-02-2003, 03:20 PM   #9
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Original Poster
Rep: Reputation: 15
thanks I think this will work. everything else seems to only be for users not servers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control Spam with Qmail dighorn Linux - General 4 11-17-2004 08:55 AM
Spam and sendmail Jonpittam Linux - Software 2 09-30-2004 06:56 AM
blackhole spam control ram_dhupkar Linux - General 1 08-27-2003 12:13 PM
Sendmail Spam MrJoshua Linux - Software 1 08-14-2003 10:54 AM
how to stop spam:sendmail nabil Linux - General 6 10-21-2002 09:44 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration