On 15.7.2010, at 9.16, Christian Rohmann wrote: >>>> Any thoughts? >>> Could the location be made dependant on the file size? >> >> The file size isn't known beforehand. > > But it could be known if the SIZE extention of LMTP is used right?
It wouldn't be known with deliver. And I wasn't planning on implementing SIZE extension for LMTP anytime soon.. > Talking about LMTP ... if one runs lets say postfix on the deliver > machine that is already maintaining a mailqueue and one uses the LMTP > server of dovecot 2.0 to get the messages delivered, why would you need > to write the mail to disk a second time (postfix once, then deliver > again) of the message size is within reasonable limits (lets say below > 100MB). So would you make the size when messages are spooled to disk > (currently 128k as I understand) configurable? Temporary files would typically stay in memory too and get deleted before written to disk. But I guess I could make this configurable.