|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
25 Apr 2006, 01:17 PM | #1 |
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/ |
25 Apr 2006, 01:43 PM | #2 |
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).
|
25 Apr 2006, 01:49 PM | #3 |
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/ |
25 Apr 2006, 02:00 PM | #4 |
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. |
25 Apr 2006, 02:02 PM | #5 |
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/ |
25 Apr 2006, 02:12 PM | #6 |
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
|
25 Apr 2006, 02:27 PM | #7 |
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/ |
26 Apr 2006, 09:14 PM | #8 |
The "e" in e-mail
Join Date: May 2002
Posts: 2,804
|
It still counts as bandwidth though.
|
27 Apr 2006, 05:51 AM | #9 | |
Master of the @
Join Date: Dec 2004
Location: USA
Posts: 1,426
|
Quote:
Last edited by rmns2bseen : 27 Apr 2006 at 06:03 AM. |
|
8 Nov 2009, 06:33 PM | #10 |
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? |
8 Nov 2009, 11:02 PM | #11 | |
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:
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. |
|
10 Nov 2009, 10:58 PM | #12 |
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 ;-) |
11 Nov 2009, 10:08 AM | #13 |
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.
|