Disabling auth fallback to PAM

2015-11-17 Thread martin f krafft
Hi folks, According to the wiki,¹ it's considered a feature of Dovecot and its ability to support multiple authentication sources that "if the password doesn't match in the first database, it checks the next one". ¹) http://wiki.dovecot.org/Authentication/MultipleDatabases I think it's great tha

Re: Disabling auth fallback to PAM

2015-11-20 Thread martin f krafft
also sprach Timo Sirainen [2015-11-21 14:14 +1300]: > Well, your topic is PAM. Is it? My point is that PAM should not even be asked if an authentication source beforehand knows about a user but the password cannot be verified. > But.. Right now passdb has result_success, result_failure and > res

Let lmtp create target directories

2015-11-25 Thread martin f krafft
Hello, we're using vmm¹ to manage our postfix+dovecot virtual mail setup, which allows us to give every virtual user a separate EUID and every domain a separate EGID for additional security (vs. handling all virtual mail with a single "vmail" user). As a consequence, however, vmm must itself crea

Re: [Dovecot] imap memory footprint rather large

2008-05-12 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2007.08.13.2324 +0100]: > > Is there a way to vacuum/reduce/optimise the cache? > > You can always delete it, but if your client wants the same > information all over again it gets grown to the same size. > Probably it doesn't after the initial mailbo

Re: [Dovecot] imap memory footprint rather large

2008-05-12 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2008.05.12.1813 +0100]: > v1.1 drops fields that aren't accessed after 30 days. And that interval is hardcoded or configurable? Also, do you have an ETA on the 1.1 release? As you may know, we're freezing Debian stable in August or September and it w

[Dovecot] child xxxxx (imap) returned error 83 (Out of memory)

2008-07-17 Thread martin f krafft
Hi list, > Jul 17 12:15:10 seamus dovecot: IMAP([EMAIL PROTECTED]): block_alloc(): Out > of memory > Jul 17 12:15:10 seamus dovecot: child 26181 (imap) returned error 83 (Out of > memory) I found those two entries in the logs this morning. The system has ample free memory. What's going on? --

Re: [Dovecot] child xxxxx (imap) returned error 83 (Out of memory)

2008-07-17 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2008.07.17.1355 +0200]: > > I found those two entries in the logs this morning. The system has > > ample free memory. What's going on? > > If you have huge mailboxes, increase mail_process_size setting or set it > to zero. The mailbox in question is

Re: [Dovecot] BUG: messages created with permissions not respecting

2008-07-17 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2006.12.22.2225 +0100]: > On 19.12.2006, at 11.45, Thomas Vander Stichele wrote: > > umask is set to 0007. This should ensure directories and files get > > created with read/write permissions for both user and group. > > umask setting isn't really wor

[Dovecot] rejecting mail due to quota exceeded

2008-09-17 Thread martin f krafft
Hi, we are using dovecot's deliver to deliver mails to a virtual mailbox tree owned by the vmail user, by piping the message to the following command spawned by vmail: /usr/bin/env HOME=/srv/vmail/mydomain.ch/myaccount /usr/lib/dovecot/deliver When a message is delivered to an account that has

Re: [Dovecot] rejecting mail due to quota exceeded

2008-09-17 Thread martin f krafft
also sprach Ulrich Zehl <[EMAIL PROTECTED]> [2008.09.17.1031 +0100]: > To exit with EX_TEMPFAIL instead of sending a rejection message, > use deliver's -e flag and the following dovecot.conf snippet, > taken straight from our mail server. Now I also found it on the wiki, and it works... well, I do

[Dovecot] Timeout during APPEND

2011-06-13 Thread martin f krafft
Dear list, I am running dovecot 1.2.15 on a Debian server. One user reports continuous problems synchronising her mailbox via IMAP (offlineimap, via SSH tunnel or SSL socket). It seems that she has a large, locally-created message, but the uplink bandwidth seems to be not enough to push it before

Re: [Dovecot] Timeout during APPEND

2011-06-13 Thread martin f krafft
also sprach martin f krafft [2011.06.13.1002 +0200]: > One user reports continuous problems synchronising her mailbox via > IMAP (offlineimap, via SSH tunnel or SSL socket). It seems that she > has a large, locally-created message, but the uplink bandwidth seems > to be not enoug

Re: [Dovecot] Timeout during APPEND

2011-06-13 Thread martin f krafft
also sprach Timo Sirainen [2011.06.13.1444 +0200]: > Timing out after only 30 seconds seems a bit aggressive to me, > especially if you're uploading a large message over a slow network > connection. Isn't it configurable? Not that I can see, but I will check out the code later too. The question

