hereas before it was extensibility.
Any comments, ideas and criticisms are highly welcomed! Thanks!
Rian Hunter
On Sat, 2005-12-31 at 13:47, Brian J. France wrote:
> On Dec 31, 2005, at 1:23 PM, Rian Hunter wrote:
> > Any comments, ideas and criticisms are highly welcomed! Thanks!
>
> Any changes on how recipients and queue/deliver is handled?
>
> I started implementing my proposal
2.0, is
this still correct?
Rian Hunter
:
---begin_rfc822_message---
From: Rian Hunter <[EMAIL PROTECTED]>
To: Rian Hunter <[EMAIL PROTECTED]>
Subject: Testing.
Hi this is the body of the message.
---end---
mod_smtpd saves:
---begin body---
Hi this is the body of the message.
---end---
when normal mail clients usually show the body like thi
On Jan 10, 2006, at 11:57 PM, Paul Querna wrote:
Rian Hunter wrote:
"This version of Apache is principally a security and bug fix
release, and represents the best available version of Apache HTTP
Server."
That string is currently under the "Apache 2.0.55 Released&quo
ss with bouncing that would be a great help! The
code to look at is in
http://svn.apache.org/repos/asf/httpd/mod_smtpd/trunk/src/
smtp_protocol.c, the function is smtpd_bounce_unqueued
(smtpd_session_rec *). Thanks!!
Rian Hunter
ining an SMTP client but I may just end up doing that.
Rian Hunter
On Feb 3, 2006, at 5:36 PM, Paul Querna wrote:
Garrett Rooney wrote:
On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
+mod_smtpd started it's life as a 2005 Google Summer
of Code project
+taken on by Rian Hunter and Jem
Berkes with
+mentors Nick K
field
that specifies which mod_smtpd core commands are currently allowed. I
think I like this idea the best, what do you think?
Rian Hunter
On Feb 8, 2006, at 10:56 AM, Brian J. France wrote:
+1, I like the idea of the storing the setting in the per
connection instance. Leaving the default in the core and copying
it to an per connection struct would allow modules to tweak the
setting per connection.
One other addition to the
On Feb 8, 2006, at 11:22 PM, Brian J. France wrote:
On Feb 8, 2006, at 9:28 PM, Rian Hunter wrote:
On Feb 8, 2006, at 10:56 AM, Brian J. France wrote:
+1, I like the idea of the storing the setting in the per
connection instance. Leaving the default in the core and copying
it to an per
Hi Everyone,
I have written up some preliminary documentation (not done yet) that
describes how to write a module for mod_smtpd. It is based on the
format of the manualpage dtd used in the Apache Documentation
Project. I'm also planning on writing a modulesynopsis document for
users of mo
On Mar 31, 2006, at 6:42 AM, Jeff Trawick wrote:
On 3/28/06, Rian A Hunter <[EMAIL PROTECTED]> wrote:
On the httpd trunk in prefork.c ap_process_connection isn't called
until
there is data on the new connection (instead of just when a client
connects).
Is there a kernel accept filter ena
Hi,
So the Listen directive now takes an optional protocol argument. In
the documentation it states that if the protocol isn't specified then
if the port number is 443, it is set to "https" otherwise "http".
This seems like a good idea. What about if the port number is 25,
personally I wa
Paul A Houle wrote:
Jem Berkes wrote:
Hi all, I'm another student working on mod_smtpd
Been running httpd 2.x since it appeared, but am new to development.
What does mod_smtpd do? Is it a sendmail replacer or does it let
people request content via smtp or what?
It's a SMTP protocol f
Hi,
Currently there are two approaches we are looking at for mod_smtpd. We
can use the existing request_rec structure, and store smtp specific data
in a structure stucture in the r->request conf vector. With this we can
reuse some of the existing core hooks that make sense (handler,
create_re
Jem Berkes wrote:
To address one of the points brought up on IRC, if there is actually a
non-experimental target for this software any time soon it would make
more sense to support the 2.0 server as I think few production servers
would be running 2.1? I'm just speaking from what I saw, that is,
Ben Laurie wrote:
Another approach still would require a fairly large change to the core
and many modules, but it strikes me as a better option...
struct http_data {
.
.
.
};
struct smtp_data {
.
.
.
};
struct request_rec {
.
. /* common stuff */
.
stru
Jem Berkes wrote:
For example, for SMTP support we are contemplating the protocol unit
(mod_smtpd) passing on mail to a module that specifically delivers mail.
How do those two entities communicate with each other? A
mod_smtp_deliver would get a potentially large chunk of data (const
char* ?)
Hi,
This is my first attempt at writing an experimental version of
mod_smtpd. I don't yet have svn access yet so this code can be
downloaded from http://rian.merseine.nu/mod_smtpd-0.1.tar.gz.
This implementation shows my vision for mod_smtpd and it isn't
perfect, so please test/look at th
Nifty! I had some compilation problems involving regex, so in the
attached patch I use ap_regex.h and change some defines. Hope this
doesn't break anything.
that was a good idea, ap_regex.h was implictly getting included for me.
The other bug I partially fixed was, strstr in smtp_protocol.
On Jul 19, 2005, at 6:51 AM, Nick Kew wrote:
the problem i found when i did my poc is when there is in the
command,
different destination email. It's difficult here to keep the
virtualHost
scheme.
It would be nice to keep a conf file like
ServerName mail.bla.com
SmtpUserMap mail.bl
On Jul 19, 2005, at 7:39 PM, Jorge Schrauwen wrote:
Wouldn't something like
ServerName www.apache.org:81
ServerAlias httpd.apache.org internal_dev
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/error.log
TransferLog logs/access.log
SMTP On # like with mod_dav (dav on)
so reusing existing comma
While working on mod_smtpd and verifying it works with current httpd
I had a problem getting the ap_rgetline function to properly work
without calling ap_run_create_request(). I figured the root of this
problem was that core.c registers a net time filter that sets a
default timeout on the s
Hi,
I've checked in mod_smtpd 0.9 and its API should be completely frozen
by now. This version of mod_smtpd is heavily based on Qpsmtpd, so the
same extensibility you expect from Qpsmtpd can be achieved with this
version of mod_smtpd. I haven't written any documentation yet but
here is a
On Aug 14, 2005, at 1:22 PM, Joe Schaefer wrote:
snip...
+CURRENT RELEASE NOTES:
+
+ Virtual hosts a'la mod_ftpd don't work.
It does work like this:
Listen 80
Listen 25
NameVirtualHost *:80
NameVirtualHost *:25
ServerName localhost
DocumentRoot htdocs
ServerName localhost
On Aug 14, 2005, at 2:05 PM, Garrett Rooney wrote:
So I'm having a little trouble getting mod_smtpd to compile, once I
fixed up the configure script to find apxs and apache correctly, I
end up with the following error:
$ make
/usr/bin/apxs2 -Wc,"-Wall" -o mod_smtpd.la -c smtp_core.c
smt
On Aug 14, 2005, at 4:21 PM, Garrett Rooney wrote:
I was just looking at the smtpd_request_rec in mod_smtpd, and I had
a few questions.
It seems that extensions and rcpt info is being stored in an
apr_hash_t, but it's only being keyed by integer. If you're only
going to use ints as keys
On Aug 14, 2005, at 8:12 PM, Joe Schaefer wrote:
Rian Hunter <[EMAIL PROTECTED]> writes:
On Aug 14, 2005, at 1:22 PM, Joe Schaefer wrote:
+RELEASE SHOWSTOPPERS:
+
+
+ smtp_process_connection_internal should take a "smtp_proto_rec"
+ argument (which is what the current &
m not sure whether or not you don't check for NULL
on purpose. Could you explain? Thanks.
-rian
On Aug 14, 2005, at 8:52 PM, Garrett Rooney wrote:
Garrett Rooney wrote:
Rian Hunter wrote:
Ah I didn't even realize the key allocation, I'll fix that. Thanks!
The reason I don
On Aug 15, 2005, at 10:22 AM, Joe Schaefer wrote:
"Jem Berkes" <[EMAIL PROTECTED]> writes:
Well there's also another problem. RFC 2821 (SMTP) doesn't define a
particular message format for SMTP (in wide use there the RFC 822
and
MIME message formats). I don't think that mod_smtpd should as
On Aug 14, 2005, at 11:08 PM, Garrett Rooney wrote:
Rian Hunter wrote:
This patch looks good but I have some questions. You seem to use
the returned pointers from apr_array_push without checking if
they are NULL. Even in apr_array_push, apr_palloc is used without
checking for NULL
On Aug 15, 2005, at 10:05 PM, Garrett Rooney wrote:
Joe Schaefer wrote:
Garrett Rooney <[EMAIL PROTECTED]> writes:
Index: smtp_protocol.c
===
--- smtp_protocol.c(revision 232680)
+++ smtp_protocol.c(working copy)
[...
On Aug 16, 2005, at 6:37 AM, Nick Kew wrote:
Spooling and dealing with multiple recipients are things I'd like to
think about now. ISTR posting about this before: I think each
recipient
needs a separate request processing cycle, because each recipient may
have completely different processing
On Aug 16, 2005, at 6:47 AM, Nick Kew wrote:
Rian Hunter wrote:
[chop]
I think I should have looked harder before replying ... looks
like you've done more than I realised. I guess what I was
asking about slots easily in to data_post ?
Which question exactly?
-rian
On Aug 18, 2005, at 7:11 PM, Jem Berkes wrote:
Here is my current plan for introducing the RBL support in
mod_smtpd, using
the existing mod_dnsbl_lookup which I posted earlier. This way of
accomplishing the RBL support should not require any code
modification to
mod_smtpd itself. Nick and R
On Aug 19, 2005, at 9:58 AM, Brian J. France wrote:
On Aug 18, 2005, at 6:22 PM, Rian Hunter wrote:
Don't do this just yet, mod_smtpd is changing completely!
completely = structures/io. I should commit my changes very soon
so you can start working on this.
Any ETA on this? I wi
Hi,
I just have committed mod_smtpd with changes that free it from
request_rec. There are now two major structures in mod_smtpd:
smtpd_conn_rec, and smtpd_trans_rec. These are distinguished by how
often these get cleared.
Also mod_smtpd no longer uses the ap_getline and ap_rprintf functions
for I
Hi,
I just have committed mod_smtpd with changes that free it from
request_rec. There are now two major structures in mod_smtpd:
smtpd_conn_rec, and smtpd_trans_rec. These are distinguished by how
often these get cleared.
Also mod_smtpd no longer uses the ap_getline and ap_rprintf functions
for I
On Mon, 2005-08-22 at 23:17, Brian J. France wrote:
> Trying to build build a smtpd module, but having a problem. I added a
> line like this:
>
>smtpd_hook_connect( smtpd_access_dbi_connect, NULL, NULL,
> APR_HOOK_MIDDLE );
>
> in the register_hooks function, but when I load the module I g
On Mon, 2005-08-22 at 23:37, Garrett Rooney wrote:
> > Modified: httpd/mod_smtpd/trunk/mod_smtpd.h
> > URL:
> > http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/mod_smtpd.h?rev=235759&r1=235758&r2=235759&view=diff
> > =
On Tue, 2005-08-23 at 11:04, Brian J. France wrote:
> Is there a way to add more options to the EHLO response (an example)?
Sure. Extensions are registered on a per-connection basis. Ideally you
would register an SMTP extension at the connect hook like so:
---
smtpd_retcode default_conne
I've changed the hook system for mod_smtpd a little to allow more
flexibility and module cooperation. Basically it works like this now:
When a hook is called smtpd_run_*, each registered hook is called until
one returns something other than SMTPD_DECLINED or SMTPD_OK. If all the
hooks return SMTPD_
On Tue, 2005-08-23 at 11:04, Brian J. France wrote:
> On Aug 23, 2005, at 12:18 AM, Jem Berkes wrote:
> > I noticed a couple posts about examples, there is now one as I have
> > committed all the RBL stuff I wrote. See:
> >
> > https://svn.apache.org/repos/asf/httpd/mod_smtpd/trunk/mod_smtpd_rbl/
>
*, char
*parsed_address, apr_array_header_t *options);
The options won't be stored as name->value pairs: more like an array
of strings like "SIZE=5". Does that sound good?
Rian Hunter
ed of documentation and probably its own
website, both are coming soon.
Thanks!
Rian Hunter
On Sep 17, 2005, at 9:50 PM, Paul Querna wrote:
Sorry for bring this up so late
[ snip ]
Why are these APR Optional Functions?
Why can't they be AP_DECLARE_HOOK's?
-Paul
I decided that they should be optional because after talking to some
people I was under the impression that on
On Sep 17, 2005, at 8:35 PM, Garrett Rooney wrote:
On 9/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
+static int cleanup_socket;
This global worries me. How will it behave in a multithreaded MPM?
-garrett
Right, I'll fix that up.
-rian
On Sep 17, 2005, at 1:27 PM, Garrett Rooney wrote:
So I'm playing around with mod_smtpd_queue_smtp, a module that has
mod_smtpd "queue" messages by forwarding them on to another smtp
server, and I ran into a little snag.
It appears that in older versions of apache2 (2.0.53 in this case)
conn->
On Sep 18, 2005, at 3:30 PM, Paul Querna wrote:
Rian Hunter wrote:
On Sep 17, 2005, at 9:50 PM, Paul Querna wrote:
Sorry for bring this up so late
[ snip ]
Why are these APR Optional Functions?
Why can't they be AP_DECLARE_HOOK's?
-Paul
I decided that they should b
nnect_load) very soon for
incorporation into the modules tree.
Rian Hunter
On Thu, 2005-12-29 at 10:05, Philip M. Gollucci wrote:
> Can you do :
>
> cd /var/db/pkg
> ls -ld gnu-*
Nothing in there starts with gnu-
> and
>
> env | grep -i path
>
On Thu, 2005-12-29 at 10:05, Philip M. Gollucci wrote:
> Can you do :
>
> cd /var/db/pkg
> ls -ld gnu-*
nothing in the
52 matches
Mail list logo