Re: [Dovecot] v2.2.rc7 released

2013-04-10 Thread Oli Schacher
On Thu, 11 Apr 2013 08:06:58 +0200
Oli Schacher  wrote:

> Error in sys.excepthook:

... and after the first coffee I realize the error is generated by our
python quota script and not by dovecot. I wonder why this only showed up
since this change... sorry for the noise.

-- 
message transmitted on 100% recycled electrons


Re: [Dovecot] v2.2.rc7 released

2013-04-10 Thread Oli Schacher
On Wed, 10 Apr 2013 23:46:36 +0300
Timo Sirainen  wrote:

> OK, still not quite v2.2.0, but now it's definitely very close. :)

Looking forward to the release, thank you!

>   * Running dsync no longer triggers quota warnings.

Not sure if you saw my last post about this change.. it works but
now maillog always shows these empty error messages after executing the
quota script:

Apr 11 07:55:08 fumailsynctest1 dovecot: lda(quotatest@munged): 
msgid=<20130411055508.10728.76331@fumailsynctest1.munged>: saved mail to INBOX
Apr 11 07:55:08 fumailsynctest1 dovecot: quota-warning: Error: close failed in 
file object destructor:
Apr 11 07:55:08 fumailsynctest1 dovecot: quota-warning: Error: Error in 
sys.excepthook:
Apr 11 07:55:08 fumailsynctest1 dovecot: quota-warning: Error: 
Apr 11 07:55:08 fumailsynctest1 dovecot: quota-warning: Error: Original 
exception was:

-- 
message transmitted on 100% recycled electrons


Re: [Dovecot] crash with dovecot 2.2: Panic: Buffer full

2013-04-10 Thread Tonio




Le 9 avr. 2013 à 22:56, Timo Sirainen  a écrit :

> On 8.4.2013, at 23.26, to...@starbridge.org wrote:
> 
>> imap(clean-quarant...@spamguard.fr): Panic: file istream.c: line 153
>> (i_stream_read): assertion failed: (_stream->skip != _stream->pos)
> 
> http://hg.dovecot.org/dovecot-2.2/rev/fbef40826602 should fix this.
> 

Thanks Timo
Its ok now

Regards
Tonio

Re: [Dovecot] Sync errors trying to sync old mbox inboxes to dovecot

2013-04-10 Thread Michael Smith
It shouldn't.  Part of the migration is to remove any existing dovecot mailbox 
for the user.  It does this by deleting the entire user's directory.

I just downloaded the file and checked.  Oops, looks like I grabbed the post 
dsync mirror file.

I've uploaded the correct file (pre dsync mirror).  Downloaded it and confirmed 
I'm getting the following error on dsync mirror.

dsync(webmail): Error: Sync failed for mbox file 
/var/opt/migrate/users/webmail/inbox: seq=4482 uid=4482 uid_broken=0 originally 
needed 10 bytes, now needs 12 bytes


--
Michael Smith

-Original Message-
From: Timo Sirainen [mailto:t...@iki.fi] 
Sent: Tuesday, April 09, 2013 4:05 PM
To: Michael Smith
Cc: 'dovecot@dovecot.org'
Subject: Re: [Dovecot] Sync errors trying to sync old mbox inboxes to dovecot

On 9.4.2013, at 1.41, Michael Smith  wrote:

> I tried importing the anonymized file, and there were no errors.  So, it's 
> something with the actual data.  UTF-8 issues?
> 
> While I can't send you a raw customer's mailbox, one of the failures is a 
> 'role' account mailbox, with no critical/useful data in it.
> 
> Here is a link (expires in 30 days) to download the mailbox, it's 107M.
> https://truck.it/p/HNlzl9hWbO
> 
> The error I'm getting is 
> dsync(webmail): Error: Sync failed for mbox file 
> /var/opt/migrate/users/webmail/inbox: seq=4482 uid=4482 uid_broken=0 
> originally needed 10 bytes, now needs 12 bytes

