All of lore.kernel.org
 help / color / mirror / Atom feed
* Treatment of Return-Path: headers (Re: mlmmj-recieve silently
@ 2006-01-21  3:23 Charlie Brady
  2006-01-21  7:20 ` Michael Fleming
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Charlie Brady @ 2006-01-21  3:23 UTC (permalink / raw)
  To: mlmmj


On Sat, 21 Jan 2006, Morten K. Poulsen wrote:

> When the mail is "malformed" - e.g. no Return-Path: - we should return 
> EXIT_FAILURE.

Do you have a reference to an RFC which says that Return-Path: is a 
required header? I don't believe that it is required. It's used by 
sendmail (and other MTAs which follow the pattern of sendmail) to record 
the envelope sender, but can't be expected to be provided by all MTAs 
unless it is mandated by an RFC.

In the case of qmail deliveries, the envelope sender is available as 
$SENDER.

> The problem here is that we fork() to make sure that we are not 
> killed by the mail daemon who spawned us.

In the case of .qmail delivery, from the examples I've seen, the -F flag 
will be used to avoid forking.

I suspect this behaviour is wrong anyway. We can't just assume that the 
mlmmj-send completed - the system might be shut down before it's done its 
work, for instance. The LDA shouldn't return a delivery completed status 
until the delivery is completed. This might mean that in rare 
circumstances the delivery is done twice, but it should ensure that the 
message is never lost.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-01-22  0:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-21  3:23 Treatment of Return-Path: headers (Re: mlmmj-recieve silently Charlie Brady
2006-01-21  7:20 ` Michael Fleming
2006-01-21 19:03 ` Charlie Brady
2006-01-21 19:05 ` Treatment of Return-Path: headers (Re: mlmmj-recieve silently discarding messages Mads Martin Joergensen
2006-01-21 19:15 ` Treatment of Return-Path: headers (Re: mlmmj-recieve silently Charlie Brady
2006-01-21 19:28 ` Charlie Brady
2006-01-22  0:13 ` Treatment of Return-Path: headers (Re: mlmmj-recieve silently discarding messages Morten K. Poulsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.