Re: [Dovecot] UIDL question

2008-11-27 Thread Jase Thew

Wouter van der Schagt wrote:

Hi all,

I'm migrating a Postfix + Dovecot 1.0 server with mboxes to Qmail + Dovecot
1.4 with Maildirs and encounter the following the problem.

Using perfect-maildir.pl from: http://perfectmaildir.home-dn.net/ i can
relatively succesfully convert the mbox to a Maildir. The problem, however
is that clients with "leave mail on server" set to on retrieve all email a
2nd time.

I understand this must be because the email client "sees" a different UIDL
and downloads the message again. Looking at the 1.0 configuration, i do not
see a "pop3_uidl_format" setting. So was wondering how the UIDL is
generated.

Is anybody aware of a conversion script that properly maintains the UIDL? Or
am I misisng something else here?


Hi,

Please look at http://wiki.dovecot.org/Migration/MailFormat

There's a modified version of mb2md.pl there that will keep the existing 
UIDL info.


As for "pop3_uidl_format", I seem to recall the source needing 
modification to change the format in earlier versions of Dovecot, until 
it was added as a configuration option.


OT: I'm curious as to why you're migrating from Postfix to Qmail.

Regards,

Jase.


Re: [Dovecot] Adding Disclaimer to emails

2009-01-15 Thread Jase Thew

Odhiambo Washington wrote:

On Wed, Jan 14, 2009 at 8:40 PM, Romer Ventura  wrote:


That's what i thought. And it is not me who wants to put the disclaimer...
It is the CFO and CEO so if they say put it, i have to put whatever they
want to put in it...

Thanks



So tell them it's not possible with Postfix (we don't even do it with Exim)
and justify it. Then ask them (subject to your willingless to go that way
and their willingness to pay for the hardware and software) to take you for
M$ Exchange training, buy Exchange, buy third party software to add
disclaimers and you are ready to go!
They are "god" anyway, so you just want to do as they say/want:-)




I don't know whether that was intended as sarcasm or not, but it 
certainly _is_ possible to do it with Postfix, albeit with the help of 
external scripts/utilities.


One of the most common ways of doing it is to employ the use of 
AlterMIME. Googling for "postfix disclaimer" will bring up various 
HOWTOs detailing how to implement this with AlterMIME , along with other 
solutions.


Regards,

Jase.


[Dovecot] Problem with 'doveadm mailbox status -t' reporting cumulative vsizes after upgrading from v2.0.16 to v2.1.7

2012-06-18 Thread Jase Thew
Hi,

I upgraded from Dovecot v2.0.16 to v2.1.7 over night and I noticed this
morning that one of my daily reports which lists summarised mailbox
sizes per user has started listing nonsense for vsizes.

The reporting script at its core calls :

doveadm -f flow mailbox status -A -t 'messages vsize' '*'

It appears that Dovecot 2.1.7 is not resetting the vsize after collating
the sum total of mailboxes sizes for each user, so that vsize just
constantly increases as it iterates over each user.

Eg:

# doveadm -f flow mailbox status -A -t 'messages vsize' '*'

accou...@example.com messages=1 vsize=759
a...@example.com messages=0 vsize=759
a...@example.com messages=24 vsize=51699697
a...@example.com messages=5446 vsize=3220940815
a...@example.com messages=50 vsize=3224035563
care...@example.com messages=1 vsize=3224036311
cr...@example.com messages=2471 vsize=4421343199
creat...@example.com messages=189 vsize=4426884182
da...@example.com messages=8 vsize=4440729729
dav...@example.com messages=0 vsize=4440729729
enquir...@example.com messages=1 vsize=4440730491
ge...@example.com messages=4109 vsize=6349098844
g...@example.com messages=86 vsize=6392599904
ho...@example.com messages=2000 vsize=7200342663
i...@example.com messages=0 vsize=7200342663
i...@example.com messages=4 vsize=7200558689
jac...@example.com messages=2 vsize=7200721146
j...@example.com messages=137 vsize=7210548548
j...@example.com messages=16667 vsize=15260532446
ka...@example.com messages=1 vsize=15260533375
m...@example.com messages=0 vsize=15260533375
mik...@example.com messages=9 vsize=15261474205
mik...@example.com messages=296 vsize=15314352543
m...@example.com messages=6357 vsize=20631446344
n...@example.com messages=1184 vsize=21038046728
soc...@example.com messages=65 vsize=21038935461
w...@example.com messages=85 vsize=21057572390
[SNIP]

The same occurs with -u '*@example.com' in place of -A, and also for
'all' in place of 'messages vsize'.

Is this expected behaviour in 2.1.x compared to 2.0.x, or have I
stumbled upon a bug?

Regards,

Jase Thew.


Re: [Dovecot] Problem with 'doveadm mailbox status -t' reporting cumulative vsizes after upgrading from v2.0.16 to v2.1.7

2012-07-03 Thread Jase Thew
On 27/06/2012 10:25, Timo Sirainen wrote:
> On Mon, 2012-06-18 at 18:35 +0100, Jase Thew wrote:
>> The reporting script at its core calls :
>>
>> doveadm -f flow mailbox status -A -t 'messages vsize' '*'
>>
>> It appears that Dovecot 2.1.7 is not resetting the vsize after collating
>> the sum total of mailboxes sizes for each user, so that vsize just
>> constantly increases as it iterates over each user.
> 
> Fixed: http://hg.dovecot.org/dovecot-2.1/rev/d8d587bd5a29
> 

Thank you.

Regards,

Jase Thew.



Re: [Dovecot] TLS / SSL mixed w/ plaintext auth and virtual hosting

2009-08-26 Thread Jase Thew

On 27/08/2009 02:27, Nathan M wrote:

1. Ideal scenario.  A config option which tells TLS to only respond on
certain IPs.  In our case if a connection attempts to initiate TLS on
any IP address except 10.0.0.2, it would respond with no TLS support.
This would be ideal as we could continue running just a single dovecot
instance.

   
You could use your local flavour of firewall (iptables, ipfw, pf, 
whatever) with a rule to pass inbound TCP to 10.0.0.2:993 and then a 
following rule to drop all other inbound TCP to port 993 ?


Regards,

Jase.


Re: [Dovecot] Lazy expunge? URGENT

2009-08-29 Thread Jase Thew

On 29/08/2009 16:02, Erik Janson wrote:

I have configured Dovecot namespace alike Courier has:

mail_location = maildir:~/.Maildir
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}

Question: How should I configure lazy expunge for it?

br,

erik

   

http://wiki.dovecot.org/Plugins/Lazyexpunge

Regards,

Jase.