Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: punkind <intimisto@nihil.non>
Subject: Re: running external program upon gnus startup
Date: Wed, 05 Nov 2003 23:01:31 GMT	[thread overview]
Message-ID: <8665hyl9qi.fsf@nihil.non> (raw)
In-Reply-To: <m3ptg6sc5e.fsf@linux.local>

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


           reply	other threads:[~2003-11-05 23:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <m3ptg6sc5e.fsf@linux.local>]

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=8665hyl9qi.fsf@nihil.non \
    --to=intimisto@nihil.non \
    --cc=p_u_n_k_i_n_d@yahoo.it \
    /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).