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
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,
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...
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
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
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
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
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,
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:
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
-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
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'
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
-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
-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
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
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
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
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
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
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,
21 matches
Mail list logo