[imapfilter-devel]imapfilter -- server DOES support IMAP4rev1
Matej Cepl
matej at ceplovi.cz
Mon Jun 17 16:20:01 EEST 2002
Hi,
I have freshly downloaded your imapfilter from sourceforge,
compiled it on my RedHat GNU/Linux 7.0 (see attached .spec file
-- would it be possible to include it into tarball?) and tried it
on my account at fastmail.fm. The results are less than
satisfactory (see attached logfile).
What should I do?
Matej
--
Matej Cepl, matej at ceplovi.cz
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Give your heartache to him. (1Pt 5,7; Mt 11:28-30)
-------------- next part --------------
Summary: Utility to filter IMAP mailboxes on the remote server
Name: imapfilter
Version: 0.7.2
Release: 1
License: MIT
Group: Applications/Internet
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
URL: http://%{name}.sourceforge.net
Packager: Matej Cepl <matej at ceplovi.cz>
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: openssl
BuildRequires: openssl-devel
%description
imapfilter is a mail filtering utility. It connects to remote
mail servers using the Internet Message Access Protocol (IMAP)
and processes messages based on the definition of filter rules.
It can be used to delete, sort, etc. messages residing in
multiple mailboxes at different mail servers.
You should install imapfilter if you need to filter remote IMAP
mboxes.
%prep
%setup
%build
./config -d $RPM_BUILD_ROOT/usr -m $RPM_BUILD_ROOT/usr/share/man -o debug=yes
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc LICENSE README NEWS sample.imapfilterrc
/usr/bin/imapfilter
/usr/share/man/man1/imapfilter.1.gz
/usr/share/man/man5/imapfilterrc.5.gz
%changelog
* Sun Jun 16 2002 Matej Cepl <matej at ceplovi.cz>
- initial version
-------------- next part --------------
imapfilter: server does not support IMAP4rev1 protocol
imapfilter: server does not support IMAP4rev1 protocol
imapfilter: server does not support IMAP4rev1 protocol
imapfilter: server does not support IMAP4rev1 protocol
-------------- next part --------------
debug: configuration file: '/home/matej/.imapfilterrc'
debug: USERNAME: 'ceplmatej'
debug: PASSWORD: 'secret'
debug: SERVER: 'fastmail.fm'
debug: PORT: 993
debug: FOLDER: 'inbox'
debug: MBOX: 'INBOX'
debug: FILTER: 'spam' OR
debug: MASK: 'HEADER "Content-Type" "text/html; charset=euc-kr"'
debug: MASK: 'HEADER "Content-Type" "text/html; charset=gb2312"'
debug: MASK: 'HEADER "Content-Type" "text/html; charset=ks_c_5601-1987"'
debug: JOB: 'spam' 'inbox'
debug: deleting FOLDER: 'inbox'
debug: options: 0x00000004
debug: logfile: '/home/matej/.imapfilter_log'
Server certificate subject: /C=AU/ST=New South Wales/L=Crows Nest/O=Optimal Decisions Group Pty Ltd/CN=www.fastmail.fm
Server certificate issuer: /C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Server CA/Email=server-certs at thawte.com
Server key fingerprint: 17:EF:8E:B4:A7:91:18:F2:BE:8C:DA:5F:9D:5E:9B:D5
Connected to fastmail.fm using DES-CBC3-MD5.
* OK IMAP4 Ready www.fastmail.fm
Client request: CAPABILITY
debug: sending command: F00000 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE
F00000 OK CAPABILITY
-------------- next part --------------
###########
# Options #
###########
#
# Some program options, such as log file and non-response server timeout.
#
logfile = /home/matej/.imapfilter_log
namespace = no
set timeout=120
##########################
# Accounts and mailboxes #
##########################
#
# Each account has a number of folders/mailboxes which are grouped under
# an alias name. Folders belong to the last preceding account. A mailbox
# can belong to many mailbox groups.
#
#
# Connects to "imap1.mail.server" at port 143, as "user1" and
# using password "secret1".
#
# Mailboxes that exist at "imap1.mail.server" include: "INBOX", "woody",
# "linux-mailist", etc. and are grouped in various ways.
#
account ceplmatej:*******@fastmail.fm:993 ssl
folder inbox INBOX
###########
# Filters #
###########
#
# Filters are completely independent from any account or folder settings.
# The mask command may be ommited. If no masks are declared inside
# a filter entry, then all messages are matched.
#
#
# A possible anti-spam filter to get rid of unwanted messages.
#
# The "or" flag in the arguments of the filter command makes the
# filter masks work like this (in pseudocode):
# if (from ... )
# or if (from ...)
# or if (subject ...)
# then delete
#
filter spam or
mask header Content-Type "text/html; charset=euc-kr"
mask header Content-Type "text/html; charset=gb2312"
mask header Content-Type "text/html; charset=ks_c_5601-1987"
action delete
#
# Another filter useful for sorting of mail.
#
# This one moves messages with the specified "sender" header and
# an internal date newer than 14 days to the mailbox bsd-mailist.
#
# When no "or" or "and" flag is specified for a filter the default
# "and" is used.
#
#filter bsdlist
# header sender bsd-mailist at mailist.bsd
# newer 14
#action move bsd-mailist
#
#
# Messages can be copied to a folder, eg. for archive purposes.
#
# This filter copies all messages with the "[patch]" word in
# the subject header and smaller that 50000 bytes, to a mailbox
# named "patches" that may or may not exist (in the latter case
# it will be automatically created). Also, displays their "From" and
# "Subject" headers.
#
#filter patch and
# subject [patch]
# smaller 50000
#action copy patches from,subject
#
#
# One can also display some of the headers of messages that match
# a filter.
#
# This filter displays and/or writes to logfile the "From", "Subject"
# and "Date" headers of recent, unread messages, that come from
# "tux at penguin.land" or "beastie at daemon.land" but not with a subject
# containing the phrase "all work and no play".
#
# Note that the "recent and unseen" functionality can also be
# accomplished with "new" or even "not old".
#
#filter display
# recent
# unseen
# from tux at penguin.land
# or from beastie at daemon.land
# not subject "all work and no play"
#action list from,subject,date
#
#
#
# And here is a filter that matches all messages except those that have
# an explicit "To" header, a really strict filter.
#
#filter strict
# not to "name surname <email at address>"
#action delete
#
########
# Jobs #
########
#
# Last, there is the definition of the jobs where user combines
# folders and filters _already_ defined, and specifies which filters
# should be applied to which folders.
#
job spam inbox
More information about the Imapfilter-devel
mailing list