Author Topic: Maildir setup  (Read 16547 times)

Offline def1

  • Jr. Member
  • **
  • Posts: 13
Maildir setup
« 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

Offline CarlosinFL

  • Full Member
  • ***
  • Posts: 78
Maildir setup
« Reply #1 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?

Offline def1

  • Jr. Member
  • **
  • Posts: 13
Maildir setup
« Reply #2 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: postmaster@example.com
  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/

Offline def1

  • Jr. Member
  • **
  • Posts: 13
IMAP Tree
« Reply #3 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!!

Rasteddy

  • Guest
solution
« Reply #4 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

Offline def1

  • Jr. Member
  • **
  • Posts: 13
Still Not working
« Reply #5 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

Offline CarlosinFL

  • Full Member
  • ***
  • Posts: 78
Maildir setup
« Reply #6 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.

Offline def1

  • Jr. Member
  • **
  • Posts: 13
Solved
« Reply #7 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!:

Offline CarlosinFL

  • Full Member
  • ***
  • Posts: 78
Maildir setup
« Reply #8 on: January 26, 2010, 11:22:00 PM »
Awesome! 993 is a thing of the past.

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Maildir setup
« Reply #9 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.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline CarlosinFL

  • Full Member
  • ***
  • Posts: 78
Maildir setup
« Reply #10 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Maildir setup
« Reply #11 on: January 27, 2010, 11:32:14 AM »
Quote from: Carlwill;24949
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.

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.

Offline CarlosinFL

  • Full Member
  • ***
  • Posts: 78
Maildir setup
« Reply #12 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.

Offline def1

  • Jr. Member
  • **
  • Posts: 13
Solved but which way
« Reply #13 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!!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Maildir setup
« Reply #14 on: January 28, 2010, 03:24:07 AM »
If TLS its definitely the better option its newer and more secure.