Alexander 'Leo' Bergolth
2007-Dec-30 13:13 UTC
[Dovecot] deliver: keep existing From_ line
Hi! I'm using procmail to filter my email. (I have to use it because of various features that are not supported by sieve.) However, I'd like to deliver mail to my mboxes using dovecots deliver program in order to update index files and speed up mbox access. Using "| $DELIVER -m <mboxname>" in my procmail receipes, everything works fine, except that the envelope sender address is mangled. deliver sets it to MAILER-DAEMON, even though it is already provided in the first line of the mail. I cannot use the "-f <address>" options of deliver, since procmail doesn't provide the envelope-sender address in a variable. (I'd have to extract it from the first line of the mail using a separate receipe, which isn't very efficient.) Is there a way to keep the already existing "From " line? Thanks in advance, --leo -- e-mail ::: Alexander.Bergolth (at) wu-wien.ac.at fax ::: +43-1-31336-906050 location ::: Computer Center | Vienna University of Economics | Austria
On Sun, 2007-12-30 at 14:13 +0100, Alexander 'Leo' Bergolth wrote:> Is there a way to keep the already existing "From " line?Not with v1.0, but I implemented it now for v1.1: http://hg.dovecot.org/dovecot/rev/ce15433c6212 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080101/1cc10fb7/attachment-0002.bin>