LinuxQuestions.org
Review your favorite Linux distribution.
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 01-14-2003, 11:26 PM   #1
m_sree
LQ Newbie
 
Registered: Jan 2003
Location: India
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Email spamming prevention


I am having a bastion server and a mail server inside in my private network. Then MX points to the bastion server and the bastion forwards all mails to the mailer server in the intranet.

I want to set up aliases in my mail server which sends mails to a group of members. This is required as an internal requirement. How can I prevent outsiders sending mails to these distribution lists ? can I stop outsiders spamming these aliase addresses ?

Thanks
Sree
 
Old 01-15-2003, 01:05 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
what mail server program are you using?
if your mailer uses procmail to deliver it's mail locally you can do that.
 
Old 01-15-2003, 12:23 PM   #3
m_sree
LQ Newbie
 
Registered: Jan 2003
Location: India
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
I am using sendmail..

Sree
 
Old 01-15-2003, 07:49 PM   #4
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
instead of adding an alias, setup a normal account and in the normal account, add a .procmailrc file...

:0
* ^(from.*(mydomain\.com)
! user1,user2,user3

:0 E
! null

replace user1,user2,user3 with whatever users are in that group.
replace mydomain.com with your domain
and "null" is some address you want the rejected emails to go to.
 
Old 01-16-2003, 08:54 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
How can I prevent outsiders sending mails to these distribution lists ? can I stop outsiders spamming these aliase addresses ?
First of all, who do you define as "insiders"?

Until you reply, here's some anti spam|relay reference lists: 1, 2, 3, 4, 5, relay check.
 
  


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
Spamming E.T. ... AlexV General 1 03-02-2005 09:58 AM
Cron is spamming me reitzell Linux - Newbie 2 12-04-2004 12:00 AM
Bulk email - scared of being accused of spamming. GuitsBoy General 3 11-14-2003 03:14 PM
sorry for spamming csspcman Linux - Laptop and Netbook 1 08-11-2003 02:34 AM
How to Stop Spamming in Sendmail johnlee Linux - Security 1 10-29-2001 10:28 AM

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

All times are GMT -5. The time now is 01:27 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