Re: [Dovecot] IMAP Cannot Delete (Mailbox Doesn't exist)

2013-07-05 Thread gw1500se
Thanks for all the replies. I cannot explain it but after making some changes
to postfix for authenticated relaying, it all started working. One of the
parameters I set must have made some kind of difference.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/IMAP-Cannot-Delete-Mailbox-Doesn-t-exist-tp43149p43155.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] CaCert certificate configuration help needed

2013-07-04 Thread gw1500se
Thanks for the reply. I guess I should have been more complete in my
description. That is where I first started. Not only did that give me the
error above but an additional error telling me I was missing the root CA for
the signing authority. Searches on that error pointed me to the chained SSL
certificates section. That eliminated the root CA error but I still have the
posted error.

Perhaps I am still not recognizing which specific section I should be using
in that document.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/CaCert-certificate-configuration-help-needed-tp43118p43139.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] CaCert certificate configuration help needed

2013-07-04 Thread gw1500se
Thanks. I think I turned on all the debug I can but the result is not at all
helpful (to me).

Jul  4 13:33:02 public dovecot: auth: Debug: auth client connected
(pid=29195)
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x10, ret=1:
before/accept initialization 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: before/accept initialization 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 read client hello A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write server hello A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write certificate A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write key exchange A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write server done A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 flush data 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2002,
ret=-1: SSLv3 read client certificate A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2002,
ret=-1: SSLv3 read client certificate A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 read client key exchange A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 read finished A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write session ticket A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write change cipher spec A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 write finished A 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2001,
ret=1: SSLv3 flush data 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x20, ret=1:
SSL negotiation finished successfully 
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL: where=0x2002,
ret=1: SSL negotiation finished successfully 
Jul  4 13:33:02 public dovecot: imap-login: Aborted login (no auth
attempts): rip=74.176.153.21, lip=69.64.71.47, TLS
Jul  4 13:33:02 public dovecot: imap-login: Warning: SSL alert:
where=0x4008, ret=256: warning close notify



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/CaCert-certificate-configuration-help-needed-tp43118p43141.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] CaCert certificate configuration help needed

2013-07-04 Thread gw1500se
FWIW, here is my doveconf output:

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.11.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
auth_debug_passwords = yes
base_dir = /var/run/dovecot/
login_greeting = Dovecot on mydomain.com ready.
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
  driver = pam
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
  }
}
ssl_cert = /etc/postfix/SSL/server.crt
ssl_key = /etc/postfix/SSL/server.key
userdb {
  driver = passwd
}
verbose_ssl = yes
protocol pop3 {
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}




--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/CaCert-certificate-configuration-help-needed-tp43118p43142.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] CaCert certificate configuration help needed

2013-07-04 Thread gw1500se
I think I am now close on this. It appears that the user is successfully
authenticating via IMAP. However, I am getting permissions errors when it
tries to write to the Maildir.

 dovecot: imap(dap): Error: mkdir(/home/dap/Maildir/.imap/INBOX) failed:
Operation not permitted
Jul  4 15:02:04 public dovecot: imap(dap): Error:
chown(/home/dap/Maildir/.imap/INBOX, -1, 12(mail)) failed: Operation not
permitted (egid=500(dap), group based on /var/mail/dap)

What am I missing in the previously posted doveconf? TIA.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/CaCert-certificate-configuration-help-needed-tp43118p43146.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] CaCert certificate configuration help needed

2013-07-04 Thread gw1500se
Got it. It seems that when Dovecot tries to create the user's local mail
directory, it attempts to set the group as it is in /var/mail. This is not
mentioned in the documentation anywhere I could find. That is where it
fails. However, it turns out that if you turn off group permissions (0600)
in /var/mail/* it will not try to set the group and the local directory is
created successfully.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/CaCert-certificate-configuration-help-needed-tp43118p43148.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] IMAP Cannot Delete (Mailbox Doesn't exist)

2013-07-04 Thread gw1500se
I am now at the next layer of the onion. I am able to retrieve mail but I
cannot delete mail from my inbox. My reader says the server is responding
with mailbox does not exist. Any ideas? TIA.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/IMAP-Cannot-Delete-Mailbox-Doesn-t-exist-tp43149.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] IMAP Cannot Delete (Mailbox Doesn't exist)

2013-07-04 Thread gw1500se
Sorry, it was posted in a previous thread. I forgot I was starting a new one.
Here it is again:

# OS: Linux 2.6.32-358.11.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
base_dir = /var/run/dovecot/
login_greeting = Dovecot on mydomain.com ready.
mail_location = mbox:~/Maildir:INBOX=/var/mail/%u
mbox_write_locks = fcntl
passdb {
  driver = pam
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
  }
}
ssl = required
ssl_cert = /etc/postfix/SSL/server.crt
ssl_key = /etc/postfix/SSL/server.key
userdb {
  driver = passwd
}
protocol pop3 {
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/IMAP-Cannot-Delete-Mailbox-Doesn-t-exist-tp43149p43151.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] CaCert certificate configuration help needed

2013-07-03 Thread gw1500se
I was not able to find specific help for configuring the crt file for CaCert.
I gleaned from examples the following order:

server certificate
CaCert class 3 certificate
Cacert root certificate

However, when I try to configure my mail reading for IMAP, Dovecot shows the
following error in the log:

dovecot: imap-login: Aborted login (no auth attempts):

I am assuming, based on searches for this error, that my crt file is not
correct but I don't know what to do at this point. Can someone steer me in
the right direction? TIA.



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/CaCert-certificate-configuration-help-needed-tp43118.html
Sent from the Dovecot mailing list archive at Nabble.com.