5 */3 * * * nice -15 /root/wirehub.sh    <-- cron job

[mgw1] [/root]# cat /root/wirehub.sh
#! /bin/sh

#crontab every 1 to 24 hours to keep current, with ftp (freebsd) or wget


cd /etc/postfix
/bin/mv -f spamlist-extended.txt spamlist-extended.txt.1

#wget http://basic.wirehub.nl/spamlist-extended.txt
ftp http://basic.wirehub.nl/spamlist-extended.txt

#option: following changes the text of the reject message
#sed s/REJECT/"554 access denied\. See 
http\:\/\/basic\.wirehub\.nl\/spamlist\-extended\.txt"/g \
# </etc/postfix/spamlist-extended.txt >/etc/postfix/spamlist-extended.txt.tmp
#mv /etc/postfix/spamlist-extended.txt.tmp /etc/postfix/spamlist-extended.txt

sed s/REJECT/"554 ACL access denied SLET"/g \
   </etc/postfix/spamlist-extended.txt >/etc/postfix/spamlist-extended.txt.tmp
mv /etc/postfix/spamlist-extended.txt.tmp /etc/postfix/spamlist-extended.txt

/usr/sbin/postmap /etc/postfix/spamlist-extended.txt
exit 0
[mgw1] [/root]#


At 01:06 PM 2/25/2003 -0500, you wrote:


>Does anybody update their from_senders_slet.map file ever ?
>It seems like it's more than 6 months old.( mine is june 4 labeled)
>I checked the http://basic.wirehub.nl/spamlist-usage.html site and they
>claim that it should be inserted into /etc/postfix/access file but I'm
>guessing we,in the name of IMGate users, should insert it into
>/etc/postfix/from_senders_slet.map and hash it with postmap ?
>And do you think it would be reliable to put these email addresses into
>REJECTED mail group ? I'm asking because I'm not sure how accurate these
>statistics being generated.
>Thank you.

Keith J. Kikta
[EMAIL PROTECTED]
voice: 1.800.697.7088
fax: 713.868.2268
http://www.iland.com - iland Internet Solutions Corporation

----------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, re-transmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.



Reply via email to