Re: [PATCH] SMTP-AUTH broken

2008-03-31 Thread John Peacock
Hanno Hecker wrote: On Sun, 30 Mar 2008 21:51:26 -0700 Ask Bjørn Hansen <[EMAIL PROTECTED]> wrote: On Mar 30, 2008, at 4:39 PM, Markus Ullmann wrote: After tracing it down to rev 814-818, a friend of mine came up with this patch and it seems to make it work for me again. Maybe someone with

Re: [PATCH] SMTP-AUTH broken

2008-03-31 Thread Matt Sergeant
On 31-Mar-08, at 7:34 AM, John Peacock wrote: Attached is a diff that fixes both tls and auth, by backing out 814 and tweaking a couple of other lines. I won't commit it until Matt pipes up why he tried to make hooks a package global... Because otherwise hooks are re-loaded on every connect

Re: [PATCH] SMTP-AUTH broken

2008-03-31 Thread Matt Sergeant
On 31-Mar-08, at 10:12 AM, John Peacock wrote: Matt Sergeant wrote: Because otherwise hooks are re-loaded on every connection (register () needs re-run on every mail) which is a huge performance detriment. Then we need to rethink that architecture; would it be acceptable to return immediatel

Re: [PATCH] SMTP-AUTH broken

2008-03-31 Thread Matt Sergeant
On 31-Mar-08, at 11:04 AM, John Peacock wrote: It was because AUTH might have two roundtrips with the client (or not) depending on the AUTH method used. The first AUTH command is clearly defined (since it starts with "AUTH" ;-), but the client response to the server challenge has no obvious

Re: [PATCH] SMTP-AUTH broken

2008-03-31 Thread John Peacock
Matt Sergeant wrote: Because otherwise hooks are re-loaded on every connection (register() needs re-run on every mail) which is a huge performance detriment. Then we need to rethink that architecture; would it be acceptable to return immediately if hooks are already defined (instead of just wa

Re: [PATCH] SMTP-AUTH broken

2008-03-31 Thread John Peacock
Matt Sergeant wrote: But there's a patch in this thread to fix that, right? Not a complete one, no. I'm at $WORK now, and I can't take a look at it Changing %hooks to an "our" makes that work though. Yes, but my mind automatically recoils at using package globals like that. YMMV ;-) I

Mail attachment problems

2008-03-31 Thread abhilash s
Hello All, I am using qpsmtpd-0.32 with qmail-ldap. Now I am facing a strange problem, when I send mails with more than 1MB attachments. The error I got when I tried to send mail from yahoo mail to my email server is as follows : Hi. This is the qmail-send program at yahoo.com. I'm afraid I wasn