Hallo!

* Jan Ulrich Hasecke <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> writes:
>> preconnect "mailfilter --mailfilterrc=/home/kevin/.mailfilterrc"
>> did the trick.
> preconnect-command failed with status 65280

Is the file readable by user 'fetchmail'? Is there a logfile? If yes,
this file must be writeable for user 'fetchmail'. 

I set up my mailfilter with 
-rw-------    1 fetchmail root   /etc/mailfilterrc
and my logfile points to 
# ls -la /var/log/mailfilter
drwxr-xr-x    2 fetchmail root         4096 2003-09-25 08:04 .
-rw-------    1 fetchmail nogroup     27113 2003-09-25 13:38 log
-rw-------    1 fetchmail nogroup     10272 2003-09-25 08:01 log.1.gz
(I also setup a logrotate for it)

The fetchmail line is:
preconnect "/usr/bin/mailfilter --mailfilterrc=/etc/mailfilterrc 
--logfile=/var/log/mailfilter/log"
(in one line)

You can test the whole by running 'su fetchmail -c "mailfilter ..." as
root.

Jan


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

Reply via email to