[prev in list] [next in list] [prev in thread] [next in thread]
List: kroupware
Subject: Re: [Kroupware] configuring fetchmail
From: Thorsten Schnebeck <schnebeck () ifw ! uni-hannover ! de>
Date: 2003-07-30 7:46:27
[Download RAW message or body]
Hi,
I'm using procmail for server side filtering (as long as I don't know how to
use sieve ;-)
This is my working setup, maybe you have change it a bit for a real world
multi-user setup.
For historical reasons I still use my system fetchmail/procmail combo.
For some unknown reasons cyrdeliver does not like the new UID scheme of Kolab
when using user.userid.mailbox for the -m option. But using the userid as
separate parameter is fine :-) (See "man cyrdeliver")
master root # cat /etc/fetchmailrc
set syslog
poll mail.mymailprovider.tld proto pop3 user "mailproviderusername" password
"mailproviderpassword" mda "/usr/bin/procmail /etc/procmailrc"
master root # cat /etc/procmailrc
PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin
LOGFILE="/var/log/procmail"
USER=kolab@UID.tld
DELIVERMAIL="/kolab/bin/cyrdeliver"
IMAP="$DELIVERMAIL -a $USER -q -m "
VERBOSE=no
SPAMIT="$IMAP _Trash $USER"
###########################################################
### Spam Assassin
###########################################################
:0fw
| spamassassin -a
:0
* ^X-Spam-Status: Yes
| $SPAMIT
# Add a Content-Length to mails that don't have them
:0 hfw
* !^Content-Length:
| formail -a "Content-Length: 0000000000"
:0fhw
| formail -I "From "
#Mailinglist KDE-Kolab
:0
* ^List-Id:.*kroupware\.mail\.kde\.org
| $IMAP KDE-Kolab $USER
# Rest
:0
| $IMAP _Post $USER
***
If you have any problems, try the verbose option and watch the log!
Bye
Thorsten
_______________________________________________
Kroupware mailing list
Kroupware@mail.kde.org
http://mail.kde.org/mailman/listinfo/kroupware
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic