Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: def1 on January 24, 2010, 04:45:54 AM

Title: Maildir setup
Post by: def1 on January 24, 2010, 04:45:54 AM
Greetings
Finally got my system all working but I'm having big troubles trying to configure my Maildir setup. For some reason roundcube does not show my Maildir tree. I have tried a variety of settings using imap_root etc. Stilll no go. My Maildir has INBOX then "INBOX.Folders" but also have ".Folders" only Highlighting the imap folder does not work. No new mail appears...

It could be a permission issue but have also tried that. Anybody have something similar??

Currently using NGINX/Dovecot/Postfix

Regards
def1
Title: Maildir setup
Post by: CarlosinFL on January 24, 2010, 02:42:17 PM
I would suggest posting your 'dovecot.conf' file here. When you configure Thunderbird with IMAP4, do you then see the Maildir/ folder structure?
Title: Maildir setup
Post by: def1 on January 24, 2010, 04:36:54 PM
Here's my dovecot -n output

Hope this helps!!

# 1.2.5: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.29.6-smp i686 Slackware 13.0.0.0.0
log_path: /var/log/dovecot.log
protocols: imaps
listen: *:993
ssl_listen: *:993
ssl_cert_file: /etc/postfix/certs/postfix_public_cert.pem
ssl_key_file: /etc/postfix/certs/postfix_private_key.pem
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
first_valid_uid: 1000
mail_location: maildir:~/Maildir
lda:
  postmaster_address: [email protected]
  mail_plugins: sieve
  sendmail_path: /usr/lib/sendmail
auth default:
  mechanisms: plain login
  passdb:
    driver: passwd
  passdb:
    driver: shadow
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
plugin:
  sieve_global_path: /usr/local/etc/sieve/global/default.sieve
  sieve_global_dir: /usr/local/etc/sieve/
Title: IMAP Tree
Post by: def1 on January 24, 2010, 04:38:59 PM
BTW I can see my folder tree fine with my client. mutt or pegasus mail no problems. It's just roundcube webmail at the moment which is causing a few grey hairs!!
Title: solution
Post by: Rasteddy on January 25, 2010, 12:49:53 AM
hey def1, just found out that i can use what you have suggested here...i was having the same kind of problem for days...thanks a lot though...

men's ties (http://www.tie-club.com/)
Title: Still Not working
Post by: def1 on January 26, 2010, 05:13:28 PM
Still cannot read/view emails. Tried a variety of options. Could someone who has RC/dovecot/postfix running on IMAP please show me your main folder options and permissions Just to see what I'm doing wrong
Title: Maildir setup
Post by: CarlosinFL on January 26, 2010, 08:41:15 PM
Yes I will as soon as I get in the office Wed. I will post my config. I have this working on my the following servers:

Work = CentOS 5
Personal = Arch 2009.08
Friend = Debian 5

All three servers I have above use Postfix 2.6, Dovecot, Apache, RoundCube, & MySQL. Sorry I can't be an immediate assistance. Check back tomorrow.
Title: Solved
Post by: def1 on January 26, 2010, 09:42:35 PM
Good news. Finally solved the crisis. It was a dovecot server configuration issue. I enabled imap protocol 143 and this seemed to have solved everything. Previously used only 993.

A big relief!:
Title: Maildir setup
Post by: CarlosinFL on January 26, 2010, 11:22:00 PM
Awesome! 993 is a thing of the past.
Title: Maildir setup
Post by: ABerglund on January 27, 2010, 12:03:06 AM
Port 993 is IMAP-S, or IMAP via SSL/TLS. 993 traffic is encrypted and not vulnerable to snooping. My organization ONLY allows 993, we block all non-secure ports. Roundcube can be easily configured to talk on 993.
Title: Maildir setup
Post by: CarlosinFL on January 27, 2010, 09:36:50 AM
IMAP-S or SSL is dated and no longer used IMO. I use TLS and SASL which I believe is the predecessor to SSL or as your refer to as IMAP-S.
Title: Maildir setup
Post by: SKaero on January 27, 2010, 11:32:14 AM
Quote from: Carlwill;24949IMAP-S or SSL is dated and no longer used IMO. I use TLS and SASL which I believe is the predecessor to SSL or as your refer to as IMAP-S.
You have that backwards TLS is newer then SSL, TLS has better security but is still not as wildly used for example GMail still uses SSL.
Title: Maildir setup
Post by: CarlosinFL on January 27, 2010, 11:58:29 AM
I contradicted myself in my above statement but yes, TLS is new and should be used over SSL. SSLv3 is dated and replaced by TLSv1. That is what I meant to say.

Sorry for my confusion of the word predecessor.
Title: Solved but which way
Post by: def1 on January 28, 2010, 03:12:22 AM
Greetings so considering all of the above options TLS is definitely the way to go over SSL?

Would love to know a definite rule of thumb!!
Title: Maildir setup
Post by: SKaero on January 28, 2010, 03:24:07 AM
If TLS its definitely the better option its newer and more secure.
Title: Maildir setup
Post by: CarlosinFL on January 28, 2010, 10:20:13 AM
Yes. Use TLS & SASL for email. There are tons of guides on how to set up Postfix using TLS.

This is what I used and it's working perfect!

http://wiki.centos.org/HowTos/postfix_sasl