[Dovecot] procmail deliver and envelope-to

Timo Sirainen tss at iki.fi
Thu Feb 21 13:16:03 EET 2008


On Wed, 2008-02-20 at 20:03 +0100, Klaus Ethgen wrote:
> 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"

With v1.1 you can pass -a parameter to specify the full user+ext at domain
address to deliver and :detail works. I don't know how you can give that
parameter from procmail though.

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

I don't think Envelope-To: is any kind of a standard for this, so no.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080221/e4d68042/attachment.bin 


More information about the dovecot mailing list