Re: fetchmail and mailfilter

From: Jan Schulz (muelleimer_at_usenet.katzien.de)
Date: 09/25/03

  • Next message: Micha Feigin: "lyx-qt package bug under unstable"
    To: debian-user@lists.debian.org
    Date: Thu, 25 Sep 2003 13:49:16 +0200
    
    

    Hallo!

    * Jan Ulrich Hasecke <janulrich.hasecke@t-online.de> wrote:
    > <kmark@pipeline.com> 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 debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Micha Feigin: "lyx-qt package bug under unstable"

    Relevant Pages

    • Re: fetchmail and syslog
      ... Ryo Furueis reported to have said: ... > I'm wondering if someone could help me with how to keep fetchmail ... > and syslog, but still don't understand. ... logfile. ...
      (Debian-User)
    • Re: minor (major) fetchmail problem
      ... Berowra Heights NSW 2082 ... Running fetchmail as root is a security risk. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • RE: minor (major) fetchmail problem
      ... I realise that...been thinking of it but when I change the cron job to ... Berowra Heights NSW 2082 ... Running fetchmail as root is a security risk. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: external to internal email
      ... internal server pull the email in another way. ... I think fetchmail may be your best bet. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
      (Debian-User)
    • Re: How to run fetchmail as daemon at startup
      ... are at home using the computer, fetchmail may download and delete it. ... Or I could download it at night and not have time to respond. ... manually from the web interface, but I'd rather not do it that way. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)