LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cyrus Maildir (https://www.linuxquestions.org/questions/linux-software-2/cyrus-maildir-535776/)

namit 03-08-2007 03:56 PM

Cyrus Maildir
 
So i seam to have a problem as most people have here.

I have Cyrus setup on one server and this is not working.

I have Dovecot setup on an another server and thats works perfect. I have the Maildir connection working on both of them just Mounting them. and can check the mail my just using mutt -f /home/Maildir so format is ok.

so i connect to Dovecot threw imap and that works ok.

i connect to Cyrus threw imap and that does nothing i get response there is nothing coming up in thunderbird. There is no errors in /var/log/message /var/log/maillog

Anyone help?

/etc/cyrus.conf
Code:

# standard standalone server implementation

START {
  # do not delete this entry!
  recover      cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled        cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=5
  imaps        cmd="imapd -s" listen="imaps" prefork=1
  #pop3        cmd="pop3d" listen="pop3" prefork=3
  #pop3s                cmd="pop3d -s" listen="pop3s" prefork=1
  sieve        cmd="timsieved" listen="sieve" prefork=0

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp        cmd="nntpd" listen="nntp" prefork=3
#  nntps                cmd="nntpd -s" listen="nntps" prefork=1

  # at least one LMTP is required for delivery
  lmtp          cmd="lmtpd" listen="lmtp" prefork=0
#  lmtpunix    cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1

  # this is only necessary if using notifications
#  notify      cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  # delprune    cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400
}


nmh+linuxquestions.o 03-10-2007 05:42 PM

If you look at the maildir article on wikipedia, it says:
Quote:

The Cyrus IMAP server, the MH Message Handling System, the Dovecot IMAP server and the UW IMAP server all have private, mutually incompatible file-per-message storage formats.

Do you know where cyrus imapd is looking for mail? (my guess is that is is looking in /var/spool/cyrus/mail) You may find some insight on that front by looking in /etc/imapd.conf - line 9 on my debian system has: partition-default: /var/spool/cyrus/mail.

While cyrus is an excellent mail server - it is not intended for local users checking mail in other ways, it is designed to be a black box system serving mail via imap/pop. If that is what you want, you can copy your mail over via imap, or the filesystem and try again.

namit 03-10-2007 05:53 PM

So yes i see this be still not really making full sense if i want to store the info in $HOME/Maildir can i just change the partition-default to $HOME/Maildir?

nmh+linuxquestions.o 03-10-2007 06:30 PM

Quote:

Originally Posted by namit
So yes i see this be still not really making full sense if i want to store the info in $HOME/Maildir can i just change the partition-default to $HOME/Maildir?

I have not seen anything saying that you can, and cyrus doesn't usually take well to having its mailstore modified by other entities - so I would say don't do it.

If you don't mind my asking - why would you want to?

namit 03-11-2007 02:55 PM

Well i am mounting the home directories from another computer and have the mail in that directory because my other server is running Dovecot and postfix.

Server 1:
Dovecot
Postfix

Server 2:
Sendmail
Cyrus

And trying to get them to work all together. Its all for learning process.


All times are GMT -5. The time now is 04:31 AM.