LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-28-2002, 10:31 AM   #1
talmor
LQ Newbie
 
Registered: Mar 2002
Posts: 5

Rep: Reputation: 0
Spam


My email server is sending out spams. No, they're not from us. How do I stop this? I'm not even sure what SMTP program we're running. We're running Redhat 6.1.

HELP!

And, yes, I don't know the first thing about Linux...
 
Old 03-28-2002, 10:41 AM   #2
abbey_lincoln
LQ Newbie
 
Registered: Mar 2002
Location: Nigeria
Distribution: Redhat 6.2 and 7.2
Posts: 3

Rep: Reputation: 0
Run Linuxconf and in the senmail configuration module, choose enable relay control.

Go to the Anti-spam filter section and choose "reject by IP" and enter your network address. This should solve the problem.

We used to have the same problem until when i did this 2 days ago and we've not had the problem again hoping that it has been solved by this solution.
 
Old 03-28-2002, 11:00 AM   #3
talmor
LQ Newbie
 
Registered: Mar 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Great, thanks! Now, um, how do I test it to make sure that it worked?
 
Old 03-28-2002, 02:31 PM   #4
talmor
LQ Newbie
 
Registered: Mar 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Didn't work

When I chose "enable relay control" I could no longer send mail at all. Why is this? Any other ideas?
 
Old 03-31-2002, 04:16 AM   #5
thbe
LQ Newbie
 
Registered: Mar 2002
Location: Stockholm, Sweden
Distribution: Red Hat 7.2
Posts: 1

Rep: Reputation: 0
Re: Didn't work

Quote:
Originally posted by talmor
When I chose "enable relay control" I could no longer send mail at all. Why is this? Any other ideas?

Check out /etc/mail/access

Add:

127.0.0.1 RELAY
.
.
.
owndomain.com RELAY
 
Old 03-31-2002, 10:30 PM   #6
riser
LQ Newbie
 
Registered: Mar 2002
Posts: 3

Rep: Reputation: 0
With sendmail,you could use /etc/mail/access to control the relay permission on your server(There is a good reference in http://www.sendmail.org/tips/relaying.html).

Also,you could set smtp auth in sendmail,however,it needs version above sendmail.8.10.I think that may be a more flexible solution.You could get info from http://www.sendmail.org/~ca/email/auth.html
 
Old 04-02-2002, 03:36 AM   #7
Eternal
Member
 
Registered: Feb 2002
Location: Austria
Distribution: LFS based opon debian or course
Posts: 38

Rep: Reputation: 15
Wink Out of Subject but stop spam

Well this is completly out of subject here but the spam is very dangerous and must be stoped. In your /etc/mail/sendmail.cf

Add (under * OPTIONS *):

F{SpamDomains} /etc/spamdomains.txt
F{Spammers} /etc/spammers.txt

Scheck_mail
R<$={Spammers}> $#error $@ 4.7.1 $: "471 We Dont accept Spam here. BLOW ME bitch!"
R$={Spammers} $#error $@ 4.7.1 $: "471 We Dont Accept Spam Here. Dont make the admin Angry!"
#R$* $: $>3 $1
R$*<@$*$={SpamDomains}.>$* $#error $@ 4.7.1 $: "471 Sorry i dont accept Spam. FSCK OFF! or BL0W ME"
R$*<@$*$={SpamDomains}>$* $#error $@ 4.7.1 $: "471 Sorry i dont accept Spam. FSCK OFF! or BL0W ME"

With tabs! Sendmail reconizes the syntaxe via tabs I have also got a VERY nice spammers.text and spamdomains.txt if you want them just e-email me at @ oliver@nerdzland.com
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail and spam -- do not send out of office auto replay to spam draix Linux - Software 0 12-30-2004 08:35 AM
I need some spam... tuxq Linux - Networking 2 12-17-2004 10:26 AM
my first and last spam :) co2ro LinuxQuestions.org Member Intro 0 07-18-2004 02:27 PM
What other anti-spam for Linux that can be used, other than Spam assassin? johnportiz Linux - Software 6 01-27-2004 03:17 AM
spam bluestorm Linux - Software 7 10-07-2003 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration