Package: fetchmail
Version: 5.9.11-5
Severity: normal
Hi,
So called "bouncing" of mail by fetchmail is braindead. Why is this?
1. The bounce notification message has no indication
whatsoever that fetchmail is in any way involved.
2. The bounce notification message contains only the headers.
The full text of the message should be included.
3. The bounced message itself is not removed from the pop
server. Thus, the message is re-bounced every time that
fetchmail queries the pop server.
According to my reading of fetchmail(1), the behavior described in
item 3 above is "by design", however, IMO, such behavior is still
braindead.
Now, why are SMTP 552 and 553 errors singled out for special
behavior (along with any so-called "antispam" error codes)?
Remember that 5xx means,
Permanent negative completion reply. The command was not
accepted and should not be retried.
If you just follow my advice in items 1 and 2 above, then the user
has complete control over the offending message.
The user's pop server has *already* accepted the message. It's
too late to reject it back to the originator, that SMTP
conversation is long dead and gone.
Now if the user's MTA rejects the message from fetchmail with a
5xx error, just be nice and bounce the full contents of the
message to the user.
Thanks,