EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 25 Apr 2006, 01:17 PM   #1
balay
Junior Member
 
Join Date: Oct 2003
Posts: 15
any way to reject big e-mails?

I have a 'Member' fastmail account - and some big [legitimate] emails are taking me over my 'disk' quota limit.

Is there any way I can config my account - so that big emails [size specified by me] get rejected [and the sender notified]?


Thanks,
S/
balay is offline   Reply With Quote

Old 25 Apr 2006, 01:43 PM   #2
rmns2bseen
Master of the @
 
Join Date: Dec 2004
Location: USA
Posts: 1,426
Sure...go to Options> Define Rules> Rejecting Emails> Maximum size: (it will be the second line of input in the Define Rules screen).
rmns2bseen is offline   Reply With Quote
Old 25 Apr 2006, 01:49 PM   #3
balay
Junior Member
 
Join Date: Oct 2003
Posts: 15
Ah! I use a custom sieve script - hence don't see this option!

Can you post the sieve equivalent for this?

Thanks,
S/
balay is offline   Reply With Quote
Old 25 Apr 2006, 02:00 PM   #4
rmns2bseen
Master of the @
 
Join Date: Dec 2004
Location: USA
Posts: 1,426
Yes... near the top of your Sieve script put the following:

Code:
if size : over xxxxxK {
  reject "Message not delivered; size over limit accepted by recipient";
  stop;
}

Last edited by rmns2bseen : 25 Apr 2006 at 02:14 PM.
rmns2bseen is offline   Reply With Quote
Old 25 Apr 2006, 02:02 PM   #5
balay
Junior Member
 
Join Date: Oct 2003
Posts: 15
I think I got it.

I saved my custom script, toggled back to the regular mode to get
the sieve equivalent of this size limit - reject.

Now I'm modifying my custom script with this addition. Wil see
how it works.

Thanks for the help
S/
balay is offline   Reply With Quote
Old 25 Apr 2006, 02:12 PM   #6
rmns2bseen
Master of the @
 
Join Date: Dec 2004
Location: USA
Posts: 1,426
But don't put a space between the colon and "over" I did that to keep the emoticon from showing up
rmns2bseen is offline   Reply With Quote
Old 25 Apr 2006, 02:27 PM   #7
balay
Junior Member
 
Join Date: Oct 2003
Posts: 15
I just tested my change. It successfully rejected a test email from
a different account.

I'm all set!
S/
balay is offline   Reply With Quote
Old 26 Apr 2006, 09:14 PM   #8
DrStrabismus
The "e" in e-mail
 
Join Date: May 2002
Posts: 2,804
It still counts as bandwidth though.
DrStrabismus is offline   Reply With Quote
Old 27 Apr 2006, 05:51 AM   #9
rmns2bseen
Master of the @
 
Join Date: Dec 2004
Location: USA
Posts: 1,426
Quote:
Originally posted by DrStrabismus
It still counts as bandwidth though.
Crap, that's right...but it shouldn't (at least in my perfect world) That would be of benefit only when it comes to storage quotas, I guess. I think that was balay's concern, but still...a few large messages and there goes the Member account bandwidth allowance...

Last edited by rmns2bseen : 27 Apr 2006 at 06:03 AM.
rmns2bseen is offline   Reply With Quote
Old 8 Nov 2009, 06:33 PM   #10
priehl
Junior Member
 
Join Date: Nov 2009
Posts: 1
Size doesn't apply to attachments?

My sieve script includes:

}
if size ver 2048K {
reject "Message not delivered; size over limit accepted by recipient";
stop;

I set this because I'm in a limited bandwidth - and I still get every 5-6-7 mb collection of photos, powerpoint presentations, etc that people send me.

My conclusion is that "message" doesn't include attachments? How can that be?
priehl is offline   Reply With Quote
Old 8 Nov 2009, 11:02 PM   #11
JRobert
Master of the @
 
Join Date: Feb 2004
Location: New Hampshire, USA
Posts: 1,561
The message has already been accepted for your account by the time your script executes, so it's too late then to avoid the hit to your bandwidth.

balay: Yes, you can notify the sender but not undo the bandwidth hit. Even worse, note what the Sieve standard says about reject:
Quote:
The optional "reject" action refuses delivery of a message by sending
back an [MDN] to the sender. It resends the message to the sender,
wrapping it in a "reject" form, noting that it was rejected by the
recipient.
I.e., you'll get dinged for the bandwidth a second time if you do this. Better to just file it to a TooBig folder which you'll examine periodically and ask senders of big messages to take you off their lists.

priehl: Try that script fragment and the headers of your large messages in the Sieve Tester. And welcome to the forums!

Last edited by JRobert : 8 Nov 2009 at 11:13 PM.
JRobert is offline   Reply With Quote
Old 10 Nov 2009, 10:58 PM   #12
ezfig
Junior Member
 
Join Date: Nov 2003
Posts: 25
Sieve Tester means nothing to me, sorry...I'm not a geek.

priehl, who forgot how to log on as priehl ;-)
ezfig is offline   Reply With Quote
Old 11 Nov 2009, 10:08 AM   #13
JRobert
Master of the @
 
Join Date: Feb 2004
Location: New Hampshire, USA
Posts: 1,561
Sorry, since you included a fragment of a sieve script, I assumed you had written it and were trying to debug it. The sieve tester is a web page that provides tool for doing that: You would copy an email message (complete with headers), and your sieve script, into the appropriate places in the sieve tester, and click submit. The tester will then tell you what your sieve script would have done (discard, file to a folder, forward, etc.) with the message you presented to it. You can then adjust your script until the tester confirms that the script does what you want it to do; reject large messages, in your case, apparently, but maybe you've changed your mind about that, knowing you not only can't avoid the bandwidth hit, but will take a second hit besides.
JRobert is offline   Reply With Quote
Reply



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 On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 09:55 AM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy