Index: [Article Count Order] [Thread]

Date:  Thu, 5 Apr 2007 10:15:27 -0700
From:  "Ken Marcus - Precision Web Hosting, Inc." <kenmarcus (at mark) precisionweb.net>
Subject:  [coba-e:09470] Re: Openwebmail package fix for BQ
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <079401c777a6$01e7bf70$6700a8c0@OfficeKen>
References:  <1175781244.18077.24.camel (at mark) columbus.webtent.org>
X-Mail-Count: 09470


----- Original Message ----- 
From: "Robert Fitzpatrick" <lists (at mark) webtent.net>
To: "BlueQuartz" <coba-e (at mark) bluequartz.org>
Sent: Thursday, April 05, 2007 6:54 AM
Subject: [coba-e:09469] Openwebmail package fix for BQ


> In regards to my post on Monday about the reply. Thanks to Brian for the
> suggestion, but I just can't let my customers find out, after they've
> lost a weeks worth of mail while on vacation, that they need check the
> 'Keep local copy' checkbox on the Forward line above the Auto-reply line
> in Openwebmail prefs. A simple line added to the openwebmail-prefs.pl
> file will fix this issue. The problem is caused by Openwebmail reading
> in all the comments, etc. from the .forward file that are placed their
> by the BQ GUI. When OW sees these comments (i.e.: # VACATIONSTART) and
> places it in the forward line of the prefs, saving the prefs also saves
> the forward and if you don't check keep local copy, all mail coming in
> afterward is lost :/
> 
> To keep this from happening, just insert the following line after line
> no. 1964....change this:
> 
>      next if ( $name=~/^$/ );                          <--line 1964
>      if ($name=~/$vacation_bin/) { $autoreply=1; }
> 
> to this:
> 
>      next if ( $name=~/^$/ );
>      next if ( $name=~/^#/ );
>      if ($name=~/$vacation_bin/) { $autoreply=1; }
> 
> This merely avoids any comments in the file. Works for us here, just
> thought I'd pass it along.
> 
> -- 
> Robert
> 


Thanks Robert for finding this solution.



----
Ken Marcus
Precision Web Hosting, Inc.
http://www.precisionweb.net