Gentoo Archives: gentoo-user-de

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] suche möglichst einfachen MTA
Date: Fri, 22 Oct 2004 12:50:54
Message-Id: 200410221450.03168.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user-de] suche möglichst einfachen MTA by Erik Wasser
1 Am Freitag, 22. Oktober 2004 14:32 schrieb ext Erik Wasser:
2 > On Friday 22 October 2004 10:55, Dirk Heinrichs wrote:
3 > > Genau das mache ich mit Fetchmail auch (procmail ist dann der MTA).
4 >
5 > Könntest du mal die relevanten Zeilen deiner Config(s) dazu posten?
6 Du meinst sicher .fetchmailrc:
7
8 poll myserver with proto IMAP user 'username' there with password 'mypasswd'
9 is 'username' here options stripcr fetchsizelimit 0 expunge 500 mda
10 '/usr/bin/procmail'
11
12 In der .procmailrc wird dann Spam gefiltert:
13
14 MAILDIR=$HOME
15 LOGFILE=$HOME/procmail.log
16 DEFAULT=$HOME/maildir/
17 SPAMBOX=$HOME/spamdir/
18
19 # filter mail through bogofilter, tagging it as spam and
20 # updating the word lists
21 :0fw
22 | bogofilter -u -e -p
23
24 # if bogofilter failed, return the mail to the queue, the MTA will
25 # retry to deliver it later
26 # 75 is the value for EX_TEMPFAIL in /usr/include/sysexits.h
27 :0e
28 { EXITCODE=75 HOST }
29
30 # file the mail to spam-bogofilter if it's spam.
31 :0:
32 * ^X-Bogosity: Yes, tests=bogofilter
33 $SPAMBOX
34
35 HTH...
36
37 Dirk
38 --
39 Dirk Heinrichs | Tel: +49 (0)151 1513 6954
40 Configuration Manager | Fax: +49 (0)211 47068 111
41 Cap Gemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
42 Hambornerstraße 55 | Web: http://www.capgemini.com
43 D-40472 Düsseldorf | ICQ#: 110037733
44 GPG Public Key C2E467BB | Keyserver: www.keyserver.net
45
46 --
47 gentoo-user-de@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-de] suche möglichst einfachen MTA Erik Wasser <erik.wasser@×××××.net>