How to send windows attachment using senmail

Andrew Mathews andrew_mathews
Mon May 17 11:47:49 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Swapana Ghosh wrote:
| Hi
|
|       I have missed one point to mention so i am
| mentioning here.....
|
| but sendmail
|
|>will pass attachments without a problem in it's
|>
|>>standard configuration.
|>
|
| Yes by its standard configuration, sendmail will send
| the attachment that attachment will resided under some
| directory of the unix path.

It's in /var/spool/mail/username. You'll notice that it's not multiple
small files, it's one file. The single file contains a series of mail
messages. The convention used is that each message begins with a line
that starts with the 5 characters "From:" and ends with a blank line.
Sendmail neither knows, nor cares what the mailbox looks like All it
cares about is the local delivery agent, such as procmail. That's
determined by the $M configuration line in sendmail.cf.

| But when the client is
| using the html screen , they will send the attachment
| from their widows directory...Now the problem is how
| sendmail is using that file as attachment??

Exactly as it's presented. If it's garbage at the client end, that's
exactly what's received at the recipient end. If it's clean and
compliant at the sender's end, that's exactly what's received. Remember
that email attachments are parsed through uuencode before it's sent,
then uudecode at the recipient's end. It *has* to be encoded/decoded
exactly as it was originally, thus what you receive is assured of being
exactly what was sent. Sendmail will do rewrites on the message headers,
the milters will change the "Subject" or message body, but unless you're
using amavis or another virus scanner to scan your messages, nothing
touches the attachments.

| Thanks in advance.
| -Swapna
|


- --
Andrew Mathews
- ---------------------------------------------------------------------
~ 11:08am  up 1 day, 13:51, 15 users,  load average: 1.14, 1.13, 1.16
- ---------------------------------------------------------------------
Volley Theory:
	It is better to have lobbed and lost than never to have lobbed at all.
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE+0k9GidHQ0m/kEssRApehAJsHaSbcg1XLHLCbNwz6iJRtb+FQqgCfaXsE
0vwNX8Ri1dd6S/5MEUZrP3k=
=MG/y
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list