Re: How to run james 2.3.2 imported into Eclipse?

2011-06-18 Thread Bernd Waibel
Hello SuoNayi, i normally do not want to disagree what Norman said, he knows more about james than I do. But i have james 2.3.2 running in eclipse, even for debugging. It is not "a maven checkout", like you have. I just downloaded the james 2.3.2 binaries, build my own project, and added the java-

AW: James gateway server

2014-03-26 Thread Bernd Waibel
nts. I do not know about the V3, because we do not want to use pre-release versions in production. We will switch to V3 after public release. Regards, Bernd Waibel   -Ursprüngliche Nachricht- Von: Patwardhan, Kaustubh [mailto:kaustubh.patward...@capgemini.com] Gesendet: Mittwoch

AW: Extend JAMES 2.3.2 JMX

2014-08-06 Thread Bernd Waibel
Hi Mahesh, we done something like that in v232 (do not use 3.0 currently). But with limits: - we use only our own defined JMX attributes, we do not use any of the James JMX attributes or methods. - I am not sure, but I think we were not able to access the james jmx attributes when we do this. -

AW: Ignore email after processing

2014-08-12 Thread Bernd Waibel
Hello Mahesh, if you would like to use Mailets, you could change the state of the mail (the mail object). - If you set it to "GHOST", it will be deleted and not stored. - If you set it to "ERROR", it will be transported to the "error" processor (may store it, may deleted, whatever configured in

AW: Ignore email after processing

2014-08-12 Thread Bernd Waibel
can have my custom Mailet instead of the following local delivery element.. And have my mailet take a decision on setting the state as GHOST/ERROR or something else based on the processing. Rite ? Thanks Mahesh On Tue, Aug 12, 2014 at 6:44 PM, Bernd Waibel wrote: > Hello Mahesh, >

AW: RE: James 2 Emails with Attachments and Missing Start Boundary Error

2014-09-02 Thread Bernd Waibel
Hi i would like to make clear that this depends of the used mail.jar (javax developed by sun, i think). The version used in james 2.3.2 is a little bit old and does not support all of the properties you mentioned. So not james is ignoring it, the mail.jar simply does not know this properties.

AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned]

2014-09-17 Thread Bernd Waibel
Hi, this may not be a matter of james, but it need to get fixed. Maybe check this: Do your server accept mails from extern addressed "from: some...@somewhere.de" to "unknownu...@yourdomain.de"? So the Reply may be the spam. Do your server accept mails from extern addressed "from: " (means no

AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned]

2014-09-17 Thread Bernd Waibel
? -Ursprüngliche Nachricht- Von: Bernd Waibel [mailto:bwai...@intarsys.de] Gesendet: Mittwoch, 17. September 2014 13:13 An: James Users List Betreff: AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned] Hi, this may not be a matter of james, but it need to get fixed. Maybe check this: Do your server

AW: AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned]

2014-09-17 Thread Bernd Waibel
Hello Pete, check your config.xml. 1. In your "RemoteDelivery" mailet (or the mailets, could be more than one), you should set your hostname for the "sender" side. The hostname must be the same as defined in your MX Record in the public DNS. So if your Sender-Domain is "mydomain.de", and your M

AW: AW: AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned]

2014-09-18 Thread Bernd Waibel
Yes, this may be the problem. Or part of it. The mail server should always use exactly the name of the mx record, und should always use the IP address of the mx record. If you have a firewall and using NAT or SMTP Proxy, the external IP address of your mailserver could be hidden by the firewall.

AW: AW: AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned]

2014-09-18 Thread Bernd Waibel
Sorry, forgotten type=mx, should be: C:\Users\bwa.IS>nslookup -type=mx mydomain.com -Ursprüngliche Nachricht- Von: Bernd Waibel [mailto:bwai...@intarsys.de] Gesendet: Donnerstag, 18. September 2014 11:46 An: James Users List Betreff: AW: AW: AW: Urgent Spamhaus Help Needed - ja

AW: AW: AW: AW: Urgent Spamhaus Help Needed - james 2.3.2 [unsigned]

2014-09-18 Thread Bernd Waibel
> Subject: AW: AW: AW: Urgent Spamhaus Help Needed - james 2.3.2 > [unsigned] > Date: Thu, 18 Sep 2014 09:48:27 + > > Sorry, forgotten type=mx, should be: > > C:\Users\bwa.IS>nslookup -type=mx mydomain.com > > -Ursprüngliche Nachricht- >

AW: 2.3.2 LocalDelivery in Windows [unsigned]

2014-10-06 Thread Bernd Waibel
Hi, the address 0:0:0:0:0:0:0:1 is the IPv6 loopback adapter (not the IPv4 localhost). This means the same as 127.0.0.1 in IPv4, but it is not the same. You may consider not using IPv6 (turn IPv6 off in your host network adapter settings). If you need to use IPv6, your IPv6 localhost (0:0:0

AW: Does james re-use messageID? [unsigned]

2014-10-20 Thread Bernd Waibel
Hi Giri, your question is somehow unclear to me. So I try to clear some things up. There is a "message ID" and a "message number". According to RFC every mail SHOULD have a Header-Field "message-id". (See https://tools.ietf.org/html/rfc2822 Chapter 3.6.4). But "in the wild" we observe a lot of ma

AW: Does james re-use messageID? [unsigned]

2014-10-21 Thread Bernd Waibel
ons for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Tue, Oct 21, 2014 at 8:57 AM, Bernd Waibel wrote: > Hi Giri, > > your question is somehow unclear to me. So I try to clear some things up. > There is a "message ID" and a &qu

AW: Re: James 3 b4 HELO Override Not Working? [unsigned]

2014-10-27 Thread Bernd Waibel
Hi Jerry I am not using v3 but: Could you try setting the parameter "-Djava.mail.localhost=mail.jwmhosting.com" in the java startup command line? Most java.mail parameters are only parsed on startup by the vm. Ciao. Bernd Ursprüngliche Nachricht Von: Jerry Malcolm Datum:

AW: James 3 b4 HELO Override Not Working? [unsigned]

2014-10-28 Thread Bernd Waibel
Hello Robert, please keep in mind for "mulithomed" servers, or servers with more than one network card. So I have some remarks: Remarks to "mail.smtp.localhost": -- As I could remember, the "mail.smtp.localhost" and other properties are defined by SUN. ht

AW: Proposals for the call for logo [unsigned]

2014-12-11 Thread Bernd Waibel
Hello together, I had a look at the logos, very nice, and would like to share my opinion. My very own opinion is to keep the "Original Apache" feather inside the logo. The reason for that is to visually show that it is an "Apache" project. It is always easier (at the sales level) to use "Apache"

AW: How to reference customized projects in pom.xml files? [unsigned]

2015-01-16 Thread Bernd Waibel
Hello Tilman, I am not an Maven expert. But I think I could help. First at all, there is another way you may consider: At my company we are using James 2.3.2, and we are just building own Mailets as a complete standalone project. It is just an "addon" to James. After building our projects, we j

AW: Need Help: LoadRunner with James 2.3.2 [unsigned]

2015-01-28 Thread Bernd Waibel
ling the mails. And yes, firewalls may correct the syntax. And I think your are right with: “the email sent from the Load Runner may not be conforming to the SMTP standards. Our gateway is tolerant to these non-standard clients and might be formatting the SMTP message as per t

AW: Access DB via mailet [unsigned]

2015-03-03 Thread Bernd Waibel
Hello Hassan, if you are writing a mailet, you are just inside a java class with full access to the mail object. So you could do what you like in accessing a database. There is no limit for accessing a database from your class, but I think there is no direct support for predefined database obje

AW: Tracking Mail After Folder Moves [unsigned]

2015-03-13 Thread Bernd Waibel
se renaming operation", to keep the identity? Or another: You could set a header (UUID) every time a mail arrives. Just needs a "set header" action in james. Than you have a "sure" trackable ID. But you may need to implement something like a "trash" inside th

AW: Tracking Mail After Folder Moves [unsigned]

2015-03-13 Thread Bernd Waibel
Hello Jerry, just a few thoughts about alternatives (not sure I got your problem). Why don't use a database sequence field or AUTO_INCREMENT field, instead of a UUID? And let the database handle the UUID creation? But if you would like to use UUIDs: Make sure it is not part of a race condition.

AW: Tracking Mail After Folder Moves [unsigned]

2015-03-13 Thread Bernd Waibel
Sorry, Thought about again: I think using a sequence is wrong. Cause Thunderbird makes a "COPY", you will get a new UUID for the "B:42" mail, and as I understand that is not what you need. Greetings Bernd -Ursprüngliche Nachricht----- Von: Bernd Waibel [mailto

AW: Fighting 'no body' spam

2015-03-22 Thread Bernd Waibel
Hello David, do you have a firewall, with virus filtering enabled? If the mail contains only one attachment (as INLINE attachment) and no body, and the firewall removes the attachment, but keeps the rest alright and sends this to the receiver? So a mail without a body could be the rest of a viru

AW: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-27 Thread Bernd Waibel
Hi Mahesh to man open files may result in a memory leak. Could the sysadmin monitor the memory? It is a java prozess. Is there a file called hserr*.pid? That is produced if the vm crashes. Ciao Bernd Ursprüngliche Nachricht Von: Mahesh Sivarama Pillai Datum: 27.03.2015 14:1

AW: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Bernd Waibel
Hello Muhammad, depends on which version von James you are running. And it depends on the question if you want the mail to store and finish, or store and send further. Also it depends if you want it to be stored in a database, a directory, a imap folder,... I suppose you mean a "directory on the

AW: AW: James:: Move Succesfully Processed Email to a separte directory

2015-03-27 Thread Bernd Waibel
dilevry is disabled. After processing email in my custom mailet changin email state to "to repositry" will work ? On 28 Mar 2015 03:00, "Bernd Waibel" wrote: > Hello Muhammad, > > depends on which version von James you are running. > And it depends on the question i

AW: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-27 Thread Bernd Waibel
team restarted the server. It will create a new PID rite ? Is there a way we can see the old pids from the james logs ? Thanks Mahesh On Fri, Mar 27, 2015 at 7:33 PM, Bernd Waibel wrote: > Hi Mahesh > > to man open files may result in a memory leak. > Could the sysadmin monitor the me

AW: AW: Tracking Mail After Folder Moves [unsigned]

2015-03-29 Thread Bernd Waibel
uch header does not exist. Then always reflect that UUID header value to the JAMES_MAIL table's UUID field for db query use (??). Headers remain intact in case of Thunderbird's copy/delete, correct? Thoughts? Jerry On 3/13/2015 6:15 PM, Bernd Waibel wrote: > Sorry, > > Though

AW: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-29 Thread Bernd Waibel
e ? I am clueless on this issue. No process Killed James, Noone stopped James.. No OOM in logs.. No core dump :) :( Regarding the file system I will verify. As far as I know we have a NAS... On Sat, Mar 28, 2015 at 3:50 AM, Bernd Waibel wrote: > Hi Mahesh, > > Don't missunderst

AW: URGENT HELP: James 2.3.2 not responding after few days of run

2015-03-31 Thread Bernd Waibel
sole log which > says STOPPED..I am investigating and will keep you posted. Thanks for the > help so far. > > Thanks > Mahesh > > On Mon, Mar 30, 2015 at 2:48 AM, Bernd Waibel wrote: > >> Hi Mahesh >> >> finding a hserr would be a clear sign that somethi

AW: TLS/SSL on James 2.3.2 [unsigned]

2015-12-29 Thread Bernd Waibel
Hello Marc, I had a quick look at the implementation http://grepcode.com/file/repo1.maven.org/maven2/org.apache.avalon.cornerstone.sockets/cornerstone-sockets-impl/2.2.2/org/apache/avalon/cornerstone/blocks/sockets/TLSServerSocketFactory.java#TLSServerSocketFactory.initServerSocket%28java.net.Serv

AW: jconsole usage [unsigned]

2016-02-10 Thread Bernd Waibel
Hello Thufir, This depends on your configuration. You did not tell something about, so your question could not be answered. Which version of james are you using? Which OS, linux? Greetings Bernd    -Ursprüngliche Nachricht- Von: Thufir Hawat [mailto:hawat.thu...@gmail.com] Gesendet: Mi

AW: How to forward email, but left a copy in original address? [unsigned]

2016-02-10 Thread Bernd Waibel
Hello Kohei, I am not sure how you are "sending" mails, do you do this with a mail client like outlook, or using "telnet?". I am asking because your sending mail server or mail client may split mails, if they go to different recipients. Also james may do this. If you send one mail to "a...@firs

AW: AW: jconsole usage [unsigned]

2016-02-11 Thread Bernd Waibel
List Betreff: Re: AW: jconsole usage [unsigned] pardon, the versions are: James: apache-james-3.0-beta4 Ubuntu: 15.10 (wily) thanks, Thufir On Wed, 10 Feb 2016, Bernd Waibel wrote: > Hello Thufir, > > This depends on your configuration. You did not tell something about, so your &g

AW: AW: How to forward email, but left a copy in original address? [unsigned]

2016-02-11 Thread Bernd Waibel
How can I turn verbose logging mail recipients before and after mailet on? Kohei On 2/11/16 16:51, Bernd Waibel wrote: > Hello Kohei, > > I am not sure how you are "sending" mails, do you do this with a mail client > like outlook, or using "telnet?". > > I

AW: Hi I need help for apache james! [unsigned]

2016-02-23 Thread Bernd Waibel
Hello Benjamin, I am firm with James 2.3.2, but not using James 3 now. I am just starting. We use 2.3.2 in production, so switching is a big step which is just a work in progress. We are still on an older version of James 3, not using sieve, so could not tell something about. Also, we do not us

AW: James 2.3.1 config for bounces [unsigned]

2016-05-04 Thread Bernd Waibel
Hello Navid, yes. In your outgoing mailet  you configure a bounce processor: bounces skipped the rest here Then you configure this bounces processor, here the default: false

AW: James as a mail proxy for a SaaS service [unsigned]

2016-05-04 Thread Bernd Waibel
Hello Stephan, I think that are 2 questions: - Using proxy - Usign auth First: Yes, you could use James as an Proxy. We are doing exactly that. We do not have mailboxes, and do use James as a MTA (Mail Transfer Agent) or Mail Proxy. The Smarthost configuration describes the possible scenarios

AW: AW: James as a mail proxy for a SaaS service [unsigned]

2016-05-04 Thread Bernd Waibel
2.3.2, do you have a tip which maven artefact    to include for development? Best Stephan   On 4 May 2016 at 12:24:46, Bernd Waibel (bwai...@intarsys.de) wrote: Hello Stephan, I think that are 2 questions: - Using proxy - Usign auth First: Yes, you could use James as an Proxy. We ar

AW: AW: AW: James as a mail proxy for a SaaS service [unsigned]

2016-05-04 Thread Bernd Waibel
Hi org.apache.james.core.MailImpl is inside the „james-2.3.2.jar“. The james-2.3.2.jar is inside /var/james-2.3.2/apps/james/SAR-INF/lib/james-2.3.2.jar Btw. The james-2.3.2jar may reference: avalon-framework-api-4.3.jar avalon-framework-impl-4.3.jar Best regards Bernd Waibel Von: Stephan

AW: AW: James 2.3.1 config for bounces [unsigned]

2016-05-06 Thread Bernd Waibel
Hi Navid I assume the first processor is the "transport" processor. Ok, for example: if you get a "new incoming mail", which should result in a bounce: 1. The "new incoming mail" will enter the transport processor. Cause it matches your "All" matcher, it will call your "MyMailet" class. 2. It wil

AW: Am I able to get the information of the mail sender and receiver? [unsigned]

2016-05-16 Thread Bernd Waibel
Hi Benjamin, the init() method is only called, when the "Matcher object" is constructed. It is not called "per mail", it is constructed in the init phase of james. So you cannot access the mail in the init method. Each time a new mail arrives, the "match(Mail mail)" is called. The match method sh

AW: URGENT HELP: Backport STARTTLS from 3.0 to 2.3.2

2016-07-03 Thread Bernd Waibel
Hello Mahesh, i think there is no backport. For STARTTLS there should be two sides: - James acting as receiver - James acting as sender You have the option to use TLS in James, by configuring a "org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory". But this is for strict TLS bin

WG: URGENT HELP: Backport STARTTLS from 3.0 to 2.3.2 [unsigned]

2016-07-03 Thread Bernd Waibel
Hello Mahesh, i think there is no backport. For STARTTLS there should be two sides: - James acting as receiver - James acting as sender You have the option to use TLS in James, by configuring a "org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory". But this is for strict TLS bin

AW: AW: URGENT HELP: Backport STARTTLS from 3.0 to 2.3.2 [unsigned]

2016-07-04 Thread Bernd Waibel
you start now with 2.3.2, it may be easier to start with 3.0, instead doing the migration later on. I would recommend to switch to 3.0beta4, instead coding it your own. But that are just my thoughts. Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: Mahesh Sivarama Pillai

AW: Training SpamAssassin with JAMES [unsigned]

2016-08-20 Thread Bernd Waibel
there too. So it is a needed feature for us. Best regards Bernd Waibel Ursprüngliche Nachricht Von: Jerry Malcolm Datum: 18.08.16 21:20 (GMT+01:00) An: server-user@james.apache.org Betreff: Re: Training SpamAssassin with JAMES I tried to get answers to this and other

AW: Apache james: what output port must be open [unsigned]

2016-09-14 Thread Bernd Waibel
roxy (with content inspection), you could use this. Iptables does not support this. So: open 25 on outgoing. Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: Alex Sviridov [mailto:ooo_satu...@mail.ru.INVALID] Gesendet: Mittwoch, 14. September 2016 14:23 An: server-user@james.

AW: Messages don't reach external smtp servers [unsigned]

2016-09-17 Thread Bernd Waibel
up a mail server "at home", if you have a ip address which is changing. My ISP is changing the IP every night, so it is dynamic. Some Mail providers do know which IPs are from the dynamic range. But mostly this is not the problem (mostly it is the DNS entry). Best regards, Bernd Waibel

AW: Apache James - Problem with encoding [unsigned]

2016-09-17 Thread Bernd Waibel
Hi Alex, I think I could not help. But could you post an example converted mail (with the ). Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: Alex Sviridov [mailto:ooo_satu...@mail.ru.INVALID] Gesendet: Samstag, 17. September 2016 10:12 An: server-user Betreff: Apache James

AW: No domain found -Error- [unsigned]

2016-09-18 Thread Bernd Waibel
Hello Christian, did you set your domain in james? Does the "from" have a valid email address or maybe missing the @domain? By CLI or in the domainlist.xml? Best regards, Bernd  Ursprüngliche Nachricht- Von: Christian Fischer [mailto:mcmaske...@gmail.com] Gesendet: Sonntag, 18. Septem

AW: Apache James - how IMAP is supported by James?

2016-09-19 Thread Bernd Waibel
Hi Haiming, as far as I know, IMAP is not supported in James2. Only POP3. It is supported in James3, as it is included in the protocols: http://james.apache.org/protocols/imap4.html Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: haiming li [mailto:haiming...@outlook.com

AW: The current usage of Quota size of is incorrect when deleting a message? [unsigned]

2016-09-20 Thread Bernd Waibel
Hi Benoit, fyi: the folder.close(true) should issue a EXPUNGE (because of the parameter). So this should not be the problem. Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: Guofeng Zhang [mailto:guofen...@auslides.com] Gesendet: Dienstag, 20. September 2016 10:52 An: James

AW: strange AUTH LOGIN attempts [unsigned]

2016-09-21 Thread Bernd Waibel
wiki.intarsys.de/confluence/display/SMG/Firewall (Sorry, most pages there are in German language, but this single description is in English. Now.) This is not an advertisement. It is just documented there. You need to change the regex for James3, just work to do. Just to think about. Best rega

AW: AW: strange AUTH LOGIN attempts [unsigned]

2016-09-22 Thread Bernd Waibel
an botnet with an aim of an DDoS. Bad times, since we get Crime-as-a-service. Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: David Legg [mailto:david.l...@searchevent.co.uk] Gesendet: Donnerstag, 22. September 2016 19:51 An: server-user@james.apache.org Betreff: Re: AW: st

AW: james-cli failure [unsigned]

2016-09-23 Thread Bernd Waibel
/27262629/jvm-cant-map-reserved-memory-when-running-in-docker-container Best regards Bernd Waibel -Ursprüngliche Nachricht- Von: li hai ming [mailto:haiming...@outlook.com] Gesendet: Freitag, 23. September 2016 05:58 An: 'server-user' Betreff: RE: james-cli failure Does anyone mee

AW: james-cli failure [unsigned]

2016-09-23 Thread Bernd Waibel
Hi, you have a total of 991 Mb with 790 Mb used. So you have 69 Mb free, but James want to commit 89 Mb. And you do not have a swap space. It seems that your machine do not have enough memory, or other processes do use the memory. Best regards Bernd Waibel -Ursprüngliche Nachricht- Von

AW: James logo – the Vote is Open [unsigned]

2016-09-26 Thread Bernd Waibel
Hello Laura, VOTE FOR LOGO NUMBER: 10 I think it best matches the new Apache logo, has a clear statement, and is peppy.:-) Best regards Bernd -Ursprüngliche Nachricht- Von: Laura Royet [mailto:lro...@linagora.com] Gesendet: Montag, 26. September 2016 16:04 An: server-...@james

AW: Remote delivery via SSL [unsigned]

2016-10-24 Thread Bernd Waibel
Hi Rudi, I think it is the same question as here: http://www.mail-archive.com/server-dev@james.apache.org/msg48897.html Port 465 is only for directly configured connections. The SMTP Standard always uses Port 25 (and may use STARTTLS as described). Best regards Bernd Waibel -Ursprüngliche

AW: Error: Domain not found [unsigned]

2016-10-24 Thread Bernd Waibel
Hi Christian, Could you try to set your domain in /conf/domainlist.xml? Replace localhost With your domain, e.g. mydomain.de and restart James. Best regards Bernd Waibel - Hey there, I have a problem while sending an Email with this error-Message: What dam I doing wrong ? Thanks