stephen-kruger / bluebox Goto Github PK
View Code? Open in Web Editor NEWA promiscuous, non-forwarding SMTP server and webmail client to facilitate testing of applications which generate email.
A promiscuous, non-forwarding SMTP server and webmail client to facilitate testing of applications which generate email.
Issue: I am seeing doubles of certain emails in the search results.
Steps to reproduce:
test_sst_fvt_operations_user_01
)OMS NA
)fvt01
in them when there should be 1).OMS NA
in them were all received in a row in one day). There are 21 emails and identifying features of emails are correct (1 email with fvt01
in its subject).In the file messages.log
, I see this:
[12/9/21, 22:09:48:701 UTC] 00000030 com.ibm.ws.channel.ssl.internal.SSLHandshakeErrorTracker
E CWWKO0801E: Unable to initialize SSL connection. Unauthorized access was denied or security settings have expired. Exception is javax.net.ssl.SSLException: Session has no PSK
How do I go about resolving this?
EDIT: Posted the incorrect error message. The error above is when I access the HTTPS site on port 8443. Below is the error I get when I try to send an email from another host that I've DNAT'd to bluebox:
[err] Exception in thread "pool-2-thread-28"
[err] java.lang.NoSuchMethodError: 'void com.sun.mail.util.LineInputStream.<init>(java.io.InputStream, boolean)'
[err] at javax.mail.internet.InternetHeaders.load(InternetHeaders.java:422)
[err] at [internal classes]
[err] at com.bluebox.Utils.loadEML(Utils.java:155)
[err] at com.bluebox.smtp.storage.mongodb.MongoImpl.getSpooledStream(MongoImpl.java:610)
[err] at com.bluebox.smtp.Inbox.deliver(Inbox.java:695)
[err] at org.subethamail.smtp.helper.SimpleMessageListenerAdapter$Handler.data(SimpleMessageListenerAdapter.java:142)
[err] at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:64)
[err] at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:30)
[err] at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:99)
[err] at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:244)
[err] at org.subethamail.smtp.server.Session.run(Session.java:145)
[err] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[err] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[err] at java.base/java.lang.Thread.run(Thread.java:829)
I hope this is just some simple configuration issue.
Download and install the latest Liberty profile from here. PR will follow.
Hey Stephen! Here's a name from the past, eh? Hope you are doing well.
Just wanted to let you know that your latest 4.6.0 package is missing the servlet classes in WEB-INF/classes. I had to go back to 4.5.16 to find them.
Hi Stephen,
Tthe war file is generated in /var/lib/tomcat6/webapps/ and originally it was creating a symbolic link between that directory and /opt/tomcat6/webapps/ but in version bluebox-4.3.4-1.noarch it's not.
To work around it I've run:
rm -rf /opt/tomcat/webapps/
ln -s /var/lib/tomcat6/webapps/ /opt/tomcat/
Thanks,
Brian
What steps will reproduce the problem?
1. render the errors page from menu bar
2. note thw right hand col (stats.jsp)
3.
What is the expected output? What do you see instead?
The "Total Traffic" header should be approx 1em from bottom of menu bar instead
of being so far down
See attachment for details
Original issue reported on code.google.com by [email protected]
on 10 Jul 2014 at 8:38
Attachments:
Hello Stephen
I have tried to use Bluebox sending an email to the address : [email protected]
I dont see any email for this address on http://bluebox.lotus.com/
and I receive a delivery failure report - see attached image
Could you help me ? not sure I have done all I need to do ..
Thanks
Christina
What steps will reproduce the problem?
1. Run all JUnit tests
2.
3.
What is the expected output? What do you see instead?
All tests should pass
Please use labels and text to provide additional information.
If you run the failures individually, they all pass.
It seems some threading and/or timing issues are preventing timely shutdown of
the Storage or Inbox objects.
Will investigate Socket timeout values on the smtp server.
Original issue reported on code.google.com by [email protected]
on 30 Jun 2014 at 3:21
Compared to 4.5.3 release, there are several issues with latest release:
[err] java.lang.NullPointerException
[err] at com.bluebox.smtp.storage.h2.H2Impl.setProperty(H2Impl.java:629)
[err] at com.bluebox.smtp.storage.h2.H2Impl.logError(H2Impl.java:691)
[err] at com.bluebox.smtp.Inbox.errorLog(Inbox.java:819)
[err] at com.bluebox.smtp.Inbox.deliver(Inbox.java:709)
[err] at org.subethamail.smtp.helper.SimpleMessageListenerAdapter$Handler.data(SimpleMessageListenerAdapter.java:158)
[err] at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:64)
[err] at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:30)
[err] at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:99)
[err] at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:244)
[err] at org.subethamail.smtp.server.Session.run(Session.java:145)
[err] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[err] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[err] at java.lang.Thread.run(Thread.java:823)
Following Docker file was used to build the images to run:
FROM open-liberty:kernel-slim
COPY --chown=1001:0 server.xml /config/
RUN features.sh
COPY --chown=1001:0 bluebox.war /config/apps/bluebox.war
ARG VERBOSE=false
RUN configure.sh
USER root
RUN mkdir -p /home/default && chown -R 1001:0 /home/default
USER 1001
COPY --chown=1001:0 bluebox/bluebox.properties /home/default/bluebox.properties
The above works fine with release 4.5.3.
Search in both 'inbox' and 'All' for scnsvtdsw-20170322-052431
but nothing comes back.
Refresh the the Inboxes and scroll down through the messages and I find the one I am looking for.
Seems something is busted with the Searchabilty.
We know there are untoward exceptions in the server logs.
Please investigate and when you find the cause make the appropriate code or other changes as required to fix the problem. Thanks in advance.
What steps will reproduce the problem?
1. Telnet to an MTA and craft an e-mail which has an @bluebox.lotus.com sender
and an invalid recipient address (but valid domain) that will target an
environment running Domino mail servers
2. An NDR will bounce back to bluebox. Bluebox will show an error here:
http://bluebox.lotus.com/bluebox/app/errors.jsp
javax.mail.internet.AddressException: Illegal address in string ``''
What is the expected output? >> I expected bb to accept NDRs from Domino <<
What do you see instead? >> an error <<
What version of the product are you using? n/a On what operating system? n/a
Original issue reported on code.google.com by [email protected]
on 3 Sep 2014 at 1:48
Stephen, are there any IBM bluebox servers available that can be reached from Internet? We would need them for test automation of a production system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.