Re: Bounce mailet bug?

2006-01-25 Thread Stefano Bagnara

Gabor Kincses wrote:

The Bounce mailet extends AbstractNotify which extends
AbstractRedirect that carries most of the
functionality.


Can you post the bug to our issue tracker?
http://issues.apache.org/jira/browse/JAMES

Thank you,
Stefano


The setSubjectPrefix() method is implemented in
AbstractRedirect that observes the incoming subject's
charset.  AbstractNotify in turns reimplements
setSubjectPrefix() without observing the charset,
possibly resulting in platform default encoding of the
subject.  This may not be desirable.

More specifically:
Subject: =?ISO-8859-5?Q?DE=E1=DE=D1=DD=EF=DA?=

becomes:
Subject:
=?Cp1252?Q?undelivered_mail_=3F=3F=3F=3F=3F=3F=3F?=

Seems wrong to me.  Removing the
AbstractNotify.setSubjectPrefix() seems to fix the
problem.

Hope this helps,
Gabor

Gabor Kincses
Running Mandrake Linux 10.0

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bounce mailet bug?

2006-01-25 Thread Gabor Kincses


--- Stefano Bagnara [EMAIL PROTECTED] wrote:

 Gabor Kincses wrote:
  The Bounce mailet extends AbstractNotify which
 extends
  AbstractRedirect that carries most of the
  functionality.
 
 Can you post the bug to our issue tracker?
 http://issues.apache.org/jira/browse/JAMES

Nope, can't find the new issue button.

86% unassigned?  Not interested in adding yet another
dead issue.  It's a 2-minute fix, I had already spent
7-minutes staring at the JIRA page in utter
befuddlement.  Makes no sense to me.

Sorry,
Gabor

 
 Thank you,
 Stefano
 
  The setSubjectPrefix() method is implemented in
  AbstractRedirect that observes the incoming
 subject's
  charset.  AbstractNotify in turns reimplements
  setSubjectPrefix() without observing the charset,
  possibly resulting in platform default encoding of
 the
  subject.  This may not be desirable.
  
  More specifically:
  Subject: =?ISO-8859-5?Q?DE=E1=DE=D1=DD=EF=DA?=
  
  becomes:
  Subject:
 
 =?Cp1252?Q?undelivered_mail_=3F=3F=3F=3F=3F=3F=3F?=
  
  Seems wrong to me.  Removing the
  AbstractNotify.setSubjectPrefix() seems to fix the
  problem.
  
  Hope this helps,
  Gabor
  
  Gabor Kincses
  Running Mandrake Linux 10.0
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


Gabor Kincses
Running Mandrake Linux 10.0

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bounce mailet bug?

2006-01-25 Thread Bernd Fondermann
come on, don't give up so fast.

go back to the JIRA page, hit log in and you can read:

Welcome to Apache's JIRA issue tracker!

Anyone is free to find issues. You must register and login if you want
to create, comment, vote, or watch issues.


so take a few seconds, register and participate.
James needs your user feedback, input and contribution.

please take into account the countless time which went into building
it, all being there at no additional cost than that.

you could even directly append the fix, which would be great.

thanks,

Bernd

On 25/01/06, Gabor Kincses [EMAIL PROTECTED] wrote:


 --- Stefano Bagnara [EMAIL PROTECTED] wrote:

  Gabor Kincses wrote:
   The Bounce mailet extends AbstractNotify which
  extends
   AbstractRedirect that carries most of the
   functionality.
 
  Can you post the bug to our issue tracker?
  http://issues.apache.org/jira/browse/JAMES

 Nope, can't find the new issue button.

 86% unassigned?  Not interested in adding yet another
 dead issue.  It's a 2-minute fix, I had already spent
 7-minutes staring at the JIRA page in utter
 befuddlement.  Makes no sense to me.

 Sorry,
 Gabor

 
  Thank you,
  Stefano
 
   The setSubjectPrefix() method is implemented in
   AbstractRedirect that observes the incoming
  subject's
   charset.  AbstractNotify in turns reimplements
   setSubjectPrefix() without observing the charset,
   possibly resulting in platform default encoding of
  the
   subject.  This may not be desirable.
  
   More specifically:
   Subject: =?ISO-8859-5?Q?DE=E1=DE=D1=DD=EF=DA?=
  
   becomes:
   Subject:
  
  =?Cp1252?Q?undelivered_mail_=3F=3F=3F=3F=3F=3F=3F?=
  
   Seems wrong to me.  Removing the
   AbstractNotify.setSubjectPrefix() seems to fix the
   problem.
  
   Hope this helps,
   Gabor
  
   Gabor Kincses
   Running Mandrake Linux 10.0
  
   __
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam
  protection around
   http://mail.yahoo.com
  
  
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bounce mailet bug?

