Re: Possible minor bug in tmda-ofmipd
Stephen Warren <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
Jason R. Mastaler wrote: > Stephen Warren <[email protected]> writes: > >> Also, at least for the specific issue you saw, I suspect that at >> least some MTAs would do the same. I know for sure that my postfix >> setup validates local recipients at SMTP reception time, and refuses >> to even accept messages sent to non-existent local users (as opposed >> to accepting it, and generating a bounce response). So, even if >> Thunderbird was talking directly to a "real" SMTP server, you could >> easily see the same issue. > > I think this might be Ole's point. That the "real" SMTP server > already has code to validate local recipients as well as many other > such checks. Perhaps tmda-ofmipd should just pass the message on to > the SMTP server, and when the SMTP server barfs, tmda-ofmipd will > notice that, raise an exception, and the user's MUA will halt > processing. This is how tmda-ofmipd has worked since the beginning. > I wonder if the code you recently added is really necessary? Tbird > aside, I know most MUAs handled things correctly, since I tested about > a dozen of the most popular ones at the time. It's just been so long > the particulars are a bit lost on me. Oh, the exception handling code is totally required for Thunderbird at least - if Thunderbird sees a dropped connection instead of an SMTP response message, it'll think the message was successfully handed off to the SMTP server, when in fact it wasn't, so the message never gets sent, and the user never receives any notification!
signature.asc
(application/pgp-signature, 250 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFJUrWhk3bo0lNTrURAoObAKCvq88NjJFllHIJUkHty6uve2iwNQCg9pzp imP3XNfY+ApXR2VtSZnKzek= =KqCM -----END PGP SIGNATURE-----