Re[2]: SPAM Help

2003-08-14 Thread Miroslav Nachev
Could you be more specific? HJ> By the way, cross posting to three lists is very similar to HJ> spamming... Miro. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: James in production and DOS

2003-08-14 Thread Steven Job
On Thu, 7 Aug 2003, Serge Knystautas wrote: > Just finally got around to writing that up yesterday, so glad I could > use it so quickly. :) It's an excellent document. Some of the views I bet are controversal, but it does touch on all of the major points that I was thinking about. > If you

Re: 100% processor usage on win2k with large messages

2003-08-14 Thread Webmaster
Here's debug part from spoolmanager log. I'm wondering what is causing out-of-memmory messages... Regards 08/08/03 00:59:42 DEBUG spoolmanager: Begin processing mail Mail1060297173625-0 08/08/03 00:59:42 DEBUG spoolmanager: Processing Mail1060297173625-0 through root 08/08/03 00:59:42 DE

Quota check.

2003-08-14 Thread Steven Job
First of all I just was to say that I'm new to the James system. >From the outset it looks like one great system. Noel, you do a great job keeping this list and product updated. Kudos to you. I'm trying to figure this all out right now and I see that these matcher's almost are the brains for de

Using fetchmail

2003-08-14 Thread Herman Reintke
LS, I have seen in a post that fetchpop will be replaced by or fetchmail. As in fetchmail the option to keep messages on the server and ftech only new messages I would like to use it. Is it possible to use/implement fetchmail in the current james 2.1.3 environment ? If not, which version should

Re: Retrieving emails from other POP servers

2003-08-14 Thread Kenny Smith
Yes, please see the documenation on the http://james.apache.org site: http://james.apache.org/fetchpop_configuration_2_1.html Kenny Lee Hanxue wrote: Is it possible to configure James to collect email from other POP servers? -

Re: Write sent mail to db

2003-08-14 Thread Serge Knystautas
Timo Nentwig wrote: db://maildb/archive true This isn't a legal db URL. You'll see the syntax is supposed to be db:. Repository name can include /'s. I don't think there is such a thing as a default repository_name yet. -- Serge Knystautas President Lokitech >> soft

RE: Write sent mail to db

2003-08-14 Thread Noel J. Bergman
I just checked the thread history in eyebrowse. The correct info was provided on August 3rd. He started with db://maildb/sent I didn't catch that error immediately, but after another exchanged I did, and pointed out to him that it was wrong, and gave him a corrected entry, which I had tes

Re: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Clive Tonge
There only one address [EMAIL PROTECTED] Thanks Noel Noel J. Bergman wrote: While I can get the server (James ) to accept an email if I telnet into it and do it manually. I can't get the server (james) to accept the emails from any other source. So I can't get emails that are sent to me. W

RE: Write sent mail to db

2003-08-14 Thread Timo Nentwig
The following message was sent by "Noel J. Bergman" <[EMAIL PROTECTED]> on Sun, 10 Aug 2003 15:21:40 -0400. > without realizing that the structure was wrong again. Yes, you are right. I've to apologize... Thanks for having been so patient with me :-) Timo -

Re: is James really works alone ?

2003-08-14 Thread Hontvari Jozsef
James needs to connect to a DNS server if it delivers messages to remote destinations. I am not sure if it is needed if you only have local traffic. - Original Message - From: "wiuuh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 11, 2003 10:56 AM Subject: is James rea

RE: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Noel J. Bergman
> While I can get the server (James ) to accept an email if I telnet into > it and do it manually. I can't get the server (james) to accept the > emails from any other source. So I can't get emails that are sent to me. What is an address at that server? --- Noel ---

Unable to connect Sendmail and James

2003-08-14 Thread Christopher Cheng
I was unable to send connect Sendmail with James. I did everything stated in the documentation. I tried to add both "root" and "[EMAIL PROTECTED]" to James, still it says "Authentication Required". [EMAIL PROTECTED] SAR-INF]# mail -v [EMAIL PROTECTED] Subject: test . Cc: Null message body; hope t

FW: Resending Email From Repository

2003-08-14 Thread Chris D
Hello All, I have several messages that were meant to be delivered, but ended up in James SPAM repository. I have changed my config.xml so that these messages will no longer be identified as SPAM, and I would like to send some of the messages from the repository. Is it possible to move the emai

RE: Using fetchmail