I can't reproduce with that file, dsync succeeds without errors. Maybe the 
problem requires something specific in the index files also?




[Dovecot] v2.2.rc7 released

2013-04-10 Thread Timo Sirainen
http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc7.tar.gz
http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc7.tar.gz.sig

OK, still not quite v2.2.0, but now it's definitely very close. :)

* checkpasword: AUTH_PASSWORD environment is no longer set.
* Running dsync no longer triggers quota warnings.

+ dsync: Commit large transactions every 100 new messages, so if a
  large sync crashes it doesn't have to be restarted from the
  beginning.
- replicator: doveadm commands and user list export may have skipped
  some users.
- Various fixes to mailbox_list_index=yes




Re: [Dovecot] Maildirs location migration

2013-04-10 Thread Timo Sirainen
On Wed, 2013-04-10 at 18:59 +0200, Thomas Hummel wrote:
> On Wed, Apr 10, 2013 at 06:28:47PM +0200, Thomas Hummel wrote:
> 
> > So basically, it works as with conventional data moved with rsync in 2 
> > phases
> > (initial copy and sync of the (hopefully small) reminder to minimize 
> > «downtime»
> > or incomplete state except that dsync is used to have the mailbox format and
> > dovecot knowledge, right ?
> 
> Isn't there still a critical section : new imap connections could be created
> (if auth is not denied temporary for this user) while the final sync still to
> be finished or started ?

Not if you kick the users out at the correct time:

 - dsync
 - switch user to new format
 - kick users
 - final dsync

It doesn't matter if new connections arrive during the final dsync,
because they are using the new format already. dsync merges changes, it
doesn't destroy any changes.




Re: [Dovecot] Maildirs location migration

2013-04-10 Thread Thomas Hummel
On Wed, Apr 10, 2013 at 06:28:47PM +0200, Thomas Hummel wrote:

> So basically, it works as with conventional data moved with rsync in 2 phases
> (initial copy and sync of the (hopefully small) reminder to minimize 
> «downtime»
> or incomplete state except that dsync is used to have the mailbox format and
> dovecot knowledge, right ?

Isn't there still a critical section : new imap connections could be created
(if auth is not denied temporary for this user) while the final sync still to
be finished or started ?

Thanks.

-- 
Thomas Hummel   | Institut Pasteur
 | Groupe Exploitation et Infrastructure


Re: [Dovecot] Maildirs location migration

2013-04-10 Thread Thomas Hummel
On Thu, Apr 04, 2013 at 10:27:57PM +0300, Timo Sirainen wrote:

> http://wiki2.dovecot.org/Tools/Dsync#example_converting works for moving 
> mailboxes as well as converting. It works even while procmail is used to 
> deliver mails.

Thanks. I guess it works with conversion from Maildir to Maildir somewhere else 
too, right. 

So basically, it works as with conventional data moved with rsync in 2 phases
(initial copy and sync of the (hopefully small) reminder to minimize «downtime»
or incomplete state except that dsync is used to have the mailbox format and
dovecot knowledge, right ?

-- 
Thomas Hummel   | Institut Pasteur
 | Groupe Exploitation et Infrastructure


Re: [Dovecot] Pigeonhole 0.3.4: Warning: sieve: encountered corrupt binary: re-compiling script

2013-04-10 Thread Daniel Piddock
On 10/04/13 11:22, Stephan Bosch wrote:
> Op 4/10/2013 11:39 AM, Daniel Piddock schreef:
>> On 09/04/13 16:43, Stephan Bosch wrote:
>>> Op 4/9/2013 4:04 PM, Daniel Piddock schreef:
 What's the best way to start debugging?
>>> If it is re-occurring for the same user and script, something is
>>> definitely wrong. From what version are you upgrading?
>>>
>>> You can send me the .sieve and the .svbin so that I can see what is
>>> going on.
>> We were upgrading from Dovecot 2.1.15 and Pigeonhole 0.3.3. Somebody
>> noticed that the .svbin wasn't actually being updated hence the regular
>> error.
>
> If Sieve fails to save the binary, some errors should be logged
> somewhere about that. E.g.
>
> sieve: binary save: failed to create temporary file: ...
> sieve: binary save: failed to save binary: ...
>
> Did you miss something in the logs?

We use syslog for logging. I've check mail.info, there's just the two
lines mentioned before: lmtp throws a warning about corrupt binary and
then reports storing the mail.

There's nothing in the per-user .dovecot.sieve.log

I'm not sure where else to check.

>> Deleting the files forced pigeonhole to recreate them properly
>> and the warnings stopped happening.
>>
>> [sent .svbin and .sieve off list]
>
> This happens due to a change in the binary format of the
> vnd.dovecot.duplicate extension. I should have increased the global
> binary version number for this. This is cumbersome, so for Pigeonhole
> v0.4 extensions have their own version number. Version mismatches
> cause a (silent) recompile, avoiding these warnings.

At least that explains the problem.

Cheers,
Dan


Re: [Dovecot] My old email is not stored

2013-04-10 Thread Reindl Harald


Am 10.04.2013 14:22, schrieb HylkeB:
>> normally POP3 is configured to delete received messages 
>> after some days/weeks and it is not smart to disable this 
>> becuase if you have your local mailarchive and get a new 
>> computer you will receive ALL your mails again 
> 
> Well, receiving ALL mails again, might not be too handy, but 14 days is a
> quite short time.
> So can i change the pop3 settings so old emails are stored for e.g. 3 months
> instead of 14 days?
> And just curious, where can i disable the configuration that pop3 deletes
> received messages?

why not type in google " POP3 settings"

>> these are all questions that NOBODY can answer for you 
>> maybe the admin of your mailserver can, hopefully you are not 
> 
> Well I am the admin for now, but when business gets more successful i might
> hire someone who can set up the email server the right way; someone who
> knows what he is doing. But for now, as long as everything works its good

it is a serious problem if people which even can not handle a mail-client
maintain critical things like public mailservers because the critical is
not only your problem, it becomes very fast a problem for ANYBODY which
maintains a proper mailservice and has to fight against you spam caused
by wrong configurations (open-relay)



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] My old email is not stored

2013-04-10 Thread Charles Marcus

On 2013-04-10 8:22 AM, HylkeB  wrote:

Well, receiving ALL mails  again, might not be too handy, but 14 days

> is a quite short time. So can i change the pop3 settings so old
> emails are stored for e.g. 3 months instead of 14 days? And just
> curious, where can i disable the configuration that pop3 deletes
> received messages?

As has already been explained to you, these POP3 settings are CLIENT 
SPECIFIC. There is nothing that you can set on the SERVER to enforce it. 
You can have one client set to leave them on the server for as long as 
you want, and the second you set up your account as POP on another 
device and it connects, bam, all your messages are gone (unless you 
ALWAYS remember to change the setting BEFORE you ever connect to the 
account).


Again - just switch to IMAP and be done with it.

--

Best regards,

Charles




Re: [Dovecot] My old email is not stored

2013-04-10 Thread Robert Schetterer
Am 10.04.2013 14:22, schrieb HylkeB:
> And just curious, where can i disable the configuration that pop3 deletes
> received messages?

thats a function of your pop3 clients, configure it there


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] My old email is not stored

2013-04-10 Thread HylkeB
>normally POP3 is configured to delete received messages 
>after some days/weeks and it is not smart to disable this 
>becuase if you have your local mailarchive and get a new 
>computer you will receive ALL your mails again 

Well, receiving ALL mails again, might not be too handy, but 14 days is a
quite short time.
So can i change the pop3 settings so old emails are stored for e.g. 3 months
instead of 14 days?
And just curious, where can i disable the configuration that pop3 deletes
received messages?

>these are all questions that NOBODY can answer for you 
>maybe the admin of your mailserver can, hopefully you are not 

Well I am the admin for now, but when business gets more successful i might
hire someone who can set up the email server the right way; someone who
knows what he is doing. But for now, as long as everything works its good.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/My-old-email-is-not-stored-tp41478p41491.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] My old email is not stored

