Re: cyrus-imap + postfix + procmail = trouble

2003-02-18 Thread Joan Cirer
Hi!

 The configuration and testing went pretty well for a time. So far, I'm
 only testing in-house accounts. I created two users, connect to
 squirrelmail, create an email for the other user and send it.
 Squirrelmail/imap show it in the send folder. When I log in as the other
 user, no email. I checked mail.log and mail.info and it appears the mail
 went through postfix. ProcMail is complaining that it doesn't have the
 right security to write to the log file.

 Any ideas?

Have you configured procmail to deliver to Maildir style folders?



$ cat /etc/procmailrc
SHELL=/bin/sh
# Maildir format
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
LOGFILE=$HOME/.procmail.log

#

and in /etc/postfix/main.cf

mailbox_command = procmail -a $EXTENSION

Regards



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cyrus-imap + postfix + procmail = trouble

2003-02-18 Thread Joan Cirer
Upps!
The answer is for courier-imap, not cyrus... sorry :-(



 Any ideas?

 Have you configured procmail to deliver to Maildir style folders?


 
 $ cat /etc/procmailrc
 SHELL=/bin/sh
 # Maildir format
 MAILDIR=$HOME/Maildir/
 DEFAULT=$MAILDIR
 LOGFILE=$HOME/.procmail.log

 #
 
 and in /etc/postfix/main.cf

 mailbox_command = procmail -a $EXTENSION

 Regards




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cyrus-imap + postfix + procmail = trouble

2003-02-18 Thread Theodore Knab
There are many very good howto on using the Cyrus, Postfix
setup. However, you seem to know Exim why go to Postfix ?

You can find the how-to link from the http://www.postfix.org. 

 I've used exim at my site and several others without problem. 
 I decided to build a new server and add imap and squirrelmail. 

If you like Exim, maybe Exim with the maildir format and Courier IMAP would
take less time for you. I use Postfix, but Exim is also good, if you
understand it better. I setup Exim for a friend who wanted to use IMAP.
You only need to chage one or two lines in
the Exim Config file. Since I know Courier and Squirrelmail, I installed
them. It is very simple to setup Courier IMAP with Exim if you use it with a local 
/etc/passwd and local /etc/shadow file.

Of course, this type of setup can be a little
dangerous if you don't follow the Debian Security howto. 

http://www.linuxsecurity.com/resource_files/host_security/securing-debian-howto/index.en.html

If you do choose to do this make sure the clients are forced to use
encryption, otherwise you will have unwelcomed guests.

My friend did not follow the Debian howto, so you can only guess what
happened. ;-)

Ted


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]