You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

stumbles

Beginner

  • "stumbles" started this thread

Posts: 5

Location: Black Mountain, NC

  • Send private message

1

Sunday, August 24th 2003, 3:21am

Kmail filters

How do I create a filter in Kmail that will delete emails with attachments?

2

Thursday, August 28th 2003, 9:13am

AFAIK you can't.
Look at the pop-filtering in kmail to se if you can use some keyword in mails with attachements to remove them from the pop-server directly.

However, in kmail's options for receving mail you can choose a size limit for e-mails that are being dowloaded.
For e-mail messages that are larger then the given size, kmail will promt you co confirm the download.

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Thursday, October 9th 2003, 6:17pm

Re: Kmail filters

Quoted

Original von stumbles

How do I create a filter in Kmail that will delete emails with attachments?


As Linux is immune to the prolific e-mail attachment viruses, there is no real reason to filter these, except the size, which is suggested above.

4

Thursday, October 9th 2003, 6:45pm

You have to check on Content-Type

Most ugly spams :evil: have multipart/alternative there.

Then you can mode it to your Trash folder and perhaps mark it has read. (That is what I have done if the email is also bigger than 90000 bytes.)

As for the rest of files with attachments, I do not remember the right Content-type string but you can easily find out yourself (Hint: keyboard shortcut V.)

Have a nice day!

5

Friday, October 10th 2003, 3:02pm

The content type for attachement should be Multipart/Mixed

Be careful that KMail can only filter the email header, so you can only change the first Content-Type and not those of each MIME part.

Be also careful that anybody sending you email in HTML will be multi-part (HTML emails are not always spam.)

Have a nice day!

6

Friday, October 10th 2003, 3:04pm

Re: Kmail filters

Quoted

Original von heismark

Quoted

Original von stumbles

How do I create a filter in Kmail that will delete emails with attachments?


As Linux is immune to the prolific e-mail attachment viruses, there is no real reason to filter these, except the size, which is suggested above.


Well, sorry but you do not need (or might not want) to keep spam on your hard disk, even if it would be harmless.

Have a nice day!

Olli

Beginner

Posts: 2

Location: Nuernberg, Bavaria, Germany, Europe, planet Earth

Occupation: software developer

  • Send private message

7

Friday, October 31st 2003, 3:03pm

Spam usually does not have attachements, mostly only virii and genuine emails have attachements.

Theres no neat way to delete emails with attachements, but you could set kmail's pop filter to delete any email above a certain size from the server, its unlikely that an email will be 1MB without attachements.