Re: [Dovecot] Linux SO_REUSEPORT

2013-09-23 Thread Ben Morrow
At 2PM +0300 on 23/09/13 you Timo Sirainen wrote: > [SO_REUSEPORT] > > This feature originated from BSDs that had it long time ago. SO_REUSEPORT was introduced in 4.4 BSD, but the new Linux feature which includes load balancing is something rather different. It's a pity the Linux (Google?) peop

Re: [Dovecot] LDA vs. LMTP

2013-07-30 Thread Ben Morrow
At 3PM -0700 on 30/07/13 you (Joseph Tam) wrote: > Martin Burgraf writes: > > > And when it's running as root there is always the danger > > of privilege escalation. LDA only runs when it's needed and since it > > uses only user rights it shoudbe more harmless. > > I didn't contest the privileg

Re: [Dovecot] LDA vs. LMTP

2013-07-29 Thread Ben Morrow
At 4PM -0500 on 29/07/13 you (Stan Hoeppner) wrote: > On 7/29/2013 2:30 AM, Jan Behrend wrote: > > > You cannot use the LDA method if SMTP and IMAP services reside on > > different machines, which would be the case in larger scale mail system > > setups. > > Which brings up an interesting point.

Re: [Dovecot] dbus support in dovecot?

2013-07-25 Thread Ben Morrow
At 9AM -0400 on 25/07/13 you (Gene Heskett) wrote: > On Thursday 25 July 2013 08:38:33 Steffen Kaiser did opine: > > > there might be a misunderstanding here, Dovecot is an IMAP and POP3 > > server. It ships tools that replicate messages from other Dovecot > > servers and in limits from other IMA

Re: [Dovecot] SSL cert problem

2013-07-11 Thread Ben Morrow
At 1PM -0700 on 11/07/13 you (Professa Dementia) wrote: > > If you have access to a Unix / Linux system, you can use openssl with > the s_client command to connect to your mail server, much as you would > have done with telnet in the old days. openssl shows all of the key > exchange in detail an

Re: [Dovecot] popup to all users ?

2013-07-05 Thread Ben Morrow
At 3PM +0200 on 5/07/13 you (Frank Bonnet) wrote: > > I need to have a information popup will be send when > my thunderbird's users connect to our server. > > Is there a function in Dovecot to do so ? http://wiki2.dovecot.org/PostLoginScripting#Alerts (I don't actually know Thunderbird displa

Re: [Dovecot] /etc/passwd Centos + dovecot

2013-06-25 Thread Ben Morrow
At 10PM +0200 on 25/06/13 you (Reindl Harald) wrote: > Am 25.06.2013 16:59, schrieb Paolo Andretta: > > On Tue, 25 Jun 2013, Dejan Doder wrote: > > > >> Hi group , I use system users with passwords defined in /etc/passwd. > >> How can users change their passwords ? > > > > I don't think this is d

Re: [Dovecot] Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect

