Tag Info

Hot answers tagged

149

The problem is this: e-mail (SMTP/POP3/IMAP/what-have-you) is an ancient, simple protocol originally intended for sending plaintext messages in a trusted network. Using it for sending or receiving large amounts of binary data across today's Internet is a bolted-on hack, completely different from the original use case, and it performs rather miserably in this ...


27

The same but from a slightly different view: Email is electronic mail. You know mail as this ancient paper thingy in another little paper envelope. You could write a lot of text on it but not very more than 5 or 6 pages. And email is the same but electronic. It is designed for text (plain text like on a typewriter). Then there was a MIME extension where you ...


14

Having been in a situation with Exchange 2007 where management subscribed to the "no limit on email size" philosophy: An internal user sent a message to their hotmail address with an .iso of a music CD. Jammed the queue on one transport server while processing the message, lit up back pressure, stopping message submission. The user's outlook then ...


8

WIth the proper use of e-mail headers it is possible for you to setup and use your own mail server, but send the e-mail message with the "appearance" of coming from your customer. This is not a spam tactic. This is a proper use of several e-mail message headers for this purpose. From: "ABC Company" <mailbox@abccompany.net> Sender: ...


6

Microsoft describe the solution in this KB article and lists all blocked attachments here. As there is no way to say "unblock all" you need to specify every possible type that may be blocked. e.g. Office 2007 Example (copy/paste into a .reg file) Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security] ...


6

My guideline for unknown recipients is 5MB, but I try to keep it to 1MB if possible. In three years at my last job, we did run into at least one or two cases where a ~5MB message was rejected, and we couldn't really get enough info from the recipient to troubleshoot more. Zipping the document got it through, and that satisfied the senior executive on our ...


5

I would recomend setting up your own mail server to send email as the client, then add the correct SPF records to prevent you being flagged as spam.


4

Here is another view: Since an email is stored in multiple instances along the way, sending a 1 GB file would use up several times that all the way. It will usually be a copy on your client in "Sent items", and if using IMAP, a copy on the server might show up as well (on your account). Then the receiving end will keep a copy (the server), as well at the ...


4

Email is not instant messaging; it is email. Let me explain. Masegaloeh is correct with regard to assumptions, but there is one other explanation that you have overlooked: email is queued. Just because a message is accepted for delivery, doesn't mean that it has been delivered. And that's just the beginning. The message may travel directly to your mail ...


3

(This should probably be a comment, but I wanted a bit more formatting...) First off, when you say "binary code," are you seeing stuff like this: begin 644 webutils_pl M4F5C;V=N:7II;F<@9FEL97,@96YC;V1E9"!U<VEN9R!5565N8V]D90T*#0I! M(&9I;&4@96YC;V1E9"!W:71H(%5596YC;V1E('5S=6%L>2!S=&%R=',@=VET ...


3

You may use MIMEDefang milter as an addon to postfix (or sendmail). http://www.roaringpenguin.com/products/mimedefang MIMEDefang can inspect and modify e-mail messages as they pass through your mail relay. MIMEDefang is written in Perl, and its filter actions are expressed in Perl, so it's highly flexible. Here are some things that you can do very ...


3

To supplement Piskvor's answer. Yes, the "main email platforms" are dragging their feet. They do this by using a protocol (SMTP) that is not up to today's standards (in many ways). In today's world, we could easily design a protocol to replace SMTP that would solve the current attachment issue. The problem would be getting the world to switch over to it.


3

I'm currently using a python script for this purpose, it logs into the mailbow trought POP3 and then download the attachements and backup the emails, with little mods it may suit your needs very well, you can compile it with py2exe if you wish it. Here is the code. PS: This code was orignaly written by Suresh Kesmar (all credits to him) ;)


2

It sounds like the Store is corrupted. Follow petri.co.il to get do checks on the store and if needed, it will also tell you how to repair it.


2

mail, mailx and it's derivatives are the most commonly used MUAs for such jobs. You'll find them much leaner to install and maintain than mutt. It's important to note that some of the derivatives don't make sending attachments as easy as others.


2

To send attachments using mailx: (uuencode file1.png file1.png uuencode file2.html file2.html echo "this is in the message body") | mailx -s "This is the Subject" kyle@kylerocks.com uuencode is included the the sharutils package.


2

I don't know if this will fix your problem, but I noticed in the latest August 2009 CU the following fix: You send a message to a document library. If the message has a long subject and its attachment has a long file name, the attachment is dropped. Then, you cannot find the attachment in the document library. While this isn't exactly your ...


2

I'm afraid that you'll have to accomplish this with a script since Outlook likes to protect you from yourself. The below instructions are from here. I've modified somewhat to apply to your excel spreadsheets. Keep in mind that if they are from Excel 2007, then you'll have to use "xlsx" for your file extension in the script. Open up Outlook. I am using ...


2

The formatting for files to be read by SMTP can be a little tricky. Be careful with white space and semicolons because the file reader is likely not going to be very forgiving. Try the following text file, which is a message with 3 attachments. The first attachment is plain ASCII text and will be read as if it is the message body. The other attachments ...


2

A couple of things: The html is not in and of itself malware, therefore your AV software is not going to detect anything. The act of clicking the link initiates a download of some sort which contains the malware or the link directs the browser to a rogue website, which is then used as the injection point for the malware payload. It's not really UPS, Fedex, ...


2

Yes, you are correct: message_size_limit is the configuration directive you need. Put it anywhere in the main.cf file and reload (or restart) Postfix. You may use the postconf tool to check the currently configured value: postconf message_size_limit


2

Add it anywhere in main.cf, it's not relevant :) But it's good to keep directives grouped in some logical manner, it is easier for maintance According to official postfix documentation: message_size_limit (default: 10240000) The maximal size in bytes of a message, including envelope information. Note: be careful when making changes. Excessively small values ...


2

Be careful if setting this limit to a high number. You need at least 1.5 times the size of message_size_limit of free space on the partition where the Postfix queue resides. If you don't have that free space, then all messages are rejected even if they are only a few kilobyte in size. And if you receive one message of this size and then the space exceeds ...


2

I suggest using MDaemon for doing your mail. If you are sending in high volumes then look to Port25 and PowerMTA for your sending. Stick some form of a mail queue (MSMQ for example) in front of what ever mailer you use so that the email that is generated from your program or website isn't actually sent from the program or web site...freeing that app to ...


2

You could give nail a try. It allows you to specify an attachment. In your script that generates these files you'd do something like the snippet below to deliver the file as an attachment to an email. echo "body" | nail -s subject -a example-filename.txt you@example.com


2

Is your question about how the attachment is encoded in the mail stored in the Maildir directory ? If yes, have a look at http://en.wikipedia.org/wiki/MIME (and also http://en.wikipedia.org/wiki/Base64). Mail body + attachment(s) are in the same file.


2

You can use the following fragment in a shell script. This is admittedly a very ugly hack, so do use this only for uncritical things. I think it is possible that it adds a byte or two at the end of the file, but otherwise it seems to work fine. mail ${mailinglist} << END_MAIL To: ${mailinglist} From: ${mailsender} Subject: ${subject} Content-Type: ...


2

Dovecot does exactly this (Single Instance Storage) now with their dbox maildir format.


2

You can use arguments in statements like $log1 = $ARGV[0] and $log2 = $ARGV[1] and assign them in your $msg->attach section. You can use it like this: while (@ARGV) { $msg->attach( 'Type' => 'text/plain', 'Path' => shift @ARGV ); }


1

This was a well hidden KB article and I only found it on some old technet post. Turns out it has to do with how some email clients form MIME-encoded messages that have inline attachments. Issue was resolved by running this command on Exchange Server 2007. set-OrganizationConfig -ShowInlineAttachments:$true However this is a little tricky as the reason ...



Only top voted, non community-wiki answers of a minimum length are eligible