Re: procmail, cyrdeliver, mailbox names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux