Hi, all:
    Can james work with a close mailing list to anti-spam?
    Recently I am tring to use James in a speical web project, and I want to 
develop some codes to make James server satisfy my requirement.

the detail are:
    1) James server will act as a mailing list server, together with 
Mysql.(many mailing list account, assume one is [EMAIL PROTECTED])
    2) user can not subscribe one mailing list by sending email to 
mailing-list-email-address, the only way to subscribe is login a related web 
site,
and click some button. and the website will add this user (with a valid 
internet email address) to Mysql database.
    3)When any one send email to any mailing list account, such as [EMAIL 
PROTECTED], before receive the whole email, I want to check the email header, 
if the email-sender is not in the allow list, I want the server to reject the 
email.( send a feed back notice, or simply just drop this email), and not 
receive the whole email. In my bisiness logic, any email address that not in 
the allow list is a spam email, and the allow list will be cached in the memory 
so don't need to consider the allow-list-efficency.
    4) when any one send a big email to any mailing list account, before 
receive the whole email, I want to check the email size, if it is bigger than 
what I want, I want the server to send a feedback notice "too big email", and 
not receive the whole email. (to save bandwidth).

Is it possible to update James server to satisfy above requirement?
if it is possible, which part of James-server can I begin with?

I know we can add a custom Mailet in the James server, but when the mailet is 
executed, although I can do above logic(like drop spam email), but it is a 
little late, because whole email already received by James and the bandwidth 
has been wasted.

Why I need such strange requirement is because:
     In my project, there are many mailing list account, and each mailing 
list's traffic will be high, so I need to refuse all the unknown email address 
and too-big email to save bandwidth.

I hope any one can give me help or any ideas.

Thank you very much.

tingxuezheemail-zhuce


      ___________________________________________________________ 
抢注雅虎免费邮箱3.5G容量,20M附件! 
http://cn.mail.yahoo.com

Reply via email to