[Dovecot] procmail deliver and envelope-to

Klaus Ethgen Klaus at Ethgen.de
Wed Feb 20 21:03:59 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

first of all, please reply private as I am not subscribed to the list.
But if this question takes to much traffic I can subscribe.

My problem is that I have to use procmail (as it can call external
programs) which finally calls deliver. My main rules are sieve and they
work find except that I cannot use subaddress matching in envelope to
(not envelope send which has been addressed earlier). But As I use the
'+'-Feature the envelope to will be the one interesting for me.

For example, I am subscribed to the mailing list gimp-devel with
klaus+gdev at ethgen.de. So I want to use:
   require ["fileinto", "imapflags", "subaddress", "envelope"];
   ...
   if envelope :detail :is "To" "gdev"
   {
      fileinto "Mailinglisten.gimp-devel";
      stop;
   } 

But if I call the deliver tool from procmail this will not work and the
mail falls thought to the next matching rule or the implicit delivery.
In the resulting mail, Envelope-to: is set correctly but no sorting.

Is there any way to use the Envelope-to: header for this?

Regards
   Klaus Ethgen
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBR7x5n5+OKpjRpO3lAQJ5mgf/TvGb+HlF1wRd087MvvNxu0MoQyPqLfCh
vVW+/gCn0urALmpJj8J9bjsMNa4RsxYUYedPcbGx6vT5VSkTbYUJlzCeWlt5QPvS
b3Ql7+fwAzBr1+3LcBtpsJgyEz7gYxaQ+rFhhhjRMaRu/rKERSuUdbrKxSg6Xnxy
E7nMeajexVk9Emze9Tdl+cRxw2b9ycS+OM4wywScT/F+eZccWMdimUAw4BNqyFZY
mFH2pFCsKwKHuDAMT7O9HxvkTj76d3+OEVguW0hz5hLppgjizsJWo6gWbVtJL5Yf
ScLYRcSflWPTuYeO/dXxEYrEaDwFm1MO2BPj7YygGZIg++eWLF73iw==
=OD+j
-----END PGP SIGNATURE-----


More information about the dovecot mailing list