Re: [Dovecot] Timeout during APPEND

2011-06-13 Thread martin f krafft
also sprach Timo Sirainen [2011.06.13.1623 +0200]: > It could, and Dovecot does that for several commands. But I'm a bit > afraid of adding such code for APPEND, because it could easily break > some clients. I know an old version of Evolution broke if it got any > extra data during APPEND. Couldn

Re: [Dovecot] Timeout during APPEND

2011-06-14 Thread martin f krafft
also sprach Timo Sirainen [2011.06.14.1454 +0200]: > > Couldn't the client signal to the server that it wants/expects > > such data, and only then does dovecot send such pings? > > Good luck getting any client to implement something like that. FYI: http://bugs.debian.org/630444 -- martin | htt

[Dovecot] Running spamc during LMTP delivery

2012-08-08 Thread martin f krafft
Hello list, we are using dovecot-lmtp for delivery to virtual users, and vmm[1] to manage them. 1. http://vmm.localdomain.org/ One nice feature of vmm is that every virtual user has their own UID/GID on the UNIX filesystem. There is no passwd entry, so no shell login, but each user effectively h

Re: [Dovecot] Running spamc during LMTP delivery

2012-08-08 Thread martin f krafft
also sprach Daniel Piddock [2012.08.08.1201 +0200]: > Have you taken a look at Pigeonhole and Sieve? There's experimental > support for running spam filters and external commands. You'll need at > least 0.3.0 which requires Dovecot 2.1. > > http://wiki2.dovecot.org/Pigeonhole/Sieve I have found

Re: [Dovecot] Running spamc during LMTP delivery

2012-08-09 Thread martin f krafft
also sprach Timo Sirainen [2012.08.08.1509 +0200]: > > Do you have an idea how I could let dovecot-lmtp invoke spamc? Or an > > external command as a filter, to be run by the final user? > > Use spampd LMTP proxy? That's a system-wide filtering daemon, it does not run per-user. Since spam is a s

Re: [Dovecot] Running spamc during LMTP delivery

2012-08-09 Thread martin f krafft
also sprach Daniel Piddock [2012.08.08.1201 +0200]: > Have you taken a look at Pigeonhole and Sieve? There's > experimental support for running spam filters and external > commands. You'll need at least 0.3.0 which requires Dovecot 2.1. Dear list, here is an update. Indeed, the pigeonhole filter

Re: [Dovecot] Running spamc during LMTP delivery

2012-08-12 Thread martin f krafft
also sprach martin f krafft [2012.08.09.1423 +0200]: > and then put the following sieve script into > /etc/dovecot/sieve.before.d/spamassassin.sieve: > > require [ "vnd.dovecot.filter" ]; > filter "spamc" [ "--no-safe-fallback" ]; > > and

[Dovecot] Sieve's spamtest always returns 0

2013-12-26 Thread martin f krafft
I am a bit at a loss here with Sieve (pigeonhole) and the spamtest extension. I am using Dovecot 2.1.7 (backported to Debian squeeze), which comes with Pigeonhole 0.3.0. Messages are scanned with SpamAssassin, which adds a header like X-Spam-Status: Yes, score=84.6 required=5.0 tests=… and so

Re: [Dovecot] Sieve's spamtest always returns 0

2013-12-27 Thread martin f krafft
also sprach martin f krafft [2013-12-27 18:04 +1300]: > I tested those regular expressions with sed -r, e.g. > > % sed -rne "s@^X-Spam-Status: [^,]*, score=-?[[:digit:]]+\.[[:digit:]] > required=(-?[[:digit:]]+\.[[:digit:]]).*@\1@p" mailfile > 5.0 > > and th

Re: [Dovecot] Sieve's spamtest always returns 0

2013-12-27 Thread martin f. krafft
also sprach Stephan Bosch [2013-12-28 08:31 +1300]: > This configuration is incomplete. Your logs should show an error about > that. Testing with sieve-test shows: Oh, thank you for introducing me to sieve-test, somehow I have missed that. Sorry! And thank you also for your quick reply! Unfortu

