Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Without antivirus activated thunderbird is blocking certain extensions, i can't send them at all.
'there is a problem adding the attachment test.wsf(.vbs, .pif) would you like to send this email without the attachment?' yes, cancel.
Other attachments are ok, I've confirmed the smpt server is not blocking mime headers or anything like that.
After much searching, I can't find any other discussion of this problem or any thunderbird functionality that would refuse to try to send certain extensions.
.js, .wsf and .vbs are some of the extensions that cause this while others like .zip go through normally.
What could be causing this?
Last edited by mikudo; 10-15-2018 at 05:54 AM.
Reason: error, .js not blocked, changed to correct extensions
Does your antivirus software (what are you using?) scan for outgoing mail? (it might not support/allow certain extensions)
Good question because OP has just stated "Without antivirus activated thunderbird is blocking certain extensions, i can't send them at all." so we do not know if AV has been totally disabled via its control panel or if AV filtering has been disabled inside Thunderbird only (in Thunderbird Security panel).
There are no antivirus addons or extensions in my thunderbird.
The antivirus checkbox in settings is unchecked.
edit: I'm in debian 8, is there a way there could be some other antivirus somewhere that is nowhere visible in thunderbird settings?
I have spent a while looking through thunderbird settings looking for anything that could block extensions and there just isnt anything obvious, which is why I ask what else could block extensions or how could I check for a hidden? antivirus somewhere? Why are there so few intances of this error message?
I only bring the greatest of mysteries to LQ....or when I really dont understand something basic...
Sorry, I misunderstood your first sentence as well.
Whose your email provider?
They can block any file in your attachment as they like.
Google (smtp.gmail.com) has been blocking .vbs, .pif, .wsf, ... in attachments since ages (and .js since 2015). ...
Quote:
To protect your account, Gmail doesn't allow you to attach certain types of files. Gmail often updates the types of files not allowed to keep up with harmful software that is constantly changing. Some examples include:
Actually this is a test environment I made myself.
The postfix server that catches the smtp has blank amavisd.conf and does no mime header checks in main.cf, it relays to another postfix server that does have amavis installed but which should treat .wsf as a banned attachment, sending notifications etc.
But the behavior I see is that all other attachments go through at least so far but for .vbs, .wsf and two others, thunderbird itself says this attachment isnt allowed, continue without it or cancel.
Because testing things like this is the purpose of this environment, this throws off my whole test.
Pop, no security, no authentication method, we are really just testing scanning and notifications so none of that stuff is significant here.
The popup error occurs when I press send. 1-2 seconds after I press send I get:
"A problem occurred when attaching the file test.vbs. Would you like to continue to send the mail without this file?" cancel, continue.
And ive tested about 20 extensions, only vbs, wsf, pif and another odd one have this problem.
The smtp server this tbird connects to then relays to a server where amavis should block by extension, and .vbs and .js are in the same banned line. I dont know how the relay server could directly block at the client or why even in that case the two filetypes would be treated differently.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.