Re: Bounce-backs with attachments, log files. . .

2001-06-26 Thread Markus Stumpf

On Tue, Jun 26, 2001 at 05:01:36PM +0200, Peter van Dijk wrote:
> I think there is a patch.

Yup. Fred Lindberg did it and it can be found on
http://www.ezmlm.org/pub/patches/qmail-mime.tgz
(also listed on http://www.qmail.org/ "Yet More Qmail Addons")

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



Re: Bounce-backs with attachments, log files. . .

2001-06-26 Thread Peter van Dijk

On Tue, Jun 26, 2001 at 09:29:56AM -0500, Norvell Spearman wrote:
> It seems when a user sends mail with an attachment and it bounces back, the
> bounce-back has the attachment in-line with the mail text (as opposed to
> something you can click on then save or open).  This isn't a major problem
> (my users aren't getting bounce-backs with 20MB attachments every five
> minutes) but when it does occur users complain about their mail reading
> program taking much longer to open---or even locking up---because of the
> in-line attachment.  Is there any way to change this behavior or is this how
> all e-mail servers are supposed to work (this is the first full-blown mail
> server I've set up)?

I think there is a patch.

> All apologies if the answer to this next question is blatantly obvious; I
> thought I looked everywhere I was supposed to.  I'm assuming the long number
> at the beginning of each line in /var/log/qmail/current (I'm using multilog
> instead of splogger) is some form of timestamp.  How do you convert that to
> an easily-recognizable format?

tai64nlocal.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Bounce-backs with attachments, log files. . .

2001-06-26 Thread Charles Cazabon

Norvell Spearman <[EMAIL PROTECTED]> wrote:
> It seems when a user sends mail with an attachment and it bounces back, the
> bounce-back has the attachment in-line with the mail text (as opposed to
> something you can click on then save or open).  This isn't a major problem
> (my users aren't getting bounce-backs with 20MB attachments every five
> minutes) but when it does occur users complain about their mail reading
> program taking much longer to open---or even locking up---because of the
> in-line attachment.  Is there any way to change this behavior or is this how
> all e-mail servers are supposed to work (this is the first full-blown mail
> server I've set up)?

There's no "right" or "wrong" way for an MTA to do this -- provided the MTA
returns full headers with the bounce, it's done it's job.  It doesn't even
have to return the body of the message at all.  Also, if MUAs are crashing
when they receive these messages, they should be upgraded/fixed or discarded.

However, returning attachments as attachments would be very problematic --
qmail would then have to parse the original message, determine if it was a
MIME-encoded message, what type (multipart, etc.), decode each of the parts,
and then generate a multipart bounce message, re-attaching and re-encoding the
attachments from the first message.  With that much parsing and text
manipulation going on, qmail would have been _much_ more difficult to get
BugFree (tm).

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Bounce-backs with attachments, log files. . .

2001-06-26 Thread Norvell Spearman

It seems when a user sends mail with an attachment and it bounces back, the
bounce-back has the attachment in-line with the mail text (as opposed to
something you can click on then save or open).  This isn't a major problem
(my users aren't getting bounce-backs with 20MB attachments every five
minutes) but when it does occur users complain about their mail reading
program taking much longer to open---or even locking up---because of the
in-line attachment.  Is there any way to change this behavior or is this how
all e-mail servers are supposed to work (this is the first full-blown mail
server I've set up)?

All apologies if the answer to this next question is blatantly obvious; I
thought I looked everywhere I was supposed to.  I'm assuming the long number
at the beginning of each line in /var/log/qmail/current (I'm using multilog
instead of splogger) is some form of timestamp.  How do you convert that to
an easily-recognizable format?

Thanks much for any help with this.

---Norvell Spearman
---
``Trouble is my business.''
  ---Philip Marlowe