NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 18 forks source link

Webtop Pecbridge component #6984

Closed DavidePrincipi closed 1 month ago

DavidePrincipi commented 3 months ago

Webtop Pecbridge is a new integrated Webtop component that fetches and sends PEC (Posta Elettronica Certificata) messages. The component requires a license key to run. When the license is active, Webtop can use the component as mail gateway for both normal and PEC messages.

Proposed solution

Alternative solutions

Additional context

Pecbridge is distributed in binary form and requires a license key to work.

See also

Discussion (PVT): https://mattermost.nethesis.it/nethesis/pl/d5ith8k84pgujm6p7uf856y4tc


Thanks to Sonicle and @lucagasparini

nethbot commented 1 month ago

in 7.9.2009/testing:

DavidePrincipi commented 1 month ago

Acceptance checks

Amygos commented 1 month ago

Testing release: 1.0.22-testing.2

lucagasparini commented 1 month ago

The webapp module fails to start with this error:

2024-09-24T07:11:18Z [1:webtop11:systemd] Starting WebTop webapp...
2024-09-24T07:11:18Z [1:webtop11:expandconfig-webapp] /home/webtop11/.config/scripts/expandconfig-webapp: line 24: AGENT_INSTALL_DIR: parameter null or not set
2024-09-24T07:11:18Z [1:webtop11:systemd] webapp.service: Control process exited, code=exited, status=1/FAILURE
2024-09-24T07:11:18Z [1:webtop11:systemd] webapp.service: Failed with result 'exit-code'.
2024-09-24T07:11:18Z [1:webtop11:systemd] Failed to start WebTop webapp.
Amygos commented 1 month ago

Testing release: 1.0.22-testing.3

Amygos commented 1 month ago

Repeat the above test cases

lucagasparini commented 1 month ago

Almost all acceptance checks have been successfully tested.

PEC Bridge Notifications are sent.

Only this one is still failing

Sep 25 08:58:45 rl2 pecbridge[1575176]: javax.mail.SendFailedException: Invalid Addresses
....
Sep 25 08:58:45 rl2 pecbridge[1575176]: Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 504 5.5.2 <pecbridge-daemon>: Sender address rejected: need fully-qualified address
DavidePrincipi commented 1 month ago

The last test requires Mail 1.4.7 https://github.com/NethServer/ns8-mail/releases/tag/1.4.7

nethbot commented 1 month ago

in 7.9.2009/testing:

lucagasparini commented 1 month ago

VERIFIED

Amygos commented 1 month ago

Before release wait for Issue #7033 to be verified.

nethbot commented 1 month ago

in 7.9.2009/updates:

DavidePrincipi commented 1 month ago

Released in