2013-04-10 Thread Charles Marcus

On 2013-04-10 8:05 AM, Reindl Harald  wrote:

normally POP3 is configured to  delete received messages after some

> days/weeks and it is not smart to disable this becuase if you have
> your local mailarchive and get a new computer you will receive ALL
> your mails again

Actually, normally POP3 defaults to deleting the messages *immediately* 
after being downloaded.


POP3 is simply not designed for permanent server storage.

As has already been explained, if you want to access your email from 
multiple devices and always see them, just switch to IMAP and be done 
with it.


Playing with the POP3 settings to 'keep messages on the server' has 
always been problematic.


--

Best regards,

Charles




Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread mourik jan heupink

Hi all,

Ow... too shortsighted..! You are right, it DOES work. The attachment is 
still there, but with empty contents.


Thanks and sorry to bother you!

MJ

On 4/10/2013 12:10 PM, Andreas Kasenides wrote:

This looks to work on my 17.0.5 Thunderbird on CentOS 6.4
(I guess Dovecot is not involved but running on 2.2.beta1).
It does detach the file, places it in the chosen folder, removes the
option to detach or delete from the message menu
but (nice indeed) remembers where you put the attachment and can still
show it if you click on it or save it again if you want to!!

But how do we know its been detached if it still shows in Thunderbird?
Looking into the actual message file I see the following at the end:

