freebsd-ports/mail/websieve/files/patch-websieve.pl
Alejandro Pulver f63fab9c6e - Add support for Cyrus IMAPd 2.3.x
- Remove explicit dependence on Apache.
- Install into ${PREFIX}/www/websieve (${WWWDIR}).
- Use the generic OPTIONS mechanism rather than some strange precursor to it.

PR:		ports/116493
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
2007-09-29 19:09:03 +00:00

11 lines
438 B
Perl

--- websieve.pl.orig Tue Jul 6 21:20:09 2004
+++ websieve.pl Sat Sep 29 16:02:22 2007
@@ -640,7 +640,7 @@
#creates global variables $mode,@rules,@mailboxes,@quota and %vacation;
# get quota
@quota=&getquota("INBOX") if ($havequota || !$useprocmail);
- if ($IMAPERROR =~ /no errors/i && !$ismanager && $IMAPERROR) {
+ if ($IMAPERROR !~ /no errors/i && !$ismanager && $IMAPERROR) {
$error=$IMAPERROR;
&closeimap;
&closesieve;