2006-01-25 Thread Stefano Bagnara

Nope, can't find the new issue button.

86% unassigned?  Not interested in adding yet another
dead issue.  It's a 2-minute fix, I had already spent
7-minutes staring at the JIRA page in utter
befuddlement.  Makes no sense to me.

Sorry,
Gabor


I asked you to submit to the issue tracker because I only apply patches 
starting from the issue tracker. You can look at the JIRA log to see 
that closed REAL issue in the last few months.


I have currently no time but I wanted to fix the issue. The 2-minute fix 
is not a 2 minute fix because EVERY fix need a review and possibly a 
unit-test with the proof of the fixed bug.


If you can provide the test and the fix diff code it will make my work 
easier, but I want the issues in JIRA because I don't know when I have 
time, and JIRA is my todo list.


Issues unassigned are unassigned because no one is working on them or 
because they are feature requests that no one wants to implement. I 
thought to close many of them with won't fix but they don't hurt me so 
much.


That said, do what you prefer,
Stefano

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bounce mailet bug?

2006-01-25 Thread Stefano Bagnara

86% unassigned?  Not interested in adding yet another
dead issue.  It's a 2-minute fix, I had already spent
7-minutes staring at the JIRA page in utter
befuddlement.  Makes no sense to me.


PS: believe it or not but I've lost much more that 9 minutes to reply to 
user problems here on this forum and to apply patches to James (also for 
 components I don't actually use) in the last year.


Stefano

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bounce mailet bug?

2006-01-25 Thread Gabor Kincses
I just hate the red tape, but then: red tape for me,
todo list for you.  Fair enough.  I guess it might be
a JIRA usability issue.

Point about unit test is valid.  Had other
improvements that never made it (again not in JIRA,
just in server-dev), so I forked the James code about
a year ago and now I thought I'll contribute this one
back...

(BTW, whatever happened to Mr. Bergman's laptop that
was announced with great fanfare on the server-dev
early last year?  No issue is assigned to him...)

Thanks,
Gabor

P.S. Somebody outta write: Avalon, the kiss of death
for James.  ;-)

--- Stefano Bagnara [EMAIL PROTECTED] wrote:

  86% unassigned?  Not interested in adding yet
 another
  dead issue.  It's a 2-minute fix, I had already
 spent
  7-minutes staring at the JIRA page in utter
  befuddlement.  Makes no sense to me.
 
 PS: believe it or not but I've lost much more that 9
 minutes to reply to 
 user problems here on this forum and to apply
 patches to James (also for 
   components I don't actually use) in the last year.
 
 Stefano
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


Gabor Kincses
Running Mandrake Linux 10.0

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Eclipse

2006-01-25 Thread Steve Brewin
Steve Brewin wrote:

 Andrew Sykes wrote:
 
 
  It would be good if a .classpath could be added to the
  repository to aid
  importing into Eclipse.

 This would only be viable if everyone committing code was
 using Eclipse,
 thereby guaranteeing that the current .classpath was correct.
 No guarantee
 of that.

 Maybe someone knows of, or can conjure up, an Ant task that updates
 .classpath with the current contents the lib directories?

A quick google reveals a few Ant tasks that generate an Eclipse .classpath
file from the the class paths/ used by the javac/ task. When I get a
moment I will give them a whirl.

Interestingly, there are rather more that go the other way around and
generate Ant class paths/ from an Eclipse .classpath file. Not what we
want as the sole authorative source should be the paths/ used in the Ant
build.

-- Steve




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SpamDatabase.sql WhiteList.sql

2006-01-25 Thread nurularesya ;p
hello there...
  Now im done install james  succesfully using phoenix-src
  Im refer to implementing a spam filtering gateway with apache james 
documentation..here the link http://wiki.apache.org/james/SpamBlocking  
documentation link http://www.sans.org/rr/whitepapers/email/1358.php
  While following the method that need to download  install 
james-praxis..the link doesn't work...
  My question now...where can i get the SpamDatabase.sql  
WhiteList.sql..this file should have in james-praxis file..but the link 
doesn't work anymore...can anyone tell me where can i get the sql file?or 
something that can i do to create the sql file?can anyone help me... ;p
   
  thanks,
  nurularesya
   


-
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

RE: Bounce mailet bug?

2006-01-25 Thread Noel J. Bergman
 can't find the new issue button.

Did you login?

 86% unassigned?

Usually a name is assigned by whomever is picking it up.

--- Noel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cannot send using smtp client

2006-01-25 Thread sundeep Gelli
hi,

  I am a beginner and i am trying to send a mail to james using a 
simple smtp class.I followed all the smtp standards specified in smtphandler of 
james.But james is unable to recieve any mails from it.
with outlook everything is going fine.What could be the problem?
My code looks like this

try
 {

 System.out.println(InetAddress.getLocalHost());
 socket1=new Socket(18.157.56.221,25);
 System.out.println(Connecting to 
host...+socket1.getRemoteSocketAddress().toString());
 System.out.println(Local socket 
connection...+socket1.getInetAddress().getHostName());
 br= new BufferedReader(new InputStreamReader(socket1.getInputStream()));
 bw = new BufferedWriter (new OutputStreamWriter (socket1.getOutputStream()));

 ans=br.readLine();
 System.out.println(Server Response1:  +ans);

 bw.write(helo ahmz+c+d);
 bw.flush();
  ans=br.readLine();
 System.out.println(Server Response2 :  +ans);
 bw.write(MAIL FROM: [EMAIL PROTECTED]+c+d);
 bw.flush();
 ans=br.readLine();
 System.out.println(Server Response3 :  +ans);
 bw.write(RCPT To: [EMAIL PROTECTED]+c+d);
 bw.flush();
 ans=br.readLine();
 System.out.println(Server Response4 :  +ans);
 bw.write(Data+c+d);
 bw.flush();
 ans=br.readLine();
 System.out.println(Server Response 5:  +ans);
 bw.write(HI frnd, how r u);
 bw.write(.);
 bw.flush();
 socket1.close();
 System.out.println(Closed Connection with Server);
 }

 catch(IOException e)
 {System.out.println(Error in Connecting to Port);}


 }
 }

No error is being displayed from the server..Can anyone help me.I am using 
james 2.2.0 and jdk 1.5
Does james support jdk 1.1.8?


Thanx in advance

Bounce mailet bug?

2006-01-25 Thread Gabor Kincses
The Bounce mailet extends AbstractNotify which extends
AbstractRedirect that carries most of the
functionality.

The setSubjectPrefix() method is implemented in
AbstractRedirect that observes the incoming subject's
charset.  AbstractNotify in turns reimplements
setSubjectPrefix() without observing the charset,
possibly resulting in platform default encoding of the
subject.  This may not be desirable.

More specifically:
Subject: =?ISO-8859-5?Q?DE=E1=DE=D1=DD=EF=DA?=

becomes:
Subject:
=?Cp1252?Q?undelivered_mail_=3F=3F=3F=3F=3F=3F=3F?=

Seems wrong to me.  Removing the
AbstractNotify.setSubjectPrefix() seems to fix the
problem.

Hope this helps,
Gabor

Gabor Kincses
Running Mandrake Linux 10.0

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



help error while run build.bat svn trunk

2006-01-25 Thread nurularesya ;p
here i attach this error..could anyone help me out of this...im looking 4 
bayesian filter 4 my james project..please help me...
   
  --Error while run 
build.bat
   
  Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
  C:\Documents and Settings\Admincd C:\JamesTrunk
  C:\JamesTrunkbuild.bat
  James Build System
---
Buildfile: build.xml
  setup-dependencies:
  javamail-check:
  missing-dependency-noauto:
  

