procmail
[Top] [All Lists]

RE: How about attachment size

2001-03-28 18:31:00
At 5:31 PM -0500 3/28/01, Xiaoyan Ma is rumored to have typed:

Do you mean that the MAX_MESSAGE_SIZE includes the attachment or the same
line in the config file: something like confMAX_ATTACHMENT_SIZE=100000 ?

   (*sigh*)

   The problem here, and in other recent messages posted about attachments,
seems to be that because modern clients receive attachments as seperate
objects, people for some strange reason assume they _are_ seperate objects,
and that sendmail would even notice that at message _had_ an attachment. They
aren't, and it doesn't; an attachment is nothing but additional text embedded
in the body of a message in such a way as a modern client will seperate it
for you. sendmail doesn't see anything other than a text stream...whether
there is a MIME-labled and BASE-64-encoded attachment in it, HTML tags, or a
Captain Midnight Secret Squardon Code-O-Graph-encrypted message in it doesn't
phase sendmail in the least.

   Instead of viewing a message containing an attachment in your modern email
client, might I strongly urge you send yourself a small attachment and view
it in Mail or another less-than-capable email client, or even directly view
the /var/spool/mail/user file with cat|more, pico, joe, or (ugh) vi? I think
this might teach you a whole lot about what an email message _really_ looks
like and how it is composed as a text stream, instead of seeing only what
modern mailers (in your case, Eudora) _convert_ it to look like.

   To directly answer your question, there's no such thing as
MAX_ATTACHMENT_SIZE=100000 since sendmail doesn't decode attachments. The
only thing sendmail cares about is the size of the text stream itself, what
happens to be in it doesn't mean a thing...and note that BASE64-encoded files
are probably 25-30% larger than the binary attachment they decode into,
anyway, so that gets factored into the resultant size of the text stream.

         Charlie


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>