--020104000205010901050407
Content-Type: application/vnd.oasis.opendocument.text;
  name="=?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?="
Content-Disposition: attachment; filename="20130404-??.odt"
X-Mozilla-External-Attachment-URL:
file:///LocalData/tmp/20130404-%CE%93%CE%A3.odt
X-Mozilla-Altered: AttachmentDetached; date="Wed Apr 10 12:51:00 2013"

You deleted an attachment from this message. The original MIME headers
for the attachment were:
Content-Type: application/vnd.oasis.opendocument.text;
  name="=?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
  filename*=UTF-8''%32%30%31%33%30%34%30%34%2D%CE%93%CE%A3%2E%6F%64%74


--020104000205010901050407--

Nice!!

Andreas



On 10/04/13 11:50, mourik jan heupink wrote:

Hi all,

Thunderbird has an option to detach attachments from (for example)
sent items. I've tried it, and it does not work, and also in the
dovecot logs I don't see anything interesting meanwhile.

Before looking deeper into this: Does anyone here know if this option
is known to work, or not?

We're running dovecot 2.1.7 on debian wheezy.

Removing unwanted attachments is a nice way to keep mail archives
smaller...

Thanks,
MJ







Re: [Dovecot] My old email is not stored

2013-04-10 Thread Reindl Harald


Am 10.04.2013 13:58, schrieb HylkeB:
> If it is a client issue, than thats fine.

it is

> But then i wonder what the vmail/domain.com/email_name/Maildir/cur folder is
> for, because in there i can find the inbox of the last 14 days. Cant my
> emails be stored there for a longer (or infinite) time? It is not really an
> issue that i need to save my emails locally, but when i log in on a
> webclient to view emails, i dont see all emails, and when i installed my new
> computer a few weeks ago, i did also not have all my emails (since they are
> no longer on the server)

normally POP3 is configured to delete received messages
after some days/weeks and it is not smart to disable this
becuase if you have your local mailarchive and get a new
computer you will receive ALL your mails again

> Awnsering to an earlier reply: I am using pop3, not imap. Is it wise to
> change to imap? or shouldnt i bother that not all emails are stored on the
> server? 

nobody can answer this for you

> And how do i change pop3 to imap? 

you can't
you have to create a new mail-account and select IMAP in your client

> and lastly, when i were to change
> from pop3 to imap, how big are the changes that i mess up completely and i
> break the email server (which is a major problem)

depends on the storage of your server, on teh amount
of mails, on the size of mails

