procmail, cyrdeliver, mailbox names
brian
cyrus-imap at logi.ca
Thu Mar 11 12:26:43 EST 2010
On 10-03-11 12:59 AM, Dan White wrote:
> On 11/03/10 00:10 -0500, brian wrote:
>
>> :0
>> * ^X-Spam-Flag: YES
>> | /usr/sbin/cyrdeliver -a $USER -m $USER.junk
>>
>> :0
>> | /usr/sbin/cyrdeliver -a $USER -m $USER
>
> Try:
>
> /usr/sbin/cyrdeliver -m 'Junk' -a $USER $USER
>
Thanks! That works. It even works for non-spam, which is a big bonus :-)
When I made the change, I presumed that the second part in procmailrc
would likely need to be changed also. I figured I'd need to remove the
"user." prefix. Anyway, when SPAM worked, I gave it a go with some HAM
and it all seems correct.
:0
* ^X-Spam-Flag: YES
| /usr/sbin/cyrdeliver -m 'Junk' -a $USER $USER
:0
| /usr/sbin/cyrdeliver -a $USER -m user.$USER
Thanks again.
More information about the Info-cyrus
mailing list