Re: Shared Mailbox?

2016-06-04 Thread chaouche yacine
Hello Craig, I did this some weeks ago and documented my attempt at https://ychaouche.informatick.net/dovecotsharefolders I hope this helps. Yassine. From: Steffen Kaiser To: craig Cc:

Re: Can't delete emails from or write replies to Inbox

2016-06-07 Thread chaouche yacine
How about some /var/log/dovecot.log lines ? - Original Message - From: Edwin Humphries To: Dovecot Mailing List Sent: Tuesday, June 7, 2016 1:22 AM Subject: Can't delete emails from or write replies to Inbox Hi, I'm running Dovecot

Fw: Can't delete emails from or write replies to Inbox

2016-06-08 Thread chaouche yacine
- Forwarded Message - From: chaouche yacine <yacinechaou...@yahoo.com> To: Edwin Humphries <edw...@earthcaretech.com.au> Sent: Wednesday, June 8, 2016 10:31 AM Subject: Re: Can't delete emails from or write replies to Inbox We have made a copy of our mail server and we som

Re: quota rules for mail users

2016-06-15 Thread chaouche yacine
I personnaly use courier's maildirmake, which is a real binary unlike dovecote's maildirmake which is a thin bash wrapper around the linux mkdir command. Courier's maildirmake on the other hand has this nice -q option that let you specify a quota, at creation time of afterwards. I'm using it

Re: archive all saved IMAP messages

2016-06-17 Thread chaouche yacine
I'm also interested in learning how to do this best. Last time I thought about it is if users have a different e-mail address on the archive server, you can setup a BCC map in postfix that matches the pair of emails (primary email - archive email), this will automatically send all sent

How do I share folders ?

2016-05-11 Thread chaouche yacine
Hello dovecot, First poster here. What I want : give a.chaou...@algerian-radio.dz list and read permissions on a.chaou...@backup.algerian-radio.dz. Let's just discuss sharing the inbox then I can do the same for subfolders, in any. a.chaou...@algerian-radio.dz and

Re: How do I share folders ?

2016-05-12 Thread chaouche yacine
. No need for doveadm acl commands Yassine. From: Steffen Kaiser <skdove...@smail.inf.fh-brs.de> To: chaouche yacine <yacinechaou...@yahoo.com> Cc: "dovecot@dovecot.org" <dovecot@dovecot.org> Sent: Wednesday, May 11, 2016 3:09 PM Subject:

Re: How do I share folders ?

2016-05-12 Thread chaouche yacine
Message - From: chaouche yacine <yacinechaou...@yahoo.com> To: "dovecot@dovecot.org" <dovecot@dovecot.org> Sent: Thursday, May 12, 2016 1:35 PM Subject: Re: How do I share folders ? Thanks Steffen. I went the quick'n'dirty way described at : http://wiki2.dovecot.org/SharedMa

Re: Moving Maildir folders

2016-07-18 Thread chaouche yacine
>From: "@lbutlr" >To: dovecot@dovecot.org >Sent: Monday, July 18, 2016 9:19 AM >Subject: Re: Moving Maildir folders > >The folders new, tmp, and cur are the Maildir folders for INBOX. Every subfolder has new,tmp and cur directories. Every subfolder is a Maildir. >From

Re: Problem with Let's Encrypt Certificate

2017-02-20 Thread chaouche yacine
What is the motivation behind using a new pair of keys and CSR ?

Re: Problem with Let's Encrypt Certificate

2017-02-20 Thread chaouche yacine
Bast, the way I understand it is that Let's Encrypt is not a Root Certificate Authority, it's an intermediate. The root CA of Let's Encrypt is " DST_Root_CA_X3.crt", you should find it in /etc/ssl/certs/. I have sucessfully installed a Let's Encrypt certificate on a debian machine by Octobre

Re: Problem with Let's Encrypt Certificate

2017-02-20 Thread chaouche yacine
Hello Basti. Maybe you tried LE too early when it was not universally accepted as a trusted CA ? On Monday, February 20, 2017 2:22 PM, basti wrote: Hello, I had the same problem. LE is not in the CA list. Best Regards, On 17.02.2017 17:58, Bastian Sebode

Re: Problem with Let's Encrypt Certificate

2017-02-17 Thread chaouche yacine
Seems wrong to me too, Robert. If you put your private key inside your certificate, won't it be sent to the client along with it ? Bastian, are you using an old version of thunderbird ? googling for "SSL alert number 42" gave me two results indicating a bug in thunderbird versions 31,32 and

Re: Problem with Let's Encrypt Certificate

2017-02-17 Thread chaouche yacine
Interesting. Is there any particular benefit in having only one file for both certificate and private key ? I find that putting private key in a separate file feels more secure. Bastian, how could two identical certificates be processed differently by Thunderbid ? how did you check the

Re: Maildirsize not updated

2017-02-12 Thread chaouche yacine
32 User quota MESSAGE 8542 - 0 root@messagerie[10.10.10.19] /var/vmail/domain.tld/m.stefan # On Sunday, February 12, 2017 2:18 PM, chaouche yacine <yacinechaou...@yahoo.com> wrote: I am using dovecot lmtp root@messagerie[10.10.10.19] ~

Re: Maildirsize not updated

2017-02-12 Thread chaouche yacine
I am using dovecot lmtp root@messagerie[10.10.10.19] ~ # grep virtual_transport /etc/postfix/main.cf # transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf # virtual_transport = maildrop virtual_transport =

Re: Maildirsize not updated

2017-02-09 Thread chaouche yacine
On Thursday, February 9, 2017 2:02 PM, Aki Tuomi wrote: > how do you measure the difference? header of maildirsize and output of doveadm quota get -u u...@domain.tld Here's another occurence that happened a couple weeks ago on 25-01-2017 (retrieved from a mail I

Maildirsize not updated

2017-02-09 Thread chaouche yacine
Hello dovecot Problem : maildirsize and dovecot quota get have different values dovecot version : 2.2.13 happens with: some mailboxes This issue happens only to some mailboxes and only for a specific period of time until maildirsize gets updated by something (not me). I can't

Re: Self-Signed Certificate issue

2016-09-25 Thread chaouche yacine
From: Darryl Baker To: dovecot@dovecot.org Sent: Friday, September 23, 2016 6:07 PM Subject: Self-Signed Certificate issue I keep getting what I am interpreting as a missing CA cert. The message is: dovecot: imap-login: Error: SSL: Stacked error:

Re: The challenge of customizing Dovecot

2017-03-22 Thread chaouche yacine
Robert, What would be the benefit of using sed against making customized files and just copying them ? I'd probably just want to copy a working version of /etc/dovecot/ conf files instead of modifying my existing files with sed scripts (or create new ones with cat). -- Yassine.

Re: Solved? - Re: Understanding quotas

2017-03-22 Thread chaouche yacine
Robert, If you wish, you can go one step further and configure postfix to reject mail -5.X.X DSN- when user is over quota instead of having the mail waiting in the postfix mail queue for considering it a temporary delivery problem -4.X.X DSN-. When the problem is considered temporary postfix

Re: Permission denied when logrotating dovecot.log

2017-03-22 Thread chaouche yacine
Michael, You should probably just chmod 600 your dovecot.log file. Here's mine (debian 8): root@messagerie-secours[CHROOT][10.10.10.19] ~ # ls /var/log/dovecot.log -rw--- 1 root root 8.3M Mar 22 16:40 /var/log/dovecot.log root@messagerie-secours[CHROOT][10.10.10.19] ~ # And here are

Studying dovecot source code (searching for mail_deliver_hook_set)

2017-03-28 Thread chaouche yacine
Hello dovecot, I would like to study how dovecot manages quota, especially how it deals with the maildirsize file if one chooses to implement quota according to the maildir++ specification. I made a number of assumptions : 1. mail is (always/sometimes) delivered with the dovecot-lda binary,

Re: cannot login to imap under load

2017-03-28 Thread chaouche yacine
Hello Gerard ! On Tuesday, March 28, 2017 4:55 PM, Gerard Ranke wrote:> dovecot: master: Error: service(imap): fork() failed: Resource > >temporarily unavailable > >dovecot: master: Error: service(imap): command startup failed, > >throttling for 2 secs > > >Note thate we

Re: Studying dovecot source code (searching for mail_deliver_hook_set)

