Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webtop Pecbridge component #6984

Open
7 tasks done
DavidePrincipi opened this issue Jul 31, 2024 · 11 comments
Open
7 tasks done

Webtop Pecbridge component #6984

DavidePrincipi opened this issue Jul 31, 2024 · 11 comments
Assignees
Labels
verified All test cases were verified successfully

Comments

@DavidePrincipi
Copy link
Member

DavidePrincipi commented Jul 31, 2024

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

  • Run Pecbridge as a separate container

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
Copy link
Member

nethbot commented Sep 20, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.16-1.2.gce2cc96.ns7.x86_64.rpm x86_64

@Amygos Amygos mentioned this issue Sep 23, 2024
5 tasks
DavidePrincipi added a commit to NethServer/ns8-docs that referenced this issue Sep 23, 2024
Only under Nethesis Enterprise Subscription plan.

Refs NethServer/dev#6984
@DavidePrincipi
Copy link
Member Author

DavidePrincipi commented Sep 23, 2024

Acceptance checks

  • After installation (or update) a new service is running: systemctl --user status pecbridge.service
  • The webtop.properties file is expanded with new PEC Bridge properties.
  • The webtop.properties file can be overridden as explained in the module README.
  • The webtop-pecbridge/AdminMail NS7 prop is migrated to NS8 configuration.
  • The PEC Bridge notify address can be modified from Webtop cluster-admin UI. Changes are applied.
  • PEC Bridge Notifications are sent. Relax smtpd_sender_restrictions ns8-mail#136
  • The PECBridge management interface is present in the WebTop admin interface, under Domains --> Nethserver --> PECBridge
  • It is possible to buy a PB license, activate it in Webtop admin UI, and once activated, PB can be configured and it works.

@Amygos
Copy link
Member

Amygos commented Sep 23, 2024

Testing release: 1.0.22-testing.2

@Amygos Amygos added the testing Packages are available from testing repositories label Sep 23, 2024
@lucagasparini
Copy link

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 Amygos removed the testing Packages are available from testing repositories label Sep 24, 2024
@Amygos Amygos added the testing Packages are available from testing repositories label Sep 24, 2024
@Amygos
Copy link
Member

Amygos commented Sep 24, 2024

Testing release: 1.0.22-testing.3

@Amygos
Copy link
Member

Amygos commented Sep 24, 2024

Repeat the above test cases

@lucagasparini
Copy link

lucagasparini commented Sep 25, 2024

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 added a commit to NethServer/ns8-mail that referenced this issue Sep 25, 2024
Allow SMTP envelope sender address without FQDN, like
"pecbridge-daemon" and similar.

Refs NethServer/dev#6984
@DavidePrincipi
Copy link
Member Author

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

@nethbot
Copy link
Member

nethbot commented Sep 26, 2024

in 7.9.2009/testing:

  • nethserver-ns8-migration-1.0.16-1.5.gcf4bbf9.ns7.x86_64.rpm x86_64

@lucagasparini
Copy link

VERIFIED

@lucagasparini lucagasparini added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Sep 26, 2024
@Amygos
Copy link
Member

Amygos commented Sep 26, 2024

Before release wait for Issue #7033 to be verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Status: In progress
Development

No branches or pull requests

5 participants