Re: Courier-IMAP, package documentation in general



"Marc Wirth" <MarcWirth@xxxxxx> wrote in message
news:1hxqgbw.18dpo10175w4jkN%MarcWirth@xxxxxxxxx
Steve at fivetrees <steve@xxxxxxxxxxxxxxxxxxxxx> wrote:
While preparing to replace my home server's boot disk (running 3.8) with
a
4.1 version, I decided to get brave and change from using mbox IMAP
(using
imap-uw-2004g) to maildir IMAP. Courier-IMAP seemed like the obvious
choice,
so I installed it from packages.

I've come to fancy dovecot. Easier to set up, seems to do everything I
need and the documentation is much better. At least I ran into similar
issues with courier documentation...

Noted - I'll take a look, thanks.

If someone could cluestick me about a) the correct way to start/stop
Courier
(e.g. is "authdaemond start" still needed?),

my old rc.local has: (stripped some if)

mkdir /var/run/courier-auth
/usr/local/libexec/courier-authlib/authdaemond &
/usr/local/libexec/imapd.rc start >/dev/null 2>&1
/usr/local/libexec/imapd-ssl.rc start >/dev/null 2>&1

I'm not sure if that is the perfect solution, but at least it worked.

My startup is similar, but running /usr/local/libexec/authlib/authdaemond
start yields a message that authdaemond no longer does its own daemonising,
and that I should use the new startup script. Fine, but which one? I
wondered whether it meant imapd.rc, but trying to run authtest showed that
authdaemond was not running. So now I use /usr/local/sbin/authdaemond start,
which doesn't give an error.

Oh, and I found I needed to create the pid folders, yeilding:
mkdir -p /var/run/courier-auth
/usr/local/sbin/authdaemond start
mkdir -p /var/run/courier
/usr/local/libexec/imapd.rc start
/usr/local/libexec/imapd-ssl.rc start

And the reverse at shutdown. Again, I'm not sure this is right.

and b) how to write to the
Maildir, I'd be very grateful.

I have no idea why this shouldn't work. If only GID/UID was not set up
correctly for imapd then world-writable should work.

So you'd think, yes ;).

Anything in /var/log/maillog that might indicate the cause of the
problem?

Absolutely nothing. It shows me logging on, and that's it. Any (failed)
attempt to use the mailstore gives a total lack of anything in the log. I've
looked for explicit logging options (courierlogger, perhaps?) without
success.

BTW - I'd not yet too worried about getting sendmail to deliver to the
Maildir, but no doubt I will be later ;).

maildrop. If you're really brave take a look at postfix, you'll need
maildrop, too, but you don't have to recompile strange macro files for
testing. :-)

I've periodically looked at other MTAs than sendmail and decided I'm not
*that* brave ;). (/me looks at the Exim books on the shelf...) My mail setup
here at home is pretty much plain vanilla, but the mail setup at fivetrees
is complex (lots of virtual hosts)... I'd rather stick with what I know, for
now at least.

Thanks a lot for the response. I feel slightly less lonely ;).

Steve
http://www.fivetrees.com


.



Relevant Pages

  • Re: Courier-IMAP, package documentation in general
    ... I decided to get brave and change from using mbox IMAP (using ... Courier-IMAP seemed like the obvious choice, ... Maildir, I'd be very grateful. ... If you're really brave take a look at postfix, ...
    (comp.unix.bsd.openbsd.misc)
  • Re: [SLE] E-Mail Leak
    ... It sounds like you have fetchmail running in the background. ... First check in your home directory if there is a Maildir directory. ... dealing with, install from your SUSE CDs the package imap with Yast2, start ... install the package courier-imap and start the processes ...
    (SuSE)
  • migration of Maildir to new system. Also advice wanted on performance
    ... my Maildir is BIG ... I am running Postfix, procmail, Courier-IMAP, Courier-POP, ... Virtual domains support ... I did Google around for some time now, but I get loads and loads of ...
    (Debian-User)
  • Re: IMAP Server suggestions
    ... > Also MacOS X Mail.app often has connection problems. ... OTOH procmail delivers to my Maildir INBOX which isn't much ... Courier-imap has been running flawlessly for me for around 3 years. ...
    (freebsd-questions)
  • Re: ??: IMAP Mail server question
    ... courier-IMAP was easy to install and setup ... works fine with many users accessing the same maildir about 20 ... maildirs in a low spec server. ... Hundreds of folders per maildir with ...
    (Debian-User)