these are all questions that NOBODY can answer for you
maybe the admin of your mailserver can, hopefully you are not



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] My old email is not stored

2013-04-10 Thread HylkeB
If it is a client issue, than thats fine.

But then i wonder what the vmail/domain.com/email_name/Maildir/cur folder is
for, because in there i can find the inbox of the last 14 days. Cant my
emails be stored there for a longer (or infinite) time? It is not really an
issue that i need to save my emails locally, but when i log in on a
webclient to view emails, i dont see all emails, and when i installed my new
computer a few weeks ago, i did also not have all my emails (since they are
no longer on the server).

Awnsering to an earlier reply: I am using pop3, not imap. Is it wise to
change to imap? or shouldnt i bother that not all emails are stored on the
server? And how do i change pop3 to imap? and lastly, when i were to change
from pop3 to imap, how big are the changes that i mess up completely and i
break the email server (which is a major problem).

Sincerely,

Hylke Bron



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/My-old-email-is-not-stored-tp41478p41487.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] My old email is not stored

2013-04-10 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 10 Apr 2013, HylkeB wrote:


But the thing is, everything worked just fine, until I found out that old
emails were missing, only emails of a few months old exist on my server. I
have no idea if this is a setting in dovecot, postfix or debian, or that
something weird happened.


I guess, that this is a client issue. Check, if your client has an 
"archieve" option or something like that.


- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUWVP9l3r2wJMiz2NAQKhogf/aV82O8eAkpEfMZAFY+SYvg8IdDFlmDL0
J56smFWBvUdSwTB9fr2kwKrT5NW/Tiruew5TS2/Mga+G5YVV2h0nRaohYLWJIs7M
nq26wxT85kVIgWCRMc5mGvGAkHlrXIWES7x/qmQNELbT31z4HiZxeCPmsO5ZyKFZ
vj5QCZZzz5Fd6JQ9Kwh+1PhYjkMjVta3RGB9LtP3CDnVLFuqZKWaI380HmzhThLa
FCThkMCdZegRus5mHAnOin+L8VGbekoIUzh8+58Sc+FJxh5EEiGQSlmTyotUrIYN
CqbnlaaUD7OoO8grDiLARPtL5PAjqhUC4lWmbrqTqgPUZyNhn6DVeA==
=Gx3S
-END PGP SIGNATURE-


Re: [Dovecot] failed compiling dovecot 2.1.16 under solaris

2013-04-10 Thread Jürgen Obermann

Am Di, 09 Apr 2013 schrieb Timo Sirainen:

On 9.4.2013, at 18.29, Jürgen Obermann  
 wrote:



"quota-status.c", line 200: undefined symbol: optarg
"quota-status.c", line 200: warning: improper pointer/integer
combination: arg #1
cc: acomp failed for quota-status.c

+ #include 


What about with stdio.h? That's the correct one according to man page.





With stdio.h it compiles OK too.


--
Hochschulrechenzentrum der | Mail: juergen.oberm...@hrz.uni-giessen.de
Justus-Liebig-Universitaet | WWW:  http://www.uni-giessen.de/obermann/
Heinrich-Buff-Ring 44  | Tel:  0641-99-13054 (0641-99-13001)
D-35392 Giessen, Germany   | Fax:  0641-99-13009



Re: [Dovecot] My old email is not stored

2013-04-10 Thread Urban Loesch

Hi,

perhaps you are using POP3 in your mail client and have you have enabled the 
setting to
delete mails on server after a few months.

Change to IMAP and you leave all messages on the server.

reagards
urban



On 10.04.2013 11:20, HylkeB wrote:

Hi,

Im have not much experience with dovecot, postfix or debian, which i am
using for my email server.

But the thing is, everything worked just fine, until I found out that old
emails were missing, only emails of a few months old exist on my server. I
have no idea if this is a setting in dovecot, postfix or debian, or that
something weird happened.

But my question is, is there a setting in either dovecot, postfix or debian
that i should check that could cause this behaviour, and if so, how do i
check that? (opening and checking a conf file for example, or executing some
commands in PuTTy).

