I use VSS in my office, and never used CVS. Smirk. (still figuring how to play with CVS...) Related source files in http://legendzone.org/james121-patch.zip. Following classes modified: (I've included a diff-list.txt to tell where did I modify in these classes) org.apache.james.smtpserver.SMTPServer (with some fields changed from Private to Protected) org.apache.james.smtpserver.SMTPHandler (with some fields changed from Private to Protected, plus a createMailHeader() ) org.apache.james.James (added "import org.apache.james.esmtpserver.* and modified "new SMTPServer(...) to new ESMTPServer(...)" 4 classes added: org.apache.james.esmtpserver.ESMTPServer (inherited from the above SMTPServer) org.apache.james.esmtpserver.ESMTPHandler (inherited from the above SMTPHandler) org.apache.james.transport.matchers.AuthLogin org.apache.james.transport.matchers.AuthNotLogin ----- Original Message ----- From: "Harmeet Bedi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 2:40 PM Subject: proposal: add SMTP AUTH support was: I WANT MY USERS TO BE ABLE TO SEND MAIL (SIGH) > I think James would be richer if it had SMTP AUTH support. It seems to be a > well supported extension and could be useful. > The RFC is at http://www.innosoft.com/rfc/rfc2554.html > Some industry support for this at > http://members.elysium.pl/brush/smtp-auth/client.html and > http://members.elysium.pl/brush/smtp-auth/server.html > > What do you think ? > > Alec, would you be willing to contribute your SMTP Auth code for this under > Apache License ? > > Harmeet > > ----- Original Message ----- > From: "Alec Yu" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 15, 2001 12:01 AM > Subject: Re: I WANT MY USERS TO BE ABLE TO SEND MAIL (SIGH) > > > > 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] > > > > > > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
