Re: 52.184.164.73 in my logs

2018-04-15 Thread Sven Hartge
daniel_1...@protonmail.com wrote: > Could it be that the outlook app uses microsoft's servers to fetch the > mail before handing them to the user ? Yes, this is the case. Have a little web search for "microsoft outlook app security risk" to see the implications. Grüße, Sven. -- Sigmentation

Re: History mails are stored in the tmp/ directory

2020-07-21 Thread Sven Hartge
On 20.07.20 10:19, lty wrote: >>> On 20/07/2020 10:37 lty wrote: >>> We found that there are historically corrupted mails in the tmp/ >>> directory, >>> For example, Maildir/tmp/ or Maildir/.Drafts/tmp/ exists. >>> We suspect that it may be caused by network transmission, or the user >>> interrup

Re: Submission proxy warning connecting to Exim

2020-09-02 Thread Sven Hartge
On 03.09.20 01:57, Stephan Bosch wrote: >>    1598480923.401085 220 myhostname ESMTP Exim 4.94 Wed, 26 Aug 2020 >> 18:28:43 -0400 >>    1598480923.401906 250-myhostname Hello localhost [::1] >>    1598480923.401906 250-SIZE 52428800 >>    1598480923.401906 250-8BITMIME >>    1598480923.401906 250-

Re: Shared folders using mbox format

2020-09-25 Thread Sven Hartge
On 25.09.20 21:28, Alex wrote: > I'd like to create a shared folder to be used with an Outlook client > and a Thunderbird client. We're currently using mboxes. > > I've read the documentation here about creating a shared folder: > https://wiki.dovecot.org/SharedMailboxes/Shared > > It doesn't ma

Re: Shared folders using mbox format

2020-09-25 Thread Sven Hartge
On 25.09.20 23:04, Alex wrote: > Hi, > >>> I'd like to create a shared folder to be used with an Outlook client >>> and a Thunderbird client. We're currently using mboxes. >>> >>> I've read the documentation here about creating a shared folder: >>> https://wiki.dovecot.org/SharedMailboxes/Shared >

Re: Procmail with Dovecot

2020-10-13 Thread Sven Hartge
On 13.10.20 11:08, Dan Egli wrote: Hey folks, here's a question. I want to enable procmail for the users so that they can have their incoming messages sorted info various folders and such regardless of MUA access or web access. I know I can set procmail to deliver to a maildir, but wouldn't th

Re: Using NFS to extend local email storage

2020-10-18 Thread Sven Hartge
On 18.10.20 19:50, Maciej Kokociński wrote: Now, my idea is to set up an NFS volume on the NAS, and configure the cloud-based server as the client. I would like to store only the most recent emails on the main server, and keep the whole data set on the NAS. Doing NFS over the Internet is such

Re: Logging to remote server

2021-08-26 Thread Sven Hartge
On 26.08.21 09:58, James Brown wrote: My Google searches must be off, I couldn’t see how to do this. Is there a way to log to a local file, but also send to a remote server? Eg: Log_path = /var/log/dovecot.log, @mylogserver.example.com:514 You need to configure your local syslog server to s

Re: tls_early_post_process_client_hello:unsupported protocol

2021-08-29 Thread Sven Hartge
Elise wrote: > I just read a line in my logfile that I haven't noticed before: > Aug 29 22:17:23 dovecot[50098]: imap-login: Disconnected: > Connection closed: SSL_accept() failed: error:14209102:SSL > routines:tls_early_post_process_client_hello:unsupported protocol (no > auth attempts in 2

Re: Dovecot + SAN with dedup+compression

2016-10-04 Thread Sven Hartge
María Arrea wrote: > We have a big Dovecot Server (over 20 TB of mail, 40K users, over 30K > iops) and we are evaluating a new SAN Array. We have competitive > proposals from Pure Storage (All Flash) , HP 3Par (Hybrid), NetApp > FaaS (Hybrid) & EMC Unity (Hybrid). We rely in mdbox+zlib for main >

Re: mail-trends+Dovecot

2017-01-21 Thread Sven Hartge
Odhiambo Washington wrote: > Traceback (most recent call last): > File "./main.py", line 304, in > message_infos = GetMessageInfos(opts) > File "./main.py", line 104, in GetMessageInfos > for mailbox in m.GetMailboxes(): > File "/scripts/mail-trends/mail.py", line 61, in GetMailbox

Re: dovecot 2.2.28 password auth with openldap

2017-08-06 Thread Sven Hartge
Markus Rosjat wrote: > I desperatly trying to store a BLF-CRYPT password hash in an LDAP > userPassword Attribute and get dovecot to authenticate against it. You (normally) can't, because the userPassword attribute is kind of "magic" for the LDAP-Server. OpenLDAP supports several internal schem

Re: socketpair failed: Too many open files on Debian 9

2017-08-23 Thread Sven Hartge
Patrick Westenberg wrote: > 11:23:55 imap-login: Error: socketpair() failed: Too many open files As root run "systemctl edit dovecot.service". This will create a drop-in configuration file in /etc/systemd/system/dovecot.service.d/ which will be appended to the one in /lib/systemd/system/ during

Re: Ubuntu packages

2016-03-06 Thread Sven Hartge
aki.tu...@dovecot.fi wrote: > Stephan, for Jessie you should compile with systemd support enabled and leave > the init.d link out completely. Please don't disable SysV-init-compatibility. It still is a supported Init-System for Jessie and there are people using it. Removing the init script will

Re: Ubuntu packages

2016-03-06 Thread Sven Hartge
aki.tu...@dovecot.fi wrote: > Yet, it would be good idea to enable systemd support for those who use > systemd, > despite being considered as cancerous by some people, with the same > justification that some want to use systemd. Retaining the init.d script does > pose some problems, mainly becaus

Re: overview zlib efficiency?

2016-03-15 Thread Sven Hartge
Götz Reinicke - IT Koordinator wrote: > 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. I don't have a script, but I can provide some number

Re: overview zlib efficiency?

