You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rian A Hunter <ri...@MIT.EDU> on 2005/08/29 20:17:29 UTC

mod_smtpd filter support

Hi,

I just checked in support for input filters and header parsing in mod_smtpd.
This currently means little since there is no documentation on how to use
mod_smtpd or many example plugins. In the next few days (once I receive power)
I will have a couple of example plugins checked in (regular expression vrfy,
postfix queuer) and some minor documentation (maybe a tutorial + tutorial
plugin).

mod_smtpd now also depends on libapreq2 for rfc822 header parsing (configure
does not yet check if this is installed, patches welcome!!).

This mostly means that mod_smtpd is very close to completion. I expect some
bug-fixes and I plan on adding a one-recipient/one-transaction feature and a
message body reading abstraction, but other than that it seems to be in its
final working state. Features include:

- Hooks on every important SMTP event, with pre-done logic to handle denies and
disconnections.
- DATA command input filter support per transaction.
- RFC822 Header parsing via libapreq2
- Exported IO functions.

Have Fun!
-rian

Re: mod_smtpd filter support

Posted by "Brian J. France" <li...@firehawksystems.com>.
I needed the following patch to get one of my modules to build:

--- /usr/local/asf/include/mod_smtpd.h.orig     Mon Aug 29 16:03:40 2005
+++ /usr/local/asf/include/mod_smtpd.h  Mon Aug 29 16:03:55 2005
@@ -20,6 +20,7 @@
  #include "apr_pools.h"
  #include "apr_hash.h"
  #include "apr_file_io.h"
+#include "util_filter.h"
  #include "httpd.h"

  #ifdef __cplusplus


Otherwise I get an error like this:
In file included from mod_smtpd_load.c:23:
/usr/local/asf/include/mod_smtpd.h:110: error: parse error before 
"ap_filter_t"
/usr/local/asf/include/mod_smtpd.h:110: warning: no semicolon at end of 
struct or union

Brian

On Aug 29, 2005, at 1:17 PM, Rian A Hunter wrote:
> I just checked in support for input filters and header parsing in 
> mod_smtpd.
> This currently means little since there is no documentation on how to 
> use
> mod_smtpd or many example plugins. In the next few days (once I 
> receive power)
> I will have a couple of example plugins checked in (regular expression 
> vrfy,
> postfix queuer) and some minor documentation (maybe a tutorial + 
> tutorial
> plugin).
>
> mod_smtpd now also depends on libapreq2 for rfc822 header parsing 
> (configure
> does not yet check if this is installed, patches welcome!!).
>
> This mostly means that mod_smtpd is very close to completion. I expect 
> some
> bug-fixes and I plan on adding a one-recipient/one-transaction feature 
> and a
> message body reading abstraction, but other than that it seems to be 
> in its
> final working state. Features include:
>
> - Hooks on every important SMTP event, with pre-done logic to handle 
> denies and
> disconnections.
> - DATA command input filter support per transaction.
> - RFC822 Header parsing via libapreq2
> - Exported IO functions.
>
> Have Fun!
> -rian
>


Re: mod_smtpd filter support

Posted by Jem Berkes <jb...@users.pc9.org>.
> This mostly means that mod_smtpd is very close to completion. I expect
> some bug-fixes and I plan on adding a one-recipient/one-transaction
> feature and a message body reading abstraction, but other than that it
> seems to be in its final working state. Features include:

Thanks for the update Rian, glad I just caught your message now as I am in 
the process of moving (will be on highways for next few days) and due to 
moving/univ will probably not have computer access again until Sept. 8 or 
so.

Nick and/or other mentors, I sent an email to this effect and inquiring 
whether there was something else I am expected to do before September but I 
did not receive any replies.