Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Dovecot mailserver running at home on a flaky cable connection. For the most part, the IMAP functionality works beautifully, but I'd like to add one feature if I can: I want Dovecot not to serve large messages to high-latency clients. That is to say, if someone decides that it's a good idea to send me a 9.3mb email to me, I don't want to get it unless I'm on my LAN at home.

This can't be an uncommon request, but I'm having trouble finding the configuration option in their documentation. Any ideas and/or good keywords to use in Googling would be awesome.

share|improve this question
up vote 2 down vote accepted

I doubt this is possible with any IMAP server. After all, why would you want to let the server decide which mail to see and what metric should it use to decide this?

The best spot to configure this in your mail client: Tell it to just download the headers and the mail body only on request. Fast, simple and reliable.

share|improve this answer
Hmm. Well if that's the case, can you recommend a good Linux IMAP client? 'Cause Kmail doesn't seem to have those controls. – Daniel Quinn Mar 18 '10 at 18:24
Looks like the problem wasn't that Kmail didn't have the option to limit file size, but rather the defaults were to download only the headers, but a filter I had in place required that it download the whole message body to test if the filter should be applied. My bad. Thanks for your patience :-) – Daniel Quinn Mar 18 '10 at 18:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.