You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Brian J. France" <li...@firehawksystems.com> on 2005/09/30 15:54:05 UTC
new/update mod_smtpd modules
Here are some new or update mod_smtpd modules:
http://www.brianfrance.com/software/apache/
mod_smtpd_auth.tar.gz:
mod_smtpd_auth - core auth module
mod_smtpd_authm_plain - auth method plain
mod_smtpd_authm_login - auth method login
mod_smtpd_authm_crammd5 - auth method crammd5
mod_smtpd_authm_digestmd5 - auth method digestmd5
mod_smtpd_authv_dbd - auth verify/lookup via dbd
I have rewritten this module to use the unrecognized_command hook. It
uses defines a hook for methods and a hook for lookups and all method
code was split off into their own module.
mod_smtpd_access.tar.gz:
mod_smtpd_access - core access module - connection, greeting, from, to
mod_smtpd_accessl_dbd - lookup module via dbd
After finishing the auth rewrite I like the way it worked so I did the
same for the access module. mod_smtpd_access now has a lookup hook
that accessl modules can use to plugin. I will be adding a relay look
up once we have some way of setting relaying is allowed.
Warning: apreq has problems with multi-line headers and will core dump
when it gets them (has this been fixed?)
mod_smtpd_clamd.tar.gz
This is a module that sends the mail to clamd on the data_post hook.
It only works with TCP connections to clamd because apr doesn't support
unix domain sockets. Currently this module will bounce mail with
virus, but there is a option to not reject them. More features to come
like adding headers, rewriting subject and anything else I can come up
with.
mod_smtpd_spamd.tar.gz
This is a module that sends the mail to spamd on the data_post hook.
Currently this module will bounce mail that is spam if it over the spam
threshold + reject_level. More features to come like adding headers,
rewriting subject lines, etc.
mod_smtpd_load.tar.gz
This module just check the load on the server and can temporarily deny
connections.
Any news on the mod_ftp import? I can't seem to get at the needed
ssl_init_ssl_connection from mod_ssl. I have even tried to dlsym it
from the mod_ssl handle and I just get back NULL (of course this is on
my powerbook which doesn't break on dlopen so dlsym might not work
either). There must be a different way to upgrade a socket to ssl.
Brian
Re: new/update mod_smtpd modules
Posted by Luc Pardon <lu...@skopos.be>.
> mod_smtpd_spamd.tar.gz
> This is a module that sends the mail to spamd on the data_post hook.
> Currently this module will bounce mail that is spam if it over the spam
> threshold + reject_level. More features to come like adding headers,
> rewriting subject lines, etc.
Be careful with terminology !
Bouncing spam, as you say you're doing, is a really bad idea. The
message will get returned to the envelope sender address, which is more
often than not faked to be that of an innocent bystander, or even to
that of the real intended recipient.
If you want to reject spam, you should refuse it while in the SMTP
handshake, not accept it first and bounce afterwards.
I had a quick look at the source and it seems you're doing just that,
returning a 550. If that's true, you may want to s/bounce/reject/g to
prevent casual onlookers (like me) frowning on you.
Luc
Re: new/update mod_smtpd modules
Posted by Colm MacCarthaigh <co...@stdlib.net>.
On Fri, Sep 30, 2005 at 08:54:05AM -0500, Brian J. France wrote:
> mod_smtpd_clamd.tar.gz
> This is a module that sends the mail to clamd on the data_post hook.
> It only works with TCP connections to clamd because apr doesn't support
> unix domain sockets.
Unix Domain sockets are not portable beyond Unix, so there isn't much
reason to support them in APR. Since the unix domain socket API is
portable as-is (although using them on Solaris 10 is worth avoiding
right now!) within unix. mod_cgid is a good place to copy from if you're
interested in adding this support :)
> mod_smtpd_spamd.tar.gz
> This is a module that sends the mail to spamd on the data_post hook.
> Currently this module will bounce mail that is spam if it over the spam
> threshold + reject_level. More features to come like adding headers,
> rewriting subject lines, etc.
Cool!
--
Colm MacCárthaigh Public Key: colm+pgp@stdlib.net
Re: new/update mod_smtpd modules
Posted by Joe Schaefer <jo...@sunstarsys.com>.
"Brian J. France" <li...@firehawksystems.com> writes:
> Warning: apreq has problems with multi-line headers and will core dump
> when it gets them (has this been fixed?)
Yes, it's already fixed in trunk.
--
Joe Schaefer