@Benoit

Hi there!

But it is not wokring, I have no idea what IsInWhiteList.java is doing and I
couldn't add users into the database even when i set this:

<mailet match="SMTPAuthSuccessful" class="WhiteListManager"
onMailetException="ignore">
            <repositoryPath>db://maildb</repositoryPath>
            <automaticInsert>true</automaticInsert>
           
<whitelistManagerAddress>[email protected]</whitelistManagerAddress>
            <displayFlag>display</displayFlag>
            <insertFlag>insert</insertFlag>
            <removeFlag>remove</removeFlag>
         </mailet>

I tested using user1 sending to user2 and then user2 replying to user1.
Since it automatically adds, it should appear in the database but there was
nothing. So I do not understand what is localUser localAddress remoteUser
remoteAddress..

The way I do it is by a website by allowing the login user to add to
white/black list themselves. So they have control over this.

Regards
Ben



--
View this message in context: 
http://james.10919.n7.nabble.com/Help-Writing-my-own-custom-match-mailets-tp56706p56712.html
Sent from the James - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to