AsmBB

Power
Login Register

Email integration not working
0

#16471 (ツ) MrMister
Created 09.05.2025 , read: 64 times

Hello, I tried enabling the email confirmation that asmbb offers however it did not work for me.

I tried both with setting it to connect to a server (running, in this case, on a "LAN" address). I tested said address with msmtp and know that it is working (though it is actually a "proxy" to another server this is beside the point).

I also tried with the "Pipe the emails through:" option using msmtp (ssmtp and sendmail appear to be unmaintained). Tested msmtp using command line, definitely works. Msmtp also creates a ".msmtp.log" when it tries to send emails. No such file is created in instances where asmbb should be sending email (at account registration or when changing email addresses) indicating that asmbb is not even making an attempt.

I noticed there wasn't much documentation on what to put in which field, so I tested multiple configurations (about 17 of them), none of which resulted in any sent emails. Also setting to many of them resulted in asmbb crashing.

Any guidance on what to do next, so as to make it work?

While one benefit of email integration is to prevent spam accounts, it is also useful for forgotten passwords. It seems that changing a given user's forgotten password is not possible?

#16473 (ツ) johnfound
Created 08:49 , read: 5 times
MrMister

Hello, I tried enabling the email confirmation that asmbb offers however it did not work for me.

I tried both with setting it to connect to a server (running, in this case, on a "LAN" address). I tested said address with msmtp and know that it is working (though it is actually a "proxy" to another server this is beside the point).

I also tried with the "Pipe the emails through:" option using msmtp (ssmtp and sendmail appear to be unmaintained). Tested msmtp using command line, definitely works. Msmtp also creates a ".msmtp.log" when it tries to send emails. No such file is created in instances where asmbb should be sending email (at account registration or when changing email addresses) indicating that asmbb is not even making an attempt.

I noticed there wasn't much documentation on what to put in which field, so I tested multiple configurations (about 17 of them), none of which resulted in any sent emails. Also setting to many of them resulted in asmbb crashing.

Any guidance on what to do next, so as to make it work?

While one benefit of email integration is to prevent spam accounts, it is also useful for forgotten passwords. It seems that changing a given user's forgotten password is not possible?

Hm, unfortunately, there is not enough information in order to analyze what is going wrong in your case. If AsmBB not trying to send emails, maybe you forgot to check the "confirm by e-mail" check box in the forum settings. Also, notice, that AsmBB uses e-mail very carefully - it tries to send e-mail only once in order to not spam the user account.

Also, the smtp client in AsmBB does not implements user authentication, so the server should allow such connections from the AsmBB server. This usually means that the AsmBB works in the LAN of the email server, but well, I am not a big expert in the network protocols.

Piping the emails through external program needs only the respective field in the settings dialog to be filled with the proper path to the respective program and optionally the command line arguments needed by the program. The e-mail itself will be sending to the program through a pipe, so the program should get the email from the stdin.

Also, I am recently not releasing a binary packages of AsmBB, because I am pretty busy with RL projects, but there are many updates and changes actually in the source base. So it is better to compile AsmBB from sources in order to get the latest version and fixes. It is an easy process, described here: AsmBB how to download, compile and install. and even better, here: Instructions for assembling asmbb without using FreshIde

I hope that this will help. Please, post here, if you have more questions, or share more information on the issue.

Email integration not working
0

AsmBB v3.0 (check-in: 7544654b24928b93); SQLite v3.42.0 (check-in: 831d0fb2836b71c9);
©2016..2024 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE