This patch makes the SMTP courier distinguish permanent errors, so the queue can decide whether to retry or not. It's based on the SMTP replies: 5xy is considerent permanent, anything else is transient (including errors other than protocol issues).