[imapfilter-devel] conversion specifiers for sender address

Lefteris Chatzibarbas lefcha at hellug.gr
Tue Mar 23 01:15:45 EET 2004


On Mon, Mar 22, 2004 at 03:57:40PM -0600, Ezsra McDonald wrote:
> Greetings,
> 
> I asked a while back about conversion specifiers for sender name and
> sender domain. You said you might add this functionality. Do you have an
> idea when these features will be available if at all? I would find them
> very useful for archiving mail by sender or sender domain.

I added this functionality in the CVS version some time ago (see the
CVS imapfilterrc(5) man page).

> 
> Also, if you add this functionality I would like it to replace periods
> '.' with underscores '_'.

Yes, this was one of the problems that showed up when I was implementing
the functionality, and I was planning to do something like what you are
suggesting, but...

> 
> So if mail comes from john.doe at somehost.somewhere.com could be broke up
> into two specifiers; @s and @d (for sender and domain).
> 
> in this case 
>       @s contains john_doe 
> and   @d contains somehost_somewhere_com
> 
> then my rule could move the message to @Y/@d/@s which is:
> 
>       INBOX/2004/somehost_somewhere_com/john_doe

I am currently working on some big changes to IMAPFilter, that will solve this
problem (along with many other) much more powerfully than with using @, %, $,
&, etc. specifiers.  In the meantime have some patient...




More information about the Imapfilter-devel mailing list