Bu Xiaobing | 18 May 2013 11:06
Picon

How to configure ssl cert chain in dovecot 10-ssl.conf file

Hi there,

Does anyone know how to do this:

"Put all the certificates in the ssl_cert file. For example when using a certificate signed by TDC the
correct order is:

    Dovecot's public certificate
    TDC SSL Server CA
    TDC Internet Root CA
    Globalsign Partners CA "

I try to set these parameters in the conf.d/10-ssl.conf as below, but it seems doesn't work.

---
ssl_cert = </etc/pki/dovecot/certs/mail.mymailserver.com.crt
ssl_cert = </etc/ssl/certs/dovecot/sub.class1.server.ca.pem
ssl_cert = </etc/ssl/certs/dovecot/ca.pem
----

I even cat mail.mymailserver.com.crt sub.class1.server.ca.pem certs/dovecot/ca.pem into one singe
file, and define ssl_cert = < /path/to/the/singcertfile.pem, but it doesn't work too.

In my apache httpd server httpd.conf file  I can define:
--
SSLCertificateChainFile /etc/pki/dovecot/certs/sub.class1.server.ca.pem
SSLCACertificateFile /etc/pki/dovecot/certs/ca.pem
--
And it well work fine.

(Continue reading)

Anes Mukhametov | 17 May 2013 17:41
Picon

Pigeonhole: extprograms - pipe

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, user <at> domain.tld): Debug:
3VMVFWFKllFyTwAArRg8UA: sieve: action pipe: running program: learn
May 17 15:18:57 backend1 dovecot: script: Error: write(response) failed:
Broken pipe
May 17 15:18:57 backend1 dovecot: lmtp(20338, user <at> domain.tld):
3VMVFWFKllFyTwAArRg8UA: sieve: execution of script
/data/mail/storage/domain/user <at> domain.tld/.dovecot.sieve;name=main script
failed, but implicit keep was successful (user logfile
/data/mail/storage/domain/buser <at> domain.tld/.dovecot.sieve.log should reveal
additional details)

/data/mail/storage/domain/buser <at> domain.tld/.dovecot.sieve.log:
error: msgid=<c7cd36f19be8164addf091a646b8b284 <at> domain.tld>: pipe action:
failed to pipe message to program `learn': refer to server log for more
information. [2013-05-17 15:18:57] ham user <at> domain.tld 50796.

Sieve script contents:
require ["fileinto","copy","mailbox","vnd.dovecot.pipe"];

if anyof (header :is "Subject" "ham")
{
pipe :try "learn" ["ham"];
        fileinto "INBOX/ham";
        stop;
}
(Continue reading)

Anes Mukhametov | 17 May 2013 17:40
Picon

(no subject)

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, user <at> domain.tld): Debug:
3VMVFWFKllFyTwAArRg8UA: sieve: action pipe: running program: learn
May 17 15:18:57 backend1 dovecot: script: Error: write(response) failed:
Broken pipe
May 17 15:18:57 backend1 dovecot: lmtp(20338, user <at> domain.tld):
3VMVFWFKllFyTwAArRg8UA: sieve: execution of script
/data/mail/storage/domain/user <at> domain.tld/.dovecot.sieve;name=main script
failed, but implicit keep was successful (user logfile
/data/mail/storage/domain/buser <at> domain.tld/.dovecot.sieve.log should reveal
additional details)

/data/mail/storage/domain/buser <at> domain.tld/.dovecot.sieve.log:
error: msgid=<c7cd36f19be8164addf091a646b8b284 <at> domain.tld>: pipe action:
failed to pipe message to program `learn': refer to server log for more
information. [2013-05-17 15:18:57] ham user <at> domain.tld 50796.

Sieve script contents:
require ["fileinto","copy","mailbox","vnd.dovecot.pipe"];

if anyof (header :is "Subject" "ham")
{
pipe :try "learn" ["ham"];
        fileinto "INBOX/ham";
        stop;
}
(Continue reading)

Claus | 17 May 2013 15:59
Picon

doveadm altmove to gzipped-mdbox

Hi,

im wondering if it's possible to store old messages in a compressed 
mdbox on alternate storage.
The main storage is uncompressed mdbox.

I tried something like: doveadm -Dv -o "plugin/zlib_save=gz" altmove -u 
testuser sentbefore 8d

Could someone tell me if it's possible and give me a hint how this can 
be done?

I tried this with dovecot-2.2

Claus

Ingo Rogalsky | 17 May 2013 02:46
Picon

ACLs - creating new top level folders

Hi,

I'm wondering, whether it's possible, to define an ACL on the mailbox 
itself. We use Dovecot 1.2.15 (included in Debian 6) and maildir 
filesystem layout:

/home/mail01/user1/Maildir/new           \
/home/mail01/user1/Maildir/cur            Inbox
/home/mail01/user1/Maildir/tmp           /
/home/mail01/user1/Maildir/.folder1/new  \
/home/mail01/user1/Maildir/.folder1/cur   folder1
/home/mail01/user1/Maildir/.folder1/tmp  /
...

Assigning an ACL with full access rights for user2 to the folder Inbox 
works as expected. user2 can create subfolders of Inbox, too. But he 
can't create a new folder like folder1 parallel to Inbox. Is there a 
possibility of defining an ACL on the mailbox of user1 itself? Or do we 
need to create all subfolders beneath Inbox like this is usual with 
other IMAP servers?

Ingo

---
/usr/sbin/dovecot -c /etc/dovecot/dovecot-test.conf -n

# 1.2.15: /etc/dovecot/dovecot-test.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.7
base_dir: /var/run/dovecot-test/
log_path(default): /var/log/dovecot-test/error.log
(Continue reading)

Joseph Tam | 17 May 2013 01:49
Picon

Re: question about /var/spool/mail/xxx

Richard Feng <at> eBay writes:

> this is Redhat 6.3
> I installed sendmail and dovecot.
> but sendmail can continue send mail as MTA
> all mails go to /var/spool/mail

OK.

> this is problem for dovecot. dovecot cannot get it goto dovecot inbox.
>
> if setup mailbox poing to /var/spool/mail/%u, it is workable

I'm guessing that you're sending new mail to mbox formatted files
in /var/spool/mail/%u (using dovecot LDA?).

> but if set up maildir to somewhere else ,I cannot receive mail by dovecot.

You lost me.  How did you "set up maildir to somewhere else"?

You ought to supply configurations (output of dovecot -n), and log entries
of the problem.

Joseph Tam <jtam.home <at> gmail.com>

listas | 16 May 2013 19:30
Picon

Ubuntu-12.04-LTS repos with Dovecot-2.2 and Pigeonhole

Hi,

 I would like to take advantage of new features in Dovecot 2.2 on my servers. But I'm having difficulties to
build packages for Ubuntu-12.04-LTS.

 Does anyone know a repository that has new stable versions for Dovecot and Pigeonhole ?

 Thanks ! 
 --&nbsp;
Thiago Henrique 
 adminlinux.com.br

Christian Wiese | 16 May 2013 17:14
Picon
Favicon

[PATCH] example-config: fix to also distribute auth-dict.conf.ext in

Hi,

When trying to patch the dovecot 2.2.1 release with latest upstream
patches I generated out of the repository, the patch fails to apply,
because 'doc/example-config/conf.d/auth-dict.conf.ext' is not
distributed within the release tarball.

Attached patch should fix the issue.

Cheers,
Chris
pvsuja | 16 May 2013 12:31
Picon

quota with imapc


Dear dovecot team,

I have set up my mail system with a mail gateway connecting to mail server
using imapc.
Now I need my web mail client to show up the quota info.
I enabled quota plugins in dovecot.conf.
The problem is since all mails reside in the server, the web mail which is
in mail gateway always shows the quota as 0.
Is there any way the plugin will get quota info from the mail server?

I am attaching my conf 

## Dovecot configuration file in

mail_uid = imapproxy
mail_gid = imapproxy
mail_home = /home/imapproxy/%u
mail_location = imapc:~/imapc

protocols = imap

##
## imapc settings
##

imapc_host = mailserver.example.com
imapc_port = 143
imapc_ssl = starttls
imapc_ssl_ca_dir = /etc/postfix/certs
(Continue reading)

Richard Feng@eBay | 16 May 2013 09:51
Picon
Gravatar

question about /var/spool/mail/xxx

this is Redhat 6.3
I installed sendmail and dovecot.
but sendmail can continue send mail as MTA
all mails go to /var/spool/mail

this is problem for dovecot. dovecot cannot get it goto dovecot inbox.

if setup mailbox poing to /var/spool/mail/%u, it is workable
but if set up maildir to somewhere else ,I cannot receive mail by dovecot.
stevenfah | 15 May 2013 17:03
Picon
Favicon

Fatal: Can't finish POP3 UIDL command


I have been setting up a new mail server and copied our client's old mail to
it. The old server has Courier (under Plesk), we're using Dovecot on the new
server.

Most accounts seem to work fine (under IMAP or POP3), but for a few we're
getting the following in the /var/log/mail.err.

Error: Message ordering changed unexpectedly (msg #1: storage seq 140 -> 1)
Fatal: Can't finish POP3 UIDL command

And the affected accounts can't get at their email. Things work ok if people
switch to IMAP but for some of our clients that is a difficulty, so we
really need POP3 working.

I used the Perl script given here to convert the mailboxes.

The only fix we've found is the rename/delete the Dovecot-uidlist file for
the affected mailboxes and we've done that, as it was only a few. The issue
now is that more mailboxes are coming with the same error, even though they
were fine originally.

--
View this message in context: http://dovecot.2317879.n4.nabble.com/Fatal-Can-t-finish-POP3-UIDL-command-tp42258.html
Sent from the Dovecot mailing list archive at Nabble.com.


Gmane