Re: Dove to error

2019-02-18 Thread Benny Pedersen via dovecot

ssl vs sasl in warning

Benny


Re: Dove to error

2019-02-18 Thread Latin Bishop via dovecot
Yes it is. Basically can’t send nor receive confit looks good 



> On Feb 17, 2019, at 12:34 PM, Aki Tuomi  wrote:
> 
> Is user 'dovecot' member of group 'mail'?
> 
> Aki
> 
>> On 17 February 2019 at 19:28 Latin Bishop  wrote:
>> 
>> 
>> Changed permissions but still have issues 
>> 
>> A error occurred while sending email the mail server responded 4.3.5 server 
>> configuration error 
>> Please check the message recipient 
>> 
>> Sent from my iPad
>> 
>>> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  wrote:
>>> 
>>> mail_privileged_group=mail
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 19:03 Latin Bishop  wrote:
 
 
 When testing with thunder mail getting this error 
 
 Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
 failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w perm: 
 /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775)
 Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate 
 mailbox INBOX: Internal error occurred. Refer to server log for more 
 information. [2019-02-17 11:59:40]
 Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
 
 
> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  wrote:
> 
> You probably mean -quiet flag which works
> 
> Aki
> 
>> On 17 February 2019 at 12:10 Latin Bishop  wrote:
>> 
>> 
>> Thanks 
>> 
>> Was 143.  I notice the -quite flag no longer works in openssl when 
>> testing connection 
>> 
>>> On Feb 17, 2019, at 3:33 AM, Aki Tuomi  
>>> wrote:
>>> 
>>> 
 On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
 dovecot@dovecot.org> wrote:
 
 
 
 Getting this error after following
 this tutorial
 
 Error in configuration file /etc/dovecot/dovecot.conf duplicate 
 listener
 
 
 https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
 
>>> 
>>> Usually doveconf -n tells you where the duplicate listener is so you 
>>> can remove it.
>>> --- 
>>> Aki Tuomi


Re: Dove to error

2019-02-18 Thread Latin Bishop via dovecot
Changed permissions but still have issues 

A error occurred while sending email the mail server responded 4.3.5 server 
configuration error 
Please check the message recipient 

Sent from my iPad

> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  wrote:
> 
> mail_privileged_group=mail
> 
> Aki
> 
>> On 17 February 2019 at 19:03 Latin Bishop  wrote:
>> 
>> 
>> When testing with thunder mail getting this error 
>> 
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) failed: 
>> Permission denied (euid=1000(pi) egid=1000(pi) missing +w perm: /var/mail, 
>> we're not in group 8(mail), dir owned by 0:8 mode=0775)
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate 
>> mailbox INBOX: Internal error occurred. Refer to server log for more 
>> information. [2019-02-17 11:59:40]
>> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
>> 
>> 
>>> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  wrote:
>>> 
>>> You probably mean -quiet flag which works
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 12:10 Latin Bishop  wrote:
 
 
 Thanks 
 
 Was 143.  I notice the -quite flag no longer works in openssl when testing 
 connection 
 
> On Feb 17, 2019, at 3:33 AM, Aki Tuomi  wrote:
> 
> 
>> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>> dovecot@dovecot.org> wrote:
>> 
>> 
>> 
>> Getting this error after following
>> this tutorial
>> 
>> Error in configuration file /etc/dovecot/dovecot.conf duplicate listener
>> 
>> 
>> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>> 
> 
> Usually doveconf -n tells you where the duplicate listener is so you can 
> remove it.
> --- 
> Aki Tuomi


Re: Dove to error

2019-02-18 Thread Latin Bishop via dovecot
Feb 17 12:48:00 pepino postfix/smtps/smtpd[3988]: connect from 
localhost[127.0.0.1]
Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: warning: unknown smtpd 
restriction: "permit_ssl_authenticated"
Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: NOQUEUE: reject: RCPT from 
localhost[127.0.0.1]: 451 4.3.5 Server configuration error; 
from= to= proto=ESMTP helo=<[127.0.0.1]>
Feb 17 12:48:07 pepino postfix/cleanup[3998]: 25EC480E6B: 
message-id=<20190217174807.25EC480E6B@pepino>
Feb 17 12:48:07 pepino postfix/smtps/smtpd[3988]: disconnect from 
localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=4/5
Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: 
from=, size=970, nrcpt=1 (queue active)
Feb 17 12:48:07 pepino postfix/local[3999]: 25EC480E6B: 
to=, orig_to=, relay=local, delay=0.06, 
delays=0.03/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: removed

> On Feb 17, 2019, at 12:40 PM, Aki Tuomi  wrote:
> 
> Can you try adding 'pi' to group 'mail' too? Also, can you provide the actual 
> errors from log?
> 
> Aki
> 
>> On 17 February 2019 at 19:37 Latin Bishop  wrote:
>> 
>> 
>> Yes it is. Basically can’t send nor receive confit looks good 
>> 
>> 
>> 
>>> On Feb 17, 2019, at 12:34 PM, Aki Tuomi  wrote:
>>> 
>>> Is user 'dovecot' member of group 'mail'?
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 19:28 Latin Bishop  wrote:
 
 
 Changed permissions but still have issues 
 
 A error occurred while sending email the mail server responded 4.3.5 
 server configuration error 
 Please check the message recipient 
 
 Sent from my iPad
 
> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  
> wrote:
> 
> mail_privileged_group=mail
> 
> Aki
> 
>> On 17 February 2019 at 19:03 Latin Bishop  wrote:
>> 
>> 
>> When testing with thunder mail getting this error 
>> 
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
>> failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w perm: 
>> /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775)
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate 
>> mailbox INBOX: Internal error occurred. Refer to server log for more 
>> information. [2019-02-17 11:59:40]
>> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
>> 
>> 
>>> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  
>>> wrote:
>>> 
>>> You probably mean -quiet flag which works
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 12:10 Latin Bishop  wrote:
 
 
 Thanks 
 
 Was 143.  I notice the -quite flag no longer works in openssl when 
 testing connection 
 
