by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:18
    chibenwa opened #248
  • 04:46
    chibenwa commented #247
  • 01:51

    asfgit on master

    JAMES-3379 Email/get specific p… JAMES-3379 Email/get specific p… JAMES-3379 Email/get specific p… and 10 more (compare)

  • Sep 24 11:45
    aasaru synchronize #247
  • Sep 24 01:52

    asfgit on master

    JAMES-3384 allInThreadHaveKeywo… JAMES-3384 collapseThreads para… JAMES-3384 allInThreadHaveKeywo… and 4 more (compare)

  • Sep 23 08:58

    asfgit on master

    MAILBOX-392 WebAdmin documentat… JAMES-3383: Email/Query expose … JAMES-3382 email/query implemen… and 1 more (compare)

  • Sep 22 10:40

    asfgit on master

    JAMES-3381 email/query implemen… JAMES-3377 Email/query implemen… JAMES-3377 Email/query implemen… (compare)

  • Sep 21 11:53
    aasaru opened #247
  • Sep 21 09:48

    asfgit on master

    JAMES-3374: Add Sort by Receive… (compare)

  • Sep 21 02:28

    asfgit on master

    JAMES-3379 Email/get specific p… JAMES-3379 Email/get specific p… JAMES-3379 Email/get specific p… (compare)

  • Sep 21 01:59

    asfgit on master

    JAMES-3380 use non am/pm depend… JAMES-3378 email query filter b… JAMES-3378 email query filter w… and 1 more (compare)

  • Sep 18 06:09

    asfgit on master

    JAMES-3376 Document upcoming Ma… JAMES-3376 SystemMailboxesProvi… JAMES-3376 Implement Mailbox/qu… and 2 more (compare)

  • Sep 18 06:04

    asfgit on master

    JAMES-3377 fix elastic search c… JAMES-3377 filter before receiv… JAMES-3377 filter after receive… (compare)

  • Sep 18 01:58

    asfgit on master

    JAMES-3369 Implementation for E… JAMES-3369 EMail/get fast view … JAMES-3369 EMail/get fast view … and 5 more (compare)

  • Sep 17 03:09

    asfgit on master

    JAMES-3375 allow sorting by arr… JAMES-3375 filter message in a … JAMES-3375 implements inMailbox… and 1 more (compare)

  • Sep 16 10:22

    asfgit on master

    [Security fix] Upgrade org.apac… (compare)

  • Sep 15 10:44

    asfgit on master

    JAMES-3028 add retry for reacto… JAMES-3028 promote DataChunker … JAMES-3028 S3 DumbBlobStore Imp… and 22 more (compare)

  • Sep 15 02:27

    asfgit on master

    JAMES-2890 Split JMAP RFC-8621 … JAMES-3372 Email/get specific u… JAMES-3368 Porting Keywords + K… and 3 more (compare)

  • Sep 14 06:44

    asfgit on master

    JAMES-3369 Email/get preview & … (compare)

  • Sep 14 02:55

    asfgit on master

    JAMES-2809 createBucket needs t… JAMES-3371 JMAP Email/query All… JAMES-3371 set default sort to … and 20 more (compare)

Rajh
@Rajh
@chibenwa Hi,
From what I undertand from mailet, it requires a james-server and I should add xml configuration to load mailets.
The thing is, I want a simple SMTP server embedded into my app. Not launching a full standalone james server.
Just wanted a new SMTPServer(); server.onMessage(...)
David Leangen
@dleangen
@Rajh, unfortunately James is not built for that purpose. That said, it should be pretty easy to send out emails from your app even just using javax.mail.
Rajh
@Rajh
@dleangen I want to receive them
David Leangen
@dleangen
What you may want to do is set up a standalone James server, insert a custom Mailet, and use your Mailet to communicate with your app. Could that approach work for you?
Rajh
@Rajh
Yes, but I wanted a simplier approach, I thought I could use a sub part of james to create a simple SMTPServer which was only handling messages.
Started a POC with a NettyServer and the protocol SMTPProtocol. And I added MessageHook AuthHook
But I don't know if its secure, or if I should use the org.apache.james.smtpserver.netty.SMTPServer but I'm having trouble to configure it
Tellier Benoit
@chibenwa
@Rajh Ok I got the need.
Such a usage is right now undocumented, so if you succeed to achieve this goal, contributing back documentation on how to do so would be apprecietated.
@dleangen proposal seems also good to me.
samarth612
@samarth612
ERROR 14:21:22,802 | org.apache.james.fetchmail.StoreProcessor | A MessagingException has terminated processing of this Folder
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: 192.168.0.8, 110; timeout 190000;
nested exception is:
java.net.SocketException: Permission denied: connect
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:217)
at javax.mail.Service.connect(Service.java:366)
at javax.mail.Service.connect(Service.java:246)
at org.apache.james.fetchmail.StoreProcessor.process(StoreProcessor.java:63)
at org.apache.james.fetchmail.FetchMail.run(FetchMail.java:487)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Permission denied: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:357)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:118)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:271)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:213)
... 11 more
INFO 14:21:22,850 | org.apache.james.fetchmail.StoreProcessor | Finished fetching mail from server '192.168.0.8' for user 'samarth.shah@synersoft.in' in folder 'Inbox'
INFO 14:21:22,872 | org.apache.james.fetchmail.FetchMail | Fetcher completed fetches
INFO 14:21:40,510 | org.apache.james.fetchmail.FetchScheduler | FetchMail dispose...
INFO 14:21:40,513 | org.apache.james.fetchmail.FetchScheduler | FetchMail ...dispose end
INFO 14:21:40,515 | org.apache.james.mailetcontainer.impl.JamesMailSpooler | start dispose() ...
INFO 14:21:40,518 | org.apache.james.mailetcontainer.impl.JamesMailSpooler | thread shutdown completed.
i am trying to get mail from my thunderbird id
but this kind of error is coming
Tellier Benoit
@chibenwa
Hello,
@samarth612 you are likely to use FetchMail here. FetchMail support is experimental, the code mostly untested.
I would advise you to use raw IMAP (tested & stable) of POP3 (stable).
svalluripalli
@svalluripalli