2003-08-14 Thread Noel J. Bergman
> Is it possible to use/implement fetchmail in the current james 2.1.3 environment ? > If not, which version should I use to be able to use fetchmail ? You could backport Fetchmail to James v2.1.3, but the James project has no plans to do so. We will probably include Fetchmail in James v2.2.

Re: Question Concerning User Authentication

2003-08-14 Thread Marco Tedone
Well, I have the authorization setted on, and using Outlook Express on XP to send email, and the flag 'My server requires authentication' must be set to true if I want to send emails. Marco - Original Message - From: "Hutson Carspecken" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: We

Re: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Clive Tonge
Sorry I am not being clear. While I can get the server (James ) to accept an email if I telnet into it and do it manually. I can't get the server (james) to accept the emails from any other source. So I can't get emails that are sent to me. Everything else seems to working perfectly. Clive

RE: is James really works alone ?

2003-08-14 Thread Danny Angus
Obviously James doesn't look up ip addresses, but the address will have to be [EMAIL PROTECTED] Equally obviously James cannot send mail to domains unless you can resolve the IP address, but you do *NOT* need to be running DNS locally, you *only* have to be able to specify the DNS servers which Ja

Re: Db or dbfile?

2003-08-14 Thread Craig Raw
Thanks for your insights. Craig - Original Message - From: "Noel J. Bergman" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Monday, August 11, 2003 8:25 PM Subject: RE: Db or dbfile? > > I'm trying to determine the pros/cons between the db and dbfile > > persistanc

RE: Unable to connect Sendmail and James

2003-08-14 Thread Christopher Cheng
Tracing through the code, it seems that the line >>> MAIL From:<[EMAIL PROTECTED]> [EMAIL PROTECTED] causing problems for James James doesn't pickup "AUTH=..." in doMAIL of SMTPHandler unless it is in a seperated line. I am not an email expert, is this a problem of James or Sendmail config? [EMA

Re: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Clive Tonge
Hi all, It has been a week and a half of trying everything I can think of to get James to pick up, or accept the mail. I am finally making a bit of progress. Maybe from this information you can help me fix whatever is wrong. I can telnet to the server and pass James a message manually. Below i

RE: message.getRecipients(Message.RecipientType.BCC)

2003-08-14 Thread Jos Wietses
Thanks for your response! I still can't see what I'm doing wrong... If I use "mail.getRecipients()" the BCC is also included, but I want to know wich recipient(s) belongs to the BCC field... The code I'm using: public void service(Mail mail) throws MessagingException { try {

RE: message.getRecipients(Message.RecipientType.BCC)

2003-08-14 Thread Noel J. Bergman
> If I send an e-mail with one or multiple BCC's through James > and use "message.getRecipients(Message.RecipientType.BCC)" to > get the Rrecipients, I get a nullpointer exception. See RFC 2822, sections 3.6.3 and 5. Apparently your mailer is implementing the first option. --- Noel ---

RE: message.getRecipients(Message.RecipientType.BCC)

2003-08-14 Thread Danny Angus
Jos, Seems to me that there is nothing in the BCC field, because BCC isn't carried in the message as a header. If it was it'd be available for other people to read, which is exactly not the point of BCC. Therefore if you use JavaMail to create a BCC list it will be available to you until you send

RE: SPAM Ideas

2003-08-14 Thread Noel J. Bergman
> 1. James will reject the all connections from Mail Servers that are > in the SPAM Server list. At some point, I or someone else will do more with the fast-fail filters. See the 'Protocol-based "fast-fail"' section of http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV3/Plans If you insis

RE: Write sent mail to db

2003-08-14 Thread Danny Angus
this is only to specify inboxes, local deluvery adds the repository name based upon the username. sent is not invalid, but any repository must have a name as well as a table name. If you want to archive mail in inboxes you should use appropriat matchers and mailets or write a new mailet to sort it

Re: Cannot make HasHeader or SubjectStartsWith work

2003-08-14 Thread Marc de Oliveira
I get your point but I am not trying to remove footers. What I am trying to do is to only add the footer to the first mail of each thread by only adding footers to mails without the subject prefix ("[mylist]") and without a "Re:" string in the beginning of the subject. I believe that the SubjectSta

RE: Write sent mail to db

