Mogens,
That sounds so simple! However i have not been able to find /etc/procmailrc on
my box. I am running Redhat 7.2.
This is what i can find on my box
# find ./ -name *procmail*
./usr/bin/procmail
./usr/share/doc/procmail-3.21
./usr/share/doc/procmail-3.21/examples/procmail-rpm.spec
./usr/share/doc/procmail-3.21/examples/1procmailrc
./usr/share/doc/procmail-3.21/examples/2procmailrc
./usr/share/doc/procmail-3.21/examples/3procmailrc
./usr/share/doc/procmail-3.21/examples/local_procmail_lmtp.m4
./usr/share/doc/vim-common-5.8/syntax/procmail.vim
./usr/share/doc/nmh-1.0.4/procmailrc.example
./usr/share/man/man1/procmail.1.gz
./usr/share/man/man5/procmailex.5.gz
./usr/share/man/man5/procmailrc.5.gz
./usr/share/man/man5/procmailsc.5.gz
./usr/share/vim/vim58/syntax/procmail.vim
./usr/share/sendmail-cf/feature/local_procmail.m4
./usr/share/sendmail-cf/mailer/procmail.m4


Do i have to create this file under /etc/ as procmailrc?

Thanks dude.
--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