[Dovecot] deliver saving mails with hard linking
tss at iki.fi
Sun Jun 1 22:32:11 EEST 2008
http://dovecot.org/tmp/deliver-multiple.diff for Dovecot v1.1 implements
-p <path> parameter for deliver, which reads the input mail from the
specified path instead of stdin. With maildir and hardlink copying
enabled, it also tries to hard link the file to destination instead of
So to get the same mail delivered to multiple recipients using hard
links, you'd have to write a small wrapper script that stored the mail
temporarily somewhere and then called deliver for each recipient using
the -p parameter.
Any thoughts on if this should go to v1.1 like this? Some problems:
- If you're not using a single UID/GID you probably have to make the
- A wrapper script is kind of ugly, so it would be nice if deliver took
a list of all recipients as input. But the deliver code is currently
ugly enough that this would require larger changes.
- Am I forgetting something?..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080601/1adff394/attachment.bin
More information about the dovecot