Re: [Dovecot] proxy: can I use the password returned from passdb to log in to the back-end?

2013-09-30 Thread Justin McAleer
On Fri, Sep 27, 2013 at 11:28 AM, Timo Sirainen wrote: > On 27.9.2013, at 16.57, Justin McAleer wrote: > > > I am hoping to support encrypted passwords, which I know is generally not > > allowed in a proxy setup. However, I can return the password in > clear-text &g

[Dovecot] proxy: can I use the password returned from passdb to log in to the back-end?

2013-09-27 Thread Justin McAleer
I am hoping to support encrypted passwords, which I know is generally not allowed in a proxy setup. However, I can return the password in clear-text out of the password database, so I was hoping for something similar to the destuser field. I have successfully used the master password functionality

[Dovecot] frequent index rebuilds versus disabled indexes

2007-05-30 Thread Justin McAleer
Ok, here's the short and sweet version of my dilemma. I have a group of servers mounting a shared NFS device to hold mail data for many different domains. Is it worth the load balancing management nightmare of setting up dedicating smtp, pop, and imap to one server (failing over to another in t

Re: [Dovecot] Stop Maildir appending to path

2007-05-30 Thread Justin McAleer
Henry wrote: dovecot -n: # /etc/dovecot/dovecot.conf ... snip ... userdb: driver: static args: uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes Try adding mail_location=~/ to the args above. socket: type: listen client: path: /var/spool/postfix/private

Re: [Dovecot] mail_location %d expansion

2007-05-21 Thread Justin McAleer
Mark Par wrote: hi, i'm trying to read the mails of virtual users by setting the value of mail_location to /mail/virtual/%d/%u/Maildir. however, the %d does not resolve to the domain. i am using ldap as my passdb and userdb. what am i missing here? | May 21 04:32:42 localhost dovecot: auth(d

Re: [Dovecot] dbmail benchmarking

2007-05-14 Thread Justin McAleer
Timo Sirainen wrote: I thought I'd try benchmarking with dbmail (v2.2.4) to see how much slower a SQL backend could actually be. Skip to bottom for the conclusions. Originally I ran the tests with the databases being in XFS filesystem. MySQL's performance was horrible. It went 3-7x faster wit

Re: [Dovecot] Mails, work and so on

2007-05-11 Thread Justin McAleer
Stewart Dean wrote: can we paypal you some money? It would be personal, not commercial and consequently not that much, but everything helps... http://www.dovecot.org/donate.html There, now I've done my part ;)

Re: [Dovecot] SASL using different auth database?

2007-05-11 Thread Justin McAleer
Timo Sirainen wrote: On Fri, 2007-05-11 at 11:39 -0400, Justin McAleer wrote: If you can assign two IPs to the server, one for SMTP, and one for POP/IMAP, and you can use a SQL backend, you could craft your db schema and queries to pull the appropriate password based on the local IP of the

Re: [Dovecot] SASL using different auth database?

2007-05-11 Thread Justin McAleer
Timo Sirainen wrote: On Thu, 2007-05-10 at 20:57 -0400, Dave McGuire wrote: The goal here is to allow users to have different passwords for SMTP authentication and POP/IMAP connections. I am converting an existing installation to Dovecot...this installation currently has quite a few

Re: [Dovecot] Dovecot deliver discards emails (mail loss)

2007-05-08 Thread Justin McAleer
Steffen Kaiser wrote: msgid=<[EMAIL PROTECTED]>: Return-Path missing, rejection reason: Not enough disk space May 8 09:49:53 ux-2s11-9 sendmail[29618]: l487nclf029596: to="| /etc/mail/runde", ctladdr=dvtest (31045/102), delay=00:00:15, xdelay=00:00:00, mailer=prog, pri=120033, dsn=2.0.0, stat

Re: [Dovecot] connecting postfix with dovecot trouble

2007-05-03 Thread Justin McAleer
André Höpner wrote: postmap -q [EMAIL PROTECTED] ldap:/etc/postfix/ldap-aliases.cf first returns: someuser The mailbox someuser exists and i can login with this user on imap and i can deliver directly using deliver -d but on mail delivery thrue postfix dovecot is not looking for someuser. It l

Re: [Dovecot] usedb query

2007-05-03 Thread Justin McAleer
M1 wrote: > I can specified two passdb so I can mix auth source. > > Can I do similar thing with userdb? I would like to have uid, gid and > home from static and quota from sql. > Just do that in your sql query: "select 1000 as uid, 12 as gid, '/home/default' as home, quota from userdb where ..."

Re: [Dovecot] dovecot for imap

2007-04-30 Thread Justin McAleer
[EMAIL PROTECTED] wrote: Not sure if that is what I want. When setting mailbox_location to : mail_location = mbox:~/mail:INBOX=/var/mail/%u Users have inbox, trash and sent folder, but none of the other folders that they have created in /home/Username. Their home is defined in ldap. If

Re: [Dovecot] Dovecot 1.0.0 and Seive 1.0.1 on FreeBSD

2007-04-20 Thread Justin McAleer
Ed Lucero wrote: I have installed dovecot and sieve using the FreeBSD ports. Authentication is against a MySql Database. Dovecot is running using deliver as the LDA. But when I try to Sieve I get the following error in /var/log/dovecot.log deliver([EMAIL PROTECTED]): Apr 19 14:07:19 Info: Load

Re: [Dovecot] deliver failing to execute sendmail (sieve)

2007-04-19 Thread Justin McAleer
Justin McAleer wrote: I have apparently done something to mess up my test installation, as deliver's attempts to send messages now fail with the following error: deliver([EMAIL PROTECTED]): execv() failed: No such file or directory In these cases, I have sieve rules trying to send mes

Re: [Dovecot] message-of-the-day feature?

2007-04-19 Thread Justin McAleer
Steven F Siirila wrote: That's worth noting, but... What about getting notices out to those folks whose IMAP client stays connected (sometimes for days on end)? In a plugin, what would trigger a check for new messages? I haven't explored the plugin capabilities yet, so I don't know what th

Re: [Dovecot] deliver failing to execute sendmail (sieve)

2007-04-19 Thread Justin McAleer
Uldis Pakuls wrote: Justin McAleer wrote: I have apparently done something to mess up my test installation, as deliver's attempts to send messages now fail with the following error: deliver([EMAIL PROTECTED]): execv() failed: No such file or directory Are you useing mail_chroot

[Dovecot] deliver failing to execute sendmail (sieve)

2007-04-19 Thread Justin McAleer
I have apparently done something to mess up my test installation, as deliver's attempts to send messages now fail with the following error: deliver([EMAIL PROTECTED]): execv() failed: No such file or directory In these cases, I have sieve rules trying to send messages. It had been working thou

Re: [Dovecot] v1.1 plans

2007-04-18 Thread Justin McAleer
Justin McAleer wrote: I was having problems with it seemingly not making updates at all. It would do the initial usage calculation when I logged in, but never updated when I sent a message or expunged anything. In the past (months ago) I also saw problems when sending a message to multiple

Re: [Dovecot] v1.1 plans

2007-04-18 Thread Justin McAleer
Charles Marcus wrote: Richard Laager wrote: On Tue, 2007-04-17 at 21:46 +0300, Timo Sirainen wrote: I'm planning on keeping v1.1 almost completely compatible with v1.0. There could be some minor configuration file changes, but for most people v1.0's dovecot.conf should work with v1.1. Please

Re: [Dovecot] v1.1 plans

2007-04-18 Thread Justin McAleer
Timo Sirainen wrote: On Tue, 2007-04-17 at 15:41 -0400, Justin McAleer wrote: In my testing of using sql dictionary for quota, it appears pretty buggy. Are you aware of such problems? Either way, would you consider reliable dictionary quota support a target for 1.1? Actually I think

Re: [Dovecot] v1.1 plans

