Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Bastien <bastien1NOSPAM@free.fr>
Subject: prescript or postscript ?
Date: Tue, 18 Nov 2003 19:42:59 +0100	[thread overview]
Message-ID: <uan0atjz64.fsf@dec-2.ens.fr> (raw)

Hi all,

I want to use bogofilter with gnus.  I set :

,----
| (setq mail-sources 
|   '((file :prescript "formail -bs bogofilter -u -e -p < /var/..."
|           :path "/var/spool/mail/myname")))
`----

but Gnus read the file - and NOT the result of the prescript.  
Same with the script as a *postscript*.  But :

,----
| bash# formail -bs bogofilter -u -e -p < /var/spool/mail/myname
`----

is ok on a shell.

What's wrong ?

BTW : should I switch to spam.el ?

Thanks !

-- 
Bastien


             reply	other threads:[~2003-11-18 18:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-18 18:42 Bastien [this message]
2003-12-30  4:24 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uan0atjz64.fsf@dec-2.ens.fr \
    --to=bastien1nospam@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).