And if this is somehow default behaviour that cannot be changed, is there
some other way to store all emails ever entered my inbox?

Sincerely,

Hylke Bron



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/My-old-email-is-not-stored-tp41478.html
Sent from the Dovecot mailing list archive at Nabble.com.



[Dovecot] My old email is not stored

2013-04-10 Thread HylkeB
Hi,

Im have not much experience with dovecot, postfix or debian, which i am
using for my email server.

But the thing is, everything worked just fine, until I found out that old
emails were missing, only emails of a few months old exist on my server. I
have no idea if this is a setting in dovecot, postfix or debian, or that
something weird happened.

But my question is, is there a setting in either dovecot, postfix or debian
that i should check that could cause this behaviour, and if so, how do i
check that? (opening and checking a conf file for example, or executing some
commands in PuTTy).

And if this is somehow default behaviour that cannot be changed, is there
some other way to store all emails ever entered my inbox?

Sincerely,

Hylke Bron



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/My-old-email-is-not-stored-tp41478.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] Pigeonhole 0.3.4: Warning: sieve: encountered corrupt binary: re-compiling script

2013-04-10 Thread Stephan Bosch

Op 4/10/2013 11:39 AM, Daniel Piddock schreef:

On 09/04/13 16:43, Stephan Bosch wrote:

Op 4/9/2013 4:04 PM, Daniel Piddock schreef:

What's the best way to start debugging?

If it is re-occurring for the same user and script, something is
definitely wrong. From what version are you upgrading?

You can send me the .sieve and the .svbin so that I can see what is
going on.

We were upgrading from Dovecot 2.1.15 and Pigeonhole 0.3.3. Somebody
noticed that the .svbin wasn't actually being updated hence the regular
error.


If Sieve fails to save the binary, some errors should be logged 
somewhere about that. E.g.


sieve: binary save: failed to create temporary file: ...
sieve: binary save: failed to save binary: ...

Did you miss something in the logs?


Deleting the files forced pigeonhole to recreate them properly
and the warnings stopped happening.

[sent .svbin and .sieve off list]


This happens due to a change in the binary format of the 
vnd.dovecot.duplicate extension. I should have increased the global 
binary version number for this. This is cumbersome, so for Pigeonhole 
v0.4 extensions have their own version number. Version mismatches cause 
a (silent) recompile, avoiding these warnings.


Regards,

Stephan.








Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread Robert Schetterer
Am 10.04.2013 11:52, schrieb Robert Schetterer:
> Am 10.04.2013 10:50, schrieb mourik jan heupink:
>> Hi all,
>>
>> Thunderbird has an option to detach attachments from (for example) sent
>> items. 
> 
> really  ?, i think its an additional plugin

sorry ,confused by german translation in tb, in deed there is option detach

> 
> I've tried it, and it does not work, and also in the dovecot logs
>> I don't see anything interesting meanwhile.
>>
>> Before looking deeper into this: Does anyone here know if this option is
>> known to work, or not?
>>
>> We're running dovecot 2.1.7 on debian wheezy.
>>
>> Removing unwanted attachments is a nice way to keep mail archives
> 
> yes good idea
> 
>> smaller...
>>
>> Thanks,
>> MJ
> 
> My Understanding of that is
> as long as you have your mail folder option offline synchronzied , which
> is default at Thunderbird , all actions happens first to Thunderbird
> local tmp store , then synced to the server
> 
> use secure way ,move all mails in imap sent folder to real local folder
> on your machine , then cut attachments , move it back to imap sent folder
> 
> at last i guess your problem is not server related anyway, but
> Thunderbird might crash mail at trying cut direct on imap folder, i ve
> seen this some time before
> 
> 
> Best Regards
> MfG Robert Schetterer
> 



Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread Andreas Kasenides

This looks to work on my 17.0.5 Thunderbird on CentOS 6.4
(I guess Dovecot is not involved but running on 2.2.beta1).
It does detach the file, places it in the chosen folder, removes the 
option to detach or delete from the message menu
but (nice indeed) remembers where you put the attachment and can still 
show it if you click on it or save it again if you want to!!


But how do we know its been detached if it still shows in Thunderbird?
Looking into the actual message file I see the following at the end:

--020104000205010901050407
Content-Type: application/vnd.oasis.opendocument.text;
 name="=?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?="
Content-Disposition: attachment; filename="20130404-??.odt"
X-Mozilla-External-Attachment-URL: 
file:///LocalData/tmp/20130404-%CE%93%CE%A3.odt

X-Mozilla-Altered: AttachmentDetached; date="Wed Apr 10 12:51:00 2013"

You deleted an attachment from this message. The original MIME headers 
for the attachment were:

Content-Type: application/vnd.oasis.opendocument.text;
 name="=?UTF-8?B?MjAxMzA0MDQtzpPOoy5vZHQ=?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=UTF-8''%32%30%31%33%30%34%30%34%2D%CE%93%CE%A3%2E%6F%64%74


--020104000205010901050407--

Nice!!

Andreas



On 10/04/13 11:50, mourik jan heupink wrote:

Hi all,

Thunderbird has an option to detach attachments from (for example) 
sent items. I've tried it, and it does not work, and also in the 
dovecot logs I don't see anything interesting meanwhile.


Before looking deeper into this: Does anyone here know if this option 
is known to work, or not?


We're running dovecot 2.1.7 on debian wheezy.

Removing unwanted attachments is a nice way to keep mail archives 
smaller...


Thanks,
MJ





--
Andreas Kasenides
Senior IT Officer
Dept. of Computer Science,
University of Cyprus
Tel: 22892714, Fax: 22892701



Re: [Dovecot] thunderbird detach attachment

2013-04-10 Thread Robert Schetterer
Am 10.04.2013 10:50, schrieb mourik jan heupink:
> Hi all,
> 
> Thunderbird has an option to detach attachments from (for example) sent
> items. 

really  ?, i think its an additional plugin

I've tried it, and it does not work, and also in the dovecot logs
> I don't see anything interesting meanwhile.
> 
> Before looking deeper into this: Does anyone here know if this option is
> known to work, or not?
> 
> We're running dovecot 2.1.7 on debian wheezy.
> 
> Removing unwanted attachments is a nice way to keep mail archives

yes good idea

> smaller...
> 
> Thanks,
> MJ

My Understanding of that is
as long as you have your mail folder option offline synchronzied , which
is default at Thunderbird , all actions happens first to Thunderbird
local tmp store , then synced to the server

use secure way ,move all mails in imap sent folder to real local folder
on your machine , then cut attachments , move it back to imap sent folder

at last i guess your problem is not server related anyway, but
Thunderbird might crash mail at trying cut direct on imap folder, i ve
seen this some time before


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] Pigeonhole 0.3.4: Warning: sieve: encountered corrupt binary: re-compiling script

2013-04-10 Thread Daniel Piddock
On 09/04/13 16:43, Stephan Bosch wrote:
> Op 4/9/2013 4:04 PM, Daniel Piddock schreef:
>> Hi all,
>>
>> Upgraded to Dovecot 2.1.16 and Pigeonhole 0.3.4 yesterday. We use lmtp
>> and sieve. I've now started to see in the logs the following entries:
>>> Warning: Jz6kNv8AY1FdfQAAVMeomg: sieve: encountered corrupt binary:
>> re-compiling script [script path]
>>
>> The script then appears to run correctly and the message gets stored
>> where ever it should be.
>>
>> This only appears to be happening for a few users and although it
>> happens on the majority of their messages it doesn't happen for every
>> single one.
>>
>> What's the best way to start debugging?
>
> If it is re-occurring for the same user and script, something is
> definitely wrong. From what version are you upgrading?
>
> You can send me the .sieve and the .svbin so that I can see what is
> going on.
>
> Regards,
>
> Stephan.

