checkremotehost () $TCPREMOTEHOST is ANONIMUS warning_msg (spam)

This is a discussion on checkremotehost () $TCPREMOTEHOST is ANONIMUS warning_msg (spam) within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hello qmail group, How i can check remote reverse ip and send him a warning message? example: ==========snip=========> #!/bin/...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-25-2003
Patrik
 
Posts: n/a
Default checkremotehost () $TCPREMOTEHOST is ANONIMUS warning_msg (spam)

Hello qmail group,
How i can check remote reverse ip and send him
a warning message?

example:
==========snip=========>
#!/bin/sh
# I use this in a user's .qmail file
# by adding the line
# |/usr/local/sbin/remoteipcheck beta question
# before the ./Maildir/
# check if the ip

printmsg () {
echo "Hello $SENDER,"
echo "WARNING! ....."
echo "Your remote ip adresse $TCPREMOTEHOST is ANONIMUS "
echo "This server dont` accept Anonimus remote host "
echo "but is only spam potential .. or so ... "
echo "Contact Your Provider to make a PTR entry in to dns server"
echo "or owner from ip adresse => whois ipadresse"
}

checkremotehost () {
case $notresolve in
printmsg $TCPREMOTEHOST
exit 100;;
*)
;;
esac
}
sh -c 'test -z "$TCPREMOTEHOST"

exit 0
==========snip=========>

Best regards patrik www.swisse.net


Reply With Quote
  #2 (permalink)  
Old 09-25-2003
Brian T Glenn
 
Posts: n/a
Default Re: checkremotehost () $TCPREMOTEHOST is ANONIMUS warning_msg (spam)

On Thu, 25 Sep 2003 12:48:01 +0200, Patrik <ppk2@nospaam-valle.maggia.net> may have written:
> Hello qmail group,
> How i can check remote reverse ip and send him
> a warning message?


[snip script]

man bouncesaying

HTH,
--
Brian T Glenn
delink.net Internet Services
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0