@Rajh Have a look into mailet. (I think it is better documented)
To answer your very question, the envolppe is attached as attachments of the SmtpSession.
The SMTP server in James provides SSL and startTls out of the box.

trying to run 3.4.0 version as recommended and getting this error: ERROR 14:42:45,100 | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Unable to init mailet WithPriority
org.apache.mailet.MailetException: Could not load mailet (WithPriority) (java.lang.IllegalArgumentException: 'priority' init parameter is compulsory)

I found the configuration has <value>8</value>
any recommendations on fixing this so I can move forward?
svalluripalli
@svalluripalli
I changed the value to priority and it worked... Thank you.
svalluripalli
@svalluripalli
@svalluripalli
I have setup James App 3.4.0 from a build, added:
apache-james-mailbox-store-3.4.0.jar
blob-api-3.4.0.jar
blob-objectstorage-3.4.0.jar
to classpath: $JAMES_HOME/lib
Also, added blob.properties file with aws-s3 bucket configurations to $JAMES_HOME/conf folder. Started James , configured domain, created users and sent messages.
I don't see blob storage code is getting called, Is there any other configurations or libraries missing?
Rene Cordier
@Arsnael
Hi @svalluripalli
From what I can see with your previous messages, you are using the Spring JPA product of James correct? Blob object storage has not been implemented for this, if I'm right, and I don't think it is either for JPA Guice. However, the other Guice products have the blob storage support that you are looking for.
Would suggest you to either switch to a product supporting it, or well contributions are always welcomed too :)
svalluripalli
@svalluripalli
where can I get the Guice version of Apache James?
I downloaded this source code:https://github.com/apache/james-project.git
and build it to get the apache-james-app-bin
Please help me pointing to the correct version of James with Guice source code.
Appreciate all your help
svalluripalli
@svalluripalli
At present we don't want to use Docker version of James
Rene Cordier
@Arsnael
Maybe this can help you? https://james.apache.org/server/quick-start-cassandra.html
Manual install with james cassandra guice product. Not sure if it's up-to-date though
After I don't know what kind of installation around James you want to use? For this you need a Cassandra db and an elasticsearch running next to James for example
samarth612
@samarth612
my maildir folders are empty after running the batch file in james .
and my mailbox provider is maildir
svalluripalli
@svalluripalli

Maybe this can help you? https://james.apache.org/server/quick-start-cassandra.html
Manual install with james cassandra guice product. Not sure if it's up-to-date though
After I don't know what kind of installation around James you want to use? For this you need a Cassandra db and an elasticsearch running next to James for example

We just need basic James SMTP / POP3 capabilites

Thank you for the URL, I will try this setup. I am also successful writing a simple Mailet for our current version of Apache James, If this Mailet functionality works without any performance issues, then we are good.
svalluripalli
@svalluripalli
Hi All, I am writing the mailet, my Mailet should get called only for Inbound messages, no need to be called for Outbound. How can my matcher check if the mail is Incoming or Outgoing?
Eugen Stan
@ieugen
what do you mean by Incoming?
and what do you mean by Outgoing?
svalluripalli
@svalluripalli
Incoming email message, received messages
Outgoing is sending email
Eugen Stan
@ieugen
If it's incomming you could use a smtp hook to mark the email message with a header or something
and then in the mailet you could check that
but the distinction is not clear since all email messages are being sent via SMTP and hence all are incommming, being processed and then delivered eitehr remotely ro locally to the mailbox
perhaps Incommming -> to a local domain , Outgoing -> remote domain.
In that case you allready have RecipientIsLocal
and the rest of *isLocal
svalluripalli
@svalluripalli
got it.. This s helpful
Eugen Stan
@ieugen
yw
svalluripalli
@svalluripalli
thank you Eugen
Tellier Benoit
@chibenwa
@samarth612 did you start sending / appending emails to James?
samarth612
@samarth612
i have an issue in thunderbird local mail
i have created a mail id with pop server and want to get the sent mail into my mail inbox
but i am unable to fetch those sent mails
Rene Cordier
@Arsnael
@samarth612 any logs from James that you maybe saw and could help?
Adriansun
@Adriansun
Can I as a windows user get some help with James 3.5.0, please
jeremie dentan
@jeredentan
hello,
I'm looking for a simple way to setup a mailbox in Apache James (v 3.1.0) that replies automatically to the sender with a predefined message.
My current idea is to setup a Bounce mailet for this mailbox but i don't know if it's the right/best way to do that
What do you think about that ?
kacperek2005PL
@kacperek2005PL_gitlab
yo! is it possible to use smtp server and client alone without anything else? I found such a project on github https://github.com/betler/g-null-smtp/
if I did something similar it would be okay? can I just start the server and listen for new messages in MessageHook? and how to set up a client for this?
am i missing something here or how do i run this? there is no bin/run like there is on v2.3.2.1
Ghost
@ghost~5f1d1d72d73408ce4fea8d16
Is there any detailed resource to setup James v3.5.0 on linux ? since available docs are either not updated or pointed to earlier version.