2013-06-21 Thread Ben Morrow
At 1PM -0400 on 21/06/13 you (Ben Johnson) wrote: > On 6/20/2013 10:00 PM, Bob Miller wrote: > > > >> It really boils-down to the fact that I can call the following on the > >> command-line and it functions as expected: > >> > >> su vmail -c '/usr/lib/dovecot/deliver -a "sa-train...@example.com"

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 6PM -0700 on 14/06/13 you (Frerich Raabe) wrote: > > Nice, judging from the source code it looks very much like what I was > thinking of! However, as it happens my IMAP server is *very* minimalistic > (it runs FreeBSD and has just 9 software packages installed, the bare > minimum I needed for D

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 5PM -0400 on 14/06/13 you (Ben Johnson) wrote: > > Thanks Timo and Ben for the authentication suggestions. I'll look into > those further. It seems clear that whatever method is used, it has to > transmit the user's credentials securely. Plaintext authentication is > not an option in my enviro

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 10PM +0300 on 14/06/13 you (Timo Sirainen) wrote: > On 14.6.2013, at 22.22, Ben Johnson wrote: > > > The complexities associated with authentication will be the most > > difficult part (at least if you want to build something reusable). > > Dovecot has a pretty easily usable auth server that

Re: [Dovecot] Allowing clients to test their Sieve scripts

2013-06-14 Thread Ben Morrow
At 9AM -0700 on 14/06/13 you (Frerich Raabe) wrote: > > One thing which came up repeatedly is that clients using the IMAP > server I run (using Dovecot 2.1) wonder whether they broke their Sieve > scripts, i.e. it often goes like "I don't know whether I just didn't > receive any mail, or whether

Re: [Dovecot] quota-status not working in distributed environment

2013-06-14 Thread Ben Morrow
At 8AM +0200 on 14/06/13 you (Benoit Panizzon) wrote: > > It's quite simple (compared with sendmail milter). I will directly > connect to the policy service on the correct machine from wihtin the > milter. The milter has to do a database query anyway so I get the > mailbox hostname in the same que

Re: [Dovecot] quota-status not working in distributed environment

2013-06-13 Thread Ben Morrow
At 12PM +0200 on 13/06/13 you (Benoit Panizzon) wrote: > > Or is the postfix policy daemon call to the quota-status socket documented > somewhere (it must be, but where?) so we could implement it from within the > Milter? (we use the sendmail Milter API from postfix to filter spam and > viruses

Re: [Dovecot] Turn off IMAPS?

2013-06-13 Thread Ben Morrow
At 4PM +0200 on 13/06/13 you (Simon B) wrote: > > I've upgraded to 2.1.7 and finally decided to turn off imaps and pop3s > because these days everyone uses tls over 143 anyway. But it's on and > I can't figure out why. > > I only have non-ssl versions specified: > protocols = imap pop3 Dovecot

Re: [Dovecot] dovecot and time

2013-06-07 Thread Ben Morrow
At 11AM -0500 on 5/06/13 you (Rick Romero) wrote: > I found something interesting via strace. lda is writing a timestamp > with utime before doign the fsync, but I'm really not a C guy, so I > have no idea why that's going on via procmail and not via commandline. > I assume it's related t

Re: [Dovecot] Make install error

2013-06-07 Thread Ben Morrow
At 5PM +0800 on 4/06/13 you (kengheng) wrote: > On 5/17/13 7:12 PM, Ben Morrow wrote: > > At 5PM +0800 on 15/05/13 you (kengheng) wrote: > >> On 4/24/13 11:50 PM, Ben Morrow wrote: > >>> > >>> These files should be installed under libexec; probabl

Re: [Dovecot] Dovecot and time (again)

2013-06-07 Thread Ben Morrow
At 9AM -0500 on 5/06/13 you (Rick Romero) wrote: > I'm rehashing/reliving my issues from 2010: > http://www.dovecot.org/list/dovecot/2010-October/053528.html > > In short, when calling deliver from vdelivermail (or procmail), and > delivering via NFS to Maildir, the timestamp on the file is GMT.

Re: [Dovecot] system account delivery userdb authentication

2013-05-29 Thread Ben Morrow
[Please keep replies on the list.] At 6AM +0200 on 29/05/13 you (Yann Shukor) wrote: > > Although simpler to set up, I chose to steer clear of the single user > representing 'all' because I liked the idea of giving users access to > Usermin allowing them to manage their own password and vacation

Re: [Dovecot] system account delivery userdb authentication

2013-05-28 Thread Ben Morrow
At 10PM +0200 on 28/05/13 you (Yann Shukor) wrote: > > The remaining aspect that isn't working is the delivery of emails. > > The entry in master.cf for dovecot looks looks this: > > dovecot unix - n n - - pipe > flags=DRhu user=mail:mail argv=/usr/lib/dovec

Re: [Dovecot] mixing virtual and system users

2013-05-26 Thread Ben Morrow
At 7PM +0200 on 26/05/13 you (Julien Beauviala) wrote: > > I'm setting up a small mail server for aprox 20 users, and I'm trying to > keep it really simple so I went the virtual users as text file way, > following this page : > > http://lukas-schulze.de/2012/02/setup-postfix-and-dovecot-on-debia

Re: [Dovecot] Passwordless auth?

2013-05-24 Thread Ben Morrow
At 5PM +0200 on 24/05/13 you (Dirk Jahnke-Zumbusch) wrote: > [I wrote:] > > > >I didn't quite mean that: yes, that is 'passwordless' in a sense, but > >you still have to have typed a password into kinit fairly recently. > > > >What I meant was that with 2.2 it's finally possible to set a list of >

Re: [Dovecot] Passwordless auth?

2013-05-24 Thread Ben Morrow
At 9AM +0200 on 24/05/13 you (wolfgang.frie...@desy.de) wrote: > On Fri, 24 May 2013, Ben Morrow wrote: > > At 4PM -0700 on 23/05/13 you (Dan Mahoney, System Admin) wrote: > > > >> I could also create a dovecot-only user with my UID and no other login > >> privi

Re: [Dovecot] Passwordless auth?

2013-05-23 Thread Ben Morrow
At 4PM -0700 on 23/05/13 you (Dan Mahoney, System Admin) wrote: > > I'm in the process of writing some scripts which I want to be able to take > actions on my local mailbox. (For example, to move a subset of messages > to the trash over time, if unread for a week. To act on messages in my >

Re: [Dovecot] auth with passwd file , doublepoint in paasword

2013-05-22 Thread Ben Morrow
At 10PM +0200 on 22/05/13 you (Robert Schetterer) wrote: > Hi, does anyone know > if a doublepoint : is in the password how it gets escaped > > when using > > http://wiki2.dovecot.org/AuthDatabase/PasswdFile I don't think it can be; that is, I don't think any of the fields can contain a colon if

Re: [Dovecot] should dovecot store maildir files with CRLF or LF?

2013-05-21 Thread Ben Morrow
At 12AM +0200 on 22/05/13 you (Christoph Anton Mitterer) wrote: > > I've made a strange observation. > When having Dovecot (at least) with maildir and moving (via IMAP) mail > received by some client (Evolution 3.4) into it the following happens: > > Regardless of whether the mail was originally(

Re: [Dovecot] Configure dovecot to provide SASL authentication

2013-05-20 Thread Ben Morrow
At 6PM +0200 on 19/05/13 you (Reindl Harald) wrote: > > > Am 19.05.2013 17:51, schrieb Peter Skensved: > > service auth { > > unix_listener /var/spool/postfix/private/auth { > > mode = 0666 > > } > > chmod 666 is always a very bad idea While I would agree with you in principle, the doc

Re: [Dovecot] Pigeonhole: extprograms - pipe

2013-05-17 Thread Ben Morrow
At 7PM +0400 on 17/05/13 you (Anes Mukhametov) wrote: > Hello! > > I've tried to use extprograms pipe feature but stuck with "Broken pipe" > errors in mail log: > > May 17 15:18:57 backend1 dovecot: lmtp(20338, u...@domain.tld): Debug: > 3VMVFWFKllFyTwAArRg8UA: sieve: action pipe: running progra

Re: [Dovecot] Make install error

2013-05-17 Thread Ben Morrow
At 5PM +0800 on 15/05/13 you (kengheng) wrote: > On 4/24/13 11:50 PM, Ben Morrow wrote: > > At 1PM +0800 on 24/04/13 you (kengheng) wrote: > >> Hi, I tried remove and make install, same err happended. I noticed from > >> the log below, it first generate the > >

Re: [Dovecot] Remove Return-Path in lda rejection message

2013-05-10 Thread Ben Morrow
At 4PM +0200 on 10/05/13 you (Davide) wrote: > Is it possible to remove return-path in dovecot lda rejection? Can you explain a bit more what you mean? A message should always end up with exactly one Return-Path header, which is put in by the final (delivering) MTA. This is not something sieve

Re: [Dovecot] AuthenticationFailedException: [IN-USE] Couldn't open INBOX: Permission denied

2013-05-08 Thread Ben Morrow
At 4AM + on 9/05/13 you (Earles, Jill) wrote: > Wow, that is a lot of detail. Thank you very much. I appreciate the > Unix security perspective - that's something I'm trying to learn more > about and be more in tune with as a new systems administrator. > > We are not using dotlocks, and

Re: [Dovecot] AuthenticationFailedException: [IN-USE] Couldn't open INBOX: Permission denied

2013-05-08 Thread Ben Morrow
At 2AM + on 9/05/13 you (Earles, Jill) wrote: > >> > >> May 8 17:46:49 moose dovecot: pop3(lib.sysadmin): Error: > >> stat(/var/spool/mail/lib.sysadmin) failed: Permission denied > > > > This is interesting: normally stat only fails if the permissions on the > > directory (that is, /var/sp

Re: [Dovecot] AuthenticationFailedException: [IN-USE] Couldn't open INBOX: Permission denied

2013-05-08 Thread Ben Morrow
At 12AM + on 9/05/13 you (Earles, Jill) wrote: > I've been pouring over the documentation for dovecot, but can't find a > solution to this problem. I recently took over administration of the > dovecot email service at the University where I work, and things were > going smoothly. We've been

Re: [Dovecot] Permission problem with LDA and dovecot 2.2.1

2013-05-08 Thread Ben Morrow
At 9PM +0200 on 8/05/13 you (Tobi) wrote: > Am 08.05.2013 19:21, schrieb Ben Morrow: > > At 6PM +0200 on 7/05/13 you (Tobi) wrote: > >> I tried with removing the base_dir definition from my config, restartet > >> dovecot and checked with the commands you provid

Re: [Dovecot] IMAP SSL proxy (questions)

2013-05-08 Thread Ben Morrow
At 10AM -0600 on 8/05/13 you (Trever L. Adams) wrote: > Hello everyone, > > I have seen: http://wiki.dovecot.org/HowTo/ImapProxy. It doesn't seem to > fit what I need. That page is for Dovecot 1.x, which is obsolete. You should be reading http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Pro

Re: [Dovecot] Permission problem with LDA and dovecot 2.2.1

2013-05-08 Thread Ben Morrow
At 6PM +0200 on 7/05/13 you (Tobi) wrote: > > I tried with removing the base_dir definition from my config, restartet > dovecot and checked with the commands you provided below: > << > root@nordkap:~# doveconf -d base_dir > base_dir = /usr/local/var/run/dovecot > root@nordkap:~# doveconf base_d

Re: [Dovecot] sieve redirect envelope address problem

2013-05-07 Thread Ben Morrow
At 12PM +1100 on 8/05/13 you (Костырев Александр Алексеевич) wrote: > > I have a problem with mail redirection through sieve rules. > I've configured sieve rule that redirects any mail coming to user to > gmail mailbox (or whatever external mail system there is). > But when sieve redirects any ma

Re: [Dovecot] Keyword limit?

2013-05-07 Thread Ben Morrow
At 7PM -0600 on 6/05/13 you (Michael M Slusarz) wrote: > Quoting Ben Morrow : > > At 4PM -0600 on 6/05/13 you (Michael M Slusarz) wrote: > >> Running into a weird issue in a mailbox that has 26+ keywords. > > > > You are using Maildir, yes? Maildir stores keywords

Re: [Dovecot] ot: mirroring/archiving to a Mac?

2013-05-07 Thread Ben Morrow
At 2AM +0200 on 8/05/13 you (Reindl Harald) wrote: > Am 08.05.2013 02:30, schrieb voy...@sbt.net.au: > > I have Doveot 2.1.1 on Centos, all's well > > > > user mails are kept for 60 days, then, 'aged off' (deleted) > > > > a Mac user with two domains and two dozen users asked me: > > > > can I

Re: [Dovecot] Keyword limit?

2013-05-06 Thread Ben Morrow
At 4PM -0600 on 6/05/13 you (Michael M Slusarz) wrote: > Running into a weird issue in a mailbox that has 26+ keywords. You are using Maildir, yes? Maildir stores keywords in the flags field of the message filename, using lowercase letters, so there is a limit of 26 per folder. See http://wiki2.

Re: [Dovecot] Permission problem with LDA and dovecot 2.2.1

2013-05-06 Thread Ben Morrow
At 8PM +0200 on 6/05/13 Tobi wrote: > > << > 2013 May 6 18:37:59 nordkap lda: Fatal: Internal error occurred. Refer > to server log for more information. > May 6 18:37:59 nordkap dovecot: lda: Error: userdb lookup: > connect(/var/run/dovecot/auth-userdb) failed: Connection refused > May 6 1

Re: [Dovecot] Accessing mail files not owned by imap login user

2013-05-03 Thread Ben Morrow
At 3PM -0700 on 1/05/13 you (PaulM47) wrote: > > I have managed to set up a 'maildir' based mail system using fetchmail and > procmail that delivers sorted mail to folders /var/spool/mail/user1, > ../user2 etc. 'user1', 'user2' etc. are real users but the mail system is > run under logged in use

Re: [Dovecot] Make install error

2013-04-24 Thread Ben Morrow
At 1PM +0800 on 24/04/13 you (kengheng) wrote: > Hi, I tried remove and make install, same err happended. I noticed from > the log below, it first generate the > "/usr/local/dovecot/lib/dovecot/auth" with checkpassword-reply, and it > is success, the coming generation directory for auth at > "

Re: [Dovecot] Sieve - BCC

2013-04-21 Thread Ben Morrow
At 12AM -0700 on 21/04/13 you (iliusha) wrote: > > Can you help me please with sieve plugin for dovecot > > I have this rule: > > /require ["variables", "envelope", "fileinto", "subaddress", "imap4flags"]; > if anyof > ( > address :is [ "to", "cc", "bcc" ] "t...@example.com", >

Re: [Dovecot] Make install error

2013-04-19 Thread Ben Morrow
At 11AM +0800 on 19/04/13 you (kengheng) wrote: > Hi, I'm recompiling dovecot 2.2.0/2.2.1 with error below during make > install: > > test -z "/usr/local/dovecot/lib/dovecot/auth" || /usr/bin/mkdir -p > "/usr/local/dovecot/lib/dovecot/auth" > /usr/bin/mkdir: cannot create directory > ‘/usr/loca

Re: [Dovecot] How to exec /usr/libexec/dovecot/imap with specific maildir location

2013-04-09 Thread Ben Morrow
At 5PM +0100 on 9/04/13 you (David Woodhouse) wrote: > Once upon a time I could configure my mailer to access my historical > archives by running something like > > ssh $mailserver MAIL=maildir:~/Maildir-archive dovecot --exec-mail imap > > I need to run /usr/libexec/dovecot/imap manually now,

Re: [Dovecot] Restoring Mails via DSync

2013-03-29 Thread Ben Morrow
At 7AM -0700 on 29/03/13 you (Asai) wrote: > > Can anyone give me a quick pointer to the right command to use for > restoring backups made by dsync? I have our whole mail server backed up > with it, but not sure how to restore... Any help would be greatly > appreciated. I would have thought

Re: [Dovecot] Sieve Vacation for redirected email

2013-03-26 Thread Ben Morrow
At 12PM -0700 on 26/03/13 you (rpsuprdave) wrote: > Here's the headers for my emails: > > Return-Path: > X-Original-To: dave.gat...@domain-b.com > Delivered-To: dave.gat...@domain-b.com [...] > From: Dave Gattis > To: SUMACO Gattis Dave [...] > > From: Dave Gattis is the original sender. > To

Re: [Dovecot] Importing emails from PST Archives

2013-03-26 Thread Ben Morrow
At 10PM + on 26/03/13 you (Andre Rodier) wrote: > > The perl script to transform mbox files into maildirs in the dovecot > distribution is old, and crashed many times in the middle of the > process. > I had a look to the script, and gave up trying to fix it. > > I found a python script that w

Re: [Dovecot] ulimit -n in start-script

2013-03-20 Thread Ben Morrow
At 1PM +0100 on 20/03/13 you (Patrick Westenberg) wrote: > Peer Heinlein schrieb: > > > Even on midrange-systems it's necessary to set "ulimit -n" to a higher > > value then the system default of 1024. > > Could this lead to this problem? > > Error: > file_dotlock_create(/var/mail/example.co

Re: [Dovecot] Deleted / read mails show up as new on remote imap clients

2013-02-26 Thread Ben Morrow
At 6PM +0100 on 25/02/13 you (Andre Bischof) wrote: > Am 25.02.2013 15:39, schrieb Ben Morrow: > > ... > > > Can you use tcpdump or wireshark to see what TB is actually telling > > the server to do? If you use TLS you will need to put ssl_cipher_list > > = RSA

Re: [Dovecot] Protocol logging - TLS vs SSL

2013-02-26 Thread Ben Morrow
At 10PM +0100 on 26/02/13 you (Reindl Harald) wrote: > Am 26.02.2013 22:41, schrieb Charles Marcus: > > > > Absolutely no idea what you said or meant here... > > if it is not the same why are doing GnuTLS and OpenSSL > finnaly both? HMM - because TLS is SSL3.1 is the reason > and in fact due deve

Re: [Dovecot] Protocol logging - TLS vs SSL

2013-02-26 Thread Ben Morrow
At 4PM -0500 on 26/02/13 you (Charles Marcus) wrote: > On 2013-02-26 3:59 PM, Ben Morrow wrote: > > At 3PM -0500 on 26/02/13 you (Charles Marcus) wrote: > >> Now the only other question is, again already being contemplated by Timo > >> apparently, why the config f

Re: [Dovecot] Protocol logging - TLS vs SSL

2013-02-26 Thread Ben Morrow
At 3PM -0500 on 26/02/13 you (Charles Marcus) wrote: > > Now the only other question is, again already being contemplated by Timo > apparently, why the config file uses SSL... Why not? > Timo, what I would suggest is allow the use of ssl in the config file > for backwards compat, but change f

Re: [Dovecot] Protocol logging - TLS vs SSL

2013-02-26 Thread Ben Morrow
At 9PM +0100 on 26/02/13 you (Reindl Harald) wrote: > > TLS is a standard closely related to SSL 3.0, and is sometimes > referred to as "SSL 3.1" More specifically, TLS x.y is just SSL (x+2).(y+1) with a completely unnecessary name and version change. For example, TLS 1.2 internally identifies it

Re: [Dovecot] Deleted / read mails show up as new on remote imap clients

2013-02-25 Thread Ben Morrow
At 3PM +0100 on 25/02/13 you (Andre Bischof) wrote: > Am 24.02.2013 19:23, schrieb Daniel Parthey: > > Hi Andre, > > > > Andre Bischof wrote: > >> Mails, which I already read or deleted via my IMAP client > >> (Thunderbird) on the same machine running the server (it runs behind > >> DynDNS on my l

Re: [Dovecot] Dovecot 2.2. proxy_maybe and twice SSL connections

2013-02-19 Thread Ben Morrow
At 12PM +0400 on 19/02/13 you (Evgeny Basov) wrote: > > 5. I set this parameters in dovecot config: > > disable_plaintext_auth = yes > ssl = yes > auth_mechanisms = plain login > > And when the client connects to another host, I have (1) and (2) > connections are encrypted > > | c

Re: [Dovecot] Private message flags in shared mailboxes

2013-02-16 Thread Ben Morrow
At 8PM +0200 on 16/02/13 you (Timo Sirainen) wrote: > > 1. What would be a good place to configure which flags are shared and > which are private? [...] Another possibility would > be in dovecot-acl file, but public mailboxes might be enabled without > ACL plugin. [...] > > 4. Private keywords

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-16 Thread Ben Morrow
At 12AM +0100 on 17/02/13 you (Silvio Siefke) wrote: > On Sat, 16 Feb 2013 03:49:37 +0000 Ben Morrow wrote: > > > The setup given in that howto will accept mail for any user at one of > > the domains listed in virtual_mailbox_domains, and mail for > > nonexistent users

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-16 Thread Ben Morrow
At 8AM +0100 on 16/02/13 you (Thomas Leuxner) wrote: > * Ben Morrow 2013.02.16 04:49: > > > > http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix > > > > The setup given in that howto will accept mail for any user at one of > > the domains listed in virt

Re: [Dovecot] Virtual Users Dovecot and Postfix

2013-02-15 Thread Ben Morrow
At 4AM +0100 on 16/02/13 you (Silvio Siefke) wrote: > > i want setup my Mailserver with the Tutorial on Dovecot Wiki. > > http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix > > I have one question for this, must i set the Mailadresses in > /etc/postfix/virtual too or is the passwd File

Re: [Dovecot] Marking messages read / retaining date with Sieve

2013-02-12 Thread Ben Morrow
At 3PM -0500 on 12/02/13 you (Bret Martin) wrote: > > To close the loop on this, I ended up doing the following, although it > seems to fail on mailboxes with large numbers of messages (on the > order of 10,000 or so; I didn't test carefully enough to find the > exact number) > > use Mail::I

Re: [Dovecot] FreeBSD, Dovecot and ZFS

2013-02-12 Thread Ben Morrow
At 9PM + on 12/02/13 you (Jason Lock) wrote: > Mail Issues - FreeBSD > > Hello, my apologies if this may be the wrong forum but hoping that > maybe someone might be able to provide some insight. This may turn out to be something better addressed on freebsd-stable, but this is a perfectly goo

Re: [Dovecot] dsync backup questions

2013-02-03 Thread Ben Morrow
I can't give authoratitive answers to either of these, but... At 6PM -0500 on 3/02/13 you (Joe Beaubien) wrote: > > I'm currently trying to setup remote backups of my emails but i'm running > into issues (mdbox format, indexes and storage in the same folder > hierarchy). > > Local backup comma

Re: [Dovecot] Userdb passwd and 'nologin' users

2013-02-01 Thread Ben Morrow
At 4AM +0100 on 1/02/13 you (Daniel Parthey) wrote: > Hi Ben, > > Ben Morrow wrote: > > +if (set->check_nologin) { > > +/* skip entries that don't have a valid shell. > > + they're again probably not real user

Re: [Dovecot] Userdb passwd and 'nologin' users

2013-02-01 Thread Ben Morrow
At 1AM +0200 on 1/02/13 you (Timo Sirainen) wrote: > On 1.2.2013, at 0.35, Ben Morrow wrote: > > > I am running Dovecot with system users (userdb passwd), but some of > > those users don't have shell accounts on the IMAP server so their shell > > on that machin

[Dovecot] Userdb passwd and 'nologin' users

2013-01-31 Thread Ben Morrow
I am running Dovecot with system users (userdb passwd), but some of those users don't have shell accounts on the IMAP server so their shell on that machine is set to /usr/sbin/nologin. Currently I am using maildirs and this is not a problem, but I am in the process of switching to dbox which means

Re: [Dovecot] Marking messages read / retaining date with Sieve

2013-01-30 Thread Ben Morrow
At 7PM -0500 on 30/01/13 you (Bret Martin) wrote: > On Jan 30, 2013, at 6:56 PM, Ben Morrow wrote: > > I would do this by scripting IMAP access. Perl's Mail::IMAPClient has > > explicit support for running dovecot/imap in preauth mode, so you don't > > even have

Re: [Dovecot] Marking messages read / retaining date with Sieve

2013-01-30 Thread Ben Morrow
At 1PM -0500 on 30/01/13 you (Bret Martin) wrote: > I'm trying to mark several hundred thousand messages as read as they > are delivered via dovecot-lda(1). (I'm importing some mail from > another format for migration purposes.) > > I've been able to do this with Sieve, but it has the side effect

Re: [Dovecot] passdb to add extra fields?

2013-01-30 Thread Ben Morrow
At 3PM +0200 on 30/01/13 you (Timo Sirainen) wrote: > On 19.12.2012, at 0.24, Ben Morrow wrote: > > > This sounds like the nsswitch.conf [notfound=continue] stuff, perhaps > > you could use those names? > > > >Status > >success entry found >

Re: [Dovecot] dovecot and avahi

2013-01-01 Thread Ben Morrow
At 5PM +0100 on 1/01/13 you (Tom Hendrikx) wrote: > > If you want to advertise your mail config for easy setup over the > internet, take a look at: http://www.automx.org/ I thought most gooey mail clients supported RFC 6186 nowadays? Ben

Re: [Dovecot] From Sendmail to Dovecot mdbox, what is missing.

2013-01-01 Thread Ben Morrow
At 10AM -0600 on 1/01/13 you (Torpey List) wrote: > > I was rereading man dovecot-lda and specifically the option "-d username". > it said that it is used typically with virutal users, but not necessarily > with system users. I am doing system users; therefore I removed it from the > sendmail

Re: [Dovecot] From Sendmail to Dovecot mdbox, what is missing.

2013-01-01 Thread Ben Morrow
At 8AM -0600 on 1/01/13 you (Torpey List) wrote: > -Original Message- > From: Ben Morrow > Sent: Monday, December 31, 2012 8:52 PM > To: Dovecot Mailing List > Subject: Re: [Dovecot] From Sendmail to Dovecot mdbox, what is missing. > > At 5PM -0600 on 31/1

Re: [Dovecot] From Sendmail to Dovecot mdbox, what is missing.

2012-12-31 Thread Ben Morrow
At 5PM -0600 on 31/12/12 you (Torpey List) wrote: > Sendmail 8.14.4 > dovecot 2.0.9 > > I have sendmail working and it is sending mail to /var/mail/%u. > I have dovecot working in that I can move emails into IMAP folders and > I can send email through IMAP. I have set up dovecot to use mdbox > b

Re: [Dovecot] Kerberos/GSSAPI auth via .k5login file

2012-12-30 Thread Ben Morrow
At 4PM +0100 on 28/12/12 you (Jörg Herzinger) wrote: > Hi, we are currently moving our mailserver to a new server with Dovecot, > virtual users in LDAP, Passwords in Kerberos Setup. Everything works > fine except for GSSAPI which seems to be a bit buggy. > > The thing is, that when using a .k5l

Re: [Dovecot] Understanding Sockets

2012-12-20 Thread Ben Morrow
At 10PM + on 20/12/12 Tim Smith wrote: > > Just trying to consolidate my knowledge of Dovecot and I want to > understand various things rather than just key out lines of config in > dovecot.conf with the hope of it working. > > What I wanted to clarify is my understanding the "socket listen

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Ben Morrow
At 12AM +0100 on 20/12/12 you (Andreas Meyer) wrote: > Ben Morrow wrote: > > > Where is that user's home directory, then? (Where is its > > .dovecot.sieve?) That is the path that mail_home should be set to. > > It's /var/spool/vhosts/xyz.de/archiv .

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Ben Morrow
At 11PM +0100 on 19/12/12 you (Andreas Meyer) wrote: > Ben Morrow wrote: > > > > When I set > > > mail_home = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/vhosts/%d/%n > > > > > > I get this for mboxes in the log: > > > Error: us

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Ben Morrow
At 8PM +0100 on 19/12/12 you (Andreas Meyer) wrote: > > I set up vacation with sieve. We have mboxes and maildirs and in dovecot.conf > mail_location = > mbox:/var/spool/vhosts/%d/dovecotprivate/%n:INBOX=/var/spool/vhosts/%d/%n > > Error: User arc...@xyz.de doesn't have home dir set, disabling >

Re: [Dovecot] passdb to add extra fields?

2012-12-18 Thread Ben Morrow
At 11PM +0200 on 18/12/12 you (Timo Sirainen) wrote: > Some passdbs like PAM can't really return any extra fields. Also some > people have wanted to combine users' data from different passdb/userdbs > so that for example you'd have userdb passwd give the uid/gid/home, but > then you'd also have som

Re: [Dovecot] Dovecot version 1.2.17

2012-12-17 Thread Ben Morrow
At 8PM + on 16/12/12 you (Philip Coackley) wrote: > > I am currently performing retrospective upgrades to an old ubuntu 9.10 > Karmic Kola server. > > I need to upgrade dovecot 1.1.11 to 1.2.17 then to 2.0 etc. > > I have downloaded the binaries and run ./configure make make install. > >

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 9PM +0100 on 15/12/12 Andreas Meyer wrote: > Ben Morrow wrote: > > > Before you go any further, please put the virtual_mailbox_maps parameter > > back with a map of the valid virtual addresses. Otherwise you'll become > > a backscatter source. > > Do yo

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 8PM +0100 on 15/12/12 you (Andreas Meyer) wrote: > Ben Morrow wrote: > > > > dovecot unix - n n - - pipe > > >flags=DRhu user=vmail:vmail argv=/etc/postfix/script.sh ${sender} > > >${recipient} > > > > OK

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 8PM +0100 on 15/12/12 you (Andreas Meyer) wrote: > Ben Morrow wrote: > > > Create a script something like this > > > > #!/bin/sh > > > > echo "--- FROM [$1] TO [$2]" >>/tmp/lda-log > > /usr/bin/id >>/tmp/lda-l

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 5PM +0100 on 15/12/12 Daniel Parthey wrote: > Andreas Meyer wrote: > > I managed to su to vmail by giving it a shell. > > # su - vmail > > For security reasons, you should rather not give a login shell > to non-interactive users. [This is good advice.] > You can temporarily pass a shell to s

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 4PM +0100 on 15/12/12 you (Andreas Meyer) wrote: > Ben Morrow wrote: > > > > # su - vmail > > > vmail@delta:~> doveconf -m lda base_dir auth_socket_path > > > base_dir = /usr/var/run/dovecot > > > auth_socket_path = auth-userdb > > > &g

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 3PM +0100 on 15/12/12 you (Andreas Meyer) wrote: > Ben Morrow wrote: > > > That's not where dovecot-lda is looking, at least not according to the > > log above. Is the vmail user able to read dovecot.conf? Do you have more > > than one dovecot.conf, with diffe

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 2PM +0100 on 15/12/12 Andreas Meyer wrote: > [Ben Morrow wrote:] > > > > Well, that looks OK to me; but the only way to test it is to manually > > run dovecot-lda as vmail. Is there an auth-userdb socket in your dovecot > > sockets directory? Does it have the rig

Re: [Dovecot] need help with dovecot-lda

2012-12-15 Thread Ben Morrow
At 9PM +0100 on 14/12/12 Andreas Meyer wrote: > Ben Morrow wrote: > > At 5PM +0100 on 14/12/12 Andreas Meyer wrote: > > > > > > Some month ago I upgraded our dovecot installation from version 1.0.5 > > > to version 2.1.7 without having any trouble. Postfi

Re: [Dovecot] need help with dovecot-lda

2012-12-14 Thread Ben Morrow
At 5PM +0100 on 14/12/12 Andreas Meyer wrote: > > Some month ago I upgraded our dovecot installation from version 1.0.5 > to version 2.1.7 without having any trouble. Postfix is delivering > email directly per virtual transport to the maildirs and mailboxes of > the users in /var/spool/vhosts/dom

Re: [Dovecot] More detail re dovecot-uidlist and -uidvalidity files

2012-12-13 Thread Ben Morrow
At 10AM +0200 on 13/12/12 you (Dale Gallagher) wrote: > Regarding the dovecot-uidlist header (first line) - I've tried to search > for and figure out what exactly is meant by the "mailbox global uid" and > once I do, how to manually generate the 128 bit hex variation of it? Could > someone elaborat

Re: [Dovecot] doveadm-lda - segfault

2012-12-11 Thread Ben Morrow
At 10PM +0100 on 11/12/12 Kamil Jońca wrote: > > Dovecot taken from deb http://xi.rename-it.nl/debian/ > testing-auto/dovecot-2.1 main > + manually compiled sieve exptrograms plugin. > > Maybe its worth noticing that > adding line > > --8<---cut here---start

Re: [Dovecot] Automatically Cleaning Kerberos Credential Cache Files

2012-12-11 Thread Ben Morrow
At 7PM -0500 on 10/12/12 you (Maura Dailey) wrote: > On 12/10/2012 05:31 PM, Ben Morrow wrote: > > At 3PM -0500 on 10/12/12 you (Maura Dailey) wrote: > >> I'm in a situation here at work where I'm trying to support a mixed > >> network of OS X and RHEL de

Re: [Dovecot] Automatically Cleaning Kerberos Credential Cache Files

2012-12-10 Thread Ben Morrow
At 3PM -0500 on 10/12/12 you (Maura Dailey) wrote: > I'm in a situation here at work where I'm trying to support a mixed > network of OS X and RHEL desktop machines with a Postfix/Dovecot > combination. >- user account information is stored in LDAP >- user credentials are in MIT Kerberos

Re: [Dovecot] imap-login - where does the user get filled in from?

2012-12-06 Thread Ben Morrow
At 3PM -0800 on 6/12/12 Jeff Lacki wrote: > Ben Morrow wrote: > > > > imap-login: Disconnected (no auth attempts in 60 secs): user=<>, > > > rip=192.168.1.1, lip=192.168.1.22, TLS handshaking: Disconnected > > > > Just to be sure: you have re

Re: [Dovecot] imap-login - where does the user get filled in from?

2012-12-06 Thread Ben Morrow
At 2PM -0800 on 6/12/12 Jeff Lacki wrote: > > Sorry to ask such a basic question, but I finally got some major > hurdles working for imaps on port 993 and Im getting the following > when I try to connect from my iphone: > > imap-login: Disconnected (no auth attempts in 60 secs): user=<>, > rip=19

Re: [Dovecot] imap-login hanging when firewall blocks ssl handshaking

2012-12-06 Thread Ben Morrow
At 2PM + on 6/12/12 Ben Morrow wrote: > > +if (connect(ret, &so.sa, &addrlen) >= 0) > +i_panic("dummy connect to detect DEFUNCT socket succeeded"); > +if (errno == EOPNOTSUPP) > +return -1; Ack, forgot to cl

Re: [Dovecot] imap-login hanging when firewall blocks ssl handshaking

2012-12-06 Thread Ben Morrow
At 9PM -0800 on 5/12/12 Erik A Johnson wrote: > On December 4, 2012 at 4:43:53 AM PST, Ben Morrow wrote: > > > > So, it looks to me as though you have a firewall problem. You may be > > able to get more information by setting the kern.ipc.sodefunctlog sysctl > >

Re: [Dovecot] imap-login hanging when firewall blocks ssl handshaking

2012-12-05 Thread Ben Morrow
here are no [R] packets, which indicate something odd is happening at the server end. > On December 4, 2012 6:18:23 AM PST, Ben Morrow wrote: > > At 12PM + on 4/12/12 Ben Morrow wrote: > >> Well, it looks to me as though xnu/bsd/kern/uipc_socket.c:soreceive will > >> ind

Re: [Dovecot] imap-login hanging when firewall blocks ssl handshaking

2012-12-04 Thread Ben Morrow
At 12PM + on 4/12/12 Ben Morrow wrote: > > Well, it looks to me as though xnu/bsd/kern/uipc_socket.c:soreceive will > indeed return ENOTCONN for a socket which was once successfully > connected but has now been disconnected. This happens when the socket is > in the DEFUNCT st

  1   2   >