Courier MTA and “Invalid number of recipients”, 550 errors, and more.

After months of frustration – having our outbound emails randomly fail for distribution groups (alias lists in Courier MTA terminology) – I found the cause. Our SMTP smarthost doesn’t allow multiple “RCPT TO:” commands in an email header. By default, Courier batches up all emails…