Sieve notify implementation
Paul Wolstenholme
wolstena at sfu.ca
Tue Jan 11 22:36:19 EST 2005
-----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?
Cheers,
Paul
Jan 11 19:34:53 ip3 postfix/smtp[1177]: >
mailgw1.fido.ca[204.92.15.186]: MAIL FROM:<> SIZE=907
Jan 11 19:34:53 ip3 postfix/smtp[1177]: >
mailgw1.fido.ca[204.92.15.186]: RCPT TO:<jack at fido.ca>
Jan 11 19:34:53 ip3 postfix/smtp[1177]: >
mailgw1.fido.ca[204.92.15.186]: DATA
Jan 11 19:34:53 ip3 postfix/smtp[1177]: <
mailgw1.fido.ca[204.92.15.186]: 250 Ok
Jan 11 19:34:53 ip3 postfix/smtp[1177]: <
mailgw1.fido.ca[204.92.15.186]: 250 Ok
Jan 11 19:34:53 ip3 postfix/smtp[1177]: <
mailgw1.fido.ca[204.92.15.186]: 354 End data with <CR><LF>.<CR><LF>
Jan 11 19:34:53 ip3 postfix/smtp[1177]: >
mailgw1.fido.ca[204.92.15.186]: .
Jan 11 19:34:53 ip3 postfix/smtp[1177]: >
mailgw1.fido.ca[204.92.15.186]: QUIT
Jan 11 19:34:53 ip3 postfix/smtp[1177]: <
mailgw1.fido.ca[204.92.15.186]: 421 Service unavailable
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB5Jsz4vygjarL2QkRAnzdAJ9teBH8lAJOH8ZzW2rBoWQwCzzVHgCfSDDs
Kd8RjChGeYwuPubTGoMSMsQ=
=CUgc
-----END PGP SIGNATURE-----
---
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