2016-03-15 Thread Sven Hartge
Robert L Mathews wrote: > Also keep in mind that even if it does increase CPU usage, it reduces > disk usage. This is probably an excellent tradeoff for most people, > since most servers are limited by disk throughput/latency more than > CPU power. IOPS are harder to scale (meaning: cost more to

Re: overview zlib efficiency?

2016-03-19 Thread Sven Hartge
Teemu Huovila wrote: > On 15.03.2016 21:45, Sven Hartge wrote: >> And gzip (or lz4 of implemented someday) (or even blosc: > liblz4 has been supported since 2.2.11+ http://wiki2.dovecot.org/Plugins/Zlib Hmm, yes. I don't know how I missed this when I looked at that page last

Re: Migrating to dovecot from gmail apps

2016-03-28 Thread Sven Hartge
mick.crane wrote: > On Mon, March 28, 2016 4:13 pm, mj wrote: *Is there currently a good webmail interface to dovecot, > squirrelmail Squirrelmail is dead. S! -- Sigmentation fault. Core dumped.

Re: Dovecot-LMTP and LDAP: passdb doesn't support credential lookups

2016-03-30 Thread Sven Hartge
Niols wrote: > Here is my /etc/dovecot/conf.d/auth-ldap.conf.ext. I use the static > driver for userdb, and the LDAP driver for passdb. > passdb { > driver = ldap > args = /etc/dovecot/dovecot-ldap.conf.ext > } > userdb { > driver = static > args = uid=mail g

Re: [Dovecot] mail spool filesystem

2011-08-17 Thread Sven Hartge
Adrian Ulrich wrote: >> I read that XFS is a good choice, but is not too reliable... > Are you using Maildir or MBOX? > In any case: XFS would be my last choice: > XFS is nice if you are working with large files (> 2GB), but for > E-Mail i'd stick with ext3 (or maybe even reiser3) as it works

Re: [Dovecot] Quotas with Maildir and mdbox

2011-10-28 Thread Sven Hartge
Dr Matthew Williams wrote: > We use LDAP to store our Maildir++ quota information for our Maildir > mailboxes. I notice in the documentation that only SQL and flat files > are supported by the dictionary quota if I want to use quota with > mdbox? Are there any plans to allow LDAP to be used as t

Re: [Dovecot] LDAP expired password

2011-11-10 Thread Sven Hartge
rpalmarin wrote: > Sven Hartge svenhartge.de> writes: >> Nikolaos Milas noa.gr> wrote: >>> On 1/4/2011 11:09 πμ, Sven Hartge wrote: >>>> Have a look at the ppolicy slapd.overlay. This will solve your >>>> problem. > Sorry for the dela

Re: [Dovecot] LDAP Authentication - Home Directory Creation

2011-12-01 Thread Sven Hartge
Stephen Bowman wrote: > How does everyone handle this case? > Users are authenticated by LDAP, and do not have accounts on the > IMAP/dovecot server. When a new user is added to LDAP, the home > directory (/home/newuser) needs to be created on the IMAP/dovecot > server so dovecot can create the

Re: [Dovecot] LDAP Authentication - Home Directory Creation

2011-12-01 Thread Sven Hartge
Timo Sirainen wrote: > On 2.12.2011, at 0.41, Sven Hartge wrote: >> Or switch to a virtual setup, where the users don't get real users on >> the imap server (they can't log in, so they don't need any real user >> on that server) and every mail is owned by yo

Re: [Dovecot] LDAP Authentication - Home Directory Creation

2011-12-01 Thread Sven Hartge
Timo Sirainen wrote: > On 2.12.2011, at 1.03, Sven Hartge wrote: >> Timo Sirainen wrote: >>> I hope some day there won't be any problems with Dovecot using >>> multiple UIDs. >> >> Meaning? > There are different problems with multiple UIDs that a

Re: [Dovecot] crashes on 2.0.16

2011-12-18 Thread Sven Hartge
Noel Butler wrote: > On Mon, 2011-12-19 at 00:32 +0100, Cor Bosman wrote: >> # 2.0.16: /usr/local/etc/dovecot/dovecot.conf >> # OS: Linux 2.6.32.36-xsserver x86_64 Debian 6.0.3 > Have you tried using a modern kernel? that one is about 2 years old. Well, this _is_ the kernel from Debian Stable

[Dovecot] Providing shared folders with multiple backend servers

2012-01-07 Thread Sven Hartge
Hi *, I am currently in the planning stage for a "new and improved" mail system at my university. Right now, everything is on one big backend server but this is causing me increasing amounts of pain, beginning with the time a full backup takes. So naturally, I want to split this big server into

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-07 Thread Sven Hartge
Stan Hoeppner wrote: > It's highly likely your problems can be solved without the drastic > architecture change, and new problems it will introduce, that you > describe below. The main reason is I need to replace the hardware as its service contract ends this year and I am not able to extend it

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-08 Thread Sven Hartge
Stan Hoeppner wrote: > On 1/7/2012 7:55 PM, Sven Hartge wrote: >> Stan Hoeppner wrote: >> >>> It's highly likely your problems can be solved without the drastic >>> architecture change, and new problems it will introduce, that you >>> describe bel

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-08 Thread Sven Hartge
Sven Hartge wrote: > Stan Hoeppner wrote: >> If an individual VMware node don't have sufficient RAM you could build a >> VM based Dovecot cluster, run these two VMs on separate nodes, and thin >> out the other VMs allowed to run on these nodes. Since you can't

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-08 Thread Sven Hartge
Sven Hartge wrote: > Sven Hartge wrote: >> Stan Hoeppner wrote: >>> If an individual VMware node don't have sufficient RAM you could build a >>> VM based Dovecot cluster, run these two VMs on separate nodes, and thin >>> out the other VMs allowe

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Stan Hoeppner wrote: > On 1/8/2012 9:39 AM, Sven Hartge wrote: >> Memory size. I am a bit hesistant to deploy a VM with 16GB of RAM. My >> cluster nodes each have 48GB, so no problem on this side though. > Shouldn't be a problem if you're going to spread the load

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Stan Hoeppner wrote: > On 1/8/2012 3:07 PM, Sven Hartge wrote: >> Ah, I forgot: I _already_ have the mechanisms in place to statically >> redirect/route accesses for users to different backends, since some >> of the users are already redirected to a different mailsystem at &

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Stan Hoeppner wrote: > On 1/8/2012 2:15 PM, Sven Hartge wrote: >> Wouldn't such a setup be the "Best of Both Worlds"? Having the main >> traffic going to local disks (being RDMs) and also being able to provide >> shared folders to every user who needs them wit

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 8.1.2012, at 0.20, Sven Hartge wrote: >> Right now, I am pondering with using an additional server with just >> the shared folders on it and using NFS (or a cluster FS) to mount the >> shared folder filesystem to each backend storage server

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Stan Hoeppner wrote: > The more I think about your planned architecture the more it reminds > me of a "shared nothing" database cluster--even a relatively small one > can outrun a well tuned mainframe, especially doing decision > support/data mining workloads (TPC-H). > As long as you're prepare

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 8.1.2012, at 0.20, Sven Hartge wrote: >> Right now, I am pondering with using an additional server with just >> the shared folders on it and using NFS (or a cluster FS) to mount the >> shared folder filesystem to each backend storage server

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 9.1.2012, at 20.25, Sven Hartge wrote: >> Timo Sirainen wrote: >>> On 8.1.2012, at 0.20, Sven Hartge wrote: >>>> Right now, I am pondering with using an additional server with just >>>> the shared folders on it and using NFS

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 9.1.2012, at 20.47, Sven Hartge wrote: >>>> Can "mmap_disable = yes" and the other NFS options be set per >>>> namespace or only globally? >> >>> Currently only globally. >> >> Ah, too bad. >> &g

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 9.1.2012, at 21.31, Sven Hartge wrote: >> , >> | # User's private mail location >> | mail_location = mdbox:~/mdbox >> | >> | # When creating any namespaces, you must also have a private namespace: >> | namesp

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 9.1.2012, at 21.45, Sven Hartge wrote: >>>> | location = imapc:~/imapc-shared >> >> What is the syntax of this location? What does "imapc-shared" do in this >> case? > It's the directory for index files. The back

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-09 Thread Sven Hartge
Timo Sirainen wrote: > On 9.1.2012, at 22.13, Sven Hartge wrote: >> Timo Sirainen wrote: >>> On 9.1.2012, at 21.45, Sven Hartge wrote: >>>>>> | location = imapc:~/imapc-shared >>>> >>>> What is the syntax of this location? Wha

Re: [Dovecot] Providing shared folders with multiple backend servers

2012-01-11 Thread Sven Hartge
Sven Hartge wrote: > I am currently in the planning stage for a "new and improved" mail > system at my university. OK, executive summary of the design ideas so far: - deployment of X (starting with 4, but easily scalable) virtual servers on VMware ESX - storage will be ba

Re: [Dovecot] user login on behalf of another user

2012-02-05 Thread Sven Hartge
rog7...@web.de wrote: > User "user1" and "user2" shall get access to the mailbox "info". We > define the accounts "info~user1" and "info~user2" with the same home > directory like "info". Isn't this the kind of scenario shared folders were made for? Grüße, Sven. -- Sigmentation fault. Core du

Re: [Dovecot] Dovecot altmove questions

2012-02-26 Thread Sven Hartge
Maria Arrea wrote: > 3º We have separate raids for indexes (raid 1+0) and mdboxes (raid 5). > We have almost 3 TB of gzipped mdboxes, and our backup (bacula) is > taking almost 16 hours to make a full backup. Our main problem is that > indexes are backupd hours before mdboxes, and that bring us s

Re: [Dovecot] Multiple locations, 2 servers - planning questions...

2012-02-27 Thread Sven Hartge
Charles Marcus wrote: > On 2012-02-27 12:59 PM, Adam Szpakowski wrote: >> I do have a basic question... How many users will be in this new, >> remote location? Will the traffic be so vast, that 1GbE link will not >> be enough, or are you using two servers for reliability? > Yeah, I guess I shou

Re: [Dovecot] Creating an IMAP repo for ~100 users need some advice

2012-03-17 Thread Sven Hartge
Kaya Saman wrote: > I am currently in the process of setting up an IMAP repository for > round 100 users > Currently the user authentication method is being handled via a > Windows Domain Controller. > The host OS for Dovecot will either be FreeBSD or CentOS. > Would Dovecot be able to aut

Re: [Dovecot] Creating an IMAP repo for ~100 users need some advice

2012-03-17 Thread Sven Hartge
Kaya Saman wrote: > On 03/17/2012 07:36 PM, Sven Hartge wrote: >> Kaya Saman wrote: >>> I am currently in the process of setting up an IMAP repository for >>> round 100 users Currently the user authentication method is >>> being handled via a Windows

Re: [Dovecot] Creating an IMAP repo for ~100 users need some advice

2012-03-17 Thread Sven Hartge
Kaya Saman wrote: > >> Question: do you need public or shared folders? > I don't need anything apart from an IMAP storage solution. I don't > intend to tie in Dovecot with an MTA either as I will simply be using > this for storage. > Long story but we don't have any control over our mail server

Re: [Dovecot] Creating an IMAP repo for ~100 users need some advice

2012-03-17 Thread Sven Hartge
Kaya Saman wrote: >> Flat files are not evil or bad or slow per se, but you have to use >> them the right way. > Thanks a lot for that info. I will research more into this but I maybe > overridden at some point :-( > Need to make a strong case! Hmm. Just because Microsofts way of usage of fla

Re: [Dovecot] Creating an IMAP repo for ~100 users need some advice

2012-03-17 Thread Sven Hartge
Kaya Saman wrote: > Once we get setup this may come in quite handy! Not sure what's going > on currently as everyone above me is still quite set in using an SQL > DB as a mail storage system??? RDBMS where not designed for such a task. Using a relational database as a storage method for big chu

Re: [Dovecot] Creating an IMAP repo for ~100 users need some advice

2012-03-18 Thread Sven Hartge
Timo Sirainen wrote: > On 18.3.2012, at 0.28, Sven Hartge wrote: >> mbox has big problems with concurrent writes, the bigger the mbox is, >> the more problems you get. This is mainly caused by the meta-data of >> a message (meaning flags, status, etc.) which is stored in

Re: [Dovecot] Berkeley DB with Dovecot

2012-05-21 Thread Sven Hartge
Jerry wrote: > On Mon, 21 May 2012 06:14:10 -0400 Charles Marcus articulated: >>On 2012-05-20 1:48 PM, Luuk@dovecot wrote: >>> SQlite is only 61Kb, no config is needed >>> >>> If you start using MySQL, and the MySQL-database is changed because >>> of some upgrades to the system that currenly use

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-15 Thread Sven Hartge
Andrzej Adam Filip wrote: > Stan Hoeppner wrote: >> [...] The average size of an email worldwide today is less than 4KB, >> less than one typical filesystem block. [...] > Do not confuse "unix culture" of mostly plain text only email messages > with "MS Junk" culture of overblown formatting wit

Re: [Dovecot] SSD drives are really fast running Dovecot

2011-01-15 Thread Sven Hartge
Andrzej Adam Filip wrote: > Sven Hartge wrote: >> Andrzej Adam Filip wrote: >>> Stan Hoeppner wrote: >>>> [...] The average size of an email worldwide today is less than >>>> 4KB, less than one typical filesystem block. [...] >> >>>

Re: [Dovecot] Questiosn about dbox

2011-01-24 Thread Sven Hartge
Javier de Miguel Rodríguez wrote: >>> We think that mdbox can help us in this. Does anybody has good >>> experiences migrating from maildir->mdox in "large" enviroments? >>> What about mdox performance& reliability? >> I haven't recently heard of corruption complaints about mdbox.. >> Previousl

Re: [Dovecot] Questiosn about dbox

2011-01-24 Thread Sven Hartge
Timo Sirainen wrote: > On 24.1.2011, at 23.17, Sven Hartge wrote: >> I take this thread and jump in, since we (TH Mittelhessen, Germany) are >> also investigating the move to Dovecot and we also have the same >> situation as Javier: Courier with Maildir and Bacula as backup

Re: [Dovecot] Questiosn about dbox

2011-01-24 Thread Sven Hartge
Timo Sirainen wrote: > On 25.1.2011, at 0.11, Sven Hartge wrote: >>> Yes, but if you use mdbox_rotate_interval=1d and run the purging >>> before backups, I think there's a good chance that most of the >>> backed up mails will be new files that bacula hasn

Re: [Dovecot] Outlook 2010 IMAP disconnected

2011-02-04 Thread Sven Hartge
Luigi Rosa wrote: > Disconnected for inactivity. >Protocollo: IMAP >Server: mail.xxx >Porta: 143 >Codice errore: 0x800CCCDD Have a look at . Grüße, S° -- Si

[Dovecot] Quotas from LDAP

2011-02-22 Thread Sven Hartge
Hi all! I have been reading http://wiki2.dovecot.org/Quota/Configuration over and over for the last two days, but something totally escapes my brain right now: How does user_attrs = homeDirectory=home,quotaBytes=quota_rule=*:bytes=%$ get the quota from LDAP into dovecot? What are the LDAP attr

Re: [Dovecot] Quotas from LDAP

2011-02-22 Thread Sven Hartge
Timo Sirainen wrote: > On 23.2.2011, at 0.17, Sven Hartge wrote: >> user_attrs = homeDirectory=home,quotaBytes=quota_rule=*:bytes=%$ >> >> get the quota from LDAP into dovecot? What are the LDAP attributes used > quotaBytes is the LDAP attribute name which contains

Re: [Dovecot] Quotas from LDAP

2011-02-22 Thread Sven Hartge
Timo Sirainen wrote: > On 23.2.2011, at 0.38, Sven Hartge wrote: >>>> and what does %$ mean? >> >>> It's the value of quotaBytes LDAP attribute. So the idea is that you >>> have: >> >>> ldap-attribute-name=dovecot-setting-name=dove

Re: [Dovecot] Quotas from LDAP

2011-02-22 Thread Sven Hartge
Timo Sirainen wrote: > On 23.2.2011, at 1.27, Sven Hartge wrote: >>>> So, %$ ist always the value of the referenced attribute? What if >>>> there are multiple values, by accident or by design? >> >>> Won't work right now. >> >> Wil

Re: [Dovecot] Quotas from LDAP

2011-02-23 Thread Sven Hartge
Joseba Torre wrote: > On Wednesday 23 February 2011 00:55:05 Sven Hartge wrote: >> Given the following object: >> >> dn: uid=foo,ou=bar >> quotaBytes: 1 >> quotaBytes: 1000 > As I see it, this is a desigh error; quotaBytes should be a single

Re: [Dovecot] Quotas from LDAP

2011-02-23 Thread Sven Hartge
Timo Sirainen wrote: > On 23.2.2011, at 1.55, Sven Hartge wrote: >> Given the following object: >> >> dn: uid=foo,ou=bar >> quotaBytes: 1 >> quotaBytes: 1000 >> >> What happens with >> >> user_attrs = homeDirectory=home,qu

[Dovecot] Segfault in managesieve with "sieve_extensions = -redirect"

2011-03-02 Thread Sven Hartge
Hi! I've got a segfault in managesieve while using: sieve_extensions = -vacation -reject -spamtest -virustest -enotify -redirect The problem seems to lie in "-redirect". Reason for excluding "redirect" from sieve is my users should not use sieve to forward or redirect mails but use an external

Re: [Dovecot] Segfault in managesieve with "sieve_extensions?=?-redirect"

2011-03-02 Thread Sven Hartge
fakessh @ wrote: > I do not understand certain things in your dovecot-n > in my dovecot -n > there is a > plugin { > plugin = autocreate managesieve sieve > sieve = ~/.dovecot.sieve > sieve_before = /var/sieve-scripts/roundcube.sieve > sieve_dir = ~/sieve > sieve_global_path = whatever >

Re: [Dovecot] Segfault in managesieve with "sieve_extensions?=?-redirect"

2011-03-02 Thread Sven Hartge
Stephan Bosch wrote: > Op 2-3-2011 15:15, Sven Hartge schreef: >> I've got a segfault in managesieve while using: >> sieve_extensions = -vacation -reject -spamtest -virustest -enotify -redirect >> >> The problem seems to lie in "-redirect". > T

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-15 Thread Sven Hartge
Antonio Perez-Aranda wrote: > I think that I need to modify "/etc/ldap.conf" to remap some attribute > with mailQuota from ldap, and then, try to catch this as arg. > Someone has pam+ldap+quota ? Why PAM _and_ LDAP? Why not just only LDAP? LDAP+Quota works fine over $here. Grüße, Sven. -- Si

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-15 Thread Sven Hartge
Antonio Perez-Aranda wrote: > Yes I know and I have some nodes with dovecot+ldap > But this node need to login with module pam_imap, because it's use a > "closed" one time password system. > I'm trying with something like this: > userdb { > driver = passwd > args = uid=exim gid=exim quota=*:

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-15 Thread Sven Hartge
Antonio Perez-Aranda wrote: > userdb { > driver = passwd > args = uid=exim gid=exim quota=*:bytes=%$ > } BTW: I think it is very dangerous to use the exim-user and -group as user and group for your virtual user. You better use a different user to store and access the emails under, like "virtm

Re: [Dovecot] Problems with pam+ldap + quota

2011-03-16 Thread Sven Hartge
Antonio Perez-Aranda wrote: > 2011/3/15 Sven Hartge : >> Antonio Perez-Aranda wrote: >> >>> userdb { >>>  driver = passwd >>>  args = uid=exim gid=exim quota=*:bytes=%$ >>> } >> >> BTW: I think it is very dangerous to use the

Re: [Dovecot] different users with different quota

2011-03-23 Thread Sven Hartge
Jim Knuth wrote: > How can one assign different users different Quota? > So properly? No, totally wrong, sorry. > quota_rule1 = userONE:storage=1G > quota_rule2 = Trash:storage=100M > quota_rule3 = SPAM:ignore > quota_rule4 = userTWO:storage=5M > quota_rule5 = Trash:storage=50M > quota_rule6 =

Re: [Dovecot] different users with different quota

2011-03-23 Thread Sven Hartge
Jim Knuth wrote: > am 23.03.11 18:38 schrieb Dennis Guhl : >> On Wed, Mar 23, 2011 at 05:44:51PM +0100, Jim Knuth wrote: >>> am 23.03.11 17:33 schrieb Sven Hartge: >>>> How your different user quotas are configured depends on the userdb >>>> backen

Re: [Dovecot] LDAP expired password

2011-04-01 Thread Sven Hartge
roberto palmarin wrote: > I'm using postfix, LDAP, dovecot and horde for webmail. > user and password information is stored in LDAP. I'm attempting to get > password > aging working properly and am not having much luck. > even if password has expired user can login, can i tell dovecot to contr

Re: [Dovecot] LDAP expired password

2011-04-01 Thread Sven Hartge
Nikolaos Milas wrote: > On 1/4/2011 11:09 πμ, Sven Hartge wrote: >> Have a look at the ppolicy slapd.overlay. This will solve your >> problem. > I just wanted to mention that there are significant integration issues > of openldap ppolicy overlay in other software. Right. Y

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Sven Hartge
Jim Knuth wrote: > I have a user who has 153600 kBytes max. storage space. Now, however, > he has used already 167396 kBytes and he can receive e-mails and can > send. How can this be? Your configuration is wrong? Sorry, without any further information there is not much else to say. Grüße, S

Re: [Dovecot] Quota has none effect

2011-04-03 Thread Sven Hartge
Jim Knuth wrote: > am 03.04.11 17:13 schrieb Sven Hartge : >> Jim Knuth wrote: >>> I have a user who has 153600 kBytes max. storage space. Now, >>> however, he has used already 167396 kBytes and he can receive >>> e-mails and can send. How can this b

Re: [Dovecot] quota_exceeded_message

2011-04-07 Thread Sven Hartge
Jim Knuth wrote: > am 06.04.11 21:00 schrieb Jim Knuth : >> If one can write even more text, with word wrap? As an example: >> plugin { >> quota_exceeded_message = Quota exceeded, please go to >> http://www.example.com/over_quota_help for instructions on how to fix >> this. >> Please call: +49 0

Re: [Dovecot] Over quota and send Mails

2011-04-11 Thread Sven Hartge
Jim Knuth wrote: > if a user over quota is, he can do no mails more receive. So far, so > good. But why he can do, nevertheless, mails do send? Has that to do > something with dict option? Sending mails has nothing to do with dovecot. You need to configure your MTA to prevent the user from sendi

Re: [Dovecot] Over quota and send Mails

2011-04-11 Thread Sven Hartge
Christian Schmidt wrote: > Sven Hartge, 11.04.2011 (d.m.y): >> Jim Knuth wrote: >>> if a user over quota is, he can do no mails more receive. So far, so >>> good. But why he can do, nevertheless, mails do send? Has that to do >>> something with dict option?

Re: [Dovecot] dict quota problem

2011-04-20 Thread Sven Hartge
Papp Tamas wrote: > In table I see this: > | papp.ta...@center.hu | 118671994 |20437 | > du -sm says, the size of the maildir is 154M. > I use xfs. > I can't figure out, why is there a difference. > Can you help me out? "du" also accounts for the metadata of the filesystem. With Maildir

Re: [Dovecot] dict quota problem

2011-04-20 Thread Sven Hartge
Papp Tamas wrote: > On 04/20/2011 01:47 PM, Sven Hartge wrote: >> "du" also accounts for the metadata of the filesystem. With Maildir++ >> you have many files per directory which causes the directory inode to >> increase in size. After mails are deleted, th

Re: [Dovecot] dict quota problem

2011-04-29 Thread Sven Hartge
Papp Tamas wrote: > On 04/20/2011 05:26 PM, Sven Hartge wrote: >> Counting all meta-data is also very unintuitive for the user. Imagine >> a user with an INBOX containing 200,000 mails. This will result in a >> _huge_ directory inode for the INBOX folder (about 20MB for XF

Re: [Dovecot] dict quota problem

2011-04-30 Thread Sven Hartge
Papp Tamas wrote: > On 04/30/2011 01:36 AM, Sven Hartge wrote: >>> So, there is no exact or something closer solution with normal >>> maildirs? >> Define "exact". > I mean, how I can set a true quota usage for a user? Define "true quota usage"

Re: [Dovecot] dict quota problem

2011-04-30 Thread Sven Hartge
Papp Tamas wrote: > On 04/30/2011 02:24 PM, Sven Hartge wrote: >> I mean, how I can set a true quota usage for a user? Define "true >> quota usage". > Maximum usable space for a user on the disk. >> The current implementation just works. Where is your proble

Re: [Dovecot] Email being stored in "cur" folder and not being downloaded in Thunderbird

2011-05-27 Thread Sven Hartge
Jay Welch wrote: > I have recently noticed that a random number of emails are being > stored in the "cur" folder under certain users and cannot be > downloaded in Thunderbird. I have tried moving the emails from "cur" > to "new" but everytime I try to download the email from Thunderbird, > the em

[Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Sven Hartge
Hi! I am currently in the process of preparing a migration of our old Courier-based IMAP/POP server setup to a Dovecot-based one. During this process I came across the following problem with the difference Courier and Dovecot handle deleted messages and mail quota. Quote from http://www.courier-

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Sven Hartge
Timo Sirainen wrote: > On 24.8.2012, at 15.02, Sven Hartge wrote: >> Ignoring the content (or increasing the quota) of the Trash folder is >> easy and no problem, but ignoring deleted messages seems impossible >> without changes to the code. > .. >> So I prop

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Sven Hartge
Robert Schetterer wrote: > Am 24.08.2012 15:13, schrieb Sven Hartge: >> Timo Sirainen wrote: >>> On 24.8.2012, at 15.02, Sven Hartge wrote: >> >>>> Ignoring the content (or increasing the quota) of the Trash folder is >>>> easy and no problem

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Sven Hartge
Sven Hartge wrote: > Robert Schetterer wrote: >> Am 24.08.2012 15:13, schrieb Sven Hartge: >>> Is is possible to forcibly expunge a message at once, directly after >>> a client has marked it as deleted? Kind of the opposite of the >>> lazy_expunge plugin?

[Dovecot] Trying to fix delete_to_trash plugin (was: quota: ignore deleted messages (?))

2012-08-24 Thread Sven Hartge
Sven Hartge wrote: > Nope, does not compile (dovecot-dev headers are installed): OK, trying to fix this, without having any deeper knowlege of C (anymore): > deleted-to-trash-plugin.c: In function ‘mailbox_open_or_create’: > deleted-to-trash-plugin.c:79: error: ‘MAILBOX_FLAG_KE

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Sven Hartge
Timo Sirainen wrote: > On 24.8.2012, at 16.13, Sven Hartge wrote: >>>> quota_rule = *:storage=1G:ignoredeleted >>>> quota_rule2 = Trash:storage=+100M >> >>> This can't be implemented race-condition-free without huge changes to code. >> >

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-25 Thread Sven Hartge
Timo Sirainen wrote: > On 25.8.2012, at 1.49, Sven Hartge wrote: >>> How about just disabling the quota enforcing and doing a nightly run >>> of some type of enforcing (sending notification email and/or >>> disabling new mail delivery until user has more quota a

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-25 Thread Sven Hartge
Timo Sirainen wrote: > On 25.8.2012, at 15.40, Sven Hartge wrote: >> Warning the user at 95%, 97% and 99% using the warning scripts is >> easy and was already configured and is working like a charm. >> >> But how do I instantly reenable the account when it drops bel

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-25 Thread Sven Hartge
Timo Sirainen wrote: > On 25.8.2012, at 18.28, Sven Hartge wrote: >> But because of performance considerations I want to use LMTP to deliver >> the mails. Would this nested plugin configuration work: >> (sorry, not at work, cannot test directly) >> >>

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-27 Thread Sven Hartge
Angel L. Mateo wrote: > El 25/08/12 09:23, Timo Sirainen escribió: >> On 25.8.2012, at 1.49, Sven Hartge wrote: >> >>>> How about just disabling the quota enforcing and doing a nightly run >>>> of some type of enforcing (sending notification email and/or

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Sven Hartge
Sascha Zucca wrote: > Am 31.08.2012 16:06, schrieb Timo Sirainen: >> On 31.8.2012, at 16.59, Sascha Zucca wrote: >>> So i guess >>> * LIST (\Noselect \HasNoChildren) "/" "Freigaben/" >>> is the Problem... >> Yes. The problem is, I don't see it even with v2.1.7. Although I do >> see that when a us

[Dovecot] finding messages deleted before timespec

2012-09-03 Thread Sven Hartge
Hi! I've been pondering about doveadm-search-query(7) and trying to formulate a search query for some time now and it seems there is no way to search for messages, which have been marked DELETED before a certain time. I want to use this to expunge all DELETED messages which have been in that stat

  1   2   >