[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mpop-users] [PATCH 4/9] Allow %-escaped strings in maildir and exchange paths



Note that for consistency the mbox code should also get a similar
change. However, I didn't like too much locking and unlocking the file
for each downloaded message, specially given that it may need to sleep
and retry locking.
If you are fine with that (at least for this version), the change should
be quite straightforward. The final version should expand the filename
on each delivery_method_mbox_open and reopen the file (closing the old
one) if it is different than the one that was opened (which would almost
never be taken, as it doesn't much sense to put into the mbox path a
variable like %S that changes for each mail…).