[Dovecot] Recommended Groupware?

2009-06-29 Thread it-dovecot
Hi,

is there a recommended groupware (email + calendar + address book +
syncing with mobile devices) on top of an existing dovecot installation?

Most existing commercially supported groupwares come with their own mail
storage engine. I would like to keep dovecot as the email storage engine
because of the maildir format which greatly helps with backup & restore.

Regards
-- 
Robert Sander


Re: [Dovecot] "Dumb" proxying?

2008-04-04 Thread it-dovecot
On Tue, 01 Apr 2008 16:45:07 -0500,
 Dan Bongert <[EMAIL PROTECTED]> wrote:
>
> I'm a database noob, and it really seems like it would be overkill for my 
> setup: I just want to proxy all connections from my DMZ to my internal mail 
> server -- same internal server for all users. I used to use perdition for 
> this set up, but am having issues getting it to play nicely with my new 
> servers.

Hi!

We are using stunnel for this purpose:

 /usr/bin/stunnel -f -p /etc/stunnel/cert.pem -d externalIP:993 -s mail -g mail 
-r internalIP:143

Greetings
-- 
Robert Sander Senior Manager Information Systems
Epigenomics AGKleine Praesidentenstr. 110178 Berlin, Germany
phone:+49-30-24345-0fax:+49-30-24345-555
http://www.epigenomics.com [EMAIL PROTECTED]


Re: [Dovecot] Multiple SSL certs

2008-03-10 Thread it-dovecot
On Tue, 4 Mar 2008 20:44:21 -0800,
 Anil <[EMAIL PROTECTED]> wrote:
> Has anyone tried to set this up (multiple certs for multiple
> hostnames) with something like stunnel wrapper for SSL instead of
> using dovecot's SSL?

Yes. Try something like this:

stunnel -p /path/to/cert.pem -d thisimapdIP:993 -r localhost:143

Greetings
-- 
Robert Sander Senior Manager Information Systems
Epigenomics AGKleine Praesidentenstr. 110178 Berlin, Germany
phone:+49-30-24345-0fax:+49-30-24345-555
http://www.epigenomics.com [EMAIL PROTECTED]


Re: [Dovecot] (somewhat ot?) purging old maildir messages

2008-01-08 Thread it-dovecot
On Thu, 3 Jan 2008 00:02:40 -0500,
 "Matt LaPlante" <[EMAIL PROTECTED]> wrote:
>
> I know that since maildir uses flat files, I can literally just delete
> messages doing something similar to the following with bash:
>
> for i in $(find /var/spool/vmail/host1/user/cur/ -mtime +30); do
>   rm $i
> done
>

Hi!

If you want to purge emails that have been marked as deleted in
Maildirs, use something like this:

find /var/spool/vmail/host1/user -name '*:2,*T*' -mtime +7 -exec rm -fv {} \;

This deletes all emails older than 7 days which are marked as deleted
(flag T in Maildir format).

We are using this for quite a while and have seen no problems with
dovecot imapd.

Greetings
-- 
Robert Sander Senior Manager Information Systems
Epigenomics AGKleine Praesidentenstr. 110178 Berlin, Germany
phone:+49-30-24345-0fax:+49-30-24345-555
http://www.epigenomics.com [EMAIL PROTECTED]


[Dovecot] IMAP Proxy and Namespaces

2007-11-20 Thread it-dovecot
Hi!

Is it possible to combine these two features of dovecot, i.e. to have a
specific namespace that proxies to another IMAP server?

Greetings
-- 
Robert Sander


[Dovecot] namespace prefix issue with avelsieve

2007-09-14 Thread it-dovecot
Hi!

I am currently testing a setup with dovecot's lda, the cmusieve plugin,
pysieved and the avelsieve plugin for squirrelmail.

The issue I am stumbling upon is that avelsieve is generating folder
names including the namespace prefix when creating "fileinto" rules.

E.g.:

A rule: 

If the header "Precedence" contains "bulk", then file it into
the folder INBOX.bulk. Also keep a copy in INBOX, marked as deleted.

translates into sieve:

require
["fileinto","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
if
header :contains "Precedence" "bulk"
{
fileinto "INBOX.bulk";
addflag "\\Deleted";
keep;
}

But what happens when a matching email is delivered is that a new
mailbox ".INBOX.bulk" in the user's Maildir is created. I.e. the email
is not delivered to ~/.Maildir/.bulk as intended, but into
~/.Maildir/.INBOX.bulk, creating the new folder on the fly.
The same happens when trying to fileinto folders from other namespaces.

It seems that either avelsieve is generating "too much" and should
remove the prefix (at least for INBOX) or dovecot's deliver is not able
to use the namespaces definition in dovecot.conf correctly when
interpreting sieve's fileinto directive.

Did I miss something? This is the dovecot.conf in use:

# /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
listen: *:143
ssl_listen: *:993
ssl_cert_file: /etc/courier/imapd.pem
ssl_key_file: /etc/courier/imapd.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
login_processes_count: 12
login_max_processes_count: 512
verbose_proctitle: yes
mail_location:
maildir:~/.Maildir:INDEX=/var/cache/dovecot/INBOX.%u:CONTROL=/var/cache/dovecot/INBOX.%u
mail_full_filesystem_access: yes
maildir_stat_dirs: yes
maildir_copy_with_hardlinks: yes
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
namespace:
  type: public
  separator: .
  prefix: shared.
  location: 
maildir:~/.Maildir/shared:INDEX=/var/cache/dovecot/shared.%u:CONTROL=/var/cache/dovecot/shared.%u
namespace:
  type: private
  separator: .
  prefix: archive.
  location: 
maildir:/mnt/nfs/imap_archive.hm/%u:INDEX=/var/cache/dovecot/archive.%u:CONTROL=/var/cache/dovecot/archive.%u
auth default:
  verbose: yes
  passdb:
driver: passwd
  userdb:
driver: passwd
  socket:
type: listen
client:
  path: /var/run/dovecot/auth-client
  mode: 432
master:
  path: /var/run/dovecot/auth-master
  mode: 384

Greetings
-- 
Robert Sander Senior Manager Information Systems
Epigenomics AGKleine Praesidentenstr. 110178 Berlin, Germany
phone:+49-30-24345-0fax:+49-30-24345-555
http://www.epigenomics.com [EMAIL PROTECTED]


[Dovecot] dovecot scaling issue?

2007-05-30 Thread it-dovecot
Hi!

We are running dovecot-imapd on Debian sarge out of the backports.org
packages (version 1.0.rc15-1~bpo1).

We have ~ 80 clients using secure IMAP.

I understand that imap-login has to run for every SSL connection. Thus I
already increased the max value for the number of imap-login processes.

But unfortunately dovecot is unresponsive from time to time. Where can
I tune the installation? Do I need to upgrade to 1.0.0, for which no
backported packages exist for Debian sarge?

This is the output of dovecot -n:

log_timestamp: %Y-%m-%d %H:%M:%S 
listen: *:143
ssl_listen: *:993
ssl_cert_file: /etc/courier/imapd.pem
ssl_key_file: /etc/courier/imapd.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
login_processes_count: 12
login_max_processes_count: 512
verbose_proctitle: yes
mail_location: 
maildir:~/.Maildir:INDEX=/var/cache/dovecot/INBOX.%u:CONTROL=/var/cache/dovecot/INBOX.%u
mail_full_filesystem_access: yes
maildir_stat_dirs: yes
maildir_copy_with_hardlinks: yes
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
namespace:
  type: public
  separator: .
  prefix: shared.
  location: 
maildir:~/.Maildir/shared:INDEX=/var/cache/dovecot/shared.%u:CONTROL=/var/cache/dovecot/shared.%u
auth default:
  verbose: yes
  passdb:
driver: passwd
  userdb:
driver: passwd

Homedirectories are on NFS, /var/cache/dovecot is a local filesystem.
Clients are mostly Thunderbird, where max connection to IMAP server is
set to 5.

Greetings
-- 
Robert Sander Senior Manager Information Systems
Epigenomics AGKleine Praesidentenstr. 110178 Berlin, Germany
phone:+49-30-24345-0fax:+49-30-24345-555
http://www.epigenomics.com [EMAIL PROTECTED]