[Dovecot] Disable PAM username change?

2013-08-24 Thread George
Hi! I have a problem involving Samba4, exim4, fetchmail, Dovecot and PAM... I am using Dovecot 2.1.7 on Debian Wheezy. I have setup a maildrop machine, which fetches mail from an external POP3 server for multiple accounts using fetchmail, delivers to local users mailboxes through exim4 and then

Re: [Dovecot] mdbox - healthy rotation size vs default

2013-08-24 Thread Michael Grimm
On 23.08.2013, at 14:17, Charles Marcus cmar...@media-brokers.com wrote: On 2013-08-22 9:57 PM, Stan Hoeppner s...@hardwarefreak.com wrote: I'd recommend mdbox as well, with a healthy rotation size. The larger files won't increase IMAP performance substantially but they can make backup

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
Hi!Thanks for your suggestion, that moved me in to right direction.It was double permission issue, that I was able to debug since changed format, and now timestaps are added into the mysql table. As far as I understand expire plugin only adds timestamps to mysql table, and thats it, isn't it?I

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Gedalya
Yes, you add that cron job, and it would work with or without the expire plugin. The thing is that if the expire plugin is enabled, the doveadm expunge command will look at the expires table in mysql and only process users who are in the database with a timestamp older than your specified

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
So,is enabling expire plugin the only way doveadm expunge to work with static userdb, because of lack iterate_query option? If I test it now doveadm search I see:Aug 24 13:28:22 piscola dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/authAug 24 13:28:22 piscola

[Dovecot] Migrating from Maildir to Maildir:LAYOUT=fs

2013-08-24 Thread Rainer M Krug
Hi I have use dovecot together with offlineimap to download my gmail account on a single user computer and I have only one maildir (~/Maildir). As I switched to Mac, I would like to use spotlight to index my mails, which apparently does not work as they are in hidden directories (.directories).

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Gedalya
I don't know, why don't you just try? If you run the exact same command but with search instead of expunge, it should also use the expire plugin in the same way, so that should be an easy test. Are you using sql for passdb? If so I wonder if you could define an sql userdb in addition to the

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
I've set up both static userdb and mysql userdb and according to mysql logs it works as you described!Will move from static to sql usersdb anyway. Thanks! Date: Sat, 24 Aug 2013 06:57:05 -0400 From: geda...@gedalya.net To: anton.chi...@live.com CC: dovecot@dovecot.org Subject: Re: [Dovecot]

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Gedalya
Oh cool. Nice to hear. Remember to take a look at the prefetch http://wiki2.dovecot.org/UserDatabase/Prefetch , it saves you an extra query in cases where authentication took place before userdb lookup. On 08/24/2013 07:19 AM, Anton Chigin wrote: I've set up both static userdb and mysql

[Dovecot] RESOLVED: expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
Was just reading the same wiki page :)Really appreciate your help.Will mark as resolved Date: Sat, 24 Aug 2013 07:20:53 -0400 From: geda...@gedalya.net To: anton.chi...@live.com CC: dovecot@dovecot.org Subject: Re: [Dovecot] expire plugin doesn't work? Oh cool. Nice to hear.

Re: [Dovecot] Dovecot LDA

2013-08-24 Thread LuKreme
On 23 Aug 2013, at 18:19 , Pascal Volk user+dove...@localhost.localdomain.org wrote: On 08/24/2013 02:12 AM LuKreme wrote: OK, I did read http://wiki2.dovecot.org/LDA but it doesn't answer the question I have since it doesn't tell me what I can do with -o, exactly. -o is used to

[Dovecot] dovecot OK for intranet, not OK for external IPs

2013-08-24 Thread Sulla
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all! I'm stuck. I've got a dovecot IMAP server running (TLS, port 149) on Ubuntu 13.04 server behind a DSL router. The mailserver's IP is 10.0.0.1 When I connect to my mailbox from my intranet-PC (10.0.0.2), everything works as expected. Login

Re: [Dovecot] dovecot OK for intranet, not OK for external IPs

2013-08-24 Thread Gedalya
On 08/24/2013 05:20 PM, Sulla wrote: My router forwards the connection request to my mailserver correctly, so port forwarding on the router is ok, as my mailserver gets a connection request from the client. Proof: netstat -nt shows me: Proto Recv-Q Send-Q Local Address Foreign Address

Re: [Dovecot] dovecot OK for intranet, not OK for external IPs

2013-08-24 Thread sulla
Thanx to this very supportive list!! Richard pointed out to me that the IP which I called external was a net-10 IP and thus no official address, but rather belonged to the private pool of my ISP and that net-10 adresses were not routable with arbitrary results when a router nevertheless tries to

Re: [Dovecot] dovecot OK for intranet, not OK for external IPs

2013-08-24 Thread Stan Hoeppner
On 8/24/2013 4:20 PM, Sulla wrote: I've got a dovecot IMAP server running (TLS, port 149) on Ubuntu 13.04 server behind a DSL router. The mailserver's IP is 10.0.0.1 ... However, when I connect to my mailserver through the internet (from 10.196.124.7 which is a modem of my ISP), dovecot