I've developed 2 mailets to allow authentication via SMTP service extension of "AUTH 
LOGIN";
but the mailet reqires cooperation of some modified code in 
org.apache.james.smtpserver.SMTPHandler.

One of these 2 mailets named "AuthLogin", checks if the mail sending user logged in as 
some JAMES user;
the other, named "AuthNotLogin", checks if the mail sending user not logged as some 
JAMES user.

To allow your users to send mail with Outlook/Outlook express SMTP login feature,
what you need to do is to change the spam check matcher from NotInNetwork to
AuthNotLogin.

----- Original Message ----- 
From: "fractals" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 5:36 AM
Subject: I WANT MY USERS TO BE ABLE TO SEND MAIL (SIGH)


> Now, putting the mailets in the documented way (like in the sample
> JAMES.conf.xml: see below), I cannot let my users send mail.
> 
> I need more explanations on this !
> 
> Now what is clear to me now is that this "anti-spam" mailet prevents spammer
> to send mails that are NotInNetwork. It should be clear that this rule
> applies when the mails sender is not one of the local users.
> 
> My question is very simple:
> 
> How do I setup James so that the mails that are written by local users ARE
> ALLOWED to be sent outwards, and those which are written by unknown people
> get into dev/null.
> 
> 
> 
> The mailets in the right order:
> 
> <mailet match="RemoteAddrNotInNetwork=127.0.0.1, <here comes my network>"
> class="ToProcessor">
>     <processor> spam </processor>
> </mailet>
> 
> and:
> 
> <mailet match="All" class="RemoteDelivery">
>     <outgoing> file://../var/mail/outgoing/ </outgoing>
>     <!-- <outgoing> town://mail-outgoing </outgoing>-->
> <delayTime> 21600000 </delayTime>
> <maxRetries> 5 </maxRetries>
> </mailet>
> </processor>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to