js files.js is not a native executable script format, so whether you have a. I find this fix ironic, because this negates the entire GMail blocking use case for. I found this to work reliably with any service. The file is then assumed to be a plain text file and from a security point of view at least can't easily be just executed as you have to at minimum rename the file explicitly. txt to any 'dangerous' text file allows sending and receiving it. Adding is easiest as it maintains the old filename:įigure 4 - Adding. If you have single code files that are text based, and that you want to attach to an email, you can simply change or add the. Base64 Encode files and modify slightly.There are a few ways to get around this issue: So, what can we do about the email restrictions, if you have one or more files that won't send or receive via email? xll Sending Emails with Code or Binary Files Anyway b64 file if it contains a restricted file format or binary. Apparently the file names are not encrypted and can be read by the scanner. Any archive that is password-protected or encrypted and contains a restricted file above.Archives that contain any of the above (.zip.7z.rar.tar etc.).Documents with malicious macros (.doc/.xls etc).Any file with a possibly executable file extension (see below).Googles rules for rejection are (per their policy - click on the Help link on the rejection notice): GMail has some of the strictest rules and unfortunately this is probably the baseline that we have to go by since so much of email goes through GMail either on the sending or receiving end. Here's Google's server rejection message:įigure 3 - GMail's Fuck you, I won't do what you tell me email rejection notice.Īre we having fun yet? What doesn't work?Īt issue here is really what does and doesn't work and the reality is that it depends on the mail service. That seems better than GMail, until you realize that it's all really a race to the bottom: If you're using to send to GMail, you're still limited by GMail's stricter rules even though lets you send the files. For example, does something similar, but has different rules:įigure 2 - Blocked outgoing files on If you want to find out what works and what doesn't with GMail you can create an email and start adding files - those that won't work are immediately flagged right in the UI as shown in Figure 1.īut it's not just GMail. dll files also aren't directly executable anyway. zip file contains the same WebConnectionModule.dll that is rejected outright and even though the content is not directly accessible it's still blocked due to the contained binary file and even though. prg file is surprising in that it's not blocked, even though in really old versions. js files can potentially be executed directly. js in this case) are marked as blocked while others like the. To give you an idea, here's GMail, trying to send a few attachments of code and binary files, that clearly won't be allowed:įigure 1 - Blocked files on an outbound email Not just in their native file form, but also when embedded in Zip or 7Zip archives and heck even inside of encrypted archives! Anything that might be remotely deemed dangerous or executable (even though most aren't that) are blocked. The problem is that most email services - and especially GMail - these days don't actually let you send or receive binary files, or 'Code Files' as attachments. It's a bit of a twisted story and I'm inclined to calling Google doing evil on this one, so read on. In this post I go over what doesn't work and what does along with a tool that can help you to send messages and retrieve the file or files. If you search the Web you're likely to find a few solutions like using encrypted zip files that no longer work, at least not with GMail as GMail appears to have cranked down hard on every even semi-obvious and even laborious workaround. As a developer, you're likely to occasionally send an email with attachments that are either code or binary executable files either as straight files or in a zipped up collection of code or binary files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |