Hi
There is some notes:
1- These line related to WEBADMIN as you can see in the 6th column.
2- These are because you are connecting to WEBADMIN through IP instead of FQDN.
PLease search for SMTP-IN in 6th column after send a test mail.
In my experience your code is not able to communicate with SSL certificate yet.
You can give a valid SSL Certificate for Let’s Encrypt with the below guide:
This is a guide for Axigen X2+ on using Let’s Encrypt to generate SSL certificates, to be used for WebMail, IMAP, POP3, SMTP incoming, & other services.
Rohit
August 3, 2020, 10:46am
6
I think this has got nothing to do with the WebAdmin stuff maybe(because we’re connecting via the JavaMail API)! Am I missing something here?
Rohit
August 3, 2020, 10:48am
7
Also Can you let me know what can be done to resolve this? replace the 0000 with the FQDN?
Rohit:
ssl.SSLSocketFactory
just search for SMTP-IN logs
Rohit
August 3, 2020, 11:19am
9
I cannot find this piece of text in the SMTP log.
Does your 465 port enabled?
Rohit
August 3, 2020, 2:05pm
11
Yes it is. Listening on 127.0.0.1
@indreias can help better
Hello,
Let’s check if your localhost
listener you have configured with SSL on port 465 for SMTP-Incoming service is working well.
For this please provide the output of the following command (to be ran from the console of your Axigen server)
echo -e "ehlo this-is-a-test\nquit" | openssl s_client -connect localhost:10465 -crlf -ign_eof 2>&1| tee /tmp/this-is-a-test.tx
Note: the output should be saved in /tmp/this-is-a-test.txt
file so you could just attach to your answer.
BR,
Ioan
Rohit
August 4, 2020, 6:23am
14
Will these commands work for windows?
Hello,
Obviously not and its first time you’ve mention that your Axigen is running on Windows.
In this case just share here the axigen.cfg configuration file so we could check your configuration.
BR,
Ioan
Rohit
August 4, 2020, 6:58am
16
was asking this because of “openssl” you mentioned in the command.
Rohit
August 4, 2020, 7:50am
18
Please note i cannot run this command. I get following error.
openssl’ is not recognized as an internal or external command,
operable program or batch file.
as this is windows os
Hello,
1/ Checking 127.0.0.1:465 listener from axigen.cfg didn’t pop up any red lights.
2/ We see that SMTP-IN is saved in a separate log file (smtp.txt). Could you please share it as well?
BR,
Ioan
Rohit
August 4, 2020, 8:45am
20
Thank you for response.
smtp (1).txt (51 Bytes)
Seems like this file is empty.
Hello,
Most probably it is empty because it was “rotated” by the server and no other tests were made in the mean time.
Could you please make a new test with your mail client and check if there are any new SMTP-IN lines in smtp.txt (or other *.txt file present into the log folder)?
BR,
Ioan
Rohit
August 4, 2020, 10:19am
22
created by AXIGEN version 10.3.1.5 (Windows/x64)
2020-08-04 15:40:09 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:00000000: << SSL: client hello, remote 127.0.0.1:56245, version TLS 1.3 (0304)
2020-08-04 15:40:09 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:00000000: << SSL: client hello, remote 127.0.0.1:56245, 31 cipher suites: c024c028003d006b006ac00ac014003500390038c023c027003c00670040c009c013002f00330032c02cc02bc030009d009f00a3c02f009c009e00a200ff
2020-08-04 15:40:09 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:00000000: >> SSL: server hello, remote 127.0.0.1:56245, version TLS 1.2 (0303)
2020-08-04 15:40:09 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:00000000: >> SSL: server hello, remote 127.0.0.1:56245, cipher suite c02f
2020-08-04 15:40:09 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:00000000: >> SSL: server write cert, remote 127.0.0.1:56245, version TLS 1.2 (0303)
2020-08-04 15:40:09 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:00000000: >> SSL: server write cert, remote 127.0.0.1:56245, certificate 1: serial 01
2020-08-04 15:40:10 +0530 08 LAPTOP-RKEA2THQ SMTP-IN:000000BD: [127.0.0.1:465] connection accepted from [127.0.0.1:56245]
2020-08-04 15:40:10 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:000000BD: >> 220 LAPTOP-RKEA2THQ Axigen ESMTP ready
2020-08-04 15:40:10 +0530 16 LAPTOP-RKEA2THQ SMTP-IN:000000BD: >> 421 LAPTOP-RKEA2THQ error reading data
2020-08-04 15:40:10 +0530 02 LAPTOP-RKEA2THQ SMTP-IN:000000BD: SSL_write error (An established connection was aborted by the software in your host machine.)
2020-08-04 15:40:10 +0530 08 LAPTOP-RKEA2THQ SMTP-IN:000000BD: closing session from [127.0.0.1]
This is the content generated
Hello,
So you could see that the server is sending the so called “banner” 220 LAPTOP-RKEA2THQ Axigen ESMTP ready but from there the session got aborted.
Please check on your mail client what is the problem.
BR,
Ioan