Re: imapd seems to serve up emails with empty attachments.

2014-03-13 Thread John Conant
Hello Jeroen,
 When I get "empty attachment" from TB it usually seems to be some 
sort of time delay - the attachment hasn't downloaded to the client fast 
enough.
But that would only make sense if the response time from one of your two 
folders was slow, which seems unlikely

Chonny

On 3/11/2014 5:44 AM, Jeroen Baten wrote:
> Hello Willy,
>
> Since both messages are served up by cyrus I thought that would cause
> the problem.
> Just installed evolution and gave it a try.
>
> Damn, you are right! :-)
>
> Weird though. Will continue the investigation in the TB direction.
>
> Kind regards,
>
> Jeroen Baten
>
>
> op 11-03-14 09:37, Willy Offermans schreef:
>> Hallo Jeroen,
>>
>> On Tue, Mar 11, 2014 at 09:25:57AM +0100, Jeroen Baten wrote:
>>> Hi,
>>>
>>> There is something I do not understand at the moment.
>>>
>>> I copy an email to two different folders.
>>> On the filesystem level a diff tells me they are exactly the same.
>>> Using a recent Thunderbird to view the attachments in one message it is
>>> fine, in the other Thunderbird complains about an empty attachment.
>>> What is wrong or how can I fix this?
>>>
>>> I am running Ubuntu 12.04 with cyrus imapd 2.4.12-2
>>>
>>> Any and all help is highly appreciated.
>>>
>>> Kind regards,
>>>
>>> Jeroen Baten
>>>
>>> -- 
>> Are you sure that this is a cyrus problem?
>>
>> It seems to me that this is more a Thunderbird problem.
>>

-- 


   Regards,

John Conant

===
  John Conant jcon...@aerodyne.com
  Aerodyne Research, Inc. (978)663-9500, ext. 292
  Billerica, MA 01821 FAX (978)663-4918

  "Where are we going, and why am I in this handbasket?"
 - Bumper Sticker
===


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: imap client that supports passing authorization id

2013-02-28 Thread John Conant
Excellent news.  Thanks!

On 2/28/2013 7:22 AM, Clement Hermann (nodens) wrote:
> Le 25/02/2013 12:36, Patrick Boutilier a écrit :
>
> There is an imap acl extension as well:
> https://addons.mozilla.org/fr/thunderbird/addon/imap-acl-extension/
>

-- 


   Regards,

    John Conant

=======
  John Conant jcon...@aerodyne.com
  Aerodyne Research, Inc. (978)663-9500, ext. 292
  Billerica, MA 01821 FAX (978)663-4918

  A three-legged dog walks into a saloon. He sidles up to the
  bar and announces, "I'm looking for the man who shot my paw."
===


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: reconstruct

2006-09-22 Thread John Conant




For what it's worth, we've been doing a reconstruct on the entire
mailstore every night for the better part of a year, without ever
shutting down cyrus.  The reason is that we do a Trend Micro scan of
the mailstore nightly - a couple of times a month that catches a virus
which wasn't caught as the mail arrived (probably because of updated
virus definitions).  Anyway, whenever Trend quarantines a message then
that folder is corrupted, and the reconstruct fixes that.  Hasn't
caused problems.  

That doesn't mean it's the smart thing to do, of course...

Cyrus is running on Fedora Core 3 linux.  Mailstore is 17Gb.

Daniel Eckl wrote:

  Steve Huston wrote:
  
  
On 9/21/06 5:04 AM, Daniel Eckl wrote:


  Hmmm yes, I want to second that. I have often restored accidentally
deleted mail folders from tape, copied them back into the mailbox
structure and reconstructed the folder. I never had any issue with that...
  

  
  [...]
  
  
And since I can't tell from the filenames what a certain email contains,
the end user can go through the new folder of however-many-hundred-mails
to pick out the few they want, move them to where they want them, then
delete the rest of the folder at their leisure.

  
  
Yes, that's my preferred way also. Just restore a complete folder, name
it e.g. "RESTORED" or similar, put it in the mailbox root and make a
reconstruct online. Then th euser can decide what to do with it.

I think as well that this should be safe. Sounds very logically.

Best,
Daniel

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
  


-- 


  Regards,

   John Conant

===
 [EMAIL PROTECTED]    "An expert is a [person] who has made all
 John Conant the mistakes which can be made in a very
 Aerodyne Research, Inc. narrow field" - Niels Bohr (attrib.)
 Billerica, MA 01821
 (978)663-9500, ext. 292 FAX (978)663-4918
===




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

Re: mv virus infected mail files behind cyrus's back