2007-04-17 Thread Justin McAleer
Timo Sirainen wrote: Features that I'm planning on implementing: - Fully supported shared mailboxes and IMAP ACL extension - Replace Squat FTS indexes with my new design - Case-insensitive searches with non-ASCII text as well - Maybe add support for all kinds of IMAP extensions that can be

Re: [Dovecot] keeping indexes in tmpfs

2007-04-17 Thread Justin McAleer
Daniel L. Miller wrote: Justin McAleer wrote: I have the source mail spools on NFS as well. Just asking - not looking for a flame war. I had a miserable time trying to get NFS working with just my simple LAN - I've had much better results via Samba with either SMBFS or CIFS. Off-topic

Re: [Dovecot] Maildir, INDEX, and folders

2007-04-16 Thread Justin McAleer
Troy Engel wrote: I'm reading the wiki et el. regarding indexes, but can't come up with a coherent answer to the setup and what will happen. I want to take the indexes and move them off of NFS (~/Maildir) and place in /var/spool/dovecot/indexes, but not have to hand create everything (user hom

Re: [Dovecot] keeping indexes in tmpfs

2007-04-16 Thread Justin McAleer
Timo Sirainen wrote: On Mon, 2007-04-16 at 10:41 -0400, Justin McAleer wrote: OK, that also causes it to read the mailboxes and save the message sizes to cache files. I expected as much. But just to make sure we're on the same page, after converting a user, only dovecot.inde

Re: [Dovecot] keeping indexes in tmpfs

2007-04-16 Thread Justin McAleer
Timo Sirainen wrote: On Mon, 2007-04-16 at 09:37 -0400, Justin McAleer wrote: While doing some testing with converting accounts while simulating incoming mail load (no other pop/imap processes going but 4 processes converting users), we found that we were maxing out the local disk in the

[Dovecot] keeping indexes in tmpfs

2007-04-16 Thread Justin McAleer
While doing some testing with converting accounts while simulating incoming mail load (no other pop/imap processes going but 4 processes converting users), we found that we were maxing out the local disk in the server with the index activity. To find out that it was the index activity, I mounte

[Dovecot] convert plugin created maildirfolder file in root maildir directory

2007-04-12 Thread Justin McAleer
I've noticed that if a user's maildir gets created by deliver or pop/imap without the convert plugin running, the maildir structure is fine (no maildirfolder file). But, if a user gets converted, there is a maildirfolder file in the user's base maildir directory. As far as I can tell, that does

Re: [Dovecot] Released 1.0.rc31

2007-04-09 Thread Justin McAleer
Timo Sirainen wrote: http://dovecot.org/releases/dovecot-1.0.rc31.tar.gz http://dovecot.org/releases/dovecot-1.0.rc31.tar.gz.sig mbox + NFS combination shouldn't break anymore. v1.0 still planned to be released next friday. - mbox: Give "mbox file was modified while we were syncing" error

Re: [Dovecot] 1.0.rc30 released

2007-04-06 Thread Justin McAleer
Timo Sirainen wrote: On 6.4.2007, at 17.55, Justin McAleer wrote: Timo, in rc30, deliver is not creating user directories properly. It looks like it goes straight to creating the maildir, without creating the home directory first if it doesn't exist. It also seems to be doing this b

Re: [Dovecot] 1.0.rc30 released

2007-04-06 Thread Justin McAleer
Timo Sirainen wrote: http://dovecot.org/releases/dovecot-1.0.rc30.tar.gz http://dovecot.org/releases/dovecot-1.0.rc30.tar.gz.sig So, this is it. Unless you can find a new and important bug within a week, this release is the same as v1.0. I'll only update the version number and NEWS file. Change

Re: [Dovecot] 1.0.rc30 released

2007-04-06 Thread Justin McAleer
Timo Sirainen wrote: Changes since rc29: * PAM: Lowercase the PAM service name when calling with "args = *". Linux PAM did this internally already, but at least BSD didn't. If your PAM file used to be in /etc/pam.d/IMAP or POP3 file you'll need to lowercase

[Dovecot] changing fs separator for maildir (suggestions?)

2007-04-05 Thread Justin McAleer
Since we're migrating from an existing system that allows periods in folder names, I believe we must continue to allow them. So, I am deciding what to use as the separator instead. Right now, I'm leaning towards the backtick (`), since I don't think I have ever used it unless I was trying to ex

Re: [Dovecot] Problems using GFS2 and clustered dovecot

2007-04-05 Thread Justin McAleer
David Craigon wrote: I am trying to use dovecot. I've got a GFS2 shared volume on two servers with dovecot running on both. On one server at a time, it works. Sorry to not answer your question directly, but do you have a good reason to be using GFS instead of NFS? We experimented with GFS

Re: [Dovecot] Version numbering

2007-03-28 Thread Justin McAleer
Timo Sirainen wrote: After v1.0 is released, I can finally get back to sane version numbers. But any comments on which one is better: a) Postfix-style: "1.1.UNSTABLE.MMDD" -> 1.1.0 (stable) b) Odd-even numbering: 1.1.x (unstable) -> 1.2.0 (stable) With a) style the releases could be done b

Re: [Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-22 Thread Justin McAleer
Timo Sirainen wrote: On Mon, 2007-03-19 at 10:36 -0400, Justin McAleer wrote: rm -rf /var/indexes/* rm -rf /var/mailstore/.../Maildir (for the test account) send test message rm -rf /var/mailstore/.../Maildir send test message (corruption error, temporary failure to postfix, but message

Re: [Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-19 Thread Justin McAleer
Timo Sirainen wrote: However, I think a more simple way to recreate the problem is to simply delete an existing maildir (with existing indexes) and send a message to it. This shows the behavior every time on my system. I'll attach a tar of all files in the index dir to this email though.

Re: [Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-19 Thread Justin McAleer
Timo Sirainen wrote: On Fri, 2007-03-16 at 13:14 -0400, Justin McAleer wrote: Justin McAleer wrote: ... Mar 16 12:51:15 node7 dovecot: IMAP(justin): Corrupted transaction log file /var/indexes//j/ju/justin/.INBOX/dovecot.index.log: file_seq=1, min_file_offset (63380

Re: [Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-16 Thread Justin McAleer
Timo Sirainen wrote: On Fri, 2007-03-16 at 13:14 -0400, Justin McAleer wrote: Justin McAleer wrote: ... Mar 16 12:51:15 node7 dovecot: IMAP(justin): Corrupted transaction log file /var/indexes//j/ju/justin/.INBOX/dovecot.index.log: file_seq=1, min_file_offset (63380

Re: [Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-16 Thread Justin McAleer
Justin McAleer wrote: ... Mar 16 12:51:15 node7 dovecot: IMAP(justin): Corrupted transaction log file /var/indexes//j/ju/justin/.INBOX/dovecot.index.log: file_seq=1, min_file_offset (63380) > max_file_offset (24) Sorry to self-reply, but I just noticed that the domain part of the path

Re: [Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-16 Thread Justin McAleer
Timo Sirainen wrote: Yes, it's supposed to recover from that. I couldn't reproduce this. It always fixed the problem with the next try, or 3rd try at latest. If this happens again, could you send me the dovecot.index and dovecot.index.log files? While attempting to recreate this I managed to

[Dovecot] BUG: Unexpected input from auth master:

2007-03-16 Thread Justin McAleer
deliver logs the error in the subject whenever the userdb lookup fails. I had a query discrepancy between postfix and dovecot, so messages were accepted that shouldn't have been, but I figured deliver should probably handle that a bit more gracefully :)

[Dovecot] corrupted transaction log error resulting in multiple deliveries

2007-03-16 Thread Justin McAleer
I'm finally picking my dovecot project back up now, and after upgrading rc19 to rc27, I sent a test message to an existing account which resulted in log entries like these: Mar 16 08:45:37 node7 deliver([EMAIL PROTECTED]): Corrupted transaction log file /var/indexes/example/com/u/us/user/.INB