Re: [Dovecot] Ubuntu stable versions

2009-10-26 Thread Nikolai K. Bochev
Hello, 

I have dovecot 1.2 build at launchpad :

https://launchpad.net/~n-bochev/+archive/ppa

It's not the latest hg revision ( or the one you'll find on Stefan's repository 
) but it's recent enough and it gets updated monthly or so.
I am running it on a few production servers and i don't tend to upgrade them 
often.
If there's interest in builds for other ubuntu version ( 8.04, 8.10 ) i will 
put those up too. 9.10 build will be available when karmic gets released.


- Original Message -
From: Raffael Schmid raff...@yux.ch
To: Dovecot Mailinglist dovecot@dovecot.org
Sent: Monday, October 26, 2009 1:05:12 AM
Subject: Re: [Dovecot] Ubuntu stable versions

Hi Stefan

Stefan Onken wrote:

 actually I never dealed with backports by myself. I just switched from
 Gentoo to Ubuntu,so I am not that familiar with these things. If you can
 get me some idea (properly by private email) than I will try it.

I had a look at the backports-page of debian. There are now some
backports, even for 64bit:
http://packages.debian.org/search?keywords=dovecotsearchon=namessection=allsuite=lenny-backports

So we need to change this too...

how to add the backports-thing to your system is described here:
http://backports.org/dokuwiki/doku.php?id=instructions

If you are running Ubuntu 9.04 ($ lsb_release -sir) this should work as
their packages are based on debian lenny.

When you have any questions, dont hesitate to ask. There are many howtos
about backporting on the internet. One example is this (its in german,
but you should understand it according to your domain name...;):
http://wiki.unixboard.de/index.php/Debian_Backports

regards

raf


[Dovecot] Dovecot

2009-10-26 Thread Claudio Prono
Hello all,

I use dovecot11-1.1.7-1.4.1 with OpenSuse 11.1. Everything works fine,
except the vacation with managesieve.

When i send a mail to an address with vacation, i recieve back a
vacation message, but i read an error like this into dovecot-deliver.log:

Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or
directory

And then the vacation is send any time, without limits.

I think the problem is dovecot can't find home directory for the mail to
write the .dovecot.lda-dupes, but i don't know how to specify that.

Here is my config:

# 1.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.27.29-0.1-default x86_64 openSUSE 11.1 (x86_64) ext3
log_path: /var/log/dovecot-err.log
info_log_path: /var/log/dovecot-inf.log
protocols: imap imaps pop3 pop3s managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 51
last_valid_uid: 51
first_valid_gid: 51
last_valid_gid: 51
mail_location: maildir:/var/mail/virtual/%d/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib64/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle
imap_client_workarounds(imap): outlook-idle
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): UID%u-%v
pop3_uidl_format(managesieve): %08Xu%08Xv
sieve_storage(default):
sieve_storage(imap):
sieve_storage(pop3):
sieve_storage(managesieve): /var/mail/virtual/%d/%u/sieve
sieve(default):
sieve(imap):
sieve(pop3):
sieve(managesieve): /var/mail/virtual/%d/%u/.dovecot.sieve
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: plain login
  passdb:
driver: sql
args: /etc/dovecot/dovecot-mysql.conf
  userdb:
driver: passwd
  userdb:
driver: sql
args: /etc/dovecot/dovecot-mysql.conf
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth
  mode: 432
  user: postfix
  group: postfix
master:
  path: /var/run/dovecot/auth-master
  mode: 384
plugin:
  quota: maildir
  quota: maildir:User quota
  quota_warning: storage=80%% /usr/bin/quota_warning.sh 80
  quota_warning2: storage=90%% /usr/bin/quota_warning.sh 90
  quota_warning3: storage=99%% /usr/bin/quota_warning.sh 90
  sieve: /var/mail/virtual/%d/%u/.dovecot.sieve
  sieve_storage: /var/mail/virtual/%d/%u/sieve

And this is my vacation script (generated with smartsieve):

#Mail filter rules for clau...@mediaservice.net
#Generated by clau...@mediaservice.net using SmartSieve 1.0.0-RC2
2009/10/26 12:34:19
require [vacation];

vacation :days 1 :addresses [clau...@mediaservice.net] text:
sono assente
.
;


