[K12OSN] MailScanner Blacklist

Rick O'Dell rodell at bakersfield.k12.mo.us
Tue Sep 14 22:27:28 UTC 2004


		Ok, I do have one question. This is not going to adversely effect the
existing incoming and outgoing mail is????? What I mean is, are we just
creating another table for postfix to look in, or are we going to have to
allow or disallow everyone starting from scratch????
Also I don't understand what this does.
"hash:/etc/postfix.in/client_access"
Guess I'm just scared and confused>>>>...


Rick O'Dell
Net Work Administrator
Bakersfield R4 School Dst.
Phone (417)284-7333 ext 303
rodell at bakersfield.k12.mo.us



-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com]On
Behalf Of Jim Kronebusch
Sent: Friday, September 10, 2004 9:43 AM
To: 'Support list for opensource software in schools.'
Subject: RE: [K12OSN] MailScanner Blacklist


> 	Well, restarting the Server didn't fix it. Any other Ideas????

Okay here is what you would need to do assuming the answer to my last
email was yes.  Now depending on how your postfix is setup you may not
have a separate instance for incoming and outgoing, in that case change
any place I have "/etc/postfix.in" to "/etc/postfix" and things should
work.  I will just outline the steps quick, first modify your main.cf to
use a client access table (you can google client_access to get a list of
commands and explanations, I will show you how to prevent a user from
connecting).  Then create the file client_access and enter your IP's
each on a new line followed by a tab and then the action to take.  Next
issue the postmap command on the file, and last restart MailScanner.


# vi /etc/postfix.in/main.cf
smtpd_recipient_restrictions = check_client_access
hash:/etc/postfix.in/client_access

# vi /etc/postfix.in/client_access
204.248.118.23	DISCARD
206.230.105.4	DISCARD

# postmap /etc/postfix.in/client_access
# /etc/init.d/MailScanner restart


Let me know if you have any other questions.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.744 / Virus Database: 496 - Release Date: 8/24/2004



--
This message has been scanned for viruses and
dangerous content by the Cotter Technology
Department, and is believed to be clean.


_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
Incoming mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.262 / Virus Database: 264.8.5 - Release Date: 9/10/2004

--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.270 / Virus Database: 264.9.0 - Release Date: 9/13/2004





More information about the K12OSN mailing list