Hi Stephan,

We were upgrading from Dovecot 2.1.15 and Pigeonhole 0.3.3. Somebody
noticed that the .svbin wasn't actually being updated hence the regular
error. Deleting the files forced pigeonhole to recreate them properly
and the warnings stopped happening.

[sent .svbin and .sieve off list]

Cheers,
Dan


Re: [Dovecot] How to see folders/subfolders/emails through imap

2013-04-10 Thread Stephan von Krawczynski
On Wed, 10 Apr 2013 11:36:24 +0300
Timo Sirainen  wrote:

> On 10.4.2013, at 11.21, Stephan von Krawczynski  wrote:
> 
> > Sorry, it seems not that easy.
> > I had to find out that sylpheed works correctly now, but thunderbird does 
> > not
> > show anything, just like before.
> > Is there a way to log all imap commands and replies?
> 
> http://wiki2.dovecot.org/Debugging/Rawlog
> 
> Either you have set a namespace prefix to Thunderbird, or it's listing only 
> subscribed folders and you don't have any subscriptions.

You are right. In the meantime I found out that the default config in
thunderbird lists only subscribed folders. Changing this setting makes it work
as expected. Thank you for your hint.

-- 
Regards,
Stephan


[Dovecot] thunderbird detach attachment

2013-04-10 Thread mourik jan heupink

Hi all,

Thunderbird has an option to detach attachments from (for example) sent 
items. I've tried it, and it does not work, and also in the dovecot logs 
I don't see anything interesting meanwhile.


Before looking deeper into this: Does anyone here know if this option is 
known to work, or not?


We're running dovecot 2.1.7 on debian wheezy.

Removing unwanted attachments is a nice way to keep mail archives smaller...

Thanks,
MJ


Re: [Dovecot] How to see folders/subfolders/emails through imap

2013-04-10 Thread Timo Sirainen
On 10.4.2013, at 11.21, Stephan von Krawczynski  wrote:

> Sorry, it seems not that easy.
> I had to find out that sylpheed works correctly now, but thunderbird does not
> show anything, just like before.
> Is there a way to log all imap commands and replies?

http://wiki2.dovecot.org/Debugging/Rawlog

Either you have set a namespace prefix to Thunderbird, or it's listing only 
subscribed folders and you don't have any subscriptions.



Re: [Dovecot] How to see folders/subfolders/emails through imap

2013-04-10 Thread Stephan von Krawczynski
On Tue, 9 Apr 2013 22:07:01 +0200
Stephan von Krawczynski  wrote:

> On Tue, 09 Apr 2013 21:19:25 +0200
> Steffen  wrote:
> 
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Stephan von Krawczynski wrote:
> > > On Tue, 9 Apr 2013 16:50:40 +0200 (CEST) Steffen Kaiser
> > >  wrote:
> > 
> > > I tried to tell dovecot that  is 
> > > mail_location=maildir::LAYOUT=fs
> > 
> > Works for me, Dovecot v2.2RC3
> > 
> > mail_location = maildir:/home/fs:LAYOUT=fs
> > mkdir -p /home/fs/foo/{tmp,cur,new}
> > mkdir -p /home/fs/foo/bar/{tmp,cur,new}
> > 
> > telnet localhost 143
> > 0 login nnn nnn
> > 1 list "" "*"
> > * LIST (\HasChildren) "/" foo
> > * LIST (\HasNoChildren) "/" foo/bar
> > * LIST (\HasNoChildren) "/" INBOX
> > 1 OK List completed.
> 
> Ok, I solved it thanks to your striking example. The problem was: the clients
> remembered something from earlier sessions where the dovecot config was
> probably not correct. I removed the mailbox from the client and recreated it
> and now I see the correct list of folders. Thanks a lot for this hint.

Sorry, it seems not that easy.
I had to find out that sylpheed works correctly now, but thunderbird does not
show anything, just like before.
Is there a way to log all imap commands and replies?

-- 
Regards,
Stephan