> On Feb 17, 2019, at 3:33 AM, Aki Tuomi  
> wrote:
> 
> 
>> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>> dovecot@dovecot.org> wrote:
>> 
>> 
>> 
>> Getting this error after following
>> this tutorial
>> 
>> Error in configuration file /etc/dovecot/dovecot.conf duplicate 
>> listener
>> 
>> 
>> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>> 
> 
> Usually doveconf -n tells you where the duplicate listener is so you 
> can remove it.
> --- 
> Aki Tuomi


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
Wow, that is lot of useless config, see below for a fixed version to put into 
dovecot.conf =)

Aki

auth_mechanisms = plain login
## doing this lets people log in without SSL
#disable_plaintext_auth = no
listen = *
mail_location = mbox:~/mail:INBOX=/var/mail/%u
namespace {
   inbox = yes
   mailbox {
 special_use = \Drafts
 name = Drafts
   }
   mailbox {
 special_use = \Junk
 name = Junk
   }
   mailbox {
 special_use = \Sent
 name = Sent
   }
   mailbox {
 special_use = \Sent
 name = Sent Messages
   }
   mailbox {
 special_use = \Trash
 name = Trash
   }
   name = inbox
}
 passdb {
   driver = pam
 }
protocols = imap

service auth {
   unix_listener {
 group = postfix
 mode = 0660
 user = postfix
 path = /var/spool/postfix/private/auth
   }
}

## this is useless config, as it's default
#service imap-login {
#   inet_listener {
# port = 143
# name = imap
#   }
#   inet_listener {
# port = 993
# ssl = yes
# name = imaps
#   }
#}

