On 26 Jun 2001, at 10:24, Steve Washam wrote:

> It's not the download that bothers me so much as 
> the possibility that the mailbox(s) will exceed 
> the limit, causing wanted mail to bounce, 
> automatic cancelation of subscriptions and the 
> like.
> 
> I use Mercury32 to download several accounts at 
> home and can always filter out junk like HTML 
> content from unkown sources.
> 
> But I think it would be cool to actually 
> bounce/reject mail at the server level, with a 
> note about size limits.  If anyone has an urgent 
> need to send a large file they can always contact 
> me for an alternative email address.

[...]

> But what I would really like is my "public" 
> addresses, the ones most known by others, to 
> automatically refuse any mail over, say 100K in 
> size.  Too many people just don't have a clue, 
> and I don't know how to educate them without a 
> stick.

I know the answer for you, but I do not have the expertise to tutor 
you in setting it up. 

What you need is a UNIX shell account where the host allows you to 
run the program Procmail.  You can set up a procmail script to 
determine the size of incoming messages; send the "too large" 
messages into dev/null (delete); and then send a pre-written 
autoresponse bounce message to the sender.

UNIX shell accounts and POP3 accounts for this purpose are best 
obtained with web hosting services.  You will just need to shop 
around for a host that offers pop3 accounts and access to a UNIX 
shell account.  Be sure to know in advance that your host will allow 
you to use procmail.  They may already have it installed for you.

Here is the procmail home page where you will find faqs, tips, sample 
scripts, etc.  There is also a mailing list you can join to help you.

http://www.procmail.org/

I've never used or worked with procmail, so my help with this is 
limited.  You might see if Brian can help you with this if he is 
reading this now.  I think, he said, he has used procmail before.
I think. :-)


Alan
[EMAIL PROTECTED]





Reply via email to