Hanno Böck writes:
Hi,While investigating a kmail problem, I noticed that our courier server sends the error code431 Too many recipients. if there are > maxrcpts receipients in a mail.Now, 4xx error codes are for temporary errors. I found this piece of code in courier:courier/submit.C- std::cout << (max_bofh_ishard courier/submit.C: ? "531 Too many recipients." courier/submit.C: : "431 Too many recipients.") courier/submit.C- << std::endl << std::flush;Now, I don't understand that. It seems one can set "hard" and "soft" limits for maxrcpts (although I don't find anything documented about it). What should that mean? What's a soft limit for maxrcpts?
No. This is an option to report overquota recipients as either a soft or a hard rejection. See "maxrcpts" setting in the courier man page.
A 4xx error should mean for the user that just sending the same mail later again will work (RFC 2821), so from what I can see, it should always be 531. If I'm wrong, please explain me why.
This error is sent in response to a RCPT TO command. The error code applies to the recipient specified by the RCPT TO command, and not to the whole message as a whole. When a message has multiple recipients, if at least one recipient is accepted by the receiving mail server, the sending mail server may proceed with the message delivery, which takes effect only for those individual recipients whose RCPT TO command succeeded. For all other recipients of the same message, that were rejected, their status is defined by each recipient's corresponding error code.
pgpnkaSPqZcQi.pgp
Description: PGP signature
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
