You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Simon Clark <si...@zebraspot.com> on 2007/11/23 22:34:01 UTC
JAMES advice
I am still at the point of evaluating tools, and I think I have
settled on JAMES as the right tool for me, but before I start down
that long and winding road, I thought I would ask you guys for advice.
I am building what is essentially a large mailing list server as part
of a web site. I passed over other maillist specific tools because
they lacked the flexibility that I want. What I want to do is this...
When the server receives an email, check the to: and the from:
against a mySQL database that has been set up for the website as a
whole (I don't want to maintain two different DBs), and reject or
resend the mail as needed. I'd also like to insert some content into
the mail, and archive the contents in a mySQL database.
The Mailets seems like they should be great for this purpose, but I
am having difficulty finding useful samples. I will be able to
install and experiment in a week or so, but before then, I want to
get a firm grasp on the direction I am going in.
Simon Clark
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES advice
Posted by Norman Maurer <no...@apache.org>.
http://svn.apache.org/repos/asf/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/AddFooter.java
http://svn.apache.org/repos/asf/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/WhiteListManager.java
bye
Norman
Am Dienstag, den 27.11.2007, 23:34 -0500 schrieb Simon Clark:
> Thanks for the advice. I am going to humble myself now with more dumb
> questions...
>
> I have JAMES installed and running. It is happily passing email
> though in its default configuration. Now is the time to get into
> mailets and matchers. I went looking for the source code for the
> AddFooter mailet, and cannot find it. The other mailet you mentioned
> (whitelist? writelist?) I cannot find mention of anywhere. I suspect
> my next step is to implement and then modify one of these, but where
> are they found?
>
> Simon
>
> On 24-Nov-07, at 1:16 AM, Norman Maurer wrote:
>
> > Sound like JAMES is the right choice.
> >
> > If you want to see some example about sql usage in mailets look at the
> > witelist mailet. For example how to modify an email look at AddHeader
> > and AddFooter mailet.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES advice
Posted by Simon Clark <si...@zebraspot.com>.
Thanks for the advice. I am going to humble myself now with more dumb
questions...
I have JAMES installed and running. It is happily passing email
though in its default configuration. Now is the time to get into
mailets and matchers. I went looking for the source code for the
AddFooter mailet, and cannot find it. The other mailet you mentioned
(whitelist? writelist?) I cannot find mention of anywhere. I suspect
my next step is to implement and then modify one of these, but where
are they found?
Simon
On 24-Nov-07, at 1:16 AM, Norman Maurer wrote:
> Sound like JAMES is the right choice.
>
> If you want to see some example about sql usage in mailets look at the
> witelist mailet. For example how to modify an email look at AddHeader
> and AddFooter mailet.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES advice
Posted by Norman Maurer <no...@apache.org>.
Sound like JAMES is the right choice.
If you want to see some example about sql usage in mailets look at the
witelist mailet. For example how to modify an email look at AddHeader
and AddFooter mailet.
bye
Norman
Am Freitag, den 23.11.2007, 16:34 -0500 schrieb Simon Clark:
> I am still at the point of evaluating tools, and I think I have
> settled on JAMES as the right tool for me, but before I start down
> that long and winding road, I thought I would ask you guys for advice.
>
> I am building what is essentially a large mailing list server as part
> of a web site. I passed over other maillist specific tools because
> they lacked the flexibility that I want. What I want to do is this...
>
> When the server receives an email, check the to: and the from:
> against a mySQL database that has been set up for the website as a
> whole (I don't want to maintain two different DBs), and reject or
> resend the mail as needed. I'd also like to insert some content into
> the mail, and archive the contents in a mySQL database.
>
> The Mailets seems like they should be great for this purpose, but I
> am having difficulty finding useful samples. I will be able to
> install and experiment in a week or so, but before then, I want to
> get a firm grasp on the direction I am going in.
>
> Simon Clark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org