Re: Multiple certificate option

2019-09-07 Thread Remo Mattei via dovecot
Thanks Michael I will check with the free cert lets encrypt to test it. 

Remo

> Il giorno 7 set 2019, alle ore 02:09, Michael Hallager via dovecot 
>  ha scritto:
> 
> On 2019-09-07 12:25, remo--- via dovecot wrote:
>> What is the best way to adopt multiple certs?
>> Thanks.
> 
> /etc/dovecot/conf.d/10-ssl.conf
> 
> Primary SSL certificate:
> 
> # SSL/TLS support: yes, no, required. 
> #ssl = yes
> ssl = required
> 
> ("yes" or "required" - I use required)
> 
> # Minimum SSL protocol version to use. Potentially recognized values are 
> SSLv3,
> # TLSv1, TLSv1.1, and TLSv1.2, depending on the OpenSSL version used.
> ssl_min_protocol = TLSv1
> 
> # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
> # dropping root privileges, so keep the key file unreadable by anyone but
> # root. Included doc/mkcert.sh can be used to easily generate self-signed
> # certificate, just make sure to update the domains in dovecot-openssl.cnf
> ssl_cert =  ssl_key =  
> Secondary SSL certificates (I add this at the bottom of the file)
> 
> local_name mail.domain2.tld {
> 
>ssl_cert = ssl_key =  
> }



Re: Error suggestions please

2019-05-27 Thread Remo Mattei via dovecot
This is the latest version 


2.3.5.2 (38c8f1daf)


> On May 27, 2019, at 04:49, Aki Tuomi  wrote:
> 
> 
> On 26.5.2019 1.03, Remo Mattei via dovecot wrote:
>> May 25 15:01:27 imap(xx...@italy1.com)<10256>: Error: 
>> Mailbox INBOX: UID=208: 
>> read(/home/vpopmail/domains/italy1.com/x/Maildir/cur/1154731221.9257.azz.italy1.com,S=26421:2,S)
>>  failed: Cached message size smaller than expected (26421 < 26511, 
>> box=INBOX, UID=208) (read reason=mail stream)
>> May 25 15:01:27 imap(xxx...@italy1.com)<10256>: Error: 
>> Corrupted record in index cache file 
>> /home/vpopmail/domains/italy1.com/x/Maildir/dovecot.index.cache: UID 
>> 208: Broken physical size in mailbox INBOX: 
>> read(/home/vpopmail/domains/italy1.com/x/Maildir/cur/1154731221.9257.azz.italy1.com,S=26421:2,S)
>>  failed: Cached message size smaller than expected (26421 < 26511, 
>> box=INBOX, UID=208)
>> May 25 15:01:27 imap(xxx...@italy1.com)<10256>: Panic: 
>> file istream.c: line 315 (i_stream_read_memarea): assertion failed: 
>> (old_size <= _stream->pos - _stream->skip)
>> 
>> Can someone tell help on how to fix this issue.
>> 
>> Thanks 
>> 
> 
> Hi!
> 
> Which version of dovecot is this?
> 
> Aki
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Hello some help on login users saying it's disabled

2019-05-26 Thread Remo Mattei via dovecot
Thanks Aki I fixed it. Some issues with the Dovecot.conf :) options all good 
now. 

> Il giorno 26 mag 2019, alle ore 21:39, Aki Tuomi  
> ha scritto:
> 
> 
>> On 26 May 2019 00:34 Remo Mattei via dovecot  wrote:
>> 
>> 
>> Hello I am experiencing some strange issue with the dovecot, the web round 
>> cube works fine but when I try to connect with an iPhone over IMAP IMAPs it 
>> tells me that the account is disabled. 
>> 
>> Please advice here is what I see in the logs:
>> 
>> 
> 
> snip..
> 
>> 
>> And the account does not show any mail whereas the Web shows the mail just 
>> fine. 
>> 
>> Thanks
> 
> auth_mechanisms = PLAIN LOGIN
> 
> should help, assuming you have not configured your iPhone to use "secure 
> password" authentication.
> 
> Aki



Error suggestions please

2019-05-26 Thread Remo Mattei via dovecot
May 25 15:01:27 imap(xx...@italy1.com)<10256>: Error: Mailbox 
INBOX: UID=208: 
read(/home/vpopmail/domains/italy1.com/x/Maildir/cur/1154731221.9257.azz.italy1.com,S=26421:2,S)
 failed: Cached message size smaller than expected (26421 < 26511, box=INBOX, 
UID=208) (read reason=mail stream)
May 25 15:01:27 imap(xxx...@italy1.com)<10256>: Error: 
Corrupted record in index cache file 
/home/vpopmail/domains/italy1.com/x/Maildir/dovecot.index.cache: UID 208: 
Broken physical size in mailbox INBOX: 
read(/home/vpopmail/domains/italy1.com/x/Maildir/cur/1154731221.9257.azz.italy1.com,S=26421:2,S)
 failed: Cached message size smaller than expected (26421 < 26511, box=INBOX, 
UID=208)
May 25 15:01:27 imap(xxx...@italy1.com)<10256>: Panic: file 
istream.c: line 315 (i_stream_read_memarea): assertion failed: (old_size <= 
_stream->pos - _stream->skip)

Can someone tell help on how to fix this issue.

Thanks 



smime.p7s
Description: S/MIME cryptographic signature


Hello some help on login users saying it's disabled

2019-05-26 Thread Remo Mattei via dovecot
Hello I am experiencing some strange issue with the dovecot, the web round cube 
works fine but when I try to connect with an iPhone over IMAP IMAPs it tells me 
that the account is disabled. 

Please advice here is what I see in the logs:


May 25 14:30:32 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=<4AZjBr2J2cisCqP7>
May 25 14:30:32 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:32 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:32 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:34 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:34 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:37 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:37 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:39 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=
May 25 14:30:39 imap-login: Info: Aborted login (no auth attempts in 0 secs): 
user=<>, rip=172.10.163.251, lip=208.53.44.237, session=

And the account does not show any mail whereas the Web shows the mail just 
fine. 

Thanks 

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread Remo Mattei via dovecot
This is what fixed mine 

 service stats {
# unix_listener stats-reader {
# group =
# mode = 0666
# user =
#   }
   unix_listener stats-writer {
 group = dovecot
 mode = 0666
 user =
   }
  }


> On Apr 10, 2019, at 09:43, @lbutlr via dovecot  wrote:
> 
> On 10 Apr 2019, at 09:06, @lbutlr via dovecot  wrote:
>> Should I add
>> 
>> service stats {
>> unix_listener stats-writer {
>> user = dovecot
>> }
>> unix_listener stats-reader {
>> user = dovecot
>> }
>> }
>> 
>> to my dovecot.conf file?
> 
> I did this and it appears to have fixed the issue.
> 
> Also, the failed message strongly implies that the email was not delivered, 
> since it happens on the delivery log line and there is not indication in the 
> log that delivery succeeded. However, the message is delivered. It might be 
> worth changing the message or still logging the actual message delivery?
> 
> 
> -- 
> I WILL NOT CARVE GODS Bart chalkboard Ep. 8F11
> 
>