Sieve notify implementation

Ken Murchison ken at oceana.com
Wed Jan 12 10:04:11 EST 2005


Paul Wolstenholme wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Jan 8, 2005, at 11:10 AM, Ken Murchison wrote:
> 
>>
>> You're close with the syntax, but you missed a couple of quotes, etc. 
>> Also, you can't insert CRLF in a text string (they'll be treated as 
>> escaped 'r' and 'n').  If you want multi-line output, you need to use 
>> a text: block.  E.g.:
>>
>> notify :method "mailto" :options "mailto:me at my.tld" :message text:
>> New message in your shared folder.
>> FROM: $from$
>> Subject: $subject$
>> .
>> ;
>>
>>
> 
> Works great. Thanks.
> 
> Another problem has emerged. When notifications are sent some mail 
> servers are rejecting them with a "421 Service unavailable". I think it 
> may be relate to an empty from string. Is there a way to specify this in 
> the configs?

No.  You'd have to change the source code.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list