Re: dovecot sasl support

2019-03-24 Thread Yassine Chaouche via dovecot
On 3/24/19 10:01 AM, Wojciech Puchar via dovecot wrote: so it will listen on the same socket. the effect with sendmail is as below Mar 23 21:23:29 <2.3> puchar dovecot: auth: Error: Authentication client not compatible with this server (mixed old and new binaries?) do i need to specify

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-24 Thread Yassine Chaouche via dovecot
On 3/21/19 10:17 PM, Davide Marchi via dovecot wrote: I've a doubt (again): Is it correct the the space between "[..]service" and "inet[..]"? As suggested here: https://blog.sys4.de/postfix-dovecot-mailbox-quota-en.html I've run: postconf smtpd_recipient_restrictions=check_policy_service

Re: dovecot.sieve shows up as a mailbox

2019-03-21 Thread Yassine Chaouche via dovecot
On 3/21/19 4:13 PM, Aki Tuomi via dovecot wrote: On 21 March 2019 17:05 Yassine Chaouche via dovecot wrote: [...] While not very intuitive, I have : mail_home = /var/mail/vmail/%d/%n/dovecot mail_location = maildir:~/.. Which works for me ^^' Yassine. Except it would have the same problem

Re: dovecot.sieve shows up as a mailbox

2019-03-21 Thread Yassine Chaouche via dovecot
On 3/21/19 3:57 PM, Aki Tuomi via dovecot wrote: This because you have a very common misconfiguration, which is that your mail_home and mail_location are pointing to same directory, and that lead into this problem. Solution is of course to use: mail_home = /var/mail/vmail/%d/%n mail_location

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-20 Thread Yassine Chaouche via dovecot
On 3/19/19 6:00 PM, Davide Marchi via dovecot wrote: [...] is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =     ...     check_policy_service inet:mailstore.example.com:12340 Davide Hey Davide,

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/17/19 11:59 AM, Yassine Chaouche via dovecot wrote: On 3/17/19 11:10 AM, Marek Kozlowski via dovecot wrote: Thank you but... Please mind that I'm planning to use dovecot LMTP rather than LDA. Best regards, Marek There's /usr/lib/dovecot/lmtp too Yassine. Here's a bad example

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/17/19 11:10 AM, Marek Kozlowski via dovecot wrote: Thank you but... Please mind that I'm planning to use dovecot LMTP rather than LDA. Best regards, Marek There's /usr/lib/dovecot/lmtp too Yassine.

Re: testing dovecot LMTP with postfix/spamassassin

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/16/19 3:49 PM, Marek Kozlowski via dovecot wrote: Can I test local mail delivery by dovecot LMTP manually? I mean: to simulate "I'm the Postfix" and produce for some testing e-mail the same effect as postfix granting it via `local_transport' to dovecot? Best regards, Marek You can

Re: How to create sent items, drafts and so on

2019-03-17 Thread Yassine Chaouche via dovecot
On 3/17/19 8:59 AM, Sakuma, Koshiro via dovecot wrote: Hello, I've setup Dovecot and Postfix mailing systems.  The protocol is imap.  Now, I've realized that there are no "sent items, drafts" boxed under Maildir for each users.  I would like to take back up Inbox, sent items, draft boxes. 

Re: Unable to set quota-fs plugin [fixed]

2019-03-17 Thread Yassine Chaouche via dovecot
Grammatico _/) 14 mars 2019 16:08 "Yassine Chaouche via dovecot" a écrit: How I'd love if I could just launch dovecot (with symbols) in a debugger, set a breakpoint in the right function call, and login from Rainloop. Then I could run the process one step at a time and inspect everything..

Re: Unable to set quota-fs plugin

2019-03-14 Thread Yassine Chaouche via dovecot
after the error is raised and thus quite difficult to trace the process. - Eric Grammatico _/) 14 mars 2019 15:46 "Yassine Chaouche via dovecot" a écrit: On 3/14/19 3:40 PM, Eric Grammatico via dovecot wrote: Hi there, Well.. I didn't find a way to strace imap. If I well

Re: Unable to set quota-fs plugin

2019-03-14 Thread Yassine Chaouche via dovecot
On 3/14/19 3:40 PM, Eric Grammatico via dovecot wrote: Hi there, Well.. I didn't find a way to strace imap. If I well understood, the faulty IMAP is launched by dovecot from or after a succesfull imap-login process. I have executed manually '/usr/libexec/dovecot/imap -u eric' and typed

Re: regarding ssl certificates

2019-03-14 Thread Yassine Chaouche via dovecot
On 3/14/19 11:46 AM, mick crane via dovecot wrote: Excuse dopey question. I'm not exactly clear about certificates. Apache2 default install has this snake oil certificate Can make a new one for apache Can make one for dovecot Can make one for ssl Is there supposed to be the one (self signed )

Re: Unable to set quota-fs plugin

2019-03-14 Thread Yassine Chaouche via dovecot
On 3/14/19 9:53 AM, Yassine Chaouche via dovecot wrote: On 3/13/19 2:10 PM, Eric Grammatico via dovecot wrote: Thanks Aki, Please find attached strace for imap and quota-status which report an error at the end. Regards, write(2, "/usr/libexec/dovecot/quota-statu"..., 57/u

Re: Am I right to assume certificate renewal with the same filename requires a dovecot reload/restart

2019-03-14 Thread Yassine Chaouche via dovecot
On 3/14/19 9:55 AM, Patrick Cernko via dovecot wrote: [...] the way we have configured exim, it neither needs reload or restart but reads the certificate file every time it has to use it. What happens if you goof off in the middle of an opeartion, temporarily putting a wrong file instead of

Re: Unable to set quota-fs plugin

2019-03-14 Thread Yassine Chaouche via dovecot
On 3/13/19 2:10 PM, Eric Grammatico via dovecot wrote: Thanks Aki, Please find attached strace for imap and quota-status which report an error at the end. Regards, write(2, "/usr/libexec/dovecot/quota-statu"..., 57/usr/libexec/dovecot/quota-status: invalid option -- 'u' Please retry

Re: Am I right to assume certificate renewal with the same filename requires a dovecot reload/restart

2019-03-14 Thread Yassine Chaouche via dovecot
On 3/14/19 9:32 AM, Yassine Chaouche via dovecot wrote: The general answere here is try and see, as you could totally test it on your own. The certificate is read at startup and put in memory for the rest of the execution time. Dovecot won't monitor the file for changes on disk, as this would

Re: Am I right to assume certificate renewal with the same filename requires a dovecot reload/restart

2019-03-14 Thread Yassine Chaouche via dovecot
The general answere here is try and see, as you could totally test it on your own. The certificate is read at startup and put in memory for the rest of the execution time. Dovecot won't monitor the file for changes on disk, as this would waste CPU cycles and make dovecot only slower for no

Re: Unable to set quota-fs plugin

2019-03-13 Thread Yassine Chaouche via dovecot
On 3/13/19 10:14 AM, Eric Grammatico via dovecot wrote: [...] Mar 11 17:56:20 mail.xxx.xx dovecot[4923]: imap()<4939>: Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory That's odd, I usually see s*da (not *v*da)

Re: sieve vacation to an alias group

2019-03-10 Thread Yassine Chaouche via dovecot
On 3/10/19 12:35 PM, Monis Monther via dovecot wrote: [...] This is actually what I have done now, but I want it to be more robust, if this user quits, then I must have someone else in the group with the rule. [...] Yeah, a multipurpose, reusable notificati...@domain.tld fake / bot email

Re: sieve vacation to an alias group

2019-03-10 Thread Yassine Chaouche via dovecot
Since sending to the alias will send to a, b and c, just define the filter on one mailbox only instead of making it global I guess. Yassine. On 3/10/19 11:51 AM, Yassine Chaouche via dovecot wrote: I am curious to know how did you define the filter on an alias in the first place

Re: sieve vacation to an alias group

2019-03-10 Thread Yassine Chaouche via dovecot
? Is there another auto responder or plugin that can achieve this? How do ticketing systems handle this? Thanks Monis On Sun, Mar 10, 2019 at 11:13 AM Yassine Chaouche via dovecot mailto:dovecot@dovecot.org>> wrote: On 3/10/19 9:07 AM, Yassine Chaouche via dovecot wrote: On 3/9/19 12:41 PM,

Re: sieve vacation to an alias group

2019-03-10 Thread Yassine Chaouche via dovecot
On 3/10/19 9:07 AM, Yassine Chaouche via dovecot wrote: On 3/9/19 12:41 PM, Monis Monther via dovecot wrote: Hi, We have an alias group named x...@example.com <mailto:x...@example.com>, this alias group has 3 actual users a...@example.com <mailto:a...@example.com>, b...

Re: sieve vacation to an alias group

2019-03-10 Thread Yassine Chaouche via dovecot
On 3/9/19 12:41 PM, Monis Monther via dovecot wrote: Hi, We have an alias group named x...@example.com , this alias group has 3 actual users a...@example.com , b...@example.com and c...@example.com

Re: readonly archive folders using squashfs

2019-03-09 Thread Yassine Chaouche via dovecot
For every u...@domain.tld I created a u...@backup.domain.tld where he could look up deleted messages (archive). I then made u...@backup.domain.tld's cur directory a shared directory to u...@domain.tld but only with read privileges. So, anytime the user wants to read his old messages, he only

Re: Dovecot Logging and Shell Script Hang

2019-02-28 Thread Yassine Chaouche via dovecot
On 2/27/19 7:00 PM, Aki Tuomi via dovecot wrote: On 27 February 2019 18:49 Asai via dovecot wrote: Greetings, We have a PHP based shell script that runs a doveadm backup routine. [...] the shell script would run for a few minutes and then hang, as it added more log messages to the dsync

Re: Linking mailboxes

2019-02-27 Thread Yassine Chaouche via dovecot
So did you get everything fixed up ? > doveadm(lightdm): Error: Can't open mailbox Storage/Email: stat(/run/media/computer/Storage/Email/tmp) failed: Permission denied (euid=976(lightdm) egid=976(lightdm) missing +x perm: /run/media/computer/Storage/Email, dir owned by 5000:5000 mode=0700)

Re: Linking mailboxes

2019-02-25 Thread Yassine Chaouche via dovecot
Hello Kunal, I've done this once, and it was for bakcup mail too :) in this page (https://ychaouche.informatick.net/dovecotsharefolders) I describe how I shared folders between main e-mail account and backup e-mail account with symlinks and dovecot-acl files pretty easily. Yassine. On

Re: Using SHA256/512 for SQL based password

2019-02-20 Thread Yassine Chaouche via dovecot
On 2/20/19 3:28 PM, Robert Moskowitz via dovecot wrote: Here's how I configured my roundcube's password plugin to keep things together ($roundcubefolder/plugins/password/config.php) $config['password_algorithm']    = 'dovecot'; $config['password_algorithm_prefix'] = '{SHA512-CRYPT}';

Re: Error sending email from client

2019-02-20 Thread Yassine Chaouche via dovecot
On 2/18/19 2:29 PM, Latin Bishop via dovecot wrote: Feb 18 08:26:41 pepino postfix/smtps/smtpd[5328]: warning: unknown smtpd restriction: "permit_ssl_authenticated" Try to change permit_ssl_authenticated to permit_s*a*sl_authenticated (+a) But as Sami said this is a postfix issue and

Re: Using SHA256/512 for SQL based password

2019-02-20 Thread Yassine Chaouche via dovecot
On 2/12/19 5:05 PM, Robert Moskowitz via dovecot wrote: I have trying to find how to set the dovecot-sql.conf for using SHA256/512.  I am going to start clean with the stronger format, not migrate from the old MD5.  It seems all I need is: [...] default_pass_scheme = SHAxxx-CRYPT [...] How