qmail .mailfilter 过滤中文标题垃圾邮件

just posted @ 2011年3月30日 11:13 in 脚本 with tags qmail .mailfilter 中文标题 , 1628 阅读

 

if(/^Subject:.*/)
{
    SUBJECT=$MATCH  #提取出base64编码的邮件标题
    #echo "[subject]::$SUBJECT"
} 
if ($SUBJECT ne "")
{ 
   #将标题转换为中文 
   #maildecod 请访问http://hello386.is-programmer.com/posts/25736.html
   
   NSUB=`/usr/local/sbin/maildecod $SUBJECT` 
   #echo "[NSUB]::$NSUB"
}
if (lookup($NSUB, ".badsubject"))
{
       echo "[bad_subject]::$SUBJECT::F:$SENDER,T:$EXT@$HOST,drop letter"
       to /dev/null
       exit
}

 

  • 无匹配
slither io 说:
2018年12月22日 15:54

The content of your article is very much interested, I am very impressed with your post. I hope to receive more interesting articles.

CBSE sa 1 Sample Pap 说:
2022年9月22日 01:16

The Summative Assessment -1 Exams are known as Half Yearly (6 Months) Exams and it’s held also as Term-1 exams for all grade students. Every student can download the CBSE Class 5 SA-1 Sample Paper 2023 Pdf or Term-1 Question Bank that covers all topics chapter by chapter for all languages & subjects of the course. CBSE sa 1 Sample Paper Class 5 The teaching staff of the school along with subject experts of the board have introduced the CBSE 5th Class SA-1 Sample Paper 2023 with suggested answer solutions for all format exams.

seo service london 说:
2024年1月14日 18:11

Great, thanks for sharing this article post.Really thank you! Really Cool


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter