diff options
| author | klm | 1998-07-23 22:42:13 +0000 |
|---|---|---|
| committer | klm | 1998-07-23 22:42:13 +0000 |
| commit | 609b29fb75b795fb78aef99cf4d793d767f1f276 (patch) | |
| tree | 82b95291ce87c7c0e7955b86a0e5049240399b4d /Mailman/Deliverer.py | |
| parent | fa46111f32ab0b192ba2febb6aa72c28803cfef2 (diff) | |
| download | mailman-609b29fb75b795fb78aef99cf4d793d767f1f276.tar.gz mailman-609b29fb75b795fb78aef99cf4d793d767f1f276.tar.zst mailman-609b29fb75b795fb78aef99cf4d793d767f1f276.zip | |
SmtpConnection.send(): More provision for when a local address is
recognized as bad and refused immediately (rather than being queued
up, as happens for any offsite recipients). In particular, had to
detect whether all recipients in the batch failed, and then just
return - otherwise the DATA command would fail (no valid recipients),
and raise a disruptive exception.
It's worth noting that no bounce is generated for invalid local
recipients, which means now way to disable or even notice that they're
bad. This should be rectified at some point, but offhand i'm not sure
the right way, other than by special casing local deliveries. Anyway,
i left an XXX note to sorta this effect in the code.
And finally - it looks like the "official" python smtplib already does
the right kinds of thing regarding bad recipients, which makes me
feel good about merging with it.
Diffstat (limited to 'Mailman/Deliverer.py')
0 files changed, 0 insertions, 0 deletions
