[Tfug] Qmail and Open Relay

Andrew Ayre andy at britishideas.com
Sun Jun 10 09:44:02 MST 2007


Thanks Felix!!

Andy


-----Original Message-----
From: tfug-bounces at tfug.org [mailto:tfug-bounces at tfug.org]On Behalf Of
Felix Tilley
Sent: Saturday, June 09, 2007 9:05 PM
To: tfug at tfug.org
Subject: Re: [Tfug] Qmail and Open Relay



>
> Message: 1
> Date: Fri, 08 Jun 2007 21:04:16 -0700
> From: kelley g <services at toasterz.com>
> Subject: Re: [Tfug] Qmail and Open Relay
> To: tfug at tfug.org
> Message-ID: <466A26C0.30804 at toasterz.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> <snip>
>> If it is a contact form would the emails appear with:
>>
>>   Received: from 202.99.204.66 by h0000000 (envelope-from <>, uid 64011)
>> with qmail-scanner-1.25st
>>
>> The IP address 202.99.204.66 is not ours. It appears to be somewhere in
>> China.
>>
>> Andy
>>
>>   
Firewall it like this

#!/bin/bash
#@(#) IPTables Firewall and Logger
#@(#) Must be run by root
#@(#) 09 JUN 2007

# On Suse 10.1, IPtables logs to /var/log/firewall.  On other
# systems, it may log to /var/log/messages or /var/log/syslog.
# It always logs to a file in /var/log.


/usr/sbin/iptables -N LOGDROP
/usr/sbin/iptables -A LOGDROP -j LOG --log-level 4
/usr/sbin/iptables -A LOGDROP -j DROP


# CNC Group CHINA169 Shanxi Province Network
/usr/sbin/iptables -A INPUT -s  202.99.192.0/19 -j LOGDROP









_______________________________________________
Tucson Free Unix Group - tfug at tfug.org
Subscription Options:
http://www.tfug.org/mailman/listinfo/tfug_tfug.org





More information about the tfug mailing list