View Single Post
  #1  
Old 28th December 2012, 13:26
zapyahoo zapyahoo is offline
Member
 
Join Date: Dec 2012
Posts: 39
Thanks: 4
Thanked 2 Times in 2 Posts
Thumbs down SOLVED ISPconfig 3 Ubuntu postfix+dovecot+roundcube

I decided to try a multiserver setup.
The mail control panel server also as function of mail server.

Followed 2 tutorials: http://www.howtoforge.com/perfect-se...ispconfig-3-p7
and http://webmodelling.com/webbits/ubun...ver-setup.aspx

Also, I have 2 STARTSSL certificates:
1 for the control panel port 8080 https://cp.mydomain.com:8080
1 for the webmail https://mail.mydomain.com
(the last one was tricky since I'm not using a wildcard SSL, but successfully manage to change the roundcube.conf to respond using the correct mail SSL certificate and to respond to the domain instead of domain/webmail.
For this is used the how-to http://www.howtoforge.com/securing-y...om-startssl-p2
the only difference from the above tutorial was postfix and dovecot, I changed them to reflect the mail SSL and not the ispconfig3 cp.mydomain SSL.

So far so good, everything responded fine.
The issue:
I already created email accounts in ISPconfig3. When trying to login in roundcube https://mail.mydomain.com I'm getting login failed.
Checking the /var/log/mail.err:
Code:
 mail dovecot: lda(root): Error: user root: Initialization failed: Initializing mail storage from mail_location setting failed: stat(/root/Maildir) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x perm: /root, dir owned by 0:0 mode=0700)
checking mail.log:
3 warning lines with the 3 dovecot SSL entries, althought it's a warning it creates a lot of logging
Code:
 mail dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:92: ssl_cert_file has been replaced by ssl_cert = <file
and
Code:
 mail dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<user@mydomain.com>, method=PLAIN, rip=192.168.1.10, lip=192.168.1.10, TLS
Help would be appreciated.

Last edited by zapyahoo; 29th December 2012 at 00:01.
Reply With Quote
Sponsored Links