Mogens,
Thanks for the info. I tried it and it worked just great. So this is for all
those people out there who said its not possible. Sendmail and Courier-IMAP
play extremely well.
Thanks,
--Kapil


Mogens Valentin <[EMAIL PROTECTED]> wrote:
Kapil Khanna wrote:
> I have courier imap installed correctly. However sendmail is not
> forwarding incoming email to the courier imap maildir.
> Is it possible to integrate sendmail and courier imap. If yes how do i go
> about doing it.

Peace of cake:

It's actually procmail that does the delivery to whatever you're using,
traditional mailbox'es or maildir structure.
Use something like this in /etc/procmailrc :

# /etc/procmailrc
# Setup procmail for imap-maildirs
# MrDev 2704 2001 - Created
# MrDev 0305 2001 - Added support for /var/spool/imap/*
# MrDev 2806 2001 - Moved maillogs to /var/log/imap/
# MrDev 2303 2002 - Added some comments

VERBOSE=off

# Spool to homedir :
MAILDIR=$HOME/Maildir/

# Spool to /var/spool/imap :
#MAILDIR=/var/spool/imap/$LOGNAME/Maildir/

# Common stuff:
DEFAULT=$MAILDIR
# Logfiles can be useful for debugging:
#LOGFILE=$MAILDIR.maillog
LOGFILE=/var/log/imap/$LOGNAME.log
# Microsoft clients who doesn't obey RFC's may require locking:
#LOCKFILE=$MAILDIR.lockmail
# Just in case mail can't be delivered to users Maildir, spool it here:
ORGMAIL=/var/spool/mail


-- 
Kind regards / venlig hilsen,
Mogens Valentin, Mr Dev

IT Networking, Security, Server Setup
http://www.mrdev.com  [EMAIL PROTECTED]
Phone +45 32 525 878  Cell 51 227 668




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to