Questions tagged [james]

The Apache James is a pure Java SMTP, POP3 Mail server, IMAP and NNTP News server designed to be a complete and portable mail/messaging engine solution based on open messaging protocols.

The Apache James Project delivers a rich set of open source modules and libraries, written in Java, related to Internet mail communication which build into an advanced enterprise mail server. Thanks to extensible design James may serve as embedded mail server or as a base for custom mail processing software.

Some of James's modules are exposed as a separate artifacts, like SPF implementation, Sieve language implemntation or DKIM implementation.

Useful links:

Apache-hosted project wiki

James mailet API, robust Java API for custom mail processing rules

178 questions
13
votes
3 answers

Apache James Learning Resources

The plan is to create a list of Apache James learning resources, involving a wide a range of aspects from setting it up to using API from java. If you read this and have some great tutorial at your fingertips, please drop a line or two. I'll start…
f4lco
  • 3,728
  • 5
  • 28
  • 53
11
votes
2 answers

How to Sign Javamail with DKIM

Is there a library or a way to do this without an external library? I am using apache james as my mail server and currently send email like this: public void sendMessage(String to, String subject, String content) { MimeMessage message = new…
ryandlf
  • 27,155
  • 37
  • 106
  • 162
10
votes
5 answers

NoSuchAlgorithmException: Algorithm HmacSHA1 not available

Look at the following line of java: Mac.getInstance("HmacSHA1"); If I put this in a simple test program, it runs without problems on my server. However, if I use this line in a container, I get java.security.NoSuchAlgorithmException: Algorithm…
itsadok
  • 28,822
  • 30
  • 126
  • 171
10
votes
3 answers

Someone knows a mail (SMTP) delivery library for Java?

I'd like to send mail without bothering with the SMTP-Server which is used for delivery. So JavaMail API doesn't work for me because I have to specify a SMTP server to connect to. I'd like the library to find out on its own which SMTP server is…
Eduard Wirch
  • 9,785
  • 9
  • 61
  • 73
8
votes
1 answer

Storing data in MySql table through Javamail failed

How can I store the messages which I've written through javamail into MySQL table? I've already configured james server config file to connect to MySQL server(with datasource element name maildb), and I changed the element in…
Dusk
  • 2,191
  • 6
  • 38
  • 57
7
votes
3 answers

Not able to run Apache James

I downloaded the Apache James mailing server Apache-james-3.0-beta4-app . I tried to run it on Windows 7 ultimate by clicking on run.bat file inside following directory C:\Users\Jack\Desktop\New…
Jack
  • 121
  • 3
  • 9
5
votes
1 answer

Java MimeMessage to eml File with all attachments

I have an incoming MimeMessage in my JAMES mail server. I want to create an eml file dumping the message completely. I tried using the writeTo method of MimeMessage - resulting file contains only the text body of the email. The attachments are not…
Kris
  • 8,680
  • 4
  • 39
  • 67
5
votes
1 answer

Start Apache James with jdk 1.7

I have tried to run the apache-james-3.0-beta4 server on Linux Mint 64bit (Debian) with Java jdk 1.7u17, but it didn't work due to the JAXB library bug. According to the documentation different jar file should be downloaded…
Saša
  • 4,416
  • 1
  • 27
  • 41
4
votes
1 answer

Modify embedded Apache James Classloader to allow for custom hooks in same project

I am attempting to run my own custom in-memory James assembly inside of a Quarkus web application. I've been following along with the example here and gotten the server to run. One of the issues I'm running into is that according to the docs I need…
TheFunk
  • 981
  • 11
  • 39
4
votes
2 answers

Mails sent using Apache James are not delivered

I've setup Apache James Server v2.3.2 and configured it as described in HOW TO section. It works OK, sends mails as expected but on my Gmail account only and filtered as spam. Have no idea why other my emails accounts reject it i could find them in…
alex.b
  • 1,448
  • 19
  • 23
4
votes
3 answers

cannot append a message to a folder in javax.mail

I am managing to save simple messages containing body, subject etc. However, I am unable to save multipart messages. I logged before and after appendMessages, but noticed that the second log is absent. Interestingly, I have no Exceptions being fired…
boburShox
  • 2,630
  • 5
  • 23
  • 35
4
votes
1 answer

Postfix vs. Apache James

Is there a difference between the two? Do they perform the same tasks? I'm a little confused as I'm not too familiar with email servers, but I'm trying my hand at building one primarily to send transactional email from Java and there is very little…
ryandlf
  • 27,155
  • 37
  • 106
  • 162
3
votes
1 answer

Apache James Spring distribution not starting

Trying out the Apache James mail server at the moment. After I downloaded the current binary distribution 3.4.0 ("for Spring wiring"), I got the following behaviour when I ran: bin\james.bat Log (formatted for readability): wrapper | --> Wrapper…
zb226
  • 9,586
  • 6
  • 49
  • 79
3
votes
1 answer

How can I connect to Apache James' user repository and retrieve a list of users through Java code?

How can I connect to Apache James' user repository and retrieve a list of users through Java code? Is there a way using the Apache James api? Thank You Chris
Chris
  • 31
  • 3
3
votes
1 answer

How to get the List of Users registered in James Server through JMX

I have configured the James server and added some user and domains to it. From the Jconsole i am able to get the list of users as shown in below image. Can anyone please provide me the code snippet to get same through the JMX as James documentation…
Shashank.gupta40
  • 915
  • 1
  • 8
  • 26
1
2 3
11 12