*
Classes needed for compiling James Mail Server against the mail-1.3.2 AP
I
are not available. The build may fail or some functionality may
not be available.
  Resource: mail-1.3.2.jar
  Recovery:
Get the mail-1.3.2 jar from the mail-1.3.2 distribution at
http://java.sun.com/products/javamail/
and place it in C:\JamesTrunk/lib.
  Please note that mail-1.3.2 is licensed under the Sun Binary Code 
Licens
e
and that by downloading it you are agreeing to that license. You can rea
d
this license at
http://java.sun.com/products/javamail/

*
   
  activation-check:
  missing-dependency-noauto:
  

*
Classes needed for compiling James Mail Server against the activation AP
I
are not available. The build may fail or some functionality may
not be available.
  Resource: activation.jar
  Recovery:
Get the activation jar from the activation distribution at
http://java.sun.com/products/javabeans/glasgow/jaf.html
and place it in C:\JamesTrunk/lib.
  Please note that activation is licensed under the Sun Binary Code 
Licens
e
and that by downloading it you are agreeing to that license. You can rea
d
this license at
http://java.sun.com/products/javabeans/glasgow/jaf.html

*
   
  check-dependencies:
  prepare-common:
Preparing code
  prepare-phoenix:
Phoenix distribution present - adjusting linefeeds and permissions, copying file
s
  prepare-jdbc3:
  prepare-mxinfo:
Writing Info descriptors as legacy xml.
  prepare-metainf:
  prepare:
  compile-main:
Compiling James Java sources
Compiling 308 source files to C:\JamesTrunk\build\classes
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:32: package javax.mail does not exist
import javax.mail.MessagingException;
  ^
C:\JamesTrunk\src\java\org\apache\james\services\MailRepository.java:22: package
 javax.mail does not exist
import javax.mail.MessagingException;
  ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:19: package javax.mail does n
ot exist
import javax.mail.MessagingException;
  ^
C:\JamesTrunk\src\java\org\apache\mailet\Mail.java:20: package javax.mail.intern
et does not exist
import javax.mail.internet.MimeMessage;
   ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:123: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
public void store(Mail mc) throws MessagingException {
  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:130: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
public Iterator list() throws MessagingException {
  ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:137: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
public Mail retrieve(String key) throws MessagingException {
^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:144: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
public void remove(Mail mail) throws MessagingException {
 ^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:151: cannot resolve symbol
symbol  : class MessagingException
location: class org.apache.james.mailrepository.MailStoreSpoolRepository
public void remove(Collection mails) throws MessagingException {
^
C:\JamesTrunk\src\java\org\apache\james\mailrepository\MailStoreSpoolRepository.
java:158: cannot resolve symbol
symbol  : class 

Can't find DNS for domain when domain does exist

2006-01-25 Thread Jerry Malcolm
I'm getting a bounce when trying to send mail to a valid domain.  I get an
error in the log that says it can't find the dns entry.  The dns entry is
clearly there when I do an nslookup.

However, I went to dnsreport.com and got the following error when it
analyzed the DNS for the domain:

===

FAIL MX A lookups have no CNAMEs WARNING: One or more of your MX records
points to a CNAME. CNAMEs are prohibited in MX records, according to RFC974,
RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
mxmail.register.com.-rcom-outblaze-com.mr.outblaze.com.-205.158.62.206

===

OK, seems pretty obvious that there's something wrong with the DNS.  But is
this what's causing James to be unable to send the mail?  Even if the error
is with the destination, my customer tells me other people have no problem
emailing this person.  So the question is, how can make James not be so
overly sensitive to this problem?

Thanks.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maintaining server names list automatically?

2006-01-25 Thread Jerry Malcolm
I host quite a few server names hosted with one James instance.  And server
names periodically come and go.  When I add a new client, I'd really like to
have an automated way to add the server name to the list.

I realize the brute force way is to write some sort of Perl or Rexx script
that parses the servername section out the config file and re-gen's the
config file with an updated list, then bounce the James server so it'll pick
up the change.  Seems awfully clumsy to have to do that.  But is that the
only way?  Is there a way to store the server list in a database table where
James can read it out and check periodically to see if the entries in the
table have changed?  Or am I doomed to have to write a script to gen the
config file?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]