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 Michael Motet <mi...@motet.dk> on 2004/10/11 08:09:14 UTC

How to make use of a whitelist from a database

have anyone tried to make a mailet, that uses a defined whitelist in a 
database to determine if sender is authorized to send mail to the users 
in the mailserver ?

-Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: How to make use of a whitelist from a database

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
The compile problem that  you report is related to James 3.x, and has 
nothing to do with the it.praxis.james classes themselves.

Anyhow, I advise you to compile and run with James 2.2.0 or a 2.2.1 test 
build, as I compiled and have the it.praxis classes running ok in 
production this way. I never tried with James 3.x.

Vincenzo

Michael Motet wrote:

> Just tried to build it, though I get some errors:
> --------------
> compile:
>     [echo] Compiling James Java sources
>    [javac] Compiling 12 source files to 
> D:\projects\JamesMailServer\build\classes
>    [javac] 
> D:\projects\JamesMailServer\build\src\org\apache\james\Constants.java:20: 
> cannot resolve symbol
>    [javac] symbol  : class MailetContextConstants
>    [javac] location: package mailet
>    [javac] import org.apache.mailet.MailetContextConstants;
>    [javac] ^
>    [javac] 
> D:\projects\JamesMailServer\build\src\org\apache\james\Constants.java:30: 
> cannot resolve symbol
>    [javac] symbol  : class MailetContextConstants
>    [javac] location: interface org.apache.james.Constants
>    [javac] public interface Constants extends MailetContextConstants{
>    [javac] ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 2 errors
> ------------------
>
> I placed the source under src/java and wanted to see how it build !
>
>
> -Michael
>
>
> Vincenzo Gianferrari Pini wrote:
>
>> Have a look at "Whitelist management" in 
>> http://portale.praxis.it/pub/james/readme.htm
>>
>> It should do what you need, or be a good starting point.
>>
>> Vincenzo
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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: How to make use of a whitelist from a database

Posted by Michael Motet <mi...@motet.dk>.
Just tried to build it, though I get some errors:
--------------
compile:
     [echo] Compiling James Java sources
    [javac] Compiling 12 source files to 
D:\projects\JamesMailServer\build\classes
    [javac] 
D:\projects\JamesMailServer\build\src\org\apache\james\Constants.java:20: 
cannot resolve symbol
    [javac] symbol  : class MailetContextConstants
    [javac] location: package mailet
    [javac] import org.apache.mailet.MailetContextConstants;
    [javac] ^
    [javac] 
D:\projects\JamesMailServer\build\src\org\apache\james\Constants.java:30: 
cannot resolve symbol
    [javac] symbol  : class MailetContextConstants
    [javac] location: interface org.apache.james.Constants
    [javac] public interface Constants extends MailetContextConstants{
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors
------------------

I placed the source under src/java and wanted to see how it build !


-Michael


Vincenzo Gianferrari Pini wrote:

> Have a look at "Whitelist management" in 
> http://portale.praxis.it/pub/james/readme.htm
>
> It should do what you need, or be a good starting point.
>
> Vincenzo
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: How to make use of a whitelist from a database

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
Have a look at "Whitelist management" in 
http://portale.praxis.it/pub/james/readme.htm

It should do what you need, or be a good starting point.

Vincenzo

Michael Motet wrote:

> have anyone tried to make a mailet, that uses a defined whitelist in a 
> database to determine if sender is authorized to send mail to the 
> users in the mailserver ?
>
> -Michael
>
> ---------------------------------------------------------------------
> 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: How to make use of a whitelist from a database

Posted by Michael Motet <mi...@motet.dk>.
I found a link in the maillist, think it can help me to go a littlew 
further.!



Michael Motet wrote:

> have anyone tried to make a mailet, that uses a defined whitelist in a 
> database to determine if sender is authorized to send mail to the 
> users in the mailserver ?
>
> -Michael
>
> ---------------------------------------------------------------------
> 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: How to make use of a whitelist from a database

Posted by "Noel J. Bergman" <no...@devtech.com>.
> have anyone tried to make a mailet, that uses a defined whitelist in a
> database to determine if sender is authorized to send mail to the users
> in the mailserver ?

It would be a matcher, not a mailet, and I'm not aware of one, but it would
not be difficult.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org