I took an educated guess at this, figuring that it would be better to have some 
recipients get the 
same mail more than once than it is to have a message dropped for others. 
Multiple receive is 
annoying, but silently dropping is unacceptable.

If EX_NOUSER is a better response, go for it!

Best of all might be finishing up the code for returning a human-readable 
response on stdout. 
This way, we can give EX_NOUSER and also give a message alerting the sender 
that it *may* 
have been received or *may not* have been received, and the sender should 
either send again or 
confirm the message by some other means.

Aaron


Ilja Booij <[EMAIL PROTECTED]> said:

> > 
> > I'm more interested in why this email is failing:
> > May 18 16:52:16 proxy postfix/pipe[26199]: 58A431D4A7: to=<[EMAIL 
> > PROTECTED]>,
> > relay=dbmail-smtp, delay=434188, status=deferred (temporary failure)
> > 
> > (search for the begining of that line in the log file.)
> 
> OK, now I get it :)
> 
> I've been looking into this, and I think I've found it, but I guess this 
> is a pretty fundamental problem..
> 
> Delivery fails for one recipient. DBMail returns an exit code 
> EX_TEMPFAIL (I think it should return EX_NOUSER, but that's another 
> question), to signal that one recipient failed. Problem is that Postfix 
> has no way to see that the other deliveries did not fail.
> 
> I see two workaround solutions:
> 1. Use LMTP. LMTP gives information on every single recipient.
> 2. Let Postfix use SQL to see if an alias exists in the database. This 
> way, recipients will not fail in DBMail when they are not present in the 
> database.
> 
> These are both workarounds.. We should fix this to do The Right Thing, 
> but I'm not sure what this Right Thing is.. Does anyone else have an 
> idea? How do other programs do it?
> 
> Ilja
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 



-- 


Reply via email to