This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to i block file attachments contaning .zip,.pdf and other commmon extensions . I only want .jpg and .jpeg files to come as attachments in my mail .

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by Zenos

more options

I want to block all emails having attachments having .zip,.pdf . I want to only receive mails having jpg as attachments .

I want to block all emails having attachments having .zip,.pdf . I want to only receive mails having jpg as attachments .

All Replies (2)

more options

You can't "block" attachments. On the wire, they are just a series of bytes. They can not resolved to be attachments until the message has been received and parsed.

You can create filters which might be able to detach or delete these attachments, but in practice I have found it impossible to use filters on the meta-data segments of a message where content descriptors are found. This means it may not be possible to detect the type of attachment.

more options

Are you aware that jpegs can carry unwanted payload? Of the types you list, I suspect pdf is the least likely to be able to carry any risky content.