ssl_cert =  On 17 February 2019 at 12:45 soydepr  wrote:
> 
> 
> # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.16 (fed8554)
> # OS: Linux 4.14.79-v7+ armv7l Debian 9.6
> auth_mechanisms = plain login
> disable_plaintext_auth = no
> listen = *
> mail_location = mbox:~/mail:INBOX=/var/mail/%u
> namespace {
>   inbox = yes


Re: Dove to error

2019-02-18 Thread Latin Bishop via dovecot
Feb 17 12:51:28 pepino dovecot: imap-login: Login: user=, method=PLAIN, 
rip=127.0.0.1, lip=127.0.1.1, $Feb 17 13:08:38 pepino dovecot: doveadm: Debug: 
This is Dovecot's debug log (1550426918)
Feb 17 13:08:38 pepino dovecot: doveadm: This is Dovecot's info log (1550426918)
Feb 17 13:08:38 pepino dovecot: doveadm: Warning: This is Dovecot's warning log 
(1550426918)
Feb 17 13:08:38 pepino dovecot: doveadm: Error: This is Dovecot's error log 
(1550426918)
Feb 17 13:08:38 pepino dovecot: doveadm: Fatal: This is Dovecot's fatal log 
(1550426



> On Feb 17, 2019, at 1:12 PM, Aki Tuomi  wrote:
> 
> That really depends on your dovecot config, but try
> 
> doveadm log find
> 
> also you can list recent errors with
> 
> doveadm log errors
> 
> Aki
> 
>> On 17 February 2019 at 20:03 Latin Bishop  wrote:
>> 
>> 
>> Where I find dovecot log
>> 
>> 
>> 
>>> On Feb 17, 2019, at 12:56 PM, Aki Tuomi  wrote:
>>> 
>>> Yes, well, this is postfix log, which is not very useful when debugging 
>>> dovecot problems...
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 19:50 Latin Bishop  wrote:
 
 
 Feb 17 12:48:00 pepino postfix/smtps/smtpd[3988]: connect from 
 localhost[127.0.0.1]
 Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: warning: unknown smtpd 
 restriction: "permit_ssl_authenticated"
 Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: NOQUEUE: reject: RCPT 
 from localhost[127.0.0.1]: 451 4.3.5 Server configuration error; 
 from= to= proto=ESMTP 
 helo=<[127.0.0.1]>
 Feb 17 12:48:07 pepino postfix/cleanup[3998]: 25EC480E6B: 
 message-id=<20190217174807.25EC480E6B@pepino>
 Feb 17 12:48:07 pepino postfix/smtps/smtpd[3988]: disconnect from 
 localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=4/5
 Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: 
 from=, size=970, nrcpt=1 (queue active)
 Feb 17 12:48:07 pepino postfix/local[3999]: 25EC480E6B: 
 to=, orig_to=, relay=local, delay=0.06, 
 delays=0.03/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
 Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: removed
 
> On Feb 17, 2019, at 12:40 PM, Aki Tuomi  
> wrote:
> 
> Can you try adding 'pi' to group 'mail' too? Also, can you provide the 
> actual errors from log?
> 
> Aki
> 
>> On 17 February 2019 at 19:37 Latin Bishop  wrote:
>> 
>> 
>> Yes it is. Basically can’t send nor receive confit looks good 
>> 
>> 
>> 
>>> On Feb 17, 2019, at 12:34 PM, Aki Tuomi  
>>> wrote:
>>> 
>>> Is user 'dovecot' member of group 'mail'?
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 19:28 Latin Bishop  wrote:
 
 
 Changed permissions but still have issues 
 
 A error occurred while sending email the mail server responded 4.3.5 
 server configuration error 
 Please check the message recipient 
 
 Sent from my iPad
 
> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  
> wrote:
> 
> mail_privileged_group=mail
> 
> Aki
> 
>> On 17 February 2019 at 19:03 Latin Bishop  wrote:
>> 
>> 
>> When testing with thunder mail getting this error 
>> 
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
>> failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w 
>> perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 
>> mode=0775)
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to 
>> autocreate mailbox INBOX: Internal error occurred. Refer to server 
>> log for more information. [2019-02-17 11:59:40]
>> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
>> 
>> 
>>> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  
>>> wrote:
>>> 
>>> You probably mean -quiet flag which works
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 12:10 Latin Bishop  
 wrote:
 
 
 Thanks 
 
 Was 143.  I notice the -quite flag no longer works in openssl when 
 testing connection 
 
> On Feb 17, 2019, at 3:33 AM, Aki Tuomi 
>  wrote:
> 
> 
>> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>> dovecot@dovecot.org> wrote:
>> 
>> 
>> 
>> Getting this error after following
>> this tutorial
>> 
>> Error in configuration file /etc/dovecot/dovecot.conf duplicate 
>> listener
>> 
>> 
>> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>> 
> 
> Usually doveconf -n tells yo

Re: Dove to error

2019-02-18 Thread Latin Bishop via dovecot


Did u mean set this 

 disable_plaintext_auth = no

Need some help as still having issues 

Can’t send or receive 
M181923P5865.pepino,S=7114,W=7258:2,S) failed: Cached message size smaller than 
expected (7114 < 8192, box$Feb 17 14:45:37 pepino dovecot: imap(pi): Error: 
read(/home/pi/Maildir/.Trash/cur/1550431162.M181923P5865.$Feb 17 15:16:04 
pepino dovecot: doveadm: Error: This is Dovecot's error log (1550434564)
Feb 17 15:16:04 pepino dovecot: doveadm: Fatal: This is Dovecot's fatal log 
(1550434564)
Feb 17 15:16:10 pepino dovecot: doveadm: Error: This is Dovecot's error log 
(1550434570)
Feb 17 15:16:10 pepino dovecot: doveadm: Fatal: This is Dovecot's fatal log 
(1550434570)




* error occurred on SMTP session
*** Error occurred while sending the message:
451 4.3.5 Server configuration error
[15:45:38] IMAP> 9 UID STORE 6 +FLAGS.SILENT (\Deleted)
[15:45:38] IMAP< 9 OK Store completed (0.001 + 0.000 secs).
[15:45:38] IMAP> 10 EXPUNGE
[15:45:38] IMAP< * 1 EXPUNGE

  
>> On 17 February 2019 at 12:45 soydepr  wrote:
>> 
>> 
>> # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.16 (fed8554)
>> # OS: Linux 4.14.79-v7+ armv7l Debian 9.6
>> auth_mechanisms = plain login
>> disable_plaintext_auth = no
>> listen = *
>> mail_location = mbox:~/mail:INBOX=/var/mail/%u
>> namespace {
>>  inbox = yes


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
You probably mean -quiet flag which works

Aki

> On 17 February 2019 at 12:10 Latin Bishop  wrote:
> 
> 
> Thanks 
> 
> Was 143.  I notice the -quite flag no longer works in openssl when testing 
> connection 
> 
> > On Feb 17, 2019, at 3:33 AM, Aki Tuomi  wrote:
> > 
> > 
> >> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
> >> dovecot@dovecot.org> wrote:
> >> 
> >> 
> >> 
> >> Getting this error after following
> >> this tutorial
> >> 
> >> Error in configuration file /etc/dovecot/dovecot.conf duplicate listener
> >> 
> >> 
> >> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
> >> 
> > 
> > Usually doveconf -n tells you where the duplicate listener is so you can 
> > remove it.
> > --- 
> > Aki Tuomi


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
Is user 'dovecot' member of group 'mail'?

Aki

> On 17 February 2019 at 19:28 Latin Bishop  wrote:
> 
> 
> Changed permissions but still have issues 
> 
> A error occurred while sending email the mail server responded 4.3.5 server 
> configuration error 
> Please check the message recipient 
> 
> Sent from my iPad
> 
> > On Feb 17, 2019, at 12:06 PM, Aki Tuomi  wrote:
> > 
> > mail_privileged_group=mail
> > 
> > Aki
> > 
> >> On 17 February 2019 at 19:03 Latin Bishop  wrote:
> >> 
> >> 
> >> When testing with thunder mail getting this error 
> >> 
> >> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
> >> failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w perm: 
> >> /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775)
> >> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate 
> >> mailbox INBOX: Internal error occurred. Refer to server log for more 
> >> information. [2019-02-17 11:59:40]
> >> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
> >> 
> >> 
> >>> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  wrote:
> >>> 
> >>> You probably mean -quiet flag which works
> >>> 
> >>> Aki
> >>> 
>  On 17 February 2019 at 12:10 Latin Bishop  wrote:
>  
>  
>  Thanks 
>  
>  Was 143.  I notice the -quite flag no longer works in openssl when 
>  testing connection 
>  
> > On Feb 17, 2019, at 3:33 AM, Aki Tuomi  
> > wrote:
> > 
> > 
> >> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
> >> dovecot@dovecot.org> wrote:
> >> 
> >> 
> >> 
> >> Getting this error after following
> >> this tutorial
> >> 
> >> Error in configuration file /etc/dovecot/dovecot.conf duplicate 
> >> listener
> >> 
> >> 
> >> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
> >> 
> > 
> > Usually doveconf -n tells you where the duplicate listener is so you 
> > can remove it.
> > --- 
> > Aki Tuomi


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
That really depends on your dovecot config, but try

doveadm log find

also you can list recent errors with

doveadm log errors

Aki

> On 17 February 2019 at 20:03 Latin Bishop  wrote:
> 
> 
> Where I find dovecot log
> 
> 
> 
> > On Feb 17, 2019, at 12:56 PM, Aki Tuomi  wrote:
> > 
> > Yes, well, this is postfix log, which is not very useful when debugging 
> > dovecot problems...
> > 
> > Aki
> > 
> >> On 17 February 2019 at 19:50 Latin Bishop  wrote:
> >> 
> >> 
> >> Feb 17 12:48:00 pepino postfix/smtps/smtpd[3988]: connect from 
> >> localhost[127.0.0.1]
> >> Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: warning: unknown smtpd 
> >> restriction: "permit_ssl_authenticated"
> >> Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: NOQUEUE: reject: RCPT 
> >> from localhost[127.0.0.1]: 451 4.3.5 Server configuration error; 
> >> from= to= proto=ESMTP 
> >> helo=<[127.0.0.1]>
> >> Feb 17 12:48:07 pepino postfix/cleanup[3998]: 25EC480E6B: 
> >> message-id=<20190217174807.25EC480E6B@pepino>
> >> Feb 17 12:48:07 pepino postfix/smtps/smtpd[3988]: disconnect from 
> >> localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=4/5
> >> Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: 
> >> from=, size=970, nrcpt=1 (queue active)
> >> Feb 17 12:48:07 pepino postfix/local[3999]: 25EC480E6B: 
> >> to=, orig_to=, relay=local, delay=0.06, 
> >> delays=0.03/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
> >> Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: removed
> >> 
> >>> On Feb 17, 2019, at 12:40 PM, Aki Tuomi  
> >>> wrote:
> >>> 
> >>> Can you try adding 'pi' to group 'mail' too? Also, can you provide the 
> >>> actual errors from log?
> >>> 
> >>> Aki
> >>> 
>  On 17 February 2019 at 19:37 Latin Bishop  wrote:
>  
>  
>  Yes it is. Basically can’t send nor receive confit looks good 
>  
>  
>  
> > On Feb 17, 2019, at 12:34 PM, Aki Tuomi  
> > wrote:
> > 
> > Is user 'dovecot' member of group 'mail'?
> > 
> > Aki
> > 
> >> On 17 February 2019 at 19:28 Latin Bishop  wrote:
> >> 
> >> 
> >> Changed permissions but still have issues 
> >> 
> >> A error occurred while sending email the mail server responded 4.3.5 
> >> server configuration error 
> >> Please check the message recipient 
> >> 
> >> Sent from my iPad
> >> 
> >>> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  
> >>> wrote:
> >>> 
> >>> mail_privileged_group=mail
> >>> 
> >>> Aki
> >>> 
>  On 17 February 2019 at 19:03 Latin Bishop  wrote:
>  
>  
>  When testing with thunder mail getting this error 
>  
>  Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
>  failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w 
>  perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 
>  mode=0775)
>  Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to 
>  autocreate mailbox INBOX: Internal error occurred. Refer to server 
>  log for more information. [2019-02-17 11:59:40]
>  Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
>  
>  
> > On Feb 17, 2019, at 8:46 AM, Aki Tuomi  
> > wrote:
> > 
> > You probably mean -quiet flag which works
> > 
> > Aki
> > 
> >> On 17 February 2019 at 12:10 Latin Bishop  
> >> wrote:
> >> 
> >> 
> >> Thanks 
> >> 
> >> Was 143.  I notice the -quite flag no longer works in openssl when 
> >> testing connection 
> >> 
> >>> On Feb 17, 2019, at 3:33 AM, Aki Tuomi 
> >>>  wrote:
> >>> 
> >>> 
>  On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>  dovecot@dovecot.org> wrote:
>  
>  
>  
>  Getting this error after following
>  this tutorial
>  
>  Error in configuration file /etc/dovecot/dovecot.conf duplicate 
>  listener
>  
>  
>  https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>  
> >>> 
> >>> Usually doveconf -n tells you where the duplicate listener is so 
> >>> you can remove it.
> >>> --- 
> >>> Aki Tuomi


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
mail_privileged_group=mail

Aki

> On 17 February 2019 at 19:03 Latin Bishop  wrote:
> 
> 
> When testing with thunder mail getting this error 
> 
> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) failed: 
> Permission denied (euid=1000(pi) egid=1000(pi) missing +w perm: /var/mail, 
> we're not in group 8(mail), dir owned by 0:8 mode=0775)
> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate mailbox 
> INBOX: Internal error occurred. Refer to server log for more information. 
> [2019-02-17 11:59:40]
> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
> 
> 
> > On Feb 17, 2019, at 8:46 AM, Aki Tuomi  wrote:
> > 
> > You probably mean -quiet flag which works
> > 
> > Aki
> > 
> >> On 17 February 2019 at 12:10 Latin Bishop  wrote:
> >> 
> >> 
> >> Thanks 
> >> 
> >> Was 143.  I notice the -quite flag no longer works in openssl when testing 
> >> connection 
> >> 
> >>> On Feb 17, 2019, at 3:33 AM, Aki Tuomi  wrote:
> >>> 
> >>> 
>  On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>  dovecot@dovecot.org> wrote:
>  
>  
>  
>  Getting this error after following
>  this tutorial
>  
>  Error in configuration file /etc/dovecot/dovecot.conf duplicate listener
>  
>  
>  https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>  
> >>> 
> >>> Usually doveconf -n tells you where the duplicate listener is so you can 
> >>> remove it.
> >>> --- 
> >>> Aki Tuomi


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
Yes, well, this is postfix log, which is not very useful when debugging dovecot 
problems...

Aki

> On 17 February 2019 at 19:50 Latin Bishop  wrote:
> 
> 
> Feb 17 12:48:00 pepino postfix/smtps/smtpd[3988]: connect from 
> localhost[127.0.0.1]
> Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: warning: unknown smtpd 
> restriction: "permit_ssl_authenticated"
> Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: NOQUEUE: reject: RCPT from 
> localhost[127.0.0.1]: 451 4.3.5 Server configuration error; 
> from= to= proto=ESMTP helo=<[127.0.0.1]>
> Feb 17 12:48:07 pepino postfix/cleanup[3998]: 25EC480E6B: 
> message-id=<20190217174807.25EC480E6B@pepino>
> Feb 17 12:48:07 pepino postfix/smtps/smtpd[3988]: disconnect from 
> localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=4/5
> Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: 
> from=, size=970, nrcpt=1 (queue active)
> Feb 17 12:48:07 pepino postfix/local[3999]: 25EC480E6B: 
> to=, orig_to=, relay=local, delay=0.06, 
> delays=0.03/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
> Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: removed
> 
> > On Feb 17, 2019, at 12:40 PM, Aki Tuomi  wrote:
> > 
> > Can you try adding 'pi' to group 'mail' too? Also, can you provide the 
> > actual errors from log?
> > 
> > Aki
> > 
> >> On 17 February 2019 at 19:37 Latin Bishop  wrote:
> >> 
> >> 
> >> Yes it is. Basically can’t send nor receive confit looks good 
> >> 
> >> 
> >> 
> >>> On Feb 17, 2019, at 12:34 PM, Aki Tuomi  
> >>> wrote:
> >>> 
> >>> Is user 'dovecot' member of group 'mail'?
> >>> 
> >>> Aki
> >>> 
>  On 17 February 2019 at 19:28 Latin Bishop  wrote:
>  
>  
>  Changed permissions but still have issues 
>  
>  A error occurred while sending email the mail server responded 4.3.5 
>  server configuration error 
>  Please check the message recipient 
>  
>  Sent from my iPad
>  
> > On Feb 17, 2019, at 12:06 PM, Aki Tuomi  
> > wrote:
> > 
> > mail_privileged_group=mail
> > 
> > Aki
> > 
> >> On 17 February 2019 at 19:03 Latin Bishop  wrote:
> >> 
> >> 
> >> When testing with thunder mail getting this error 
> >> 
> >> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
> >> failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w 
> >> perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 
> >> mode=0775)
> >> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate 
> >> mailbox INBOX: Internal error occurred. Refer to server log for more 
> >> information. [2019-02-17 11:59:40]
> >> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
> >> 
> >> 
> >>> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  
> >>> wrote:
> >>> 
> >>> You probably mean -quiet flag which works
> >>> 
> >>> Aki
> >>> 
>  On 17 February 2019 at 12:10 Latin Bishop  wrote:
>  
>  
>  Thanks 
>  
>  Was 143.  I notice the -quite flag no longer works in openssl when 
>  testing connection 
>  
> > On Feb 17, 2019, at 3:33 AM, Aki Tuomi  
> > wrote:
> > 
> > 
> >> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
> >> dovecot@dovecot.org> wrote:
> >> 
> >> 
> >> 
> >> Getting this error after following
> >> this tutorial
> >> 
> >> Error in configuration file /etc/dovecot/dovecot.conf duplicate 
> >> listener
> >> 
> >> 
> >> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
> >> 
> > 
> > Usually doveconf -n tells you where the duplicate listener is so 
> > you can remove it.
> > --- 
> > Aki Tuomi


