Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: running external program upon gnus startup
       [not found] <m3ptg6sc5e.fsf@linux.local>
@ 2003-11-05 23:01 ` punkind
  0 siblings, 0 replies; only message in thread
From: punkind @ 2003-11-05 23:01 UTC (permalink / raw)


On Wed, 05 Nov 2003, Martin Stemplinger wrote:

> I use mailfilter to delete spam directly on the mailserver before
> downloading them with gnus. Now I'd like to automate that because I
> forget to run mailfilter sometimes :-(.
> 
> I guess I have to add some magic incantation to the gnus-hook but
> what exactly?

*untested*

(add-hook 'nnmail-pre-get-new-mail-hook '(lambda () (shell-command "mailfilter")))

-- 
karate - unsolved/03. sever


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-05 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m3ptg6sc5e.fsf@linux.local>
2003-11-05 23:01 ` running external program upon gnus startup punkind

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).