2003-08-14 Thread Timo Nentwig
The following message was sent by "Danny Angus" <[EMAIL PROTECTED]> on Wed, 6 Aug 2003 20:13:50 +0100. > Yes it can, it can mean that the mail no-longer exists by the time it > reaches the mailet. But it reaches its recipient (if the ToRepository thing is not enabled otherwise it does not of co

RE: [ANN] James v2.2.0a9 Test Build

2003-08-14 Thread Danny Angus
If you are writing mailets your mailet or matcher can set attributes on a message which will be available for other mailets/matchers to read. > -Original Message- > From: Marco Tedone [mailto:[EMAIL PROTECTED] > Sent: 06 August 2003 10:40 > To: James Users List > Subject: Re: [ANN] James

Re: handling different mime types

2003-08-14 Thread Serge Knystautas
Satish wrote: Though this may not be completely related to JAMES, but it's related to handling emails, so I'm posting it here with a hope that someone would give me a solution. I'm trying to read emails through a java application. Plain text emails are being read correctly, but HTML mails are throw

RE: Where are Cornerstone's source/bin published

2003-08-14 Thread Manuel Soto
> From: Noel J. Bergman <[EMAIL PROTECTED]> >To:James Users List <[EMAIL PROTECTED]> >Subject: RE: Where are Cornerstone's source/bin published >Date: Sun, 3 Aug 2003 14:30:11 -0400 >> Where are Cornerstone's files publiched? > >http://avalon.apache.org > >--- N

RE: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Noel J. Bergman
> I can telnet to the server and pass James a message manually. Below is > the log of the session to send an email. And it worked too. :-) Good, then what isn't? > I noticed that it did require the information to be in <>. Correct. That is part of the RFC. --- Noel

(POP3 can only have) one inbox?

2003-08-14 Thread Timo Nentwig
Hi! I would like to do some server-side sorting and put certain mail in certain repositories. This is not possible, is it? I do only have one inboxRepository, right? Timo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: Cannot make HasHeader or SubjectStartsWith work

2003-08-14 Thread Noel J. Bergman
Marc, > what about the SubjectStartsWith matcher? Frankly, I didn't look at it. There is no guarantee that the presence of a tag in the subject has any implication for the body content. For example, I will be deleting all the content from your message when completing this reply. There won't be

Cannot make HasHeader or SubjectStartsWith work

2003-08-14 Thread Marc de Oliveira
Hi, I am trying to prevent multible footers in my maillists using either AddHeader + HasHeader or SubjectStartsWith but neither solution seem to work. Can anybody help me out? AddHeader + Has Header solution (it seems that the added header is lost in the reply to a mail with the header):

Re: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Clive Tonge
Thanks Noel, I have turned on the debug for both the spoolmanager and the smtpserver. I have also shutoff the secondary MX. for the time being. Noel J. Bergman wrote: Did you turn on DEBUG for the spool manager to trace the message flow? The following is the Spoolmanager log. I can only see

extracting error code from bounce messages

2003-08-14 Thread Bosco So
I'm writing a bounce handler mailet. I hope to log the error code from the bounce to a database for later analysis. Does anyone know offhand where I can find Java source that extracts the error code from a bounce message? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BOSCO SO

[ANN] James v2.2.0a9 Test Build

2003-08-14 Thread Noel J. Bergman
The James v2.2.0a9 test build is available. PLEASE NOTE A NEW URL FOR DOWNLOADING! The URL for all test builds is http://cvs.apache.org/builds/james-server/test-build/. Change in this test build from James v2.2.0a8 include: Adding mail attributes support. Corrected file protocol URL, which

RE: Db or dbfile?

2003-08-14 Thread Noel J. Bergman
> I'm trying to determine the pros/cons between the db and dbfile > persistance implementations. Simple. db stores everything in the database. dbfile stores the headers and other status in the database, but stores the message body (potentially large) in the file system. Which is appropriate for

Re: SPAM Help

2003-08-14 Thread Hontvari Jozsef
By the way, cross posting to three lists is very similar to spamming... - Original Message - From: "Miroslav Nachev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 10:48 AM Subject: SPAM Help >Hi, > >Can you give me some suggestions on how to stop

RE: James in production and DOS

2003-08-14 Thread Noel J. Bergman
Steve, I've been running James in production, and have not had a problem. Spam is more of an issue that DoS. And I limit the size of messages. Besides which, what you consider DoS, someone else might consider a normal load. I think it is more important for James to scale and degrade gracefully

RE: Resending Email From Repository

2003-08-14 Thread Noel J. Bergman
Chris, The message would need to be moved into the spool, and the message_state changed. Perhaps someone will have time to do a quick and dirty mailet that does something like accept a subject with a repository and key, and repost it. If you are using JDBC repositories, this is something that yo

RE: SPAM Ideas

2003-08-14 Thread Noel J. Bergman
> one thing that I was hoping James could provide was programmatic fast-fail. > The reasons listed "for" this feature on the above page seem to miss the > most obvious: The ability to return an SMTP error to the sending MTA. I thought I had listed that; it certainly is one of my reasons. Although

RE: Errors starting James for the first time

2003-08-14 Thread Steve Short
The James distribution includes the Phoenix binaries you need to get James up and running, try using that before trying it with a later version of Phoenix. Steve > -Original Message- > From: rw [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 5:03 AM > To: James-users > Sub

Duplicate message handling?

2003-08-14 Thread Martin Woolley
Hi I'm a little confused by the behaviour on one of my matchers or perhaps more accurately, the behaviour of my james system as a whole! Some messages seem to be being processed twice by the spoolmanager though I'm not exactly sure. Here's the background, followed by the symptom: Background: I h

Re: Cannot make HasHeader or SubjectStartsWith work

2003-08-14 Thread Marc de Oliveira
> Are you saying that when someone replies, the HasFooter header isn't > preserved? Yes, that makes sense. The reply isn't the same message. > Imagine if it were a spam indicator, and replies had the same spam value as > the original. :-) I see what you mean but what about the SubjectStartsWith

RE: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Noel J. Bergman
> There only one address [EMAIL PROTECTED] I can't telnet into your smtp port from the outside, so unless it is temporarily down, you've got another problem. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

handling different mime types

2003-08-14 Thread Satish
Though this may not be completely related to JAMES, but it's related to handling emails, so I'm posting it here with a hope that someone would give me a solution. I'm trying to read emails through a java application. Plain text emails are being read correctly, but HTML mails are throwing exception

Re: SPAM Ideas

2003-08-14 Thread James Bucanek
Serge Knystautas wrote on Wednesday, August 6, 2003: >http://nagoya.apache.org/wiki/apachewiki.cgi?NoFastFail Hi, First of all, I'm new to the list. I haven't even set up James yet, but I have great plans for it! I'm a developer, and one thing that I was hoping James could provide was programm

Re: James in production and DOS

2003-08-14 Thread Serge Knystautas
Steven Job wrote: Thank you for your quick response. Just finally got around to writing that up yesterday, so glad I could use it so quickly. :) If I was to make a for loop (from i to 1,000,000) and send a 10Mb file to people with email address [EMAIL PROTECTED] (steve1, steve2, steve3, etc). W

