rescann / reindex / rebuild a subfolder structure

2017-06-13 Thread Götz Reinicke - IT Koordinator

Hi,

an user is missing all mail from a folder and all subfolders which are 
still saved in the users maildir directory on the dovecot server.


From an imap client she sees the main folder but empty. No subfolders.

She told me with an other imap client and a new created account she has 
the same problem.


Question: Can I resync / regenerate some folder... index 
something-files from the dovecot side?


Thanks for hints and regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Login just at special timeslots / working hours

2016-09-28 Thread Götz Reinicke - IT Koordinator
Hi thanks,

Am 27.09.16 um 17:07 schrieb Tom Hendrikx:
>
> On 27-09-16 17:03, Aki Tuomi wrote:
>>> On September 27, 2016 at 5:42 PM Götz Reinicke - IT Koordinator 
>>>  wrote:
>>>
>>>
>>> Hi,
>>>
>>> is there a dovecot feature I did not found yet, which can limit the
>>> access to the server to special timeslots like working hours?
>>>
>>> Or is that a serverside / sssd / auth / pam / account feature?
>>>
>>> Thanks for hints to some helpfull documentation and sugesstions.
>>>
>>> Regards . Götz
>>>
>>>
>> At least this is doable with PAM. See 
>> http://www.linux-pam.org/Linux-PAM-html/sag-pam_time.html
>>
>> Aki
>>
>
> You could also use http://wiki.dovecot.org/PostLoginScripting . There is
> a nice example named 'Denying connection from some IP/User'.
>
> Regards,
>   Tom

the PostLoginScripting looks like the best option right now. Our Users
aren't authenticated by pam on the dovecot server, so I'll check the script.

Regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Login just at special timeslots / working hours

2016-09-27 Thread Götz Reinicke - IT Koordinator
Hi,

is there a dovecot feature I did not found yet, which can limit the
access to the server to special timeslots like working hours?

Or is that a serverside / sssd / auth / pam / account feature?

Thanks for hints to some helpfull documentation and sugesstions.

Regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Error: Timeout (180s) while waiting for lock for transaction log file dovecot.index.log

2016-08-02 Thread Götz Reinicke - IT Koordinator
Hi,

our maildir store is on a NFS share which was working fine for some time
with the recommended setting from the dovecot wiki; suddenly today i got
informed that one user has login problems to his mails and I have some
messages in the logs:

Error: Timeout (180s) while waiting for lock for transaction log file
../Maildir/dovecot.index.log

My current guess is a hick up in the network during a router
configuration this weekend.

My question:

How to solve the problem? I can restart the nfs service/server later
this day, as well as the mailserver ... as there is a kernel update too.

Do I have to initiate some resync or deletion of index or whatsoever files?

Thanks for any feedback and regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Re: any news Enterprise Repository Access?

2016-07-26 Thread Götz Reinicke - IT Koordinator
Am 26.07.16 um 21:12 schrieb Alexander Dalloz:
> Am 26.07.2016 um 14:41 schrieb Sami Ketola:
>>
>>> On 26 Jul 2016, at 09:18, Götz Reinicke - IT Koordinator
>>>  wrote:
>>>
>>> Hi,
>>> we had access to the repository and it was working fine. But as we cant
>>> get the 2.2.25 update I was looking into the repofolders and there are
>>> RPMs "just" for RHEL 6// but not 5 any more.
>>>
>>> My be I missed the latest discussions or announcements? Could you give
>>> me an update on information and may be the RHEL 5 RPMs too?
>>>
>>> Thanks a lot and regards . Götz
>>
>>
>> Dovecot EE build support for RHEL 5 / CentOS 5 is going away soon
>> even if we still made one more build for CentOS 5. Please upgrade
>> your system.
>>
>> Sami
>
> Not only because of dovecot
>
> [21:09:27 CEST]  CentOS 5 will go EOL on 31 March, 2017 -- in
> 35 weeks, 2 days, 4 hours, 50 minutes, and 47 seconds but be aware
> that it is now in production phase 3 and only receives critical updates
>
> Alexander
Thx for your both feedback, and yes, it is EOL but as you mentioned in
35+ weeks. O.K. Redhat never did a dovecot update to the current version
and as a lot of customers we think the update policy for some software
should be changed too to support more modern versions of "core" server
services. But that's not a dovecot topic ;)

That dovecot offers still  EE build for free is great, but a road map on
what the future subscription plans are would be nice; e.g low cost fee
for just the repos, higher fees for support etc. That's what I missed.

Regards . Götz



 



smime.p7s
Description: S/MIME Cryptographic Signature


any news Enterprise Repository Access?

2016-07-26 Thread Götz Reinicke - IT Koordinator
Hi,
we had access to the repository and it was working fine. But as we cant
get the 2.2.25 update I was looking into the repofolders and there are
RPMs "just" for RHEL 6// but not 5 any more.

My be I missed the latest discussions or announcements? Could you give
me an update on information and may be the RHEL 5 RPMs too?

Thanks a lot and regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


quota config - when is the warning messag send?

2016-07-14 Thread Götz Reinicke - IT Koordinator
Hi,

we run dovecot 2.2.24 and from what I see, quota management with warning
message is configured currently with "noenforcing".

Our individual quota limit is stored in the users ldap DN which is
fetched as I see from the logs and by "doveadm quota get -u"

I tried to trigger the warning mail by going over the limit on my
account step by step and can see that values are counted with the
command above and in thunderbird by showing the orange and than red
warning symbol at the bottom for me.

But the warning mail script is not triggert. How may I debug this?

from 90-quota.conf:

service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  user = vmail # dovecot
  unix_listener quota-warning {
user = vmail
  }
}

/usr/local/bin/quota-warning.sh is owned currently by vmail and
executable by vmail.


Thanks for feedback and suggestion . /Götz




smime.p7s
Description: S/MIME Cryptographic Signature


Suggestions? Moving maildir to new storage and may be switch to mdbox

2016-07-01 Thread Götz Reinicke - IT Koordinator
Hi,

we got a new storage for our mails and now we think about the best way
to use it.

Currently about 1TB is stored in maildirs, some mail has been moved to
client side local storage temporarily to get space on the old storage.

I think of different options, some downtime in mind:

a) stay with maildir and just rsync/move all mail to the new storage,
mount the new storage at the old mountpoint (or may be new mountpoint
and edit the dovecot config).

b) "dsync backup" users maildir to mdboxes at a temp mountpoint and
change the dovecot config afterwords.

c) your suggestions or best practice


Thanks for feedback . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Mailboxes on NFS or iSCSI

2016-06-22 Thread Götz Reinicke - IT Koordinator
Hi,

Am 22.06.16 um 16:40 schrieb Miloslav Hůla:
> Hello,
>
> we are running Dovecot (2.2.13-12~deb8u1) on Debian stable. Configured
> with Mailbox++, IMAP, POP3, LMTPD, Managesieved, ACL. Mailboxes are on
> local 1.2TB RAID, it's about 5310 accounts.
>
> We are slowly getting out of space and we are considering to move
> Mailboxes onto Netapp disk array with two independent network
> connections.
>
> Are there some pitfalls? Not sure we should use NTP or iSCSI mounts
> (both open implementations are not so shiny).
>
> Thanks for sharing any experiences.

have a look at my question and the answers from the yesterday posting
"Storage upgrade maildir suggestions". May be they help you too.

Regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Storage upgrade maildir suggestions?

2016-06-22 Thread Götz Reinicke - IT Koordinator
Hi Daniel,

thanks for your feedback. Adding more disks is adding a new shelf as all
slots are in use and this is a sun/intel server with all slots already
in use.

Ceph is our goal for this year for some filestorages but for mail I'll
need space now xD ... O.K. I'll check some storage with a bigger disk;
may be some small "iscsi-box".

Regards . Götz

