RE: Virus scanning mailet/matcher

2003-06-06 Thread Steve Brewin
a mailet to avoid having an ugly matcher condition string as is currently used. Vincenzo -Original Message- From: Steve Brewin [mailto:[EMAIL PROTECTED] Sent: venerdi 6 giugno 2003 12.09 To: 'James Users List' Subject: RE: Virus scanning mailet/matcher Vincenzo

Is this a valid From: address?

2003-05-31 Thread Steve Brewin
Hi, org.apache.mailet.MailAddress throws a parse exception proceessing the following From: address... nlt: Mail Administrator My reading of RFC 822 suggests that MailAdress is correct, this is an invalid From: address. Firstly, am I correct? Secondly, assuming MailAddress and I are correct,

RE: Is this a valid From: address?

2003-05-31 Thread Steve Brewin
Noel, org.apache.mailet.MailAddress throws a parse exception proceessing the following From: address... nlt: Mail Administrator What exactly is the exception? Text and stacktrace context would be helpful. OK. Changed the code to print a stacktrace and here it is...

RE: Is this a valid From: address?

2003-05-31 Thread Steve Brewin
Danny, javax.mail.internet.ParseException: Out of data at position 26 no @ presumably.. can james handle a quoted local part without an @ is the question. d. Well MailAddress expects an @, hence the exception. My feeling is that James should be agnostic to originator addresses and

RE: Is this a valid From: address?

2003-06-01 Thread Steve Brewin
My feeling is that James should be agnostic to originator addresses and propogate them as is. That would be propagating invalid content that cannot be used to reply: The SMTP handler would, and should, reject those addresses when passed via SMTP. The way I see it is there are two

RE: Is this a valid From: address?

2003-06-02 Thread Steve Brewin
Noel, RFC 2821 section 3.8.4 applies to gateways. My point (2) refers to MTAs acting as a relay. From RFC 2821 section 3.7, Relaying... As discussed in section 2.4.1, a relay SMTP has no need to inspect or act upon the headers or body of the message data and MUST NOT do so except to add its own

RE: Is this a valid From: address?

2003-06-02 Thread Steve Brewin
Since POP3 isn't SMTP, it does seem to me that the gateway concept does apply. RFC2821 is clear enough. If James/fetchMail is only delivering locally, it is not an SMTP gateway as defined therein. Semantically, it is a gateway between a POP3/IMAP server and James' SMTP spool, but that isn't

RE: Step by step guide

2003-06-02 Thread Steve Brewin
Also, be sure to read and act on the comments in 'config.xml' indicating where things need to be changed. You will also find it helpful to uncomment the 'notifyPostmaster' snippets to get notification when things fail. You will need to add 'Postmaster' as a local user using the telnet interface,

James is featured on IBM DeveloperWorks

2003-06-11 Thread Steve Brewin
I bet this increases the number of downloads! Working with James, Part 1 An introduction to Apache's James enterprise e-mail http://www-106.ibm.com/developerworks/java/library/j-james1.html -- Steve - To unsubscribe, e-mail:

Correct version of the xdocs?

2003-06-12 Thread Steve Brewin
Hi, Is http://james.apache.org/index.html using pages generated from the correct version of the xdocs? For instance, http://james.apache.org/provided_matchers_2_1.html lists AttachmentFileNameIs as a provided matcher, but this is in neither the source or binary distributions of 2.1.3. Nor is it

RE: Correct version of the xdocs?

2003-06-12 Thread Steve Brewin
-Original Message- From: Danny Angus [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 11:42 To: James Users List Subject: RE: Correct version of the xdocs? Is http://james.apache.org/index.html using pages generated from the correct version of the xdocs? The docs on the site

RE: Available SMTP server for use with javax.mail

2003-06-12 Thread Steve Brewin
Daniel, James contains an SMTP server. If your project is simply to use javax.mail to send a message to an SMTP server, you don't need to worry about all the configuration stuff. Just run James on the same machine as you test the code you are developing. James' default settings allow 'localhost'

RE: DNS for JAMES

2003-06-13 Thread Steve Brewin
Since you are running Windows, open a command prompt, type 'ipconfig /all' and use the DNS servers you see listed there. -- Steve -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 11:29 To: James-User (E-mail) Subject: DNS for JAMES I setting up

RE: Fetchmail (was Re: Is this a valid From: address?)

2003-06-16 Thread Steve Brewin
-Original Message- From: tobe [mailto:[EMAIL PROTECTED] Sent: 15 June 2003 12:27 To: James Users List Subject: Fetchmail (was Re: Is this a valid From: address?) Steve Brewin wrote: Tobe, I am a bit concerned about will only deliver locally. How do you ensure that? My musings

RE: Fetchmail (was Re: Is this a valid From: address?)

2003-06-17 Thread Steve Brewin
-Original Message- From: tobe [mailto:[EMAIL PROTECTED] Sent: 17 June 2003 00:15 To: James Users List Subject: Re: Fetchmail (was Re: Is this a valid From: address?) Steve, you seem to have thought a lot about this. Light relief from the day job. As long as I can handle the

RE: Matchers X Window

2003-06-19 Thread Steve Brewin
Vincenzo You will not get the problem under Win2K, its Solaris specific. Looking at the stack trace, its triggered when... it.praxis.james.matchers.IsInfected.dumpPart(IsInfected.java:418) invokes... javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:564) ...while processing a

XML Entities in config.xml

2003-06-20 Thread Steve Brewin
Hi, Has anyone had any success bringing XML entities into James' config.xml using something like this... ?xml version=1.0? !DOCTYPE config [!ENTITY testScript SYSTEM ./testScript.xml] config testScript; /config Xerces is throwing a MalformedURLException saying that ./testScript.xml lacks a

RE: XML Entities in config.xml

2003-06-20 Thread Steve Brewin
Has anyone had any success bringing XML entities into James' config.xml using something like this... ?xml version=1.0? !DOCTYPE config [!ENTITY testScript SYSTEM ./testScript.xml] config testScript; /config Solved it! Works with the following... ?xml version=1.0? !DOCTYPE config

RE: Correct version of the xdocs?

2003-06-24 Thread Steve Brewin
Noel, Is http://james.apache.org/index.html using pages generated from the correct version of the xdocs? As Danny said, we'll be separating the site docs into its own repository. As a quick fix, how about updating the docs. in the CVS head so that the documentation link on the main

RE: How to hook into James/Phoenix Logging routines ?

2003-06-25 Thread Steve Brewin
If you want to use mailet logging you are going to have to pass your XmlRpcHandler an object that implements org.apache.mailet.MailetContext as this is the interface that defines the logging methods. One way to get such an object is with the getMailetContext() method in GenericMailet. -- Steve

RE: Saving session information

2003-06-25 Thread Steve Brewin
Look at org.apache.mailet.Mail getAttribute() setAttribute(). Seems to be what you are looking for. Never tried it though. -- Steve -Original Message- From: Jim Janson [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 21:52 To: James Users List Subject: Saving session information Hi,