RE: Write sent mail to db

2003-08-14 Thread Timo Nentwig
The following message was sent by "Danny Angus" <[EMAIL PROTECTED]> on Mon, 4 Aug 2003 22:48:09 +0100. > I think you need to look in the log files to see what is happening to the Cannot insert NULL?? 05/08/03 15:32:31 ERROR spoolmanager: Exception in processor java.lang.RuntimeException: Excep

RE: 100% processor usage on win2k with large messages

2003-08-14 Thread Noel J. Bergman
08/08/03 00:59:52 DEBUG spoolmanager.transport: Servicing Mail1060297173625-0 by Local Delivery Mailet 08/08/03 00:59:59 ERROR spoolmanager: Exception in JamesSpoolManager.run null java.lang.OutOfMemoryError Something is failing doing the store. What does this message look like? Which version of

RE: 100% processor usage on win2k with large messages

2003-08-14 Thread Noel J. Bergman
James v2.1.3 w/ 11 MB attachment Go into run.bat (phoenix.sh for non-Windows users) and increase the memory settings. There is a point where JavaMail will duplicate the message (it wants a copy because of a header being added for that instance), meaning it duplicates that 11MB attachment. It is

SPAM Ideas

2003-08-14 Thread Miroslav Nachev
Hi, I am looking for something like that: 1. James will reject the all connections from Mail Servers that are in the SPAM Server list. This list can be stored in XML or/and Database, becuase the SPAM Server Database have to be self-teaching. For example when I recieve so

RE: Re[2]: SPAM Help

2003-08-14 Thread Danny Angus
We don't like it when people post the same request to many different lists, in this case you should use the server-users@ list. People are subscribed to each list because they want to receive relevant messages, if everyone cross posted everyone would just receive three copies of each message. It

Errors starting James for the first time

2003-08-14 Thread rw
Hi to everybody. I am completely new to James, Phoenix and Java. This mailing server has been suggested to me by a friend. I am running on Windows XP SP1. I installed Phoenix 4.0.4 on my machine and I am running JDK 1.4.1_04-b01. As per instructions, I placed james.sar under the apps folder and st