Am 21.06.16 um 21:53 schrieb Daniel van Ham Colchete:
> Gotz,
>
> at that level of usage I would just add more drives. Working with
> NFS/clustering is not worth it when you are at that level. In the following
> months I'll send a e-mail to the list here talking about how I'm using Ceph
> FS successfully with Dovecot, but it's a lot of trouble. At the 1TB/2TB/4TB
> level, just go out and buy a bigger disk.
>
> As a side note, with too may emails it is always a problem to have too many
> small files. I would recommend taking a look at mdbox.
>
> Best,
> Daniel Colchete
>
> On Tue, Jun 21, 2016 at 4:17 AM, Götz Reinicke - IT Koordinator <
> goetz.reini...@filmakademie.de> wrote:
>
>> Hi,
>>
>> we start to run out of diskspace soon as our users start to keep mails
>> for longer time periods. That's fine, but space consuming.
>>
>> The maildirs are about 1 TB in total, and not long ago we enabled zlib
>> which is very nice.
>>
>> Now I have some thoughts about the next steps:
>>
>> a) Migrating the whole system to a new server with more storage?
>>
>> b) Install a virtual server for the mailsystem and an extra storage
>> system may be NFS?
>>
>> c) Stay with the current server and move all mails to a bigger NFS storage.
>>
>> The last option c) would be the most easy one for me as I currently have
>> NFS space.
>>
>> Any thoughts? Hints regarding the NFS storage? Pros Cons?
>>
>> I have seen the dovecot wiki on NFS already and for now we will stay
>> with one single dovecot server.
>>
>>
>> Thanks and regards . Götz
>>
>>
>>
>>



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Storage upgrade maildir suggestions?

2016-06-22 Thread Götz Reinicke - IT Koordinator
Am 21.06.16 um 16:09 schrieb Marcus Rueckert:
> On 2016-06-21 07:17, Götz Reinicke - IT Koordinator wrote:
>> Hi,
>>
>> we start to run out of diskspace soon as our users start to keep mails
>> for longer time periods. That's fine, but space consuming.
>>
>> The maildirs are about 1 TB in total, and not long ago we enabled zlib
>> which is very nice.
>>
>> Now I have some thoughts about the next steps:
>>
>> a) Migrating the whole system to a new server with more storage?
>>
>> b) Install a virtual server for the mailsystem and an extra storage
>> system may be NFS?
>>
>> c) Stay with the current server and move all mails to a bigger NFS
>> storage.
>>
>> The last option c) would be the most easy one for me as I currently have
>> NFS space.
>>
>> Any thoughts? Hints regarding the NFS storage? Pros Cons?
>>
>> I have seen the dovecot wiki on NFS already and for now we will stay
>> with one single dovecot server.
>
> FC or iSCSI as storage.
>
> and always have a lvm layer between your HW and the FS. that way you
> can easily attach
> more disk to the stripe set and grow your storage that way.
>
>darix
>
Hi Darix,

thanks for that feedback. Currently we are moving away in lot of areas
from iscsi as it is to mutch maintenance for us. But may be we go with a
small one for the mailsystem ...

Regards . Götz



smime.p7s
Description: S/MIME Cryptographic Signature


Storage upgrade maildir suggestions?

2016-06-21 Thread Götz Reinicke - IT Koordinator
Hi,

we start to run out of diskspace soon as our users start to keep mails
for longer time periods. That's fine, but space consuming.

The maildirs are about 1 TB in total, and not long ago we enabled zlib
which is very nice.

Now I have some thoughts about the next steps:

a) Migrating the whole system to a new server with more storage?

b) Install a virtual server for the mailsystem and an extra storage
system may be NFS?

c) Stay with the current server and move all mails to a bigger NFS storage.

The last option c) would be the most easy one for me as I currently have
NFS space.

Any thoughts? Hints regarding the NFS storage? Pros Cons?

I have seen the dovecot wiki on NFS already and for now we will stay
with one single dovecot server.


Thanks and regards . Götz





smime.p7s
Description: S/MIME Cryptographic Signature


Re: overview zlib efficiency? Summary and added note

2016-03-16 Thread Götz Reinicke - IT Koordinator
Am 15.03.16 um 16:01 schrieb Götz Reinicke - IT Koordinator:
> Hi,
> 
> may be someone has already done that: Do you have a script(?) tool which
> shows the efficiency of the mail compression if zlib is used?
> 
> Something that shows the uncompressed size vrs. the compressed.

Hi,

maybe my question was a bit misleading. But anyway thanks for your
feedback regarding your experiences and compression rates.

We already thought about the benefit of less IO and more CPU power,
which is no concern.

The mailboxes I checked also go with 40-60% compression rate.

But what I was looking for was a tool or way to see what volume would be
used if we where not using compression.

e.g. "du -hs --without-zlib"

Our management would like to see a graph one day which shows the volume
uncompressed and compressed ...

Adding zlib with mdbox or maildir - as we do it currently - is from my
POV if you have the CPU power a MUST :)

happy dovecoting - Götz





smime.p7s
Description: S/MIME Cryptographic Signature


overview zlib efficiency?

2016-03-15 Thread Götz Reinicke - IT Koordinator
Hi,

may be someone has already done that: Do you have a script(?) tool which
shows the efficiency of the mail compression if zlib is used?

Something that shows the uncompressed size vrs. the compressed.

Thanks for hints! /Götz




smime.p7s
Description: S/MIME Cryptographic Signature


questions regarding zlib plugin

2016-03-04 Thread Götz Reinicke - IT Koordinator
Hi,

faced with a current space problem on our dovecot 2.2.18 server, I
thought about using the zlib plugin.

My questions:

- is it really as simple as adding the options to the conf files as
described in the docs :) ? http://wiki2.dovecot.org/Plugins/Zlib

- As this just compresses new messages; dose anybody has a sort of
simple cron or whatever script or best practice how to compress existing
maildir mails? The doc is a bit complicated to me at that point...

Thanks a lot and regards . Götz



smime.p7s
Description: S/MIME Cryptographic Signature


Re: v2.2.20 released

2015-12-08 Thread Götz Reinicke - IT Koordinator
Hi,
Am 07.12.15 um 20:13 schrieb Timo Sirainen:
> http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz
> http://dovecot.org/releases/2.2/dovecot-2.2.20.tar.gz.sig
> 
> This could be (one of) the last v2.2.x release. We're starting v2.3 
> development soon.

<...>


May be I missed something, we are on the rpm release channel
yum.dovecot.fi on centos 5.11

The most recent rpm is 2.2.18

Has 2.2.19 not been released? So will 2.2.20?

Thanks for feedback and regards . Götz



smime.p7s
Description: S/MIME Cryptographic Signature


Re: sieve is working/forwarding mail - but not for all users - SOLVED

2015-11-25 Thread Götz Reinicke - IT Koordinator
Thanks all,

found a config file with the adjusted sieve_max_redirects which was
saved during an update.

Regards . Götz
Am 25.11.15 um 15:32 schrieb Urban Loesch:
> Hi,
> 
> to how many addresses do you redirect the incoming mails?
> Could it be that you hit the "sieve_max_redirects = n" configuration 
> parameter?
> 
> Regards
> Urban
> 
> Am 25.11.2015 um 15:05 schrieb Götz Reinicke - IT Koordinator:
>> Hi,
>>
>> we have dovecot-ee-2.2.18.2 and pigeonhole/managesieve 0.4.8 running for
>> some time.
>>
>> Today some users informed us that they did not get mails from one
>> project account forwarded to there personal accounts any more.
>>
>> This worked till one week ago and I cant think of any changes we made...
>>
>> The project account keeps a copy of received mails.
>>
>> I tried two different accounts to configure forwarding to internal and
>> external mail addresses which is working.
>>
>> Question: Any hint or idea? How may I debug sieve forwarding?
>>
>>  Thanks and regards . Götz
>>





smime.p7s
Description: S/MIME Cryptographic Signature


sieve is working/forwarding mail - but not for all users

2015-11-25 Thread Götz Reinicke - IT Koordinator
Hi,

we have dovecot-ee-2.2.18.2 and pigeonhole/managesieve 0.4.8 running for
some time.

Today some users informed us that they did not get mails from one
project account forwarded to there personal accounts any more.

This worked till one week ago and I cant think of any changes we made...

The project account keeps a copy of received mails.

I tried two different accounts to configure forwarding to internal and
external mail addresses which is working.

Question: Any hint or idea? How may I debug sieve forwarding?

Thanks and regards . Götz



smime.p7s
Description: S/MIME Cryptographic Signature


Re: updating and wsitching repo to yum.dovecot.fi - Unknown protocol: sieve

2015-10-30 Thread Götz Reinicke - IT Koordinator
Am 30.10.15 um 15:44 schrieb Teemu Huovila:
> 
> 
> On 30.10.2015 15:35, Götz Reinicke - IT Koordinator wrote:
>> Am 30.10.15 um 11:49 schrieb Teemu Huovila:
>>>
>>>
>>> On 30.10.2015 12:18, Götz Reinicke - IT Koordinator wrote:
>>>> Hi,
>>>>
>>>> winter is coming and so I start to clean up some left overs of the year.
>>>>
>>>> One thing is to use the yum.dovecot.fi repository.
>>>>
>>>> After installing the current availabel dovecot and dovecot-ee-pigeonhole
>>>> package and restarting dovecot I do get the error:
>>>>
>>>>
>>>> doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf:
>>>> protocols: Unknown protocol: sieve
>>> Could you please reply with the output of doveconf -n
>>
>>
>> my guess: in the currently used rpms the "managesieve" libs are
>> included; for the official dovecot repo I do have to install the
>> dovecot-ee-managesieve.rpm too...
> Yes, if you have "protocols = sieve .." then you need the managesieve package 
> too. Also, to use sieve filtering, you need to load the sieve plugin in 
> mail_plugins for lmtp or lda. Please refer to 
> http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
> http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Configuration

Hi,

currently sieve filtering is working (sieve plugin in mail_plugins for
lmtp is enabled) with the old repo packages; do I have to install an
other something-plugin.rpm from the dovecot repo?

Thanks & Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: updating and wsitching repo to yum.dovecot.fi - Unknown protocol: sieve

2015-10-30 Thread Götz Reinicke - IT Koordinator
Am 30.10.15 um 11:49 schrieb Teemu Huovila:
> 
> 
> On 30.10.2015 12:18, Götz Reinicke - IT Koordinator wrote:
>> Hi,
>>
>> winter is coming and so I start to clean up some left overs of the year.
>>
>> One thing is to use the yum.dovecot.fi repository.
>>
>> After installing the current availabel dovecot and dovecot-ee-pigeonhole
>> package and restarting dovecot I do get the error:
>>
>>
>> doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf:
>> protocols: Unknown protocol: sieve
> Could you please reply with the output of doveconf -n


my guess: in the currently used rpms the "managesieve" libs are
included; for the official dovecot repo I do have to install the
dovecot-ee-managesieve.rpm too...


# 2.2.18.2 (866bffbafde7): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-371.6.1.el5xen x86_64 CentOS release 5.11 (Final)
auth_debug = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
default_client_limit = 4000
default_process_limit = 4000
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
login_trusted_networks = 193.196.129.21
mail_debug = yes
mail_location = maildir:~/Maildir
mail_plugins = mail_log notify quota acl
mail_privileged_group = mail
mdbox_rotate_size = 10 M
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
  separator = /
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes
  quota = dict:User quota::noenforcing:file:%h/dovecot-quota
  quota_rule = *:storage=5G
  quota_rule2 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = postmas...@filmakademie.de
protocols = imap pop3 lmtp sieve sieve
quota_full_tempfail = yes
service auth {
  unix_listener /var/spool/postfix/private/auth {
mode = 0666
  }
  unix_listener auth-userdb {
group = vmail
user = vmail
  }
  user = root
}
service imap-login {
  process_limit = 1024
  process_min_avail = 16
  service_count = 0
}
service imap {
  process_limit = 1024
}
service lmtp {
  inet_listener lmtp {
address = 127.0.0.1
port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  service_count = 1
}
service managesieve {
  process_limit = 1024
}
service pop3-login {
  process_limit = 1024
  process_min_avail = 16
  service_count = 0
}
service pop3 {
  process_limit = 1024
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
user = vmail
  }
  user = dovecot
}
ssl_ca = 

smime.p7s
Description: S/MIME Cryptographic Signature


updating and wsitching repo to yum.dovecot.fi - Unknown protocol: sieve

2015-10-30 Thread Götz Reinicke - IT Koordinator
Hi,

winter is coming and so I start to clean up some left overs of the year.

One thing is to use the yum.dovecot.fi repository.

After installing the current availabel dovecot and dovecot-ee-pigeonhole
package and restarting dovecot I do get the error:


doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf:
protocols: Unknown protocol: sieve


Is the sieve protocol an extra package? I thought in the 2.2. tree I
dont have to do bigger config changes.

We run already 2.2.something from city-fan.org and the switch was also
the idea of going to the most recent release.


Thanks for hints and feedback . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: backing up email / saving maildir on external hard drives

2015-08-11 Thread Götz Reinicke - IT Koordinator
Hi Kevin,

if you use maildir, I bet there is not a single mail bigger than 100 MB.
So ALL mails are 40 GB, but may be hundreds and thousands small ones ...?

Or did you compress all files in one 40GB tar/gz/zip/... ?

So fat32 is good for small files.

BUT if you like to transfer as well e.g. DVD iso images larger than > 4
GB that might be a problem.

From what I think is good for you to go with, you could do a "rsync ...
magic needed options" that maildir to the FAT32 Disk.

So you can read it on all systems without extra tools.

Furthermore if you want to do an other backup or "update" your files run
an other rsync ... so you dont have to compress a big archive all the time.

As the others pointed out, what do you want to do, what is your requirement?

Especially in a Linux/Mac/Win World there is no one sizes fits all.

An other thing is: If you dont need to move your external disk around a
lot or take it with you on the go, think of a NAS; e.g. two disks,
mirrored raid so you can access it without big problems from all OSs ..


my2cents. /Götz



Am 08.08.15 um 18:15 schrieb Kevin Laurie:
> Dear Christian,
> Thanks for your feedback.
> The HDD will not accept larger than 4GB (as its in FAT format). Its a new
> external HDD. Thinking of the best format(that would work with Mac , Win
> and Linux) .seems like a challenge.
> What's your view on NTFS? And why not exFAT?
> 
> Thanks
> Kevin
> 
> On Saturday, August 8, 2015, Christian Kivalo  wrote:
> 
>>
>>
>> Am 08. August 2015 06:56:55 MESZ, schrieb Kevin Laurie <
>> superinterstel...@gmail.com >:
>>> Hello,
>>> Yesterday I tried to back up a 40GB maildir .
>>> I tried to move the maildir from home to external HDD but failed.
>>> Decided
>>> then to compress it(which took several hours). Now changing the disk
>>> format
>> >from FAT to exFAT to allow the transfer for the large compressed file.
>>>
>>> How does one back up emails on a external drive?
>>> Some advice would be greatly appreciated.
>>
>> i backup my maildir with rsync to my home nas.
>>
>> i assume you are using linux or similar, so when backing up to an external
>> hdd i'd also use rsync to copy over the maildir as is to the external hdd
>> but use a different filesystem n that hdd like ext4 or xfs or anything else
>> than fat/vfat/exfat.
>>
>> when something goes wrong you can just copy the files back.
>>
>> what was the error message you got when you tried to copy to the ext. hdd?
>>
>> regards
>> - c
>>





smime.p7s
Description: S/MIME Cryptographic Signature


Re: backing up email / saving maildir on external hard drives

2015-08-11 Thread Götz Reinicke - IT Koordinator
Hi,

talking of rsync and compression is may be also a bit misleading.

On the destination there will be no compressed files if you transfer
with rsync! The transfere on the network by rsync might be compressed!


/Götz


Am 09.08.15 um 18:33 schrieb Kevin Laurie:
> Dear Steve,
> Very valuable info. Appreciate it and will be careful when using terms.
> Actually I think I should just use rsync without compressing. The reason
> why I started compressing was because the GUI gave some errors when I was
> trying to copy then files.
> 
> I'll just rsync the data from my laptop HDD to my external drive(without
> compressing)
> 
> Thanks
> Kevin
> 
> On Sunday, August 9, 2015, Steve Litt  wrote:
> 
>> On Sat, 8 Aug 2015 10:26:55 +0530
>> Kevin Laurie > wrote:
>>
>>> Hello,
>>> Yesterday I tried to back up a 40GB maildir .
>>> I tried to move the maildir from home to external HDD but failed.
>>
>> If you tried to *move* it it's an archive, not a backup. If you tried
>> to *copy* it, with the intent of keeping the original on the original
>> hard disk and using it further, and keeping today's copy on some other
>> media, *that's* a backup. I'm not trying to be pedantic, but there are
>> many distinctions between the two. Archives must be re-transferred
>> frequently: Backups merely need to be redone at intervals.
>>
>>> Decided then to compress it(which took several hours). Now changing
>>> the disk format from FAT to exFAT to allow the transfer for the large
>>> compressed file.
>>
>> Reading https://en.wikipedia.org/wiki/File_Allocation_Table#exFAT , I
>> personally wouldn't use exFAT. Regular FAT32 has a max filesize of
>> 2GB-1, which is 50 times the size of your whole uncompressed maildir.
>>
>>>
>>> How does one back up emails on a external drive?
>>> Some advice would be greatly appreciated.
>>
>> Check this out:
>>
>> 
>> slitt@mydesq2:~$ df -h ~/mail/Maildir
>> Filesystem  Size  Used Avail Use% Mounted on
>> /dev/sdb8   116G   11G  100G  10% /home/slitt/mail/Maildir
>> slitt@mydesq2:~$
>> 
>>
>> I don't have 40 GB, but * have 11, which is less than an order of
>> magnitude away. I just back up this puppy to my backup server with my
>> normal rsync based backup procedures, which you can read about here:
>>
>> * http://www.troubleshooters.com/lpm/200609/200609.htm
>>
>> * http://www.troubleshooters.com/linux/blu-ray-backup.htm
>>
>> * http://www.troubleshooters.com/lpm/201408/201408.htm
>>
>> The stuff about Blu-Ray is important only if you back up to blu-ray. I
>> like to keep some backups on write-once media, because kept in the
>> shade at reasonable temperatures and humidities, it tends to last
>> longer. And spinning disks that spend the majority of their time not
>> spinning tend to have problems.
>>
>> If this is a *backup*, I'd leave it uncompressed so you can take
>> incremental backups regularly. If it's an *archive*, meaning that the
>> data is immediately removed from your computer after copy, compression
>> might be in order, but you should make two copies and test them both
>> thoroughly before deleting the original, and you should test them every
>> couple months and if either goes bad, copy the other one to something
>> good. Archives are a PITA. For 40GB in these days of $150 2TB drives,
>> I'd keep the data intact, back it up, and when you outgrow your hard
>> drive, just get a bigger one.
>>
>> In other parts of this thread you ask how to separate backups from
>> different accounts from different computers. As far as accounts, I
>> think that Maildir directory structures would take care of that. As far
>> as different machines, just put the hostname at the front of each
>> destination directory.
>>
>>
>>
>> SteveT
>>
>> Steve Litt
>> July 2015 featured book: Rapid Learning for the 21st Century
>> http://www.troubleshooters.com/rl21
>>


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