##PSEUDO script start
#SmartSieveRule#a:6:{s:6:status;s:7:ENABLED;s:7:control;N;s:8:matchAny;N;s:10:conditions;a:0:{}s:7:special;s:8:vacation;s:7:actions;a:1:{i:0;a:4:{s:4:type;s:8:vacation;s:7:message;s:12:sono
assente;s:4:days;s:1:1;s:9:addresses;a:1:{i:0;s:24:clau...@mediaservice.net;
#modebasic

How i can fix this?

Thank u,

Claudio.


-- 

Claudio Prono
Systems Development @ PSS Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100  Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F  40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
 



[Dovecot] Multiple identities

2009-10-26 Thread Koenraad Lelong

Hi,
I recently moved from courier-imap to dovecot, to be able to work with 
managesieve. I use version 1.2.5, on suse 10.3. I used the script to 
migrate the courier maildir to dovecot format.
It seems to work fine except for one problem : I use a number of 
aliasses and with Thunderbird I can select which alias (e-mail-address) 
to use as my identity when sending a mail.
I sniffed with wireshark, and with my standard identity, I see the 
message appended to Sent, like I expect. If I use an alias, I see a 
folder being created : INBOX.Sent, and then the message is appended there.

Why the difference ?
I'm trying to debug this but dovecot does not help much. I tried rawlog 
but there is no output (that I see) from it, no log-files in my maildir.


Any hints how to proceed ?

Output op dovecot -n :
# 1.2.5: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.22.19-0.4-default x86_64 openSUSE 10.3 (X86-64)
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot
log_timestamp: %Y-%m-%d %H:%M:%S
listen: *:143
ssl_listen: *:993
ssl_ca_file: /etc/postfix/certificate/cacert.org.pem
ssl_cert_file: /etc/postfix/certificate/mailbox.pem
ssl_key_file: /etc/postfix/certificate/mailboxkey.pem
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot//login
login_executable: /usr/lib/dovecot/imap-login
first_valid_uid: 499
last_valid_uid: 499
mail_location: maildir:/var/vmail/%d/%u
mail_debug: yes
mail_executable: /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
lda:
  postmaster_address: postmas...@mydomain.com
  sendmail_path: /usr/lib/sendmail
  auth_socket_path: /var/run/dovecot/auth-master
  mail_plugins: cmusieve
auth default:
  mechanisms: plain login
  user: nobody
  verbose: yes
  debug: yes
  passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
  userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth
  mode: 432
  user: postfix
  group: postfix
master:
  path: /var/run/dovecot/auth-master
  mode: 432
  user: vmail
  group: vmail

Kind regards,

Koenraad Lelong.


Re: [Dovecot] Dovecot

2009-10-26 Thread Pascal Volk
On 10/26/2009 12:42 PM Claudio Prono wrote:
 …
 When i send a mail to an address with vacation, i recieve back a
 vacation message, but i read an error like this into dovecot-deliver.log:
 
 Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or
 directory
 …
 I think the problem is dovecot can't find home directory for the mail to
 write the .dovecot.lda-dupes, but i don't know how to specify that.
 
 Here is my config:
 
 # 1.1.7: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.27.29-0.1-default x86_64 openSUSE 11.1 (x86_64) ext3
 log_path: /var/log/dovecot-err.log
 info_log_path: /var/log/dovecot-inf.log
 protocols: imap imaps pop3 pop3s managesieve
 …
 mail_location: maildir:/var/mail/virtual/%d/%u
 mail_debug: yes
 …
 sieve_storage(default):
 sieve_storage(imap):
 sieve_storage(pop3):
 sieve_storage(managesieve): /var/mail/virtual/%d/%u/sieve
 sieve(default):
 sieve(imap):
 sieve(pop3):
 sieve(managesieve): /var/mail/virtual/%d/%u/.dovecot.sieve
 …
 plugin:
   …
   sieve: /var/mail/virtual/%d/%u/.dovecot.sieve
   sieve_storage: /var/mail/virtual/%d/%u/sieve
 …
 
 How i can fix this?

Let your mysql based userdb return a home field. Then set your
mail_location to maildir:~/Maildir.
In order to get this working you have also to move all the files from
/var/mail/virtual/example.com/user, except the sieve stuff, into the
Maildir folder


Regards,
Pascal
-- 
The trapper recommends today: f007ba11.0929...@localdomain.org


Re: [Dovecot] Multiple postfix + single dovecot - optimal configuration

2009-10-26 Thread Robert Schetterer
Tomek schrieb:
 Hello,
 
 I want to setup dovecot with two postfix servers on three machines:
 - dovecot - with huge amount of disk space - where all user emails will
 be kept,
 - postfix1 - with greylisting, amavisd-new (spamassassin, clamav, etc),
 with mysql backend,
 - postfix2 - same as postfix1.
 MX priority will be set to the same value for both postfix machines.
 
 For now I don't know how to glue these severs:
 - if I should install dovecot on both postfix and use third servers as a
 NFS share?
 - or maybe it is possible to communicate with dovecot on third server
 via LMTP?
 - or should I run third postfix daemon (without antyspam etc - simple
 configuration) on the same machine as dovecot only for delivering local
 mails?
 
 I will be grateful for any advice, howto or good practices example.
 
examples with Ha loadbalancing setups were discussed before on this list
look at list archives will give you starting points

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Dovecot

2009-10-26 Thread Claudio Prono


Pascal Volk ha scritto:
 On 10/26/2009 12:42 PM Claudio Prono wrote:
   
 …
 When i send a mail to an address with vacation, i recieve back a
 vacation message, but i read an error like this into dovecot-deliver.log:

 Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or
 directory
 …
 I think the problem is dovecot can't find home directory for the mail to
 write the .dovecot.lda-dupes, but i don't know how to specify that.

 Here is my config:

 # 1.1.7: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.27.29-0.1-default x86_64 openSUSE 11.1 (x86_64) ext3
 log_path: /var/log/dovecot-err.log
 info_log_path: /var/log/dovecot-inf.log
 protocols: imap imaps pop3 pop3s managesieve
 …
 mail_location: maildir:/var/mail/virtual/%d/%u
 mail_debug: yes
 …
 sieve_storage(default):
 sieve_storage(imap):
 sieve_storage(pop3):
 sieve_storage(managesieve): /var/mail/virtual/%d/%u/sieve
 sieve(default):
 sieve(imap):
 sieve(pop3):
 sieve(managesieve): /var/mail/virtual/%d/%u/.dovecot.sieve
 …
 plugin:
   …
   sieve: /var/mail/virtual/%d/%u/.dovecot.sieve
   sieve_storage: /var/mail/virtual/%d/%u/sieve
 …

 How i can fix this?
 

 Let your mysql based userdb return a home field. Then set your
 mail_location to maildir:~/Maildir.
 In order to get this working you have also to move all the files from
 /var/mail/virtual/example.com/user, except the sieve stuff, into the
 Maildir folder


 Regards,
 Pascal
   

Sorry but for me is not clear what u say... I can't specify a mail
location manually? Like /var/mail/virtual/%d/%u ?

Regards,

Claudio.

-- 

Claudio Prono
Systems Development @ PSS Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100  Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F  40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
 



Re: [Dovecot] Dovecot

2009-10-26 Thread Pascal Volk
On 10/26/2009 05:26 PM Claudio Prono wrote:
 
 Sorry but for me is not clear what u say... I can't specify a mail
 location manually? Like /var/mail/virtual/%d/%u ?
 
 Regards,
 
 Claudio.

You have to modify your user_query in the dovecot-sql.conf file.
Use for example:
user_query = SELECT CONCAT('/var/mail/virtual/', '%d', '/', '%n') \
as home, ... FROM table WHERE ...

In your dovecot.conf file set: mail_location = maildir:~/Mialdir

The tilde (~) will be expanded to the home value from the user_query


Regards,
Pascal
-- 
The trapper recommends today: cafefeed.0929...@localdomain.org


Re: [Dovecot] Dovecot

2009-10-26 Thread Claudio Prono
Pascal Volk ha scritto:
 On 10/26/2009 05:26 PM Claudio Prono wrote:
   
 Sorry but for me is not clear what u say... I can't specify a mail
 location manually? Like /var/mail/virtual/%d/%u ?

 Regards,

 Claudio.
 

 You have to modify your user_query in the dovecot-sql.conf file.
 Use for example:
 user_query = SELECT CONCAT('/var/mail/virtual/', '%d', '/', '%n') \
 as home, ... FROM table WHERE ...

 In your dovecot.conf file set: mail_location = maildir:~/Mialdir

 The tilde (~) will be expanded to the home value from the user_query


 Regards,
 Pascal
   
My user_query is this:

user_query = SELECT maildir, 51 AS uid, 51 AS gid,  CONCAT('*:bytes=',
mailbox.quota ) AS quota_rule FROM mailbox WHERE username = '%u' AND
active = '1'

Is wrong?

Regards,

Claudio.


-- 

Claudio Prono
Systems Development @ PSS Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100  Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F  40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
 



Re: [Dovecot] Dovecot

2009-10-26 Thread Pascal Volk
On 10/26/2009 06:05 PM Claudio Prono wrote:
 My user_query is this:
 
 user_query = SELECT maildir, 51 AS uid, 51 AS gid,  CONCAT('*:bytes=',
 mailbox.quota ) AS quota_rule FROM mailbox WHERE username = '%u' AND
 active = '1'
 
 Is wrong?
 

There is still no home directory for your users. The home directory is
the place for a user's:
* Maildir, mbox (or which mailbox format ever you choose)
* .dovecot.sieve (script or link)
* sieve directories for sieve scripts
* .dovecot.lda-dupes


Regards,
Pascal
-- 
The trapper recommends today: beeffeed.0929...@localdomain.org


Re: [Dovecot] protocol configure confusion

2009-10-26 Thread Pascal Volk
On 10/26/2009 06:26 PM Stewart Dean wrote:
 The docs say:
 *protocol*s = imap *imaps*
 *Protocol*s we want to be serving: imap *imaps* pop3 pop3s If you
 only want to use dovecot-auth, you can set this to none. 

 and.
 If you want to specify ports for each service, you will need to 
 configure these settings inside the *protocol* imap/pop3 { ... } 
 section, so you can specify different ports for IMAP/POP3. For example:

 #   *protocol* imap {
 # listen = *:10143
 # ssl_listen = *:10943
 # ..
 #   }
   
 So if I want to run both imap and imaps AND configure the port, do I do:
 
 #   *protocol* imap {
 # listen = *:143
 # ssl_listen = *:10943
 #   }
 

Yes, this is the correct syntax.


Regards,
Pascal
-- 
The trapper recommends today: beeffeed.0929...@localdomain.org


Re: [Dovecot] Multiple postfix + single dovecot - optimal configuration

2009-10-26 Thread Eric Rostetter

Quoting Tomek ti...@o2.pl:


For now I don't know how to glue these severs:
- if I should install dovecot on both postfix and use third servers as a
NFS share?


This will work, but doesn't scale well and performance problems may be hard
to pinpoint.  You have to be very careful when using NFS like this, but it
is possible and fairly easy conceptually.


- or maybe it is possible to communicate with dovecot on third server
via LMTP?


No idea...  You could surely configure the two postfix machines to deliver
to the dovecot server via LMTP.  Very similar to your next version below
if used that way.


- or should I run third postfix daemon (without antyspam etc - simple
configuration) on the same machine as dovecot only for delivering local
mails?


You could do that.  Scales better IMHO than option one...  I ran this way
for years (but don't anymore).

You could also cluster the machines and use a cluster filesystem, but that
may be outside your comfort zone.


I will be grateful for any advice, howto or good practices example.


Depends on a lot of factors, so in the end you will have to decide...
Good luck with it.


--
Regards,
Thomas.


--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Go Longhorns!


Re: [Dovecot] Multiple identities

2009-10-26 Thread Daniel L. Miller

Koenraad Lelong wrote:

Hi,
I recently moved from courier-imap to dovecot, to be able to work with 
managesieve. I use version 1.2.5, on suse 10.3. I used the script to 
migrate the courier maildir to dovecot format.
It seems to work fine except for one problem : I use a number of 
aliasses and with Thunderbird I can select which alias 
(e-mail-address) to use as my identity when sending a mail.
I sniffed with wireshark, and with my standard identity, I see the 
message appended to Sent, like I expect. If I use an alias, I see a 
folder being created : INBOX.Sent, and then the message is appended 
there.

Why the difference ?
I'm trying to debug this but dovecot does not help much. I tried 
rawlog but there is no output (that I see) from it, no log-files in my 
maildir.


The act of copying outgoing mail to a Sent folder is not an automatic 
one - certainly not from the server's point of view.  Typically, this is 
implemented by the mail client - in this case, Thunderbird.  If you have 
not gone well out of your way to configure some kind of server-side 
script - it's going to be client-driven.


Within Thunderbird, under Manage Identities, Copies  Folders, you 
can specify the Sent folder to use.  If using the default Sent 
folder results in a INBOX.Sent, override the setting here and specify 
your correct folder.


--
Daniel


Re: [Dovecot] Maildir autocreation

2009-10-26 Thread Daniel L. Miller

Proskurin Kirill wrote:


Hello.

Today i found what maildir autocreation stop work.
May be after upgrade to 1.2. Here logs:

Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Loading modules 
from directory: /usr/local/lib/dovecot/lda
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Module loaded: 
/usr/local/lib/dovecot/lda/lib10_quota_plugin.so
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Module loaded: 
/usr/local/lib/dovecot/lda/lib90_sieve_plugin.so
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: 
quota_rule=*:storage=2046M
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: 
uid=1002
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: 
gid=1002
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: auth input: 
home=/var/spool/dovecot/domains/fxclub.org/shershov-oa
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Home dir not 
found: /var/spool/dovecot/domains/fxclub.org/shershov-oa
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota root: 
name= backend=maildir args=
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: 
root= mailbox=* bytes=2145386496 messages=0
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: 
root= mailbox=Trash bytes=1317011456 messages=0
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota rule: 
root= mailbox=SPAM ignored
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota warning: 
bytes=2038117171 (95%) messages=0 
command=/usr/local/bin/quota-warning.sh 95
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: Quota warning: 
bytes=1716309196 (80%) messages=0 
command=/usr/local/bin/quota-warning.sh 80
Oct 21 11:01:25 deliver(shershov...@fxclub.org): Info: maildir 
autodetect: 
stat(/var/spool/dovecot/domains/fxclub.org/shershov-oa//cur) failed: 
No such file or directory

The last line of the above folder listing, I see what looks like a problem:

/var/spool/dovecot/domains/fxclub.org/shershov-oa/something missing or 
doubled/cur


Something missing or not being passed for expansion?
--
Daniel


Re: [Dovecot] meaning of parameter imap_idle_notify_interval??

2009-10-26 Thread Ingo Thierack
Hello,

once more again.

upgrade the server to the latest kernel and libs (namely CentOS 5.4).

Same problem.

Set notify interval to 180 seconds.
The message appears without intervention around 140 seconds after
it was delivered to the inbox.

2009-10-26 21:01:09 | dovecot:   |  deliver(ingo...@ghostdive.org): 
sieve: msgid=ac2e3a8f0910261301r4d1f38dfx83e6d01d29394...@mail.gmail.com: 
stored mail into mailbox 'INBOX'

In thunderbird it appears around 21:03:30 

It looks like, only when dovecot sends the message, thunderbird will refresh 
its view.


At the moment, i set it to 10 Seconds. But this will be an overkill for
an mobilconnection :-P



[r...@mail log]# /opt/dovecot/sbin/dovecot --build-options
Build options: ioloop=epoll notify=inotify ipv6 openssl
Mail storages: cydir dbox maildir mbox raw shared
SQL drivers: postgresql
Passdb: checkpassword pam passwd passwd-file shadow sql
Userdb: nss passwd passwd-file prefetch sql static


[r...@mail log]# /opt/dovecot/sbin/dovecot -n
# 1.2.6: /opt/dovecot/etc/dovecot.conf
# OS: Linux 2.6.18-164.el5 i686 CentOS release 5.4 (Final) ext3
base_dir: /var/run/dovecot/
listen: *:143
ssl_listen: *:993
ssl_cert_file: /opt/dovecot/etc/ssl/certs/mail.ghostdive.org.crt
ssl_key_file: /opt/dovecot/etc/ssl/private/mail.ghostdive.org.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /opt/dovecot/libexec/dovecot/imap-login
login_greeting: ready.
login_processes_count: 10
mail_max_userip_connections: 50
mail_location: maildir:/mnt/mail/%u/Maildir:INDEX=/var/spool/indexes/%u
mailbox_idle_check_interval: 2
dbox_rotate_size: 4096
dbox_rotate_days: 30
imap_client_workarounds: tb-extra-mailbox-sep
imap_idle_notify_interval: 180
lda:
  postmaster_address: postmas...@ghostdive.org
  hostname: mail.ghostdive.org
  mail_plugins: sieve
  mail_plugin_dir: /opt/dovecot/lib/dovecot/lda
  sendmail_path: /opt/postfix26/sbin/sendmail
auth default:
  mechanisms: plain cram-md5 digest-md5
  passdb:
driver: sql
args: /opt/dovecot/etc/dovecot-sql.conf
  userdb:
driver: sql
args: /opt/dovecot/etc/dovecot-sql.conf
  socket:
type: listen
master:
  path: /var/run/dovecot/auth-master
  mode: 384
  user: mailaccess
  group: mailaccess





Ingo Thierack wrote:
 Here are the requestet information.
 It was compiled with inotify which is the default on my system.

 First I thought, it was the purpose, that the mailbox dirs was
 on an NFS. Then copied to the local disc. But the same.

 [r...@mail ~]# /opt/dovecot/sbin/dovecot --build-options
 Build options: ioloop=epoll notify=inotify ipv6 openssl
 Mail storages: cydir dbox maildir mbox raw shared
 SQL drivers: postgresql
 Passdb: checkpassword pam passwd passwd-file shadow sql
 Userdb: nss passwd passwd-file prefetch sql static


 [r...@mail ~]# /opt/dovecot/sbin/dovecot -n
 # 1.2.6: /opt/dovecot/etc/dovecot.conf
 # OS: Linux 2.6.18-128.7.1.el5 i686 CentOS release 5.3 (Final) ext3
 base_dir: /var/run/dovecot/
 listen: *:143
 ssl_listen: *:993
 ssl_cert_file: /opt/dovecot/etc/ssl/certs/mail.ghostdive.org.crt
 ssl_key_file: /opt/dovecot/etc/ssl/private/mail.ghostdive.org.key
 disable_plaintext_auth: no
 verbose_ssl: yes
 login_dir: /var/run/dovecot/login
 login_executable: /opt/dovecot/libexec/dovecot/imap-login
 login_greeting: ready.
 login_processes_count: 10
 mail_max_userip_connections: 50
 mail_location: maildir:/mnt/mail/%u/Maildir:INDEX=/var/spool/indexes/%u
 mailbox_idle_check_interval: 2
 dbox_rotate_size: 4096
 dbox_rotate_days: 30
 mail_executable: /opt/dovecot/libexec/dovecot/rawlog -b
 /opt/dovecot/libexec/dovecot/imap
 imap_idle_notify_interval: 30
 lda:
   postmaster_address: postmas...@ghostdive.org
   hostname: mail.ghostdive.org
   mail_plugins: sieve
   mail_plugin_dir: /opt/dovecot/lib/dovecot/lda
   sendmail_path: /opt/postfix26/sbin/sendmail
 auth default:
   mechanisms: plain cram-md5 digest-md5
   passdb:
 driver: sql
 args: /opt/dovecot/etc/dovecot-sql.conf
   userdb:
 driver: sql
 args: /opt/dovecot/etc/dovecot-sql.conf
   socket:
 type: listen
 master:
   path: /var/run/dovecot/auth-master
   mode: 384
   user: mailaccess
   group: mailaccess



 Timo Sirainen schrieb:
   
 On Wed, 2009-10-21 at 21:28 +0200, Ingo Thierack wrote:
   
 
 Hello,

 is my understanding of the parameter imap_idle_notify_interval right,
 if i say,
 it's the time between two point where dovecot tells the client he is
 here, and
 sould have nothing directly todo with the notification of new mails arrived.
 
   
 Right.

   
 
 I played with the values around. And the courios is, in thunderbird the
 folloing.

 set to 30 seconds.

 Thunderbird pop up around 25 seconds after the message is deliverd to
 the inbox.

 set to 60 seconds.

 Thunderbird pup up around 50 seconds after the message is deliverd to
 the inbox.
 
   
 I don't see how that setting would affect either of these.

 Did you build Dovecot 

Re: [Dovecot] meaning of parameter imap_idle_notify_interval??

2009-10-26 Thread Timo Sirainen
On Mon, 2009-10-26 at 21:20 +0100, Ingo Thierack wrote:
 Set notify interval to 180 seconds.
 The message appears without intervention around 140 seconds after
 it was delivered to the inbox.

See if this helps: http://hg.dovecot.org/dovecot-1.2/rev/abbb153d4643



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Dovecot

2009-10-26 Thread Stefan Onken

Pascal Volk schrieb:


There is still no home directory for your users. The home directory is
the place for a user's:
* Maildir, mbox (or which mailbox format ever you choose)
* .dovecot.sieve (script or link)
* sieve directories for sieve scripts
* .dovecot.lda-dupes


please allow me to jump in. On my system I have a similar mysql query to 
determinate the user maildir etc.


With my tests with Exim and Dovecot I had to set the home directory 
within EXIM,  because I found no way to specify the homedir within dovecot.


local_mysql_delivery_dovecot:
  driver = pipe
  command = /usr/lib/dovecot/deliver -d $local_p...@$domain
  home_directory = /var/mails/${domain}/${local_part}/

Maybe you can give me an idea to specify the homedir from the mysql 
query as well.


Stonki