[vchkpw] 551 response to user not found

2005-03-15 Thread Alastair Battrick
Can somebody tell me why chkuser (I'm using 2.0.8) gives a 511 response to a "user not found" error? RFC 821 gives 550 as the correct response -- Cheers Alastair Battrick www.battrick.org

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread Cristiano Deana
On Tue, 15 Mar 2005 09:05:20 +, Alastair Battrick <[EMAIL PROTECTED]> wrote: > RFC 821 gives 550 as the correct response http://www.faqs.org/rfcs/rfc2821.html [] This document is a self-contained specification of the basic protocol for the Internet electronic mail transport. It con

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread Alastair Battrick
Cristiano Deana wrote: On Tue, 15 Mar 2005 09:05:20 +, Alastair Battrick <[EMAIL PROTECTED]> wrote: RFC 821 gives 550 as the correct response http://www.faqs.org/rfcs/rfc2821.html Thanks Cristiano, but that RFC does not mention 511 codes either. I haven't actually read it all, but it seems to

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread Cristiano Deana
On Tue, 15 Mar 2005 09:31:01 +, Alastair Battrick <[EMAIL PROTECTED]> wrote: > > http://www.faqs.org/rfcs/rfc2821.html > Thanks Cristiano, but that RFC does not mention 511 codes either. I > haven't actually read it all, but it seems to say that 551 is the > correct code for 'address-updatin

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread tonix (Antonio Nati)
I don't remember exactly, I studied a lot of documents and found same tables that lead me to that decision (to have a close correspondence to 5.x.x formats). These are all definitions within chkuser_settings.h #define CHKUSER_NORCPT_STRING "511 sorry, no mailbox here by that name (#5.1.1 - chku

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread Cristiano Deana
On Tue, 15 Mar 2005 12:22:34 +0100, tonix (Antonio Nati) <[EMAIL PROTECTED]> wrote: Ciao Antonio, first of all compliments for your work in this patch. > I don't remember exactly, I studied a lot of documents and found same > tables that lead me to that decision (to have a close correspondence t

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread tonix (Antonio Nati)
Hi Cris, 550 is ok for #define CHKUSER_NORCPT_STRING "511 sorry, no mailbox here by that name (#5.1.1 - chkuser)\r\n" What about other cases? #define CHKUSER_MBXFULL_STRING "522 sorry, recipient mailbox is full (#5.2.2 - chkuser)\r\n" #define CHKUSER_MAXRCPT_STRING "571 sorry, reached maximum nu

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread Alastair Battrick
tonix (Antonio Nati) wrote: #define CHKUSER_MBXFULL_STRING "522 sorry, recipient mailbox is full (#5.2.2 - chkuser)\r\n" #define CHKUSER_RCPTMX_STRING "511 sorry, can't find a valid MX for rcpt domain (#5.1.1 - chkuser)\r\n" #define CHKUSER_SENDERMX_STRING "511 sorry, can't find a valid MX for s

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread Cristiano Deana
On Tue, 15 Mar 2005 13:58:45 +0100, tonix (Antonio Nati) <[EMAIL PROTECTED]> wrote: > 550 is ok for > #define CHKUSER_NORCPT_STRING "511 sorry, no mailbox here by that name > (#5.1.1 - chkuser)\r\n" http://www.faqs.org/rfcs/rfc2821.html Section 4.2: SMTP Replies > #define CHKUSER_MBXFULL_STRI

Re: [vchkpw] 551 response to user not found

2005-03-15 Thread tonix (Antonio Nati)
Alastair, if you give a transient error sender will probably have a definitive error after some days, and until then will be (wrongly) satisfied about the delivery. In this way sender is notified immediately, and may decide the opportune action. Anyway, these strings have been made external (in

Re: [vchkpw] using vchkpw with inn 2.4.2

2005-03-15 Thread Tom Collins
On Mar 15, 2005, at 5:01 AM, Claas Langbehn wrote: I managed to do write a wrapper in perl: No need to use a temp file. Here's a function I use to authenticate a user. It will return the username if it was a good user/pass combo, or an empty string if not. my $VPOPMAIL_PATH = '/home/vpopmail/b