Re: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Clive Tonge
The following is the smtpserver log. for the same period as the spoolmanger log that I just sent. Note: arts-council.ca is virtually hosted at tonge.ca. I notice that it is using the IP address of the card itself not the IP address that is asighned to it by ADSL /PPP. Would that have any bearing

RE: 100% processor usage on win2k with large messages

2003-08-14 Thread Noel J. Bergman
> I often have to send large messages and still getting the same problem > - message is put on spool ant then procesor starts to be eaten by > java.exe (james) and nothing else happens - message is not delivered. What version of James? What version of Java? File system or JDBC repositories? How

RE: Cannot make HasHeader or SubjectStartsWith work

2003-08-14 Thread Noel J. Bergman
> it seems that the added header is lost in the reply to a mail with the header Are you saying that when someone replies, the HasFooter header isn't preserved? Yes, that makes sense. The reply isn't the same message. Imagine if it were a spam indicator, and replies had the same spam value as the

Re: SPAM Ideas

2003-08-14 Thread Serge Knystautas
James Bucanek wrote: I'm a developer, and one thing that I was hoping James could provide was programmatic fast-fail. The reasons listed "for" this feature on the above page seem to miss the most obvious: The ability to return an SMTP error to the sending MTA. The reason I want this feature is so

Resending Email From Repository

2003-08-14 Thread Chris D
Hello All, I have several messages that were meant to be delivered, but ended up in James SPAM repository. I have changed my config.xml so that these messages will no longer be identified by SPAM, and I would like to send some of the messages from the repository. How can I move the emails from t

Re: James Isn't Picking Up Messages. SMTP error?

2003-08-14 Thread Clive Tonge
The following is the smtpserver log. for the same period as the spoolmanager log that I just sent. Note: arts-council.ca is virtually hosted at tonge.ca. I notice that it is using the IP address of the card itself not the IP address that is asighned to it by ADSL /PPP. Would that have any bearin

RE: Write sent mail to db

2003-08-14 Thread Danny Angus
Timo, Tables can contain more than one repository you need to specify a repostiory name eg.. db://maildb/archive/localarchive not only the table name like db://maildb/archive If this works for you I think you should realise that providing plenty of information at the start would have made thi

Re: James in production and DOS

2003-08-14 Thread Steven Job
Thank you for your quick response. I do see your points about Fast Fail and see why it could hamper a spammer. But how are the benchmarks for servers like this though. Would an ISP that accepts mail for thousands of domains be able to use this in production though? If I was to make a for loo

Re: 100% processor usage on win2k with large messages

2003-08-14 Thread Hontvari Jozsef
You should read conf\wrapper.conf - Original Message - From: "Webmaster" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 1:55 AM Subject: Re: 100% processor usage on win2k with large messages > Thx > > > Go into run.bat (phoenix.sh for non-Wi

Re: SPAM Ideas

2003-08-14 Thread Serge Knystautas
Noel J. Bergman wrote: 1. James will reject the all connections from Mail Servers that are in the SPAM Server list. If you insist on rejecting by IP today, you can have your mailet add the IP address to a list, and use ipchains or iptables to block that IP address. However, as noted in the abo

message.getRecipients(Message.RecipientType.BCC)

2003-08-14 Thread Jos Wietses
Hi, I'm using james 2.1.3 and I'm trying to get de BCC recipients form a message. If I send an e-mail with one or multiple BCC's through James and use "message.getRecipients(Message.RecipientType.BCC)" to get the Rrecipients, I get a nullpointer exception. Who can help me out? Jos Wietses

RE: Resending Email From Repository

2003-08-14 Thread Noel J. Bergman
> I have several messages that were meant to be delivered, but ended up in > James SPAM repository. > Is it possible to move the emails from the repository, to be processed > and delivered by James? This is the response I sent you last week when you originally posted this question. http://nagoya

Question Concerning User Authentication

2003-08-14 Thread Hutson Carspecken
Hello, I am trying to use User Authentication to prevent an Open Relay and hoped that I can get advice on how to set it up. Currently, I the standard config.xml for James 2.2.0a8 and I have the following two lines uncommented. true true Since I want my users to be able to connect from home

RE: Duplicate message handling?

2003-08-14 Thread Noel J. Bergman
> This suggests the corresponding matcher is being invoked twice > on the message in close succession. If you turn on DEBUG for the spool manager, you'll see which matchers are being called, and when. --- Noel - To unsu