LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Spam (https://www.linuxquestions.org/questions/linux-security-4/spam-17206/)

talmor 03-28-2002 10:31 AM

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...

abbey_lincoln 03-28-2002 10:41 AM

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.

talmor 03-28-2002 11:00 AM

Great, thanks! Now, um, how do I test it to make sure that it worked?

talmor 03-28-2002 02:31 PM

Didn't work
 
When I chose "enable relay control" I could no longer send mail at all. Why is this? Any other ideas?

thbe 03-31-2002 04:16 AM

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

riser 03-31-2002 10:30 PM

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

Eternal 04-02-2002 03:36 AM

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


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