And there is our authoritative answer, thanks =)
-David
> -Original Message-
> From: Stefano Bagnara [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 16, 2005 4:56 PM
> To: 'James Users List'
> Subject: Re: James SMTP Auth Question
>
> Look at "SMTPAuthSuccessful" matcher.
> It does a lo
Look at "SMTPAuthSuccessful" matcher.
It does a lookup of the "org.apache.james.SMTPAuthUser" attribute in the
mail.
The attribute is either null or a String containing the username
authenticated.
Stefano
> Hmm I am not sure, if I were you I'd look it up in the James
> API and see what propertie
Hmm I am not sure, if I were you I'd look it up in the James API and see
what properties a Message or whatever name they use has. I remember it
had things like ghost and such.
Either way, if it doesn't - it would be a snap to add that property
there.
Ivan
>-Original Message-
>From: Davi
Right I know that too. But as a mail message is cruising through the
pipeline, is there some kind of tag or something on it that says, "Hey I was
given to James from an Authenticated client, so I'm legal to send out to
remote domains"?
-David
> -Original Message-
> From: Ivan Jouikov [ma
It's been a while since I set it up, but as far as I remember, SMTP auth
wasn't a mailet, it was set up inside SMTP server itself. After all,
it's a part of the protocol, not just some processing add-on.
>-Original Message-
>From: David Erickson [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, A
That is what I figured, but where at in the mailets is that defined? I mean
all mail goes through the same processing pipeline, so how does James know a
piece of mail destined for a remote address was given it from an AUTH'd
client versus a non-auth'd one?
-David
> -Original Message-
>
You kind of confused me there a bit, but here's my knowledge:
When Auth is turned on, you simply add an option for a client to
authenticate.
A client who is NOT authenticated can only send messages to local
address.
A client who is authenticated can also relay messages.
I hope that clears thing
> Try running james from a folder without spaces in the path.
Correct. That might not be the only problem, but the code that handles
loading entities doesn't appear to like having spaces in path names.
--- Noel
-
To un
Zyga
I suspect your problems started when you installed into a directory whose
name contained spaces. Many XML parsers baulk at this. I further suspect
that you followed Stefano's advice rather literally and moved the entire
>failed< installation to a directory without spaces and tried again. This
Yes but when you turn SMTP auth on, what is it really doing to the
processing pipeline? Because James will accept mail from anyone, auth'd or
not. It has to else messages delivered from other email servers with local
destinations would not be accepted. So the question is how then does James
know
Umm, it doesn't.
All the messages that arrive from "another mail server" could only
arrive with 2 purposes:
1) It's a message to a local account. When the message is local - we
automatically accept it.
2) If it's not a message to a local account - someone's trying to relay
thru you (probably
Just curious but how does James know the difference between mail sent in
from an authenticated user for remote delivery, from mail sent in from
another email server where the host is not local and needs remote delivery?
Thanks,
David
--
It would be nice, If u can send me staight to this
mail attachment of trunk u have. Thanks
--- Stefano Bagnara <[EMAIL PROTECTED]> skrev:
> > Yes it's strange no matter what im doind, still
> the same
> > error. Maybe it's something wrong with JDK 1.5?
> > Which version u are using?
>
> I'm usin
> Yes it's strange no matter what im doind, still the same
> error. Maybe it's something wrong with JDK 1.5?
> Which version u are using?
I'm using both jdk1.4 and 1.5 but I'm using james from current trunk.
If you're able to build from sources and download from a subversion
repository you can tr
I tried to run James from other computer with same JDK
version and im getting the same error..
--- Stefano Bagnara <[EMAIL PROTECTED]> skrev:
> > Thats my output after launching it:
> >[..]
> > rethrown from
> > org.xml.sax.SAXParseException: Attribute "class"
> was already
> > specified for elem
Yes it's strange no matter what im doind, still the
same error. Maybe it's something wrong with JDK 1.5?
Which version u are using?
--- Stefano Bagnara <[EMAIL PROTECTED]> skrev:
> > Thats my output after launching it:
> >[..]
> > rethrown from
> > org.xml.sax.SAXParseException: Attribute "class"
> Thats my output after launching it:
>[..]
> rethrown from
> org.xml.sax.SAXParseException: Attribute "class" was already
> specified for element "accounts".
> at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.cr
> ParseException(ErrorHandlerWrapper.java:236)
> at
Thats my output after launching it:
C:\james-2.2.0\bin>run.bat
Using PHOENIX_HOME: C:\james-2.2.0
Using PHOENIX_TMPDIR: C:\james-2.2.0\temp
Using JAVA_HOME: C:\Program
Files\Java\jdk1.5.0_01
Phoenix 4.0.1
There was an uncaught exception:
-
Don't you get any other output in the console when your launch "run.bat"?
Stefano
> No i didn's install any xml parser.my JVM is 1.5. Yes i tried
> to remove it,still the same. I read in one forum that it can
> be becouse needed ports are not available, bet from log file
> i dont think that it
Look at this
http://translate.google.com/translate?hl=en&sl=zh-CN&u=http://www.matrix.org.cn/thread.shtml%3FtopicId%3D7850%26forumId%3D17&prev=/search%3Fq%3D%252Bjames%2B%252BPhoenix%2Bwas%2Bnot%2Bstarted%2Bby%2Bthe%2Bdaemon%2Bthus%2Bit%2Bwill%2Bnot%2Bbe%2Bpossible%2Bto%2Brestart%2Bthe%2BJVM%2Bvia%
No i didn's install any xml parser.my JVM is 1.5. Yes
i tried to remove it,still the same. I read in one
forum that it can be becouse needed ports are not
available, bet from log file i dont think that it's
connected withthat somehow. Can't it be connected with
my JVM that i cant start it?
--- Ste
> No i didnt do any changes in config.xml and none other file,
> coz like i understood from documentation it have to start the
> server without any changes done and extract files.I places
> james on C:\james-2.2.0, but still the same problem..
Yes, it should work without changes.
What is your
No i didnt do any changes in config.xml and none
other file, coz like i understood from documentation
it have to start the server without any changes done
and extract files.I places james on C:\james-2.2.0,
but still the same problem..
--- Stefano Bagnara <[EMAIL PROTECTED]> skrev:
> > Here are t
> Here are they:)
Try running james from a folder without spaces in the path.
Have you changed config.xml or james-fetchmail.xml ? Can you post your
changes?
Stefano
> ERROR 2005-08-16 01:37:24.379 [Phoenix.] (): Error
> building configuration from file:/C:/Documents and
> Settings/Lanex/Desk
Here are they:)
INFO2005-08-16 01:37:23.698 [Phoenix ] (): Logger
started
WARN2005-08-16 01:37:23.778 [Phoenix ] (): Phoenix
was not started by the daemon thus it will not be
possible to restart the JVM via the Management
interface.
INFO2005-08-16 01:37:23.958 [Phoenix.] ():
Installing
> Here im attaching my logs file.
Didn't work (probably the mlm mungled it).
Paste the logs in the mail body.
> > Did you change the config.xml?
> > What changes have you done?
> > Please report the full log! usually phoenix will report a big
> > stacktrace in similar exceptions: we need it :-)
Here im attaching my logs file.
--- Stefano Bagnara <[EMAIL PROTECTED]> skrev:
> Did you change the config.xml?
> What changes have you done?
> Please report the full log! usually phoenix will
> report a big stacktrace in
> similar exceptions: we need it :-)
>
> Stefano
>
> > -Messaggio ori
Did you change the config.xml?
What changes have you done?
Please report the full log! usually phoenix will report a big stacktrace in
similar exceptions: we need it :-)
Stefano
> -Messaggio originale-
> Da: zyga lanex [mailto:[EMAIL PROTECTED]
> Inviato: martedì 16 agosto 2005 12.28
>
Hi,
I have a problem starting a server, when ever i try to
start server by invoking run.bat file, o allways get
error which looks like:
Using PHOENIX_HOME: C:\Documents and
Settings\Lanex\Desktop\james\james-2.2.0\
james-2.2.0
Using PHOENIX_TMPDIR: C:\Documents and
Settings\Lanex\Desktop\james\
29 matches
Mail list logo