how to recover mails - dovecot 2.2.13

2014-11-20 Thread Götz Reinicke - IT Koordinator
Hi,

I still have a messed up user account, with no mail client (appl mail,
thunderbird, sogo) mails show up as expected. Folders look empty, some
have something in it, but cant access the mails.

My idea is, to move the users mal folder, let him regenerate the
folderstructure from scratch and than reimport the old mails.

Question: We use maildir. Can I just copy the "old" mails from e.g.

user-backup/Maildir/curl/*

to

user/Maildir/curl/*

Or which steps are needed? rebuilding any index or something etc ?


Thanks very much for any suggestion!

Regards . Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


help by recovering a mailbox - maildir and dovecot 2.2.13

2014-11-11 Thread Götz Reinicke - IT Koordinator
Hi,

an user screwd up his mailbox in such a way, that I dont see how to get
it back in the right order.

E.g. in the subcriptions file there is a folder

Studienjahr 2014 - 2015.Pitchings

in the filesystem there this folder is in trash and without spaces
between the years:

.Trash.Studienjahr 2014-2015.Pitchings

in the Filesystem ther is no folder

Studienjahr 2014-2015

Currently he uses our sogo as email client ant there are some folders to
showing up but some are empty, some cant be deleted ...


So any help and suggestion in recovering this structure is welcome!

Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Master user and invalid credentials dovecot-2.2.13

2014-09-30 Thread Götz Reinicke - IT Koordinator
Hi,

on the console:

telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.


in the logs:


Sep 30 08:56:23 auth: Debug: client in: AUTH2936PLAIN   service=imap
secured session=fOCd4UIEMAB/AAABlip=127.0.0.1   rip=127.0.0.1
lport=143   rport=54320 resp=
Sep 30 08:56:23 auth: Debug:
passwd-file(user,127.0.0.1,master,): Master user
lookup for login: testma
Sep 30 08:56:23 auth: Debug:
passwd-file(user,127.0.0.1,master,): lookup: user=user
file=/etc/dovecot/master-users
Sep 30 08:56:23 auth: Info:
passwd-file(user,127.0.0.1,master,): Master user
logging in as testma
Sep 30 08:56:23 auth: Info: ldap(testma,127.0.0.1,):
invalid credentials


/Götz
Am 29.09.14 um 15:04 schrieb Clovis Tristao:
> Hi,
> 
> As you are performing the tests?
> Would post the debug log?
> Cheers,
> 
> Clóvis
> 
> Em 29-09-2014 05:08, Götz Reinicke - IT Koordinator escreveu:
>> Hi,
>>
>> I followed the docs from the dovecot wiki
>> (http://wiki2.dovecot.org/Authentication/MasterUsers) and still have
>> some problem:
>>
>> 1. uncommented "!include auth-ldap.conf.ext" in 10-auth.conf
>> 2. htpasswd -b -c -s  to create user/password for a masteruseruser
>> 3. checked auth-master.conf.ext
>>
>> When I try to test the login, I always get an "invalid credentials" in
>> the logs with auth_debug=yes set.
>>
>> dovecot can read /etc/dovecot/master-users
>>
>> The users are in ldap.
>>
>> The example wiki shows the passwords {SHA1}, in my password file
>> they are {SHA}
>>
>> The "master user" posting in september gave some clues what might be
>> wrong, but did not help to solve my problem.
>>
>>
>> Any suggestions are welcome! Thanks and regards. Götz
> 


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Master user and invalid credentials dovecot-2.2.13

2014-09-29 Thread Götz Reinicke - IT Koordinator
Hi,

I followed the docs from the dovecot wiki
(http://wiki2.dovecot.org/Authentication/MasterUsers) and still have
some problem:

1. uncommented "!include auth-ldap.conf.ext" in 10-auth.conf
2. htpasswd -b -c -s  to create user/password for a masteruseruser
3. checked auth-master.conf.ext

When I try to test the login, I always get an "invalid credentials" in
the logs with auth_debug=yes set.

dovecot can read /etc/dovecot/master-users

The users are in ldap.

The example wiki shows the passwords {SHA1}, in my password file
they are {SHA}

The "master user" posting in september gave some clues what might be
wrong, but did not help to solve my problem.


Any suggestions are welcome! Thanks and regards. Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] syncing problems Dovecot 2.2.13

2014-05-16 Thread Götz Reinicke - IT Koordinator
Hi,

we still migrate a couple of users from mbox to maildir.

Most of them are fine without any problem.

Some crash and dont get all mails synced.

first I sync backup the mbox to a maildir-NEW, than copy mbox to a new
name, mv maildir-NEW to maildir.

Now some problematic mailusers miss some mails from the old mbox, so I
start a dsync mirror and BAM crash.

e.g.:

dsync(s108019): Panic: file mbox-lock.c: line 799 (mbox_lock): assertion
failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
dsync(s108019): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0
[0x333fe67f2a] ->
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x35)
[0x333fe68025] -> /usr/lib64/dovecot/libdovecot.so.0 [0x333fe67073] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mbox_lock+0x11c)
[0x334025826c] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mbox_save_begin+0x98d)
[0x334025a5ad] -> /usr/lib64/dovecot/lib10_quota_plugin.so
[0x2b5b619183c2] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_save_begin+0x51)
[0x334027b3f1] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_storage_copy+0x66)
[0x3340275716] -> /usr/lib64/dovecot/lib15_notify_plugin.so
[0x2b5b61b1f215] -> /usr/lib64/dovecot/lib10_quota_plugin.so
[0x2b5b6191852d] -> /usr/lib64/dovecot/lib01_acl_plugin.so
[0x2b5b61707b37] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_copy+0x72)
[0x334027b282] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_move+0x1d)
[0x334027b36d] -> dsyn [0x42f7a5] -> dsyn [0x43351a] ->
dsyn(dsync_mailbox_import_changes_finish+0x165) [0x4339b5] ->
dsyn(dsync_brain_sync_mails+0x58c) [0x42ed6c] ->
dsyn(dsync_brain_run+0x594) [0x42af94] -> dsyn [0x429550] -> dsyn
[0x411eef] -> dsyn(doveadm_mail_try_run+0x25c) [0x41231c] ->
dsyn(main+0x32e) [0x41a92e] -> /lib64/libc.so.6(__libc_start_main+0xf4)
[0x3d3161d9c4] -> dsyn [0x411699]


ANY help and suggestion is very welcome on how to procede.

Regards . Götz


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] 2.2.12 RPM Needed - SOLVED

2014-05-15 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 22:57, schrieb Benny Pedersen:
> Götz Reinicke - IT Koordinator skrev den 2014-05-12 22:05:
>>
>> I downloaded the ATRPM specfile (http://dl.atrpms.net/all/dovecot.spec)
>> and the recent dovecot file and get a
>>
>> Fehler: Ungültige Quelle:
>> /root/rpmbuild/SOURCES/dovecot-2.1-defaultconfig.patch: Datei oder
>> Verzeichnis nicht gefunden
>>
>> when I do rpmbuild -ba dovecot.spec
> 
> do not build rpms as root user, create a non priviledged user that run
> rpmbuild
> 
> and remove the patch from spec file since it properly not needed in
> later versions of dovecot


Thanks for your feedback, but a) I found a repository for the recent
dovecot rpm and b) Timo opened the enterprise repository to recently, so
there is no need any more for us currently to rebuild with e.g. special
or less options/features.

regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Pigeonhole Sieve: Vacation Extension answer to every E-Mail

2014-05-14 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 16:20, schrieb Robert Schetterer:
> Am 14.05.2014 16:09, schrieb Götz Reinicke - IT Koordinator:
>> Hi,
>>
>> dont ask :) but I have two accounts for which I have to configure an
>> auto reply for any e-mail send to it.
> 
> you shouldnt do that , you risk endless mail ping pong

Hi,

that's what my don't ask refers to ... I know that, but currently I dont
have any solid rock arguments/technical solutions how the two users
could achieve what they want in an other way.

Answering any mail by hand with a default sentence is what they want to
avoid.

    Suggestion? Regards . Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] Pigeonhole Sieve: Vacation Extension answer to every E-Mail

2014-05-14 Thread Götz Reinicke - IT Koordinator
Hi,

dont ask :) but I have two accounts for which I have to configure an
auto reply for any e-mail send to it.

As far as I understand Sieve yet, I do have to set
sieve_vacation_min_period = 0 in the dovecot config and set the days
value in the sieve rule.

But as there is a limit of 1 day, I think this is not working. Right?

Is there any other way to accomplish that?

regards . Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Enterprise repository for free now? ;-) (Bug?)

2014-05-14 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 15:38, schrieb Daniel Thielemann:
> Timo answered me already:
> 
>> Intentional. We haven't had time to update the web.
> 
> Enjoy your repo access :D
> 
> Am 14.05.2014 14:17, schrieb Daniel Thielemann:
>> Hi,
>>
>> I bought repo access for 0,00$ one minute ago. If its free now then I
>> wanna say thank you very much, otherwise somebody should fix it :)
>>
>> Take a look here:
>> http://shop.dovecot.fi/home/8-dovecot-ee-repository-access.html
>> Screen: http://www.directupload.net/file/d/3622/oxyo89zm_png.htm

Kowtou and I was doing some research for an rpm for centos/rh 5 :)

/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 11:24, schrieb Thomas Leuxner:
> * Götz Reinicke - IT Koordinator  2014.05.14 
> 10:41:
> 
>> May 14 10:40:00 imap(hansdampf): Error:
>> open(/var/lib/dovecot/db/shared-mailboxes) failed: Permission denied
> 
> Usually the error logs are quite verbose (listing uid,gid), so I wonder if 
> this is the full log message.
> 

Its the full error line. and I cant see anything before or after related
to that.

    hmm . /Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 11:12, schrieb Steffen Kaiser:
> On Wed, 14 May 2014, Götz Reinicke - IT Koordinator wrote:
> 
>> I did an update from dovecot 2.2.10 -> 2.2.13 and now I'm getting errors:
> 
>> May 14 10:40:00 imap(hansdampf): Error:
>> open(/var/lib/dovecot/db/shared-mailboxes) failed: Permission denied
> 
>> Currently the permissions on shared-mailboxes rw-rw-rw but teh error
>> still exists.
> 
> Did you checked the x - permission of all directories in the tree,
> /var/lib/dovecot/db, ... ? Do you use system users or virtual ones?

Hi,

/var/lib/dovecot 750  <- changed it for test to 755

Error is gone.

O.K. thx for the hin; I'll check the groups/permissions down that path.

/Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] Error open(/var/lib/dovecot/db/shared-mailboxes) after update 2.2.10 -> 2.2.13

2014-05-14 Thread Götz Reinicke - IT Koordinator
Hi,

I did an update from dovecot 2.2.10 -> 2.2.13 and now I'm getting errors:

May 14 10:40:00 imap(hansdampf): Error:
open(/var/lib/dovecot/db/shared-mailboxes) failed: Permission denied

Currently the permissions on shared-mailboxes rw-rw-rw but teh error
still exists.

Any hints? Thansk and Regards. Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Dovecot repo for CentOS

2014-05-13 Thread Götz Reinicke - IT Koordinator
Am 14.05.14 05:56, schrieb Eric Kom:
> Hi all,
> Please am looking for a repo for dovecot on CentOS where I can installed
> the latest never.

Search for city-fan dovecot rpm in google is what I was suggested.

Or: Get a payed subscription from http://www.dovecot.fi 99$/year AFAIK.

/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] 2.2.12 RPM Needed

2014-05-12 Thread Götz Reinicke - IT Koordinator
Hi,
Am 24.04.14 21:23, schrieb Reindl Harald:
> 
> 
> Am 24.04.2014 19:37, schrieb Asai:
>> I'm not very experienced in building Source RPMs and we're in need of a 
>> Dovecot RPM for version 2.2.12 for CentOS
>> 5.  It seems that the  ATRPMs repo maintained by Axel Thimm hasn't seen much 
>> activity lately and the task of
>> updating a source RPM is more than I have time for as a busy developer who 
>> does systems admin on the side.
>>
>> Could anybody recommend another repo where there would be the latest Dovecot 
>> binaries?  Or perhaps tell me of any
>> gotchas and catches which might arise if I go ahead and build 2.2.12 from 
>> source over the RPM I currently have
>> installed (2.2.10)?
> 
> you only need to replace the tarball and the version in the SPEC
> and rebuild the package - for monir updates you don't need anything
> else if upstream has no broken release strategy, dovecot's is fine
> 
> i am building dovecot the last two years without any SPEC change
> except version and changelog - but you won't be happy with my
> stripped down SPEC following our infrastructure (no configs etc.)

I downloaded the ATRPM specfile (http://dl.atrpms.net/all/dovecot.spec)
and the recent dovecot file and get a

Fehler: Ungültige Quelle:
/root/rpmbuild/SOURCES/dovecot-2.1-defaultconfig.patch: Datei oder
Verzeichnis nicht gefunden

when I do rpmbuild -ba dovecot.spec

May be I'm heading into the total wrong direction, as I never did build
a rpm before...

May be someone can point me into the right direction?

Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats:
Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer:
Prof. Thomas Schadt


[Dovecot] dsync - Panic: file mail-index-transaction-update.c: line 19

2014-05-12 Thread Götz Reinicke - IT Koordinator
Hi,

we have started to switch our users mails from mbox to maildir and see
for some users panics.

May be someone has a hint on whats causing that and how to fix it?

It's dovecot 2.2.10 on Redhat.

dsync(s109487): Error: Corrupted index cache file
/srv/vmail/s109487/mail/.imap/GS Drehbuch 1/dovecot.index.cache: Broken
physical size for mail UID 42

dsync(s109487): Error: mail parser: read(/srv/vmail/s109487/mail/GS
Drehbuch 1, box=GS Drehbuch 1) failed: Invalid argument
dsync(s109487): Panic: file mail-index-transaction-update.c: line 19
(mail_index_transaction_lookup): assertion failed: (seq >=
t->first_new_seq && seq <= t->last_new_seq)

dsync(s109487): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0
[0x332ea6722a] -> /usr/lib64/dovecot/


Thanks and regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats:
Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer:
Prof. Thomas Schadt


Re: [Dovecot] 2.2.12: Panic: file mail-index.c: line 380 (mail_index_keywords_unref): assertion failed: (keywords->refcount > 0)

2014-05-12 Thread Götz Reinicke - IT Koordinator
Am 02.05.14 12:22, schrieb Timo Sirainen:
> On 23.2.2014, at 17.56, Leho Kraav  wrote:
> 
>> I upgraded 2.1 -> 2.2 something like a week ago because I needed INDEXPVT. 
>> Not sure if this crash started immediately or not, noticed it today looking 
>> at journalctl.
>>
>> Backtrace http://bpaste.net/raw/181944/ and pasted below.
> ..
>> #4  0x7f64dab30d4e in i_panic (format=format@entry=0x7f64dae79848 "file 
>> %s: line %d (%s): assertion failed: (%s)") at failures.c:267
>>ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
>>args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 
>> 0x7fffb9d88df0, reg_save_area = 0x7fffb9d88d30}}
>> #5  0x7f64dae59fbc in mail_index_keywords_unref (_keywords=> out>) at mail-index.c:380
>>keywords = 
>>__FUNCTION__ = "mail_index_keywords_unref"
>> #6  0x7f64dae22657 in mailbox_copy (_ctx=, 
>> mail=mail@entry=0xbcf260) at mail-storage.c:2140
> 
> This should be fixed by http://hg.dovecot.org/dovecot-2.2/rev/db216ddbb5c2

Oh I see, so I should get hands on a newer version.

BTW: I tried to compile my own rpm - failed yet as I never did that before.

On the other hand I contacted the dovecot sales team, may be it's time
to give a bit back to you for your great work on dovecot!

Thx . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats:
Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer:
Prof. Thomas Schadt


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10 - BUG? - Solution

2014-03-04 Thread Götz Reinicke - IT Koordinator
Am 04.03.14 09:24, schrieb Robert Schetterer:
> Am 04.03.2014 09:03, schrieb Götz Reinicke - IT Koordinator:
>> Am 28.02.14 09:19, schrieb Götz Reinicke - IT Koordinator:
>> <...>
>>
>> Hi, thanks to all suggestions, but it looks like the long username (35
>> letters) causes that problem, that just one out of about 1.000 users
>> cant log in.
>>
>> We shorted/changed the username to less than 35 letters and every thing
>> is fine now.
>>
>> dovecot-2.2.10-1_14.el5
>> Red Hat Enterprise Linux Server release 5.10
>> CPU architecture x86_64 SMP
>> Local Filesystem ext3
>> PAM authentication with ldap backend.
>>
>> May be that's a bug? Or feature?
>>
>>  Regards . Götz62
>>
> 
> reading this
> 
> http://www.rfc-editor.org/errata_search.php?rfc=3696&eid=1690
> 
> it should be a bug , until you did not go over the total max limit
> but you may look in ldap problems too, perhaps there is a limit too

Thanks for your feedback,

from that RFC Document it looks like we are save. 35 < 64 characters.

However, the problem is solved when WE change the users login name, so
for curiosity: what has been changed in the dovecot code?

Regards . Götz


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10 - BUG? - Solution

2014-03-04 Thread Götz Reinicke - IT Koordinator
Am 28.02.14 09:19, schrieb Götz Reinicke - IT Koordinator:
<...>

Hi, thanks to all suggestions, but it looks like the long username (35
letters) causes that problem, that just one out of about 1.000 users
cant log in.

We shorted/changed the username to less than 35 letters and every thing
is fine now.

dovecot-2.2.10-1_14.el5
Red Hat Enterprise Linux Server release 5.10
CPU architecture x86_64 SMP
Local Filesystem ext3
PAM authentication with ldap backend.

May be that's a bug? Or feature?

Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10

2014-02-28 Thread Götz Reinicke - IT Koordinator
Am 28.02.14 08:37, schrieb Steffen Kaiser:
> On Thu, 27 Feb 2014, Götz Reinicke - IT Koordinator wrote:
> 
>> Am 27.02.14 17:06, schrieb Steffen:
>>> Götz Reinicke - IT Koordinator wrote:
>>>> Am 27.02.14 09:41, schrieb Steffen Kaiser:
>>>>> I suggest to turn on mail_debug, then you see all paths a.s.o.
>>>
>>>> Switched it on, but there are no more error messages.
>>>
>>> But you'll see lines with home= mail= a.s.o. Are these settings
>>> correct? Maybe, post them, too.
> 
>> I just realised, that I used just a basic configuration (from the
>> migration); I just added and started with the big conf.d and added my
>> setting.
> 
>> There is still the same problem/error in the log, but with some more
>> text:
> 
>> E.g. the rechnungseingang-finanzbuchhaltung looks like:
> 
>> Feb 27 16:59:55 imap(rechnungseingang-finanzbuchhaltung): Debug:
>> Effective uid=3473, gid=1182,
>> home=/home/misc_accounts/rechnungseingang-finanzbuchhaltung
> 
>> Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug:
>> Effective uid=3474, gid=1182, home=
> 
>> list=yes, subscriptions=yes
>> location=mbox:~/:INBOX=/var/mail/rechnungseingang-animationsinstitut
> 
> See that next Info line:
> 
> 
> Home directory not set for user. Can't expand ~/ for mail root dir
> in: ~/
> 
> 
> In contrast to rechnungseingang-finanzbuchhaltung your userdb does not
> return no home dir for rechnungseingang-animationsinstitut, therefore
> your mail_location ~/ expands to the root directory "/".
> 
> You have to correct your userdb. Maybe you need to clean the cache:
> 
> doveadm auth cache flush

Hi,

[root@mail ~]# doveadm auth cache flush
doveadm(root): Error: userdb lookup:
connect(/var/run/dovecotauth-master) failed: No such file or directory
0 cache entries flushed

On the other hand I can confirm, that the user has a homedirectory which
he can access and write to. (e.g. there is a .forward file written by
that user.)

Strange. Cheers . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10

2014-02-27 Thread Götz Reinicke - IT Koordinator
Am 27.02.14 17:06, schrieb Steffen:
> Götz Reinicke - IT Koordinator wrote:
>> Am 27.02.14 09:41, schrieb Steffen Kaiser:
>>> I suggest to turn on mail_debug, then you see all paths a.s.o.
> 
>> Switched it on, but there are no more error messages.
> 
> But you'll see lines with home= mail= a.s.o. Are these settings
> correct? Maybe, post them, too.

I just realised, that I used just a basic configuration (from the
migration); I just added and started with the big conf.d and added my
setting.

There is still the same problem/error in the log, but with some more text:

E.g. the rechnungseingang-finanzbuchhaltung looks like:

Feb 27 16:59:55 imap(rechnungseingang-finanzbuchhaltung): Debug:
Effective uid=3473, gid=1182,
home=/home/misc_accounts/rechnungseingang-finanzbuchhaltung



Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug:
Effective uid=3474, gid=1182, home=



Feb 27 17:02:11 auth-worker(19896): Debug:
pam(rechnungseingang-animationsinstitut,172.17.25.85): lookup
service=dovecot
Feb 27 17:02:11 auth-worker(19896): Debug:
pam(rechnungseingang-animationsinstitut,172.17.25.85): #1/1 style=1
msg=Password:
Feb 27 17:02:11 auth: Debug: client passdb out: OK  1
user=rechnungseingang-animationsinstitut
Feb 27 17:02:11 auth-worker(19896): Debug:
passwd(rechnungseingang-animationsinstitut,172.17.25.85): lookup
Feb 27 17:02:11 auth: Debug: master userdb out: USER3536191489
rechnungseingang-animationsinstitut
system_groups_user=rechnungseingang-animationsinstitut  uid=3474
gid=1182homeauth_token=58932681706c22720023a40104779c049ae2ac42
Feb 27 17:02:11 imap-login: Info: Login:
user=, method=PLAIN,
rip=172.17.25.85, lip=193.196.129.3, mpid=21531, TLS,
session=
Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug:
Effective uid=3474, gid=1182, home=
Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Debug:
Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no,
list=yes, subscriptions=yes
location=mbox:~/:INBOX=/var/mail/rechnungseingang-animationsinstitut
Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Error: user
rechnungseingang-animationsinstitut: Initialization failed: Namespace
'': Home directory not set for user. Can't expand ~/ for mail root dir
in: ~/:INBOX=/var/mail/rechnungseingang-animationsinstitut
Feb 27 17:02:11 imap(rechnungseingang-animationsinstitut): Error:
Invalid user settings. Refer to server log for more information.


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10

2014-02-27 Thread Götz Reinicke - IT Koordinator
Am 27.02.14 13:27, schrieb Charles Marcus:
> On 2/27/2014 3:48 AM, Götz Reinicke - IT Koordinator
>  wrote:
>> Am 27.02.14 09:41, schrieb Steffen Kaiser:
>>> On Thu, 27 Feb 2014, Götz Reinicke - IT Koordinator wrote:
>>>> But on one mailbox I do get an error:
>>>> Error: user rechnnugseingang-animationsinstitut: Initialization failed:
>>>> Initializing mail storage from mail_location setting failed
>>>> Error: Invalid user settings. Refer to server log for more information.
>>> Is above error the only error in the log?
> 
>> Yes, thats the only log for about 8 hours +- now.
> 
>>>> There is a homedirectory and the permissions are set like on all other
>>>> accounts.
>>>> The username is quite long (35 characters) but an other one with 34 is
>>>> working fine.
> 
>>> I do not have such long names ...
>>>
>>> I suggest to turn on mail_debug, then you see all paths a.s.o.
> 
>> Switched it on, but there are no more error messages.
> 
> doveconf -n output?

[root@mail ~]# doveconf -n
# 2.2.10: /etc/dovecot/dovecot.conf
doveconf: Warning: service auth { client_limit=1000 } is lower than
required under max. load (2148)
doveconf: Warning: service anvil { client_limit=1000 } is lower than
required under max. load (2151)
# OS: Linux 2.6.18-371.4.1.el5 x86_64 Red Hat Enterprise Linux Server
release 5.10 (Tikanga)
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
mail_location = mbox:~/:INBOX=/var/mail/%u
mail_privileged_group = mail
passdb {
  driver = pam
}
protocols = imap pop3
service auth {
  user = root
}
service imap-login {
  process_limit = 1024
  process_min_avail = 10
  service_count = 1
}
service imap {
  process_limit = 1024
  vsz_limit = 1 G
}
service pop3-login {
  process_limit = 1024
  process_min_avail = 10
  service_count = 1
}
service pop3 {
  process_limit = 1024
  vsz_limit = 1 G
}
ssl_ca = 

smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10

2014-02-27 Thread Götz Reinicke - IT Koordinator
Am 27.02.14 09:41, schrieb Steffen Kaiser:
> On Thu, 27 Feb 2014, Götz Reinicke - IT Koordinator wrote:
> 
>> But on one mailbox I do get an error:
> 
>> Error: user rechnnugseingang-animationsinstitut: Initialization failed:
>> Initializing mail storage from mail_location setting failed
> 
>> Error: Invalid user settings. Refer to server log for more information.
> 
> Is above error the only error in the log?


Yes, thats the only log for about 8 hours +- now.


>> There is a homedirectory and the permissions are set like on all other
>> accounts.
> 
>> The username is quite long (35 characters) but an other one with 34 is
>> working fine.
> 
> I do not have such long names ...
> 
> I suggest to turn on mail_debug, then you see all paths a.s.o.

Switched it on, but there are no more error messages.

/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10

2014-02-27 Thread Götz Reinicke - IT Koordinator
Am 27.02.14 09:31, schrieb Joseph Tam:
> G?tz Reinicke - IT Koordinator  wrote:
> 
>> But on one mailbox I do get an error:
>>
>> Error: user rechnnugseingang-animationsinstitut: Initialization failed:
>> Initializing mail storage from mail_location setting failed
>>
>> Error: Invalid user settings. Refer to server log for more information.
> 
> And the server logs says ...?  Maybe the '-' is not one of the allowed
> characters (is there a missing 'e' at the end?)

Oops missed something may be, but I dont see anything in the dovecot.log
or syslogs.

The '-' is allowed as we do have other accounts with that character and
there is no typo.

May be i can increase the logging level ...

/Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] Error "Initializing mail storage ..." after upgrading to 2.2.10

2014-02-27 Thread Götz Reinicke - IT Koordinator
Hi,

I did the upgrade frpom 1.2.x to 2.2.10 and had some warnings/errors on
a very few accounts/mailboxes. All of them where permission related and
solved.

Dovecot rocks again.

But on one mailbox I do get an error:

Error: user rechnnugseingang-animationsinstitut: Initialization failed:
Initializing mail storage from mail_location setting failed

Error: Invalid user settings. Refer to server log for more information.

There is a homedirectory and the permissions are set like on all other
accounts.

The username is quite long (35 characters) but an other one with 34 is
working fine.

And before the upgrade there was no error.


Thnaks for any help or hint. Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] Upgrading from 1.2.x -> 2.2.x in one step possible

2014-02-25 Thread Götz Reinicke - IT Koordinator
Hi,

after some off-ML discussions to and some reconsiderations, we might do
the "big jump" from our current 1.2.17 to the atrpms 2.2.

From googling and reading the dovecot upgrade wiki I don't see any (big)
pitfalls.

Basically we use the default config options, mbox, pop3s/imaps on RH EL 5.

So "just" run the upgrade-config script, fingers crossed and thats it?

Ii it possible to do such a big step form 1.2 to 2.2?

Thanks for comments and suggestions . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] Oldies but Goldies - Dovecot 1.2 and Sieve

2014-02-24 Thread Götz Reinicke - IT Koordinator
Hi,

we still run dovecot 1.2.17 and upgrading is not planed for some time.

But I'm asked to install a sieve system to be used with SOGo soon.

What do I have to install / configure?

Is installing/configuring the dovecot-sieve-0.1.19 and
dovecot-managesieve-0.11.13 enough?

We still use mostly the default settings for imaps/pop3s.

And of course configure SOGo.

Thanks for any feedback. Regards . Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] how to calculate mail storage/traffic used - SOLVED

2013-11-08 Thread Götz Reinicke - IT Koordinator
SendmailAnalyzer

http://sareport.darold.net/index.html

collects all Messaging flows like total incomming/outgoing and size in
sum and average.

and it has a graphic web interface ;)

/Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] how to calculate mail storage/traffic used

2013-11-08 Thread Götz Reinicke - IT Koordinator
Am 08.11.13 09:07, schrieb Steffen Kaiser:
> On Fri, 8 Nov 2013, Götz Reinicke - IT Koordinator wrote:
> 
>> We have to setup a server which gets a copy of all messages send and
>> received by our mailserver as a 1:1 copy. Mails send to multiple
>> recipients should be calculated and saved per user. (great if you
>> usually have lost of mails send to groups of people.)
> 
>> So no dedublication should be used here. (e.g. save the message and
>> refer the different recipients to it.)
> 
>> How can I calculate the current traffic in the best way to extrapolate
>> the amount of space to be planed for the new server?
> 
> I would check your MTA logs, if you get the size of the message and the
> [number of] recipients.  Do you really want to store outgoing mails,
> too? In mailboxes accessable by IMAP or the like?

Hi,

no, we have to put all messages in ELM / singel file format on to a
networkshare to be collected and processed by a document management system.

We need in and out mails to be saved.

I know there are better/other solutions including good dedublication for
mail archiving, but thats how it works.

Cheers . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] how to calculate mail storage/traffic used

2013-11-07 Thread Götz Reinicke - IT Koordinator
Hi,

may be som mailserver admins on the list can give me som hint. Thats not
dovecot related, but I know the knowledg here is enormous.

We have to setup a server which gets a copy of all messages send and
received by our mailserver as a 1:1 copy. Mails send to multiple
recipients should be calculated and saved per user. (great if you
usually have lost of mails send to groups of people.)

So no dedublication should be used here. (e.g. save the message and
refer the different recipients to it.)

How can I calculate the current traffic in the best way to extrapolate
the amount of space to be planed for the new server?

We think to have a couples of days to be saved.

Thanks for any hint or comment. Regards Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17) - SOLVED

2013-03-06 Thread Götz Reinicke - IT Koordinator
Thanks for all suggestions!

"mail_privileged_group = mail" did the magic.

I'v read the V1.0 -> 1.1 -> 1.2, but did not read ALL config options in
the new dovecot.conf.

    /Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


[Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17)

2013-03-06 Thread Götz Reinicke - IT Koordinator
Hi,

currently I have one new user with a problem. When she logs in to
dovecot with pop3 from her apple mail, dovecot tells problems with the
+w permission.

Error: open(/var/mail/**) failed: Permission denied
(euid=3462(**) egid=548(dozenten) missing +w perm: /var/mail)

/var/mail is rw by root.mail

I cant see why just this particular user has that problem/gets that
messages.

AFAIK no one changed any default permissions on directories or set
different users.

What could be "wrong"? Any suggestions is welcome.

Regards . Götz


-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


Re: [Dovecot] Suggestions for upgrading dovecot 1.0.7 Redhat EL 5.x - DONE

2013-03-06 Thread Götz Reinicke - IT Koordinator
Am 26.02.13 12:08, schrieb Götz Reinicke - IT Koordinator:
<...>

Hi folks,

after some different considerations, we decided to do "just" a minor
upgrade on the old/current hardware and OS version.

We did the rpm upgrade from 1.0.x to 1.2.x and for now there are no
problems. Just a few more warnings regarding "Corrupted index cache file".

But no user complains. From my POV there is a significant performance
boost on my large mailboxes...

At the time we can get new hardware and maybe change some other things
in our setup we will go wit 2.x I bet.

so thanks for al the feedback! Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


Re: [Dovecot] Suggestions for upgrading dovecot 1.0.7 Redhat EL 5.x

2013-03-01 Thread Götz Reinicke - IT Koordinator
Am 27.02.13 16:57, schrieb Steffen Kaiser:
> On Wed, 27 Feb 2013, Götz Reinicke - IT Koordinator wrote:
> 
>>> I don't know Redhat, but it seems to be wise to upgrade. What's the
>>> "Known Bug List" or "Known Security Holes" in Redhat EL 5.x?
> 
>> What do you mean by that? BTW it's strange to me that Redhat never
>> updated the main imap server part in there lon tearm supported
>> enterprice distribution ... (RH EL 6 comes with dovecot 2.0 ok ... )
> 
> Are there security considerations to upgrade the base system, kernel
> remote exploits a.s.o.

I got your point. Hmm RHEL 5.9 is still well supported till Q1 2014 and
further with minor or critical updates till 2017. (O.K. no dovecot
update :D )

For now no really need for us to rush to an other major release.

> You could look into building Dovecot from source to get v2.1 or v2.2.

May be I'll give that a try.

    Thanks for your suggestions and feedback . Regards . Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


Re: [Dovecot] Suggestions for upgrading dovecot 1.0.7 Redhat EL 5.x

2013-02-26 Thread Götz Reinicke - IT Koordinator
Am 26.02.13 14:48, schrieb Steffen Kaiser:
> On Tue, 26 Feb 2013, Götz Reinicke - IT Koordinator wrote:
> 
>> we still have our solid rock dovecot 1.0.7 Redhat el 5.x up and running.
> 
>> We don't need much magic or special setups.
> 
> The configuration has been split up since v1.0, but you can grep through
> the files and find the spots easily. Also, if you didn't changed much in
> v1.0 (that is how I understand your "don't need much magic or special
> setups"), the chances are good, that you'll not change much in v2.1 or
> v2.2.

I'd review the configfiles and especially the great update documentation
from timo. For now we look save.

As far as I remember we just adjusted the mailbox path (mail_location)
and protocols (imaps/pop3s). And we use ssl certificates.

No mysql, sieve or quota etc stuff.

> 
>> However we'd like to think what might be the next step in upgrading our
>> setup. Each user one mbox mailbox. About 500 imap/pop3 accounts, 400GB
>> data.
> 
>> First of all: to what version is a good step from 1.0?
> 
> I would setup a Dovecot v2.2 server, it's RC2, but Dovecot is usually
> more stable than other software ... .
> 
> However, I would install the whole server anew, no automatic upgrade or
> whatsoever.

That's the point :) currently I don't have the hardware and time to
install a new system. So we thought doing a minor upgrade will improve
things a bit and we can get rid of one old bug without getting to much
trouble by doing a very big step ahead.

> 
>> Dose anyone has any experiences in doing such a "big" step forward?
> 
> I have upgraded a v1.0 to v2.1 now. No big deal from Dovecot.

I read something about the index and mailbox/mailstorage formats might
have changed a bit and that dovecot is converting/correcting tham on the
flight.

Did you notice something like that?

> 
>> Can we get a rpm from e.g. atrpms repository?
> 
> Ah, OK, then use the most current version available :-) I build Dovecot
> from source.
> 
>> Or should we think of migrating to a total updated Redhat EL 6.x /
>> Dovecot 2.0.x system?
> 
> I don't know Redhat, but it seems to be wise to upgrade. What's the
> "Known Bug List" or "Known Security Holes" in Redhat EL 5.x?

What do you mean by that? BTW it's strange to me that Redhat never
updated the main imap server part in there lon tearm supported
enterprice distribution ... (RH EL 6 comes with dovecot 2.0 ok ... )

Regards . Götz


--
Götz Reinicke - IT-Koordinator - Filmakademie Baden-Württemberg GmbH



smime.p7s
Description: S/MIME Kryptografische Unterschrift


[Dovecot] Suggestions for upgrading dovecot 1.0.7 Redhat EL 5.x

2013-02-26 Thread Götz Reinicke - IT Koordinator
Hi,

we still have our solid rock dovecot 1.0.7 Redhat el 5.x up and running.

We don't need much magic or special setups.

However we'd like to think what might be the next step in upgrading our
setup. Each user one mbox mailbox. About 500 imap/pop3 accounts, 400GB data.

First of all: to what version is a good step from 1.0?

Can we get a rpm from e.g. atrpms repository?

Dose anyone has any experiences in doing such a "big" step forward?

Or should we think of migrating to a total updated Redhat EL 6.x /
Dovecot 2.0.x system?

Any suggestions and comments are welcome.

Regards . G. Reinicke
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt



smime.p7s
Description: S/MIME Kryptografische Unterschrift


[Dovecot] Silent migration from mbox to maildir?

2010-01-12 Thread Götz Reinicke - IT-Koordinator
Hi,

after migrating to a new hardware (which is soo s mutch faster than
the old one) I start to think about migrating from mbox to maildir.

I'v read some docs and wikies and some questions are unanswered or maybe
I skip the answers:

- Is it possible to migrate the mboxes "silent" e.g. if a user logs in
the mbox is converted?

- regarding the Namespaces wiki article, it is possible to mix mbox and
Maildir for one user. Is it possible to use this setup for all newly
created accounts?

or

- Is it possible to have maildir set up for all newly created accounts
while the old accounts still use mbox?

Thanks for any suggestion and best regards,

    Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner
Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium

Geschäftsführer:
Prof. Thomas Schadt


Re: [Dovecot] lot's of timeouts

2009-12-18 Thread Götz Reinicke - IT-Koordinator
Timo Sirainen schrieb:
> On Dec 18, 2009, at 11:08 AM, Götz Reinicke - IT-Koordinator wrote:
> 
>>>> We use the original RH dovecot-1.0.7, mbox-format and mailboxes up to 4
>>>> GB ... (historicaly grown ...)
>>> Have you set mbox_very_dirty_syncs=yes?
>> grep mbox_very_dirty_syncs /etc/dovecot.conf
>> #mbox_very_dirty_syncs = no
>>
>> so, I think "no" is the default.
>>
>> Setting this to "yes" is may be faster?
> 
> Are you using Dovecot deliver? If not, setting this to "yes" will help a lot.

Nop,

grep procmail /etc/mail/sendmail.mc

define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
MAILER(procmail)dnl


> 
>>> Anything in logs? Anyway my guess is that it spends all the time reading 
>>> those 4 GB mailboxes..
>>>
>> With that guess, you are not the only one ... beside my guts ... ;-)
>>
>> If I do have the time, I'd like to switch over to e.g. maildir
> 
> Yeah, maildir would be a good idea.

2010...


/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner
Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium

Geschäftsführer:
Prof. Thomas Schadt


Re: [Dovecot] lot's of timeouts

2009-12-18 Thread Götz Reinicke - IT-Koordinator
Hi Timo,

Timo Sirainen schrieb:
> On Dec 18, 2009, at 10:56 AM, Götz Reinicke - IT-Koordinator wrote:
> 
>> But the mailclients (mostly thunderbird and apple mail) still reporte
>> the timeouts by accessing the mailboxes.
>>
>> The server is doing smtp, imap/pop3, webmailsystem and
>> spam/antivirus-checking all together. (RH EL 5, sendmail, horde, mysql,
>> mailscanner, spamassassin)
>>
>> We use the original RH dovecot-1.0.7, mbox-format and mailboxes up to 4
>> GB ... (historicaly grown ...)
> 
> Have you set mbox_very_dirty_syncs=yes?

grep mbox_very_dirty_syncs /etc/dovecot.conf
#mbox_very_dirty_syncs = no

so, I think "no" is the default.

Setting this to "yes" is may be faster?

> 
>> So where to start debugging the imap/pop3 timeouts? What information may
>> I provide, which doc may I read?
> 
> Anything in logs? Anyway my guess is that it spends all the time reading 
> those 4 GB mailboxes..
> 

With that guess, you are not the only one ... beside my guts ... ;-)

If I do have the time, I'd like to switch over to e.g. maildir

/Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner
Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium

Geschäftsführer:
Prof. Thomas Schadt


[Dovecot] lot's of timeouts

2009-12-18 Thread Götz Reinicke - IT-Koordinator
Hi,

since some time ago we do have a lot of "timeouts" connecting to our
imap/po3 server. This week I switched the whole system to a new dual
quadcore xeon, 24GB RAM, SAS2 RAID-10. (SUN Fire 4170)

But the mailclients (mostly thunderbird and apple mail) still reporte
the timeouts by accessing the mailboxes.

The server is doing smtp, imap/pop3, webmailsystem and
spam/antivirus-checking all together. (RH EL 5, sendmail, horde, mysql,
mailscanner, spamassassin)

We use the original RH dovecot-1.0.7, mbox-format and mailboxes up to 4
GB ... (historicaly grown ...)

So where to start debugging the imap/pop3 timeouts? What information may
I provide, which doc may I read?

Thanks for helping me to find and fix the problem.


Best regards

    Götz
-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner
Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium

Geschäftsführer:
Prof. Thomas Schadt