|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
maxrcpts soft and hard?Hi,
While investigating a kmail problem, I noticed that our courier server sends the error code 431 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? 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. -- Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: hanno@... http://schokokeks.org - professional webhosting ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: maxrcpts soft and hard?Hanno Böck wrote:
> 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? > > 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. I think a 4xx temporary failure is more polite: the sending relay will keep the relevant recipients for a future attempt, and may eventually succeed to send the message to all of them. By contrast, a 5xx failure is likely to be interpreted as non-existing or undeliverable address, and the message will be bounced back to the sender for the relevant addresses. In this case, senders have to do by hand the operations that their relay can do automatically. ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: maxrcpts soft and hard?Hanno Böck writes:
> Hi, > > While investigating a kmail problem, I noticed that our courier server sends > the error code > 431 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? 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. ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: maxrcpts soft and hard?Hi, I am currently testing local mail, and I sent a message
to myself. I got the error message below. The message could not be sent because one of the
recipients was rejected by the server. The rejected e-mail address was
'alexander@...'. Subject 'Re: Testing', Account: 'Imap',
Server: '192.168.0.3', Protocol: SMTP, Server Response: '550 User
<alexander> unknown', Port: 25, Secure(SSL): No, Server Error: 550, Error
Number: 0x800CCC79 Alexander ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: [offlist response to courier-users] maxrcpts soft and hard?Hi Alexander,
please try to be somewhat smarter when writing to the list: * start new threads and/or edit the subject as appropriate, * when responding avoid top-posting, see http://en.wikipedia.org/wiki/Posting_style#Choosing_the_proper_posting_style * give full details of any test you make, see also http://catb.org/~esr/faqs/smart-questions.html#beprecise > I am currently testing local mail, and I sent a message to myself. I got > the error message below. - where did you send it from? - where did you send it to? - what software issued that error message? > *The message could not be sent because one of the recipients was > rejected by the server. The rejected e-mail address was > 'alexander@...'. Subject 'Re: Testing', Account: > 'Imap', Server: '192.168.0.3', Protocol: SMTP, Server Response: '550 > User <alexander> unknown', Port: 25, Secure(SSL): No, Server Error: 550, > Error Number: 0x800CCC79* NB: socotherm-nigeria.com's IP address apparently is serverplan's venus.dnshigh.com 93.95.217.11 running an exim mail server ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: Problem with sending locallyHi, Sorry, I
sent it in a hurry so I forgot I didn't change the subject. I sent the Mail from Microsoft Outlook Express. I was successfully authenticated and I logged in to both
the Courier POP and IMAP servers. And I successfully sent a test mail to
someone outside our system. However, when I decided to test local mail functionality
by sending a Mail to myself, it gave the error message. With our Windows e-mail Server, when you send a mail to
yourself, you receive it instantly. Like I mentioned in my previous e-mail, Serverplan is our
e-mail ISP based in ITALY. Our e-mail domains are hosted by them. Our Windows server uses SERVERPLAN too, but when you send
a Mail to yourself, no matter whether it is an EXIM server or whatever, you receive
it instantly. What
is baffling me is that I was successfully authenticated by the Courier Server,
so why can't I send MAIL to myself? I am using USERDB authentication, and all my tests
using AUTHTEST and TELNET “ip address” 110 or 143 were successful. Alexander -----Original Message----- Hi Alexander, please try to be somewhat smarter when writing to the
list: * start new threads and/or edit the subject as
appropriate, * when responding avoid top-posting, see
http://en.wikipedia.org/wiki/Posting_style#Choosing_the_proper_posting_style * give full details of any test you make, see also
http://catb.org/~esr/faqs/smart-questions.html#beprecise > I am currently testing local mail, and I sent a
message to myself. I got > the error message below. - where did you send it from? - where did you send it to? - what software issued that error message? > *The message could not be sent because one of the
recipients was > rejected by the server. The rejected e-mail address
was > 'alexander@...'. Subject 'Re:
Testing', Account: > 'Imap', Server: '192.168.0.3', Protocol: SMTP,
Server Response: '550 > User <alexander> unknown', Port: 25,
Secure(SSL): No, Server Error: 550, > Error Number: 0x800CCC79* NB: socotherm-nigeria.com's IP address apparently is
serverplan's venus.dnshigh.com 93.95.217.11 running an exim mail
server ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: Problem with sending locallyAlexander Hotmail wrote:
> *Sorry, I sent it in a hurry so I forgot I didn't change the subject*. (so did I :-() > I sent the Mail from Microsoft Outlook Express. > > I was successfully authenticated and I logged in to both the Courier POP > and IMAP servers. And I successfully sent a test mail to someone outside > our system. > > However, when I decided to test local mail functionality by sending a > Mail to myself, it gave the error message. What do you mean by "yourself", was that address on the local Courier server? > With our Windows e-mail Server, when you send a mail to yourself, you > receive it instantly. Ditto for courier. The "idle" IMAP feature allows the client to notice the message without delay. However, the IMAP server can only serve local mail. > Like I mentioned in my previous e-mail, Serverplan is our e-mail ISP > based in ITALY. Our e-mail domains are hosted by them. You may have local and hosted domains, whose mailboxes are defined on the local server. And you may have domains that you accept mail for, without local mailboxes. This latter feature of SMTP, backup MXes, is difficult to set up unless the servers are administered by the same team and coordinated with one another; the difficulty is letting the backup MX know what mailboxes exist and coordinate filtering. Notice that you have three distinct configuration files in Courier. Usually, hosteddomains has a corresponding entry, e.g. esmtpacceptmailfor.dir/hosted > Our Windows server uses SERVERPLAN too, but when you send a Mail to > yourself, no matter whether it is an EXIM server or whatever, you > receive it instantly. You mean they immediately relay it to Serverplan's Exim server, correct? I still don't know where that error message came from. > *What is baffling me is that I was successfully authenticated by the > Courier Server, so why can't I send MAIL to myself*? *I am using USERDB > authentication, and all my tests using AUTHTEST and TELNET “ip address” > 110 or 143 were successful.* 110 and 143 are only used to retrieve local or hosted mailboxes. You have to enable SMTPAUTH if your server can be accessed from the Internet. Port 587 is particularly handy for sending mail from external networks that filter port 25, e.g. using laptops. ------------------------------------------------------------------------------ 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 courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
| Free embeddable forum powered by Nabble | Forum Help |