Re: Dove to error

2019-02-18 Thread Aki Tuomi via dovecot
Can you try adding 'pi' to group 'mail' too? Also, can you provide the actual 
errors from log?

Aki

> On 17 February 2019 at 19:37 Latin Bishop  wrote:
> 
> 
> Yes it is. Basically can’t send nor receive confit looks good 
> 
> 
> 
> > On Feb 17, 2019, at 12:34 PM, Aki Tuomi  wrote:
> > 
> > Is user 'dovecot' member of group 'mail'?
> > 
> > Aki
> > 
> >> On 17 February 2019 at 19:28 Latin Bishop  wrote:
> >> 
> >> 
> >> Changed permissions but still have issues 
> >> 
> >> A error occurred while sending email the mail server responded 4.3.5 
> >> server configuration error 
> >> Please check the message recipient 
> >> 
> >> Sent from my iPad
> >> 
> >>> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  
> >>> wrote:
> >>> 
> >>> mail_privileged_group=mail
> >>> 
> >>> Aki
> >>> 
>  On 17 February 2019 at 19:03 Latin Bishop  wrote:
>  
>  
>  When testing with thunder mail getting this error 
>  
>  Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
>  failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w perm: 
>  /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775)
>  Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to autocreate 
>  mailbox INBOX: Internal error occurred. Refer to server log for more 
>  information. [2019-02-17 11:59:40]
>  Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
>  
>  
> > On Feb 17, 2019, at 8:46 AM, Aki Tuomi  
> > wrote:
> > 
> > You probably mean -quiet flag which works
> > 
> > Aki
> > 
> >> On 17 February 2019 at 12:10 Latin Bishop  wrote:
> >> 
> >> 
> >> Thanks 
> >> 
> >> Was 143.  I notice the -quite flag no longer works in openssl when 
> >> testing connection 
> >> 
> >>> On Feb 17, 2019, at 3:33 AM, Aki Tuomi  
> >>> wrote:
> >>> 
> >>> 
>  On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>  dovecot@dovecot.org> wrote:
>  
>  
>  
>  Getting this error after following
>  this tutorial
>  
>  Error in configuration file /etc/dovecot/dovecot.conf duplicate 
>  listener
>  
>  
>  https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>  
> >>> 
> >>> Usually doveconf -n tells you where the duplicate listener is so you 
> >>> can remove it.
> >>> --- 
> >>> Aki Tuomi


Re: Dove to error

2019-02-18 Thread Latin Bishop via dovecot
Could it be I have a self signed certificate as i am testing before I deploy 



> On Feb 17, 2019, at 1:12 PM, Aki Tuomi  wrote:
> 
> That really depends on your dovecot config, but try
> 
> doveadm log find
> 
> also you can list recent errors with
> 
> doveadm log errors
> 
> Aki
> 
>> On 17 February 2019 at 20:03 Latin Bishop  wrote:
>> 
>> 
>> Where I find dovecot log
>> 
>> 
>> 
>>> On Feb 17, 2019, at 12:56 PM, Aki Tuomi  wrote:
>>> 
>>> Yes, well, this is postfix log, which is not very useful when debugging 
>>> dovecot problems...
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 19:50 Latin Bishop  wrote:
 
 
 Feb 17 12:48:00 pepino postfix/smtps/smtpd[3988]: connect from 
 localhost[127.0.0.1]
 Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: warning: unknown smtpd 
 restriction: "permit_ssl_authenticated"
 Feb 17 12:48:01 pepino postfix/smtps/smtpd[3988]: NOQUEUE: reject: RCPT 
 from localhost[127.0.0.1]: 451 4.3.5 Server configuration error; 
 from= to= proto=ESMTP 
 helo=<[127.0.0.1]>
 Feb 17 12:48:07 pepino postfix/cleanup[3998]: 25EC480E6B: 
 message-id=<20190217174807.25EC480E6B@pepino>
 Feb 17 12:48:07 pepino postfix/smtps/smtpd[3988]: disconnect from 
 localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=4/5
 Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: 
 from=, size=970, nrcpt=1 (queue active)
 Feb 17 12:48:07 pepino postfix/local[3999]: 25EC480E6B: 
 to=, orig_to=, relay=local, delay=0.06, 
 delays=0.03/0/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
 Feb 17 12:48:07 pepino postfix/qmgr[2604]: 25EC480E6B: removed
 