2005-10-13 Thread John Conant
We use both Trend Micro and Clamav to check mail on the way in.  Then 
overnight we have Trend Micro rescan the whole mail store.  After that, 
early in the morning, we run a scheduled reconstruct just in case some 
messages were removed.  We do detect things overnight that weren't found 
on the way in, and its not always because of updated virus definitions.  
We don't understand the difference, but it happens...   That system has 
worked well for us for over a year.  However, most of our users are with 
POP, and the IMAP users seldom use disconnected mode...


Sebastian Hagedorn wrote:


Hi,

--On 13. Oktober 2005 00:21:44 -0400 Dan MacNeil <[EMAIL PROTECTED]> wrote:


dm> Would would it be clean to replace the file with
dm> another message file [...]


well, it's not really something you're supposed to do on a regular 
basis ... a cleaner approach would be much harder to implement, 
however. So if you feel you must do this, the "reconstruct" way should 
be OK. Note that it may cause problems for IMAP clients that use 
disconnected mode, because the UIDVALIDITY of a modified mailbox will 
change, thus invalidating the client's cache.


We don't do anything like that. We scan for viruses when the mail is 
delivered. Obviously not all are found, but I believe that you can't 
get 100% protection. SO we try to educate our users to stay alert and 
not to rely only on virus scanners. Modifying mail that's already been 
delivered seems too intrusive to me. YMMV, obviously.


--


         Regards,

  John Conant

===
[EMAIL PROTECTED]"An expert is a [person] who has made all
John Conant the mistakes which can be made in a very
Aerodyne Research, Inc. narrow field" - Niels Bohr (attrib.)
Billerica, MA 01821
(978)663-9500, ext. 292 FAX (978)663-4918
===



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


Re: "reconstruct -r" usage

2004-04-16 Thread John Conant


Hi,
Sort of a
side note - we started having trouble like that.  Turned out that
our overnight antivirus scan of the mail store would find a virus, and
quarantine (move!) the infected file, thus messing up the Cyrus
indexing.  Now we schedule a system-wide reconstruct after the virus
scan, which seems to work.  
Back to
the main topic, our cron entry (Red Hat Linux) is:
  su - cyrus -c "/usr/lib/cyrus-imapd/reconstruct -r user >
/dev/null"
and the "-r" does seem to work for us!
John
At 04:05 AM 4/16/2004, you wrote:

after running for 12 months with
zero problems, we now experience random mailbox
corruption (not neccessarily the main mailbox of each user, but
submailboxes or
main)and if a user selects one of these mailboxes that isn't quite
right,
the cpu goes to 100%. We've had the server lock up, and I'm suspecting
that
this might be part of the cause. (or perhaps it's a symptom? who knows)
At
least we never lose any messages.

Quoting Jules Agee <[EMAIL PROTECTED]>:
> reconstruct -r -f
>
> Eli Cantu wrote:
>
> >Hello all,
> >
> >If I am trying to reconstruct user.chris.Sent and
user.chris.Save, should I
> be
> >able to simply run:  "reconstruct -r
user.chris"?
> >
> >If so, it does not seem to work. I have to manually reconstruct
every single
> >subdirectory.
> >
> >If I misunderstood the "-r" option, what is it used
for?
> >



 
Regards,
  
John Conant
=======
 [EMAIL PROTECTED]   
"An expert is a [person] who has made all
 John
Conant
the mistakes which can be made in a very
 Aerodyne Research, Inc. narrow field"
- Niels Bohr (attrib.)
 Billerica, MA 01821
 (978)663-9500, ext. 292 FAX
(978)663-4918
===




Cyrus, Linux, and Anti-Virus

2000-10-25 Thread John Conant

Hi all,
We have Cyrus server 1.6 running on RedHat Linux 6.2 (on Intel).  I'm 
wondering if there's an anti-virus client I could run on the server [in 
addition to hoping all the mail clients are configured to work with a local 
a-v program...].  It would have to be (1) on linux, (2) able to work with 
sendmail or the cyrus mailstore, and (3) not overly slow down a 
PentiumIII/600Mhz (with about 40 users).

Come to think of it, it should really intercept incoming traffic (sendmail 
on our system) and not the cyrus mailstore, so it doesn't have to re-check 
everything for every log-on!!.

Is any such thing available??

   thanks,


   John Conant

===
 [EMAIL PROTECTED]"An expert is a [person] who has made
 John Conant  all the mistakes which can be made
 Aerodyne Research, Inc.  in a very narrow field"
 (978)663-9500, ext. 292- Niels Bohr (Attrib.)
===