![](https://seccdn.libravatar.org/avatar/e76634c54c62fdecc28ed5eba31820d7.jpg?s=120&d=mm&r=g)
Started a little project, but can't seem to get it working quite right. Got alot of information from here: http://www.linuxworld.com/site-stories/2002/0408.ldap1.html But it doesn't seem to quite work. I got it working but I don't get all my email nor does it process it right. Emails also disappear from my INBOX. I get this error in my log file: procmail: Error while writing to "/usr/lib/cyrus/bin/deliver" Subject: Re: How I can set only allow someone can send his email outside of of Folder: /usr/lib/cyrus/bin/deliver -a rsweet -m user.rsweet Seems as if my procmailrc is botched? Procmailrc: DELIVERMAIL="/usr/lib/cyrus/bin/deliver" LOGFILE="/var/log/procmail/$USER.log" IMAP="$DELIVERMAIL -a $USER -m user.$USER" BACKUP="$DELIVERMAIL -a $USER -m user.$USER.Backup" SPAMIT="$DELIVERMAIL -a $USER -m user.$USER.SPAM" #################################################################### ### Create a backup of the message just in case one of our #recipes fail ### We can always comment this out later when we're #confident of our recipes #################################################################### :0 c | $BACKUP ########################################################### ### Brain-dead spam filter ########################################################### :0 * ^Subject: This is spam | $SPAMIT ########################################################### ### Deliver it to the user inbox ########################################################### :0 w | $IMAP :0 w { EXITCODE=$? HOST } In my main.cf file I have mailbox command and transport as: mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" mailbox_transport = procmail My cyrus.conf is: lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0 My master.cf has these lines: cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -m ${extension} ${user} procmail unix - n n - - pipe flags=R user=cyrus argv=/usr/bin/procmail -t -m USER=${user} EXT=${extension} /etc/procmailrc I have been working with this now for a couple of nights, and I can't seem to find any answers on the net. Any help would be appreciated. -- _ _ __ _____ _____ ___| |_ | '__| / __\ \ /\ / / _ \/ _ \ __| -o) | | _ \__ \\ V V / __/ __/ |_ /\\ |_|(_) |___/ \_/\_/ \___|\___|\__|_\_v rsweet@garagenetworks.net "unix soit qui mal y pense."
participants (1)
-
Robert Sweet