Re: [Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread martin f krafft
also sprach Frank Lanitz [2014-02-10 10:14 +0100]: > I know it's a bit a n00bish question, but I'm a little confused about > this many different ways on setting up dovecot with postfix and using a > PostgreSQL backend for virtual hosts. I've found this one quiet helpful: > http://wiki2.dovecot.org

Re: [Dovecot] Looking for HowTo Postifx, Dovecot and PostgreSQL

2014-02-10 Thread martin f. krafft
also sprach Frank Lanitz [2014-02-10 11:56 +0100]: > Looks nice -- any experince using it with tine20 later? I have no idea what tine20 is and the website only contains buzzwords, sorry. vmm is pretty flexible how the underlying data representation in pgsql, so you can probably tweak anything.

[Dovecot] per-user delivery to commands

2007-05-20 Thread martin f krafft
Hi, we are using dovecot IMAP in a complex virtual setup with almost 4000 accounts; postfix hands over to deliver for local delivery into a home directory as stored in the SQL database. That's /srv/vmail/$DOMAIN/$LOCALPART for most of them, but I'd rather not hardcode this scheme anywhere as it's i

Re: [Dovecot] per-user delivery to commands

2007-05-20 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2007.05.20.1843 +0200]: > Hi, we are using dovecot IMAP in a complex virtual setup with almost > 4000 accounts; postfix hands over to deliver for local delivery into > a home directory as stored in the SQL database. That's

[Dovecot] lda: vacation auto-reply for a virtual address

2007-08-08 Thread martin f krafft
Hi, I am using Dovecot to manage a complex virtual mailbox setup. It's all working splendidly, thanks to the Dovecot LDA. This morning, however, I needed to create a vacation-style autoreply for one of the virtual addresses. I made use of cmusieve, authored a little sieve script, and had it workin

Re: [Dovecot] lda: vacation auto-reply for a virtual address

2007-08-08 Thread martin f krafft
also sprach Steffen Kaiser <[EMAIL PROTECTED]> [2007.08.08.1458 +0200]: > > until I discovered how limited sieve's vacation module is. Most > > importantly: it's hardcoded to use the Return-Path of a message, but > > in this very case, I need to actually use the address in the from > > What's the

Re: [Dovecot] lda: vacation auto-reply for a virtual address

2007-08-09 Thread martin f krafft
also sprach Joseba Torre <[EMAIL PROTECTED]> [2007.08.09.1251 +0200]: > As long as nothing depends on whatever you patch, you can do it > with no problem. And I don't think that anything depends on > dovecot. You just won't get security updates anymore. -- martin; (greetings from th

Re: [Dovecot] lda: vacation auto-reply for a virtual address

2007-08-09 Thread martin f krafft
also sprach Steffen Kaiser <[EMAIL PROTECTED]> [2007.08.09.0902 +0200]: > Sendmail uses different mailers (exim calls them transports, if > I remember correctly) for the two different maildrops, "scripts" > are invoked by the virtual "*prog*" mailer, whereas the spooling > into a local mailbox is p

[Dovecot] [solved] lda: vacation auto-reply for a virtual address

2007-08-09 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2007.08.09.1319 +0200]: > So yes, if I find a suitable virtual delivery agent or a way to pass > the maildir location from postfix to e.g. procmail, I'll have it > solved. But right now it does not look like it's possib

[Dovecot] status of APPENDUID: returning a UID in response to APPEND

2007-08-13 Thread martin f krafft
# dovecot-related content below, this one for debian bug tracking # system: retitle 435959 Please support RFC4315 UIDPLUS extension in APPEND reply severity 435959 wishlist thanks [please keep [EMAIL PROTECTED] on Cc.] Hi there, I am working on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=43

[Dovecot] imap memory footprint rather large

2007-08-13 Thread martin f krafft
Dear list, I am experimenting with a new mail handling setup and it involves a single IMAP folder with just under 70'000 messages. When OfflineIMAP connects to the server, the imap process starts to eat up a lot of memory: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 1

Re: [Dovecot] imap memory footprint rather large

2007-08-13 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2007.08.13.2259 +0200]: > Memory use seems to be O(n) in the size of the folder. On the folder > with 70k messages, dovecot seems to allocate 280m of memory, which I just saw in the logs: mmap() failed with index cache file /

Re: [Dovecot] imap memory footprint rather large

2007-08-13 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2007.08.14.0028 +0200]: > What exactly do you mean by FETCHing metadata? Something like ENVELOPE > or BODYSTRUCTURE? And this is fetched for all messages instead of just > new ones? That could easily explain why cache is so large. The code is: resp

Re: [Dovecot] status of APPENDUID: returning a UID in response to APPEND

2007-08-14 Thread martin f krafft
t news. Thanks, Timo. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems "

Re: [Dovecot] imap memory footprint rather large

2007-08-14 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2007.08.14.1358 +0200]: > So I guess most of the data in your dovecot.index.cache file came from > some initial FETCH ENVELOPE/BODYSTRUCTURE/etc. for all messages. If you > delete it, it won't probably get as large anymore. This is true, I deleted it

[Dovecot] use of deliver from procmail advisable?

2007-08-14 Thread martin f krafft
Hi list, I understand that dovecot's deliver does a little more than deliver: it also updates the dovecot metadata stored with each Maildir. Thus, if I use deliver as opposed to procmail's internal Maildir delivery, it seems that the IMAP server later has less work to do since the metadata is can

Re: [Dovecot] use of deliver from procmail advisable?

2007-08-14 Thread martin f krafft
also sprach Kyle Wheeler <[EMAIL PROTECTED]> [2007.08.14.1833 +0200]: >> I understand that dovecot's deliver does a little more than >> deliver: > > It also understands the 'seive' filter language (an alternative to > procmail). I don't consider it an alternative to procmail because you cannot pas

Re: [Dovecot] use of deliver from procmail advisable?

2007-08-14 Thread martin f krafft
also sprach Charles Marcus <[EMAIL PROTECTED]> [2007.08.14.2028 +0200]: >> Well, the whole point of sieve, I believe, is to make it something that an >> admin would want to let arbitrary users modify on their own recognizance, >> and the ability to specify arbitrary programs to run would be just

Re: [Dovecot] imap memory footprint rather large

2007-08-15 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2007.08.14.1552 +0200]: > > So I guess most of the data in your dovecot.index.cache file > > came from some initial FETCH ENVELOPE/BODYSTRUCTURE/etc. for all > > messages. If you delete it, it won't probably get as la

Re: [Dovecot] use of deliver from procmail advisable?

2007-08-15 Thread martin f krafft
also sprach Jerry Yeager <[EMAIL PROTECTED]> [2007.08.15.1758 +0200]: > a) Postfix milter to run ClamAv, eh something like this (for Linux fans) > b) then use the regular Postfix <--> SpamAssassin <--> LDA (with sieve) > setup (message routing via Postfix master.cf) so that individual users can >

[Dovecot] removing IMAP keywords?

2007-08-23 Thread martin f krafft
Hi there, I found that with an IMAP command like STORE 1 +FLAGS (testflag) I can set arbitrary flags on mails through the dovecot IMAP daemon. This rules. Now I wonder, however, how I can remove those flags, which become properties of the folder, really. For instance, after the above, SELECT

Re: [Dovecot] removing IMAP keywords?

2007-08-23 Thread martin f krafft
also sprach Kyle Wheeler <[EMAIL PROTECTED]> [2007.08.23.2103 +0200]: > Check out section 9, Formal Syntax. Specifically, "flag-keyword", which is > defined to be an "atom", which is a sequence of ANY character except the > "atom-specials". In other words, a flag-keyword is a string of one or mor

Re: [Dovecot] removing IMAP keywords?

2007-08-23 Thread martin f krafft
also sprach Julian Cowley <[EMAIL PROTECTED]> [2007.08.23.2228 +0200]: > Funny, I just went through this moments before I saw this message. > As far as I know, there is no way to do it other than to delete > the dovecot.index files on the server. If you don't have access > to the server, then ther

Re: [Dovecot] removing IMAP keywords?

2007-08-25 Thread martin f krafft
also sprach Timo Sirainen <[EMAIL PROTECTED]> [2007.08.24.1654 +0100]: > It could be a good idea to talk about it first in imap-protocol list to > see if other people have better ideas. This is a good idea. However, in a thread on the mailtags mailing list, the Mail.app MailTags author raised some

Separators and shared namespaces

2023-09-27 Thread martin f krafft via dovecot
Hello, I am running Dovcecot 2.3.19 on Debian, and I am trying to get shared to work. It's working if I do this: ``` namespace { type = shared separator = / prefix = Team/%%u/ location = maildir:%%h/Maildir:INDEX=%h/Maildir/Team/%%u:INDEXPVT=%h/Maildir/Team/%%u subscriptions = no

Re: Separators and shared namespaces

2023-09-27 Thread martin f krafft via dovecot
Regarding the following, written by "Aki Tuomi" on 2023-09-27 at 13:09 Uhr +0300: The physical (file system) separator and hierachy separator are not related. You can safely change the hierarchy separator to / . Okay, so what is it used for? The shared namespace should have list=children, an