> On Feb 17, 2019, at 12:40 PM, Aki Tuomi  
> wrote:
> 
> Can you try adding 'pi' to group 'mail' too? Also, can you provide the 
> actual errors from log?
> 
> Aki
> 
>> On 17 February 2019 at 19:37 Latin Bishop  wrote:
>> 
>> 
>> Yes it is. Basically can’t send nor receive confit looks good 
>> 
>> 
>> 
>>> On Feb 17, 2019, at 12:34 PM, Aki Tuomi  
>>> wrote:
>>> 
>>> Is user 'dovecot' member of group 'mail'?
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 19:28 Latin Bishop  wrote:
 
 
 Changed permissions but still have issues 
 
 A error occurred while sending email the mail server responded 4.3.5 
 server configuration error 
 Please check the message recipient 
 
 Sent from my iPad
 
> On Feb 17, 2019, at 12:06 PM, Aki Tuomi  
> wrote:
> 
> mail_privileged_group=mail
> 
> Aki
> 
>> On 17 February 2019 at 19:03 Latin Bishop  wrote:
>> 
>> 
>> When testing with thunder mail getting this error 
>> 
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: open(/var/mail/pi) 
>> failed: Permission denied (euid=1000(pi) egid=1000(pi) missing +w 
>> perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 
>> mode=0775)
>> Feb 17 11:59:40 pepino dovecot: imap(pi): Error: Failed to 
>> autocreate mailbox INBOX: Internal error occurred. Refer to server 
>> log for more information. [2019-02-17 11:59:40]
>> Feb 17 11:59:50 pepino dovecot: imap(pi): Logged out in=155 out=874
>> 
>> 
>>> On Feb 17, 2019, at 8:46 AM, Aki Tuomi  
>>> wrote:
>>> 
>>> You probably mean -quiet flag which works
>>> 
>>> Aki
>>> 
 On 17 February 2019 at 12:10 Latin Bishop  
 wrote:
 
 
 Thanks 
 
 Was 143.  I notice the -quite flag no longer works in openssl when 
 testing connection 
 
