From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3154 Path: news.gmane.org!not-for-mail From: punkind Newsgroups: gmane.emacs.gnus.user Subject: Re: running external program upon gnus startup Date: Wed, 05 Nov 2003 23:01:31 GMT Organization: [Infostrada] Message-ID: <8665hyl9qi.fsf@nihil.non> References: Reply-To: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669348 17821 80.91.229.2 (31 Jan 2006 01:02:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:02:28 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:47 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.tdcnorge.no!uninett.no!uio.no!feed.news.nacamar.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Cancel-Lock: sha1:NuvMZcAaU6+eEvNzw6Q6W9NY+X8= Original-NNTP-Posting-Host: 62.98.211.158 Original-X-Complaints-To: abuse@inwind.it Original-X-Trace: twister2.libero.it 1068073291 62.98.211.158 (Thu, 06 Nov 2003 00:01:31 MET) Original-NNTP-Posting-Date: Thu, 06 Nov 2003 00:01:31 MET Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3295 Original-Lines: 15 X-Gnus-Article-Number: 3295 Tue Jan 17 17:31:47 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3154 Archived-At: 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