-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No worky.  Don't try it.  If you create a folder in the default Maildir 
format, it creates cur, new, and tmp subfolders within the new folder.  If 
you delete these subfolders and make them symlinks to /dev/null, you will 
crash kmail (it complains that there isn't enough diskspace?!).  If you try 
to do this by making the new folder in mbox format, delete it and recreate it 
as a symlink to /dev/null, it doesn't like it either and will crash kmail.

As far as I can tell, for whatever reason, it is not possible to send messages 
to /dev/null and never ever have to deal with them at all in kmail.

praedor
- -- 
Key fingerprint = D6F9 8682 2257 2871 10C6  DB92 6F50 8BBA B100 EB15
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/U71nb1CLurEA6xURArH5AJ9rk707FLPxCQDzZAle+bX2A+rdLACfSfXK
RuUBEFy9jSUm6nDWInhOKRI=
=DVeS
-----END PGP SIGNATURE-----
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have struggled with getting kmail to directly delete filtered crap myself 
for some time.  It just occurred to me, based on this thread, that there may 
be a clunky way to do this.  

There is no direct way to set kmail folders to point to /dev/null and trying 
to forward or move or pipe any email message to /dev/null will also fail.  I 
will try this next thing myself:

What if you create a folder in kmail the usual way, setup your filters to pass 
junk into it, etc.  After creating the folder, exit kmail, open a konsole, 
enter the ~/Mail directory and rmdir the new directory and replace it with a 
symlink by the same name to /dev/null.  

Thus, say I create a folder in kmail called "Spam".  This creates a dir in my 
~/Mail directory ($HOME/Mail/Spam).  I would quit kmail, open a console, cd 
into my Mail directory, remove the Spam folder and recreate it manually as a 
symlink to /dev/null.  Hopefully, when I subsequently restart kmail, it will 
see the Spam folder as still existing but any mail passed into it will 
instead be going to /dev/null.

I think I will try this right now.

praedor

On Monday 01 September 2003 04:18 pm, ed tharp wrote:
> On Mon, 2003-09-01 at 10:37, Anne Wilson wrote:
> > On Monday 01 Sep 2003 1:36 pm, ed tharp wrote:
> > > On Mon, 2003-09-01 at 08:18, Anne Wilson wrote:
> > > > I know I should be sorting out a mail server, but until I have
> > > > enough time I need short term solutions.
> > > >
> > > > In kmail I'd like a pop-filter to delete on server emails that
> > > > contain attachments containing .exe and the like.
> > > >
> > > > I can't find any way of filtering on attachments
> > > >
> > > > For that matter I can't find any way of filtering to delete.
[...]
> > > not sure (I quit using kmail when 9.1 came out)
> > > Maybe...
> > > define a folder in Kmail as /dev/null and move it to there
> >
> > But if I do that it wouldn't reference /dev/null, would it?  Seems to
> > me that it would be just the same as moving to ZZ_Junk that I do now?
> >
> > Anne
>
> perhaps you are correct.
> +++++++++++++++++++++++++++++++++++++
> Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org

- -- 
Key fingerprint = D6F9 8682 2257 2871 10C6  DB92 6F50 8BBA B100 EB15
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/U7rvb1CLurEA6xURAlmbAJ9zYrfsZxKlFFOjSPfXVj/8cr4lyQCfbb3k
8dL9J6visWVvZRujtr/lSlg=
=vR7A
-----END PGP SIGNATURE-----

--- End Message ---
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to