Le mar mars à 20:11:41 Steve <[EMAIL PROTECTED]> a écrit notamment:

> I'm using the latest dovecot IMAP server to successfully access my
> mail remotely with Thunderbird... and I've implemented system-wide
> spamassassin using a procmail in /etc/procmail - all this works fine.
>
> --my /etc/procmailrc--
> DEFAULT=$HOME/.maildir/
> SHELL=/bin/sh
> MAILDIR=$HOME/.maildir
>
> :0fw
> * < 256000
> | /usr/bin/spamc -f
> --
>
> I hit problems when I try to tailor procmail for a specific user...  I
> want to move all mails with a subject of "aardvark" into my existing
> Aardvark IMAP folder - so I tried this:
>
> -- ~/.procmailrc --
> DEFAULT=$HOME/.maildir/
> SHELL=/bin/sh
> MAILDIR=$HOME/.maildir
>
> :0:
> * ^Subject:.*aardvark
> Aardvark
> --
>
> This creates a file called ~/.maildir/Aardvark which contains the text
> of the message - which isn't what I wanted at all... It is not
> recognised by dovecot - so doesn't arrive in my mail client. I noticed
> that the Aardvark IMAP folder was represented by a .Aardvark directory
> - 
> but if I replace "Aardvark" with ".Aardvark" then all I get is a file
> "msg.8h3" in this directory - and this isn't recognised by dovecot
> either (not being with the other messages in new, tmp or cur.)
> My procmailrc above looks similar to all the examples I've seen - I've
> never seen one specifying /new at the end or anything like that. Can
> anyone spot what I'm doing wrong?

[...]

You are using a maildir format, so you want Aardvark to be a directory; 
to tell procmail to create a dir and not just a file the last line of your 
recipe has to be 
Aardvark/

hth,
-- 

  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

--
gentoo-user@gentoo.org mailing list

Reply via email to