> On Feb 17, 2019, at 3:33 AM, Aki Tuomi 
>  wrote:
> 
> 
>> On 17 February 2019 at 05:50 Latin Bishop via dovecot < 
>> dovecot@dovecot.org> wrote:
>> 
>> 
>> 
>> Getting this error after following
>> this tutorial
>> 
>> Error in configuration file /etc/dovecot/dovecot.conf duplicate 
>> listener
>> 
>> 
>> https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
>> 
> 
> Usually doveconf -n tells you where the duplicate listener is so 
> you can remove it.
> --- 
> Aki Tuomi


Re: Dove to error

2019-02-17 Thread Tuomi, Aki via dovecot
Can you post doveconf -n output?Aki
 Original message From: soydepr  Date: 
17/02/2019  12:20  (GMT+02:00) To: Aki Tuomi  
Subject: Re: Dove to error now getting this error eb 17 05:03:19 pepino 
systemd[1]: Starting Dovecot IMAP/POP3 email server...Feb 17 05:03:19 pepino 
dovecot[8814]: Error: systemd listens on port 143, but it's not configured in 
Dovecot. Closing.Feb 17 05:03:19 pepino dovecot[8814]: Error: systemd listens 
on port 993, but it's not configured in Dovecot. Closing.here is my 
entiresservice imap-login {  inet_listener imap {    port = 143  }  
inet_listener imaps {    port = 993    ssl = yes  }On Sun, Feb 17, 2019 at 5:10 
AM Latin Bishop  wrote:Thanks Was 143.  I notice the -quite 
flag no longer works in openssl when testing connection On Feb 17, 2019, at 
3:33 AM, Aki Tuomi  wrote:

  
   
 
 
  
   
  
  
   
On 17 February 2019 at 05:50 Latin Bishop via dovecot <
dovecot@dovecot.org> wrote:
   
   

   
   

   
   

   
   
Getting this error after following
   
   
this tutorial
   
   

   
   
Error in configuration file /etc/dovecot/dovecot.conf duplicate listener
   
   

   
   

   
   
https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
   
   

   
  
  
   
  
  
   Usually doveconf -n tells you where the duplicate listener is so you can 
remove it.
  
  
   ---
   Aki Tuomi
   
 




Re: Dove to error

2019-02-17 Thread Aki Tuomi via dovecot


 
 
  
   
  
  
   
On 17 February 2019 at 05:50 Latin Bishop via dovecot <
dovecot@dovecot.org> wrote:
   
   

   
   

   
   

   
   
Getting this error after following
   
   
this tutorial
   
   

   
   
Error in configuration file /etc/dovecot/dovecot.conf duplicate listener
   
   

   
   

   
   
https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-2-dovecot
   
   

   
  
  
   
  
  
   Usually doveconf -n tells you where the duplicate listener is so you can remove it.
  
  
   ---
   Aki Tuomi