On Thu, 15 Jul 2004 11:24:57 -0400 John Peacock <[EMAIL PROTECTED]> wrote:
> Brian Grossman wrote: > > > RFC2821 allows for parameters following a MAIL FROM or RCPT TO command. > > Qpsmtpd doesn't seem to support them. > > Which other SMTP Service Extensions would you expect to ultimately be > supported? I see the following standard extensions: > The reason I ask whether there are other extensions which would need to > be supported is that the change can either be made to the base SMTP > module to support SIZE alone, or make it accept a parameter and require > plugins to handle the extensions (much like I just did with the AUTH > command). I hadn't really given any thought to other smtp service extensions, but I was assuming a generic implementation. Where would you recommend putting the parameter data? Would a dictionary reference passed to the mail and rcpt hooks work? The mail dictionary should also probably be saved in $transaction somewhere for the rcpt hooks to reference. Also, there would have to be a mechanism for plugins to add to the EHLO response, to advertise the capability. Brian