2017-03-30 Thread chaouche yacine
.fi> wrote: On 29.03.2017 13:44, Steffen Kaiser wrote: > On Tue, 28 Mar 2017, chaouche yacine wrote: > > > I would like to study how dovecot manages quota, especially how it > deals with the maildirsize file if one chooses to implement quota > according to the maildir++

Re: Studying dovecot source code (searching for mail_deliver_hook_set)

2017-03-30 Thread chaouche yacine
Perfect ! thanks a lot :) On Thursday, March 30, 2017 10:42 AM, Aki Tuomi <aki.tu...@dovecot.fi> wrote: https://wiki2.dovecot.org/Design Aki On 30.03.2017 12:35, chaouche yacine wrote: > Thanks ! I don't know if there's documentation about dovecot's design as a

Re: dovecot configuration oops

2017-03-22 Thread chaouche yacine
Hello Liam ! I'm not a dovecot developer but usually the classic response is "patch welcome" :) -- Yassine.

Re: cannot login to imap under load

2017-03-29 Thread chaouche yacine
Could it be that dovecot is being started from a container ?   -- Yassine On Wednesday, March 29, 2017 12:08 PM, Gerard Ranke wrote: Hi Steffen, On 29-03-17 12:38, Steffen Kaiser wrote: > On Tue, 28 Mar 2017, Gerard Ranke wrote: > >> dovecot: master: Error:

Re: Server migration

2017-03-20 Thread chaouche yacine
Don't lose any of the dovecot-* files and your clients should be fine. I've done 1) a couple of times and nobody got hurt.What you should do is keep the two servers (the old and the new one), and once the new one is ready test with your client only (change your client's IMAP/POP server

Re: Problem with sieve_before

2017-03-21 Thread chaouche yacine
Hi Ger, sieve_before should be a path to sieve script file, not to a directory. in your configuration, you set sieve_before to /var/lib/dovecot/sieve/before which is a directory. what you need to do is figure out which sieve script you'd like to execute and its path rather. If you think that

Re: New Member

2017-03-21 Thread chaouche yacine
Hello Ger, In addition, you can also check the dovecot archives at marc.info, here : http://marc.info/?l=dovecot -- Yassine.

Re: Postfix Ignoring lmtp, delivering straight to maildir

2017-03-15 Thread chaouche yacine
Hello Doug, First off since this is a postfix configuration problem I beleive it would be better suited in the postfix mailing list. The way I understand it is that you are editing the virtual transport map when you should be changing the local transport map because you are delivering to a

Re: sievec

2017-03-17 Thread chaouche yacine
All sieve scripts need to be compiled."default" means absence. So default scripts are used when user scripts don't exist. If users have their sieves scripts then the default won't be executed. If you want to impose your script on all users then use sieve_before not sieve_default. For example, I

Re: getmail with dovecot delivering problems

2017-03-22 Thread chaouche yacine
On Tuesday, March 21, 2017 10:46 PM, Samuel Reina Calvo wrote: > so far coulnd make getmail to deliver mails correctly. the use of getmail + > dovecot downloads email via pop3 but then put all the emails in the same > inbox. Hello Samuel, Do you think this might be a

Re: Problem with sieve_before

2017-03-22 Thread chaouche yacine
On Tuesday, March 21, 2017 7:07 PM, Robert Moskowitz wrote: > The howto I am making has: > > mkdir /home/sieve >[...] > chown -R vmail:mail /home/sieve I notice you are creating a sieve directory in /home/ as if it was a system user, then you change ownership to vmail. I

Re: sieve does not seem to be working

2017-04-09 Thread chaouche yacine
Hello Robert, You said that the script worked when you ran it with sieve-test, proabably as root user, but not when you sent an e-mail with sendmail, which I guess would run it as the dovecot user (probably vmail as you said you changed the ownership of the e-mail to vmail:mail ?) You forgot

Re: How to use quota with dovecot

2017-04-09 Thread chaouche yacine
On Saturday, April 8, 2017 9:47 AM, Mik J wrote: > Then commented out in 90-quota.conf > >quota_rule = *:storage=1G > >quota_rule2 = Trash:storage=+100M > >quota_grace = 10%% > >} You also need to define what type of quota do you want, dict-based, maildir based, static

Re: Problem with acl and shared mailboxes

2017-04-04 Thread chaouche yacine
Hello Fabian, If you find the solution please report back, I'm interested.   -- Yassine

Re: Problem with acl and shared mailboxes

2017-04-03 Thread chaouche yacine
Hello Fabian ! There's a simpler method for implementing shared folders if you'd like to try it. It only relies on symlinks and acl files. I describe this 5 steps method in this wiki article : https://ychaouche.informatick.net/dovecotsharefolders#test_your_setup_with_the_doveadm_acl_tool

Re: Getting error on port 995

2017-04-03 Thread chaouche yacine
On Sunday, April 2, 2017 10:03 PM, Joseph Tam wrote: >As a wild ass guess, I think maybe the client is using used "STARTTLS" >intead of "SSL", or some other SSL requirement disagreement. I believe it has more to do with the encryption method (plain, login, cram-md5) than

Re: Maildirsize not updated

2017-03-08 Thread chaouche yacine
Just a follow-up with another interesting situation : here's a maildirsize file that records 0 bytes out of 0 messages, yet it has many lines (which are supposed to be mail file sizes, 1 for received mail and -1 for deleted mail) : root@messagerie[10.10.10.19]

Re: quota-warning: possible to have size also?

2017-03-06 Thread chaouche yacine
Good point Alex, there's no real advantage that script was there from courier's time and I still use it but doveadm quota command does the trick just as well. Actual quota : root@messagerie[10.10.10.19] ~ # doveadm quota get -u sec-...@domain.tld 2>/dev/null | sed -n 1p | awk '{print $4}'

Re: Transitioning away from mail_location = maildir:~

2017-03-06 Thread chaouche yacine
Hi Chris, >I have since learned that mail_home and mail_location should be >different. I plan to use this: I'm interested about any sources for this ? I find dovecot to be very flexible, so much that you can actual have the home dir inside the maildir instead of the traditional other way

Re: Transitioning away from mail_location = maildir:~

2017-03-06 Thread chaouche yacine
It's even listed as a possible setup in dovecot's wiki, see : http://genius.it/wiki.dovecot.org/VirtualUsers/Home (annotated version). -- Yassine.

Re: quota-warning: possible to have size also?

2017-03-06 Thread chaouche yacine
Hi, I'am using a Maildir++ based quota setting which creates a maildirsize file in every Maildir. The first two lines of this file are the maximum quota in bytes then the actual consumption in bytes and number of messages, like so : 1073741824S 379317999 5169 This means this user has a

Re: Transitioning away from mail_location = maildir:~

2017-03-06 Thread chaouche yacine
Thanks Alex. I myself ran into these problems as described above and having distinct Maildir and Homedir helped it. The main reason being dovecot not making any distinction between a folder and maildir folder, which seems to have a very simple solution though. -- Yassine.

Re: Problem with sieve_before

2017-03-21 Thread chaouche yacine
>On Tuesday, March 21, 2017 3:03 PM, Robert Moskowitz <r...@htt-consult.com> >wrote: >On 03/21/2017 09:06 AM, chaouche yacine wrote: >> Hi Ger, >> >> sieve_before should be a path to sieve script file, not to a directory. >> in your configuration, you set

Re: Filesystem level backups?

2018-04-09 Thread chaouche yacine
Been rsyncing my whole /var/vmail subdir (virtual users) for a while. So far so good. Yassine. On Sunday, April 8, 2018, 11:56:29 PM GMT+1, Steve Atkins wrote: Up until now I've been backing up my IMAP server by taking an atomic snapshot of the entire VM, so I've

Re: Filesystem level backups?

2018-04-09 Thread chaouche yacine
Ah, I didn't know there was a diff. b/w maildir and mdbox in terms of storage. I should have mentionned I am using Maildir. Yassine. On Monday, April 9, 2018, 1:35:15 PM GMT+1, Marc Stürmer wrote: Am 2018-04-09 00:55, schrieb Steve Atkins: > Will a simple

Re: How to format auth-worker logs ?

2018-03-26 Thread chaouche yacine
Hello list, Here's how auth-worker logs : Mar 26 10:56:38 auth-worker(1753): Info: sql(someu...@mydomain.tld,202.107.34.250): Password mismatch I would like to add the service used, like this : Mar 26 10:56:38 auth-worker(1753): Info: service=smtp sql(someu...@mydomain.tld,202.107.34.250):