When comparing a mail sent to a maillist with one sent directly the
character set used is not the same.
1) When sending to a maillist the character set is: charset=Cp1252
2) When sending directly the character set is: charset=iso-8859-1
It seems that a lot of people that uses Outlook as the mail
On (2003/06/04 20:48), Marco Tedone wrote:
Noel, you will be pleased to know that by deploying jamailet directly under
SAR-INF/lib (thus not including it in the james.sar file) it works
perfectly.
And the crowd went absolutely bananas! :-)
Ciao,
Sheldon.
My question: how do I refer to plain ol' file resources from within a mailet
without hard-coding the full pathname? Failing that, is there an
interpolation service available to a mailet?
I have written a simple mailet to wrap an existing external service. The
service object originally expected to
There is a service, but it isn't exposed to the Mailet API. James uses it,
itself, as you can see from all of the file:// references.
Are you asking for the equivalent of ServletContext.getRealPath(String),
e.g., MailetContext.getRealPath(String)?
I don't have a problem with it. I've been
I don't know enough to know if that's the best thing to ask for. What I
would like (eventually) is to be able to package this mailet up into
james.sar such that it doesn't require editing the path to the
configuration file if it gets unpacked into a different location.
If something like
Mitchell,
I'm in favor of implementing MailetContext.getRealPath(String), with the
same caveat mentioned by Craig for ServletContext.getRealpath(String):
http://w6.metronet.com/~wjm/tomcat/2001/Feb/msg00294.html
For James v3, another approach would be to put the resource into a JNDI
context,
Hi all!
Does anybody have virus scanning mailet/matcher ready for production usage?
Actually even it needs changes i would be appreciate for link or for source code.
It became very urgent since new virus attack in Europe using holes in M$ Outlook.
--
Best regards,
james-subscribe
See http://www.mailet.org/directory.html
The antivirus invoker matcher works, and is catching the new W32/[EMAIL PROTECTED]
virus in my production system.
If you need any help let me know.
Vincenzo
-Original Message-
From: james-subscribe [mailto:[EMAIL PROTECTED]
Sent: venerdi 6
Hi new here!
My Prob.: I have configured James to use an Oracle database, but he tries to
create the tables everytime I start the service.
If the database is empty the service starts correctly but if the tables are
there I get an Exception(in the logs: that the tables already exist).
Thanks,
Steve,
you are right, in this case the message will be considered as not infected.
The point is that this header is written in order to have more flexibility writing
config.xml, and to avoid scanning more than once. The risk of having the sender of the
virus infected email adding *exactly*
But in fact is something to address, and my plans are to change it from
being a matcher that does everything to being a mailet that has 2 special
init parms:
a headerNamemy [EMAIL PROTECTED]/headerName and
a scanAlwaystrue/false/scanAlways.
If you could name the header as you want, I think the
Exactly what I mean having a new headerName init parameter in a *mailet*: to allow
for very personal, server specific header names like PepeGoesToTheBeach :-)
I could do it also in the current *matcher*, but as I said the matcher condition
string is already ugly.
Vincenzo
-Original
Vincenzo
Sounds like you are way ahead of me!
-- Steve
-Original Message-
From: Vincenzo Gianferrari Pini
[mailto:[EMAIL PROTECTED]
Sent: 06 June 2003 12:00
To: James Users List; [EMAIL PROTECTED]
Subject: RE: Virus scanning mailet/matcher
Steve,
you are right, in this
Hello Steve,
I think as far as recipient MTA gets this message it can overwrite envelop header
after corresponded virus scan.
Friday, June 6, 2003, 1:09:14 PM, you wrote:
SB Vincenzo
SB Just had a quick look at the docs for your virus scanner. One question. What
SB happens if the sender of the
Ok,
but the reason for all this, as said in my message, is to avoid scanning more than
once. Look at this example (in my own system):
1) A message is received.
2) The IsInfected matcher looks for the header, doen't find it, then scans, finds no
virus, writes the header saying that it is not
(you can simply bounce back a message with .scr, .pif, .exe etc.
attachments, especially in case of an email list)
- Original Message -
From: Vincenzo Gianferrari Pini [EMAIL PROTECTED]
To: James Users List [EMAIL PROTECTED]; james-subscribe
[EMAIL PROTECTED]
Sent: Friday, June 06, 2003
This is another story, and I'm doing it also right now.
But both techniques may be needed, as for example I'm blocking and bouncing back
messages with *.exe,*.com,*.bat,*.pif,*.scr,*.vbs,*.eml,*.avi,*.mp3,*.mpeg,*.shs,
but accepting *.doc and *.xls, that could be infected too and have to be
Noel J. Bergman wrote:
By the way, you should not be placing mailets into james.sar as of the next
release. James v2.2 (test versions already available) and later allow
mailets to be placed in SAR-INF/classes (class files) or SAR-INF/lib (jars).
It wouldn't take more than a few minutes to add
Noel J. Bergman wrote:
By the way, you should not be placing mailets into james.sar as
of the next
release. James v2.2 (test versions already available) and later allow
mailets to be placed in SAR-INF/classes (class files) or
SAR-INF/lib (jars).
Confirmed. When I upgraded to James
The point is that this header is written in order to have more flexibility
writing config.xml, and to avoid scanning more than once.
Mail attributes will fix this issue. You would set a header unless you need
to use a header to communicate with another MUA/MTA.
--- Noel
Hi, I want to enable debug for James.Mailet to get
more info, but after I changed the INFO to DEBUG in
environment.xml for category James.Mailet and restart
james, I could not find any difference in mailet log
file, anything am I missing?
Thanks
Hi, I want to enable debug for James.Mailet to get
more info
Mailet Logging isn't consistent with the rest of logging. A mailet can only
say to log or not; it has no log levels. What you need to do is to add
debugtrue/debug to each mailet that you want to debug.
--- Noel
James v2.2.0a4 is available for testing. This release contains few
enhancements over the v2.2.0a3 test build, but contains several fixes to new
features. This version is actively being tested, and is in use on at least
one production server (with live monitoring of its performance).
This
What version of James, what version of Oracle, what drivers, what OS, what
JVM, etc.
James uses meta data from JDBC to inquire about the existence of the tables.
--- Noel
-Original Message-
From: Maza, Mohamed [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 6:41
To:
24 matches
Mail list logo