* prescript or postscript ?
@ 2003-11-18 18:42 Bastien
2003-12-30 4:24 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Bastien @ 2003-11-18 18:42 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: prescript or postscript ?
2003-11-18 18:42 prescript or postscript ? Bastien
@ 2003-12-30 4:24 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-12-30 4:24 UTC (permalink / raw)
Bastien <bastien1NOSPAM@free.fr> writes:
> | '((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.
`prescript' is something that's run before fetching -- Gnus doesn't
do anything with the output from the `prescript' command...
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-30 4:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18 18:42 prescript or postscript ? Bastien
2003-12-30 4:24 ` Lars Magne Ingebrigtsen
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).