[Tfug] Qmail and Open Relay
Felix Tilley
fetilley at earthlink.net
Sat Jun 9 21:05:20 MST 2007
>
> 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
More information about the tfug
mailing list