Roundcube testing on bekkalokk now working. #14

Merged
oysteikt merged 2 commits from roundcube into main 2023-11-26 05:17:29 +01:00
Owner

Should we add roundcube to bekkalokk to have one less dependency on spikkjeposhe.

Should we add roundcube to bekkalokk to have one less dependency on spikkjeposhe.
adriangl added 1 commit 2023-10-29 02:51:38 +01:00
bekkalokk: actiated roundcube test
All checks were successful
Eval nix flake / evals (push) Successful in 2m48s
Eval nix flake / evals (pull_request) Successful in 2m38s
d4f0330018
adriangl force-pushed roundcube from d4f0330018 to c2bcd7d18f 2023-10-29 03:03:53 +01:00 Compare
adriangl force-pushed roundcube from c2bcd7d18f to 6139cb8c19 2023-10-29 03:13:37 +01:00 Compare
Author
Owner

Nevermind smtp is currently broken and needs to be fixed.

I currently get:

roundcube SMTP Error (451): Failed to add recipient

and have gotten:

SMTP Error (535): Authentication failed

before commenting out.


# $config['smtp_user'] = "%u@pvv.ntnu.no";
# $config['smtp_pass'] = "%p";

Nevermind smtp is currently broken and needs to be fixed. I currently get: roundcube SMTP Error (451): Failed to add recipient and have gotten: SMTP Error (535): Authentication failed before commenting out. ``` # $config['smtp_user'] = "%u@pvv.ntnu.no"; # $config['smtp_pass'] = "%p"; ```
adriangl added 1 commit 2023-10-29 03:27:18 +01:00
lol
All checks were successful
Eval nix flake / evals (push) Successful in 4m10s
Eval nix flake / evals (pull_request) Successful in 4m35s
4f57c9531d
adriangl added 1 commit 2023-10-29 03:32:21 +01:00
lol2
All checks were successful
Eval nix flake / evals (push) Successful in 5m33s
Eval nix flake / evals (pull_request) Successful in 16m4s
8ae5a64cc8
adriangl force-pushed roundcube from 8ae5a64cc8 to 7dc0b99a09 2023-10-29 03:35:01 +01:00 Compare
Author
Owner

Maybe fixed with changing user to pvv.ntnu.no instead of imap.
thanx @felixalb

$config['mail_domain'] = "pvv.ntnu.no";
$config['smtp_user'] = "%u";

Maybe fixed with changing user to pvv.ntnu.no instead of imap. thanx @felixalb $config['mail_domain'] = "pvv.ntnu.no"; $config['smtp_user'] = "%u";
danio requested changes 2023-10-30 09:46:07 +01:00
danio left a comment
Owner

Please fix the commit author and message

Maybe something like:

bekkalokk/roundcube: init at <listen url>

Please fix the commit author and message Maybe something like: bekkalokk/roundcube: init at `<listen url>`
@ -13,6 +13,7 @@
# ./services/website.nix
./services/nginx.nix
./services/gitea/default.nix
./services/webmail
Owner

praise: Thanks for putting it in a folder like this!

praise: Thanks for putting it in a folder like this!
danio marked this conversation as resolved
@ -0,0 +3,4 @@
with lib;
let
cfg = config.services.roundcube;
domain = "webmail2.pvv.ntnu.no";
Owner

webmail is currently a directory of multiple email clients, but the roundcube module in nixos listens on / path on this host so this should probably be a service domain like roundcube.pvv.ntnu.no

We can set up a redirect on webmail.pvv.ntnu.no/roundcube later to keep old links/bookmarks working

Alternatively you could override the nginx config to listen on the subdirectory

`webmail` is currently a directory of multiple email clients, but the roundcube module in nixos listens on `/` path on this host so this should probably be a service domain like `roundcube.pvv.ntnu.no` We can set up a redirect on `webmail.pvv.ntnu.no/roundcube` later to keep old links/bookmarks working Alternatively you could override the nginx config to listen on the subdirectory
danio marked this conversation as resolved
@ -0,0 +22,4 @@
$config['default_host'] = "ssl://imap.pvv.ntnu.no";
$config['default_port'] = 993;
$config['smtp_server'] = "tls://smtp.pvv.ntnu.no";
$config['smtp_port'] = 25;
Owner

We have SSL smtp which we should probably use over STARTTLS on 25

We have SSL smtp which we should probably use over STARTTLS on 25
Author
Owner

Sure. I only copied our current roundcube config and worked a bit on it to work.

Sure. I only copied our current roundcube config and worked a bit on it to work.
danio marked this conversation as resolved
@ -0,0 +32,4 @@
'';
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
Owner

nginx is what listens on these ports, and that is managed somewhere else so this should be removed

nginx is what listens on these ports, and that is managed somewhere else so this should be removed
danio marked this conversation as resolved
adriangl force-pushed roundcube from 7dc0b99a09 to 7aae4639d0 2023-11-02 11:38:42 +01:00 Compare
adriangl force-pushed roundcube from 7aae4639d0 to a7e9c52d9f 2023-11-02 11:42:57 +01:00 Compare
adriangl force-pushed roundcube from a7e9c52d9f to 8400cecf64 2023-11-02 11:44:01 +01:00 Compare
danio requested changes 2023-11-02 17:10:20 +01:00
danio left a comment
Owner

The commit author is still "=" instead of adrian, would be nice to get fixed

That is the only thing I consider super-blocking

The commit author is still "=" instead of adrian, would be nice to get fixed That is the only thing I consider super-blocking
@ -0,0 +16,4 @@
extraConfig = ''
# starttls needed for authentication, so the fqdn required to match
# the certificate
Owner

We are no longer using starttls

We are no longer using starttls
@ -0,0 +21,4 @@
$config['default_host'] = "ssl://imap.pvv.ntnu.no";
$config['default_port'] = 993;
#$config['smtp_server'] = "tls://smtp.pvv.ntnu.no";
#$config['smtp_port'] = 25;
Owner

nit: comments should be dropped

nit: comments should be dropped
adriangl force-pushed roundcube from 8400cecf64 to c8d383c9ab 2023-11-25 21:23:44 +01:00 Compare
oysteikt added 1 commit 2023-11-26 05:05:32 +01:00
bekkalokk: fix roundcube, and move to webmail2.pvv.ntnu.no/roundcube
All checks were successful
Eval nix flake / evals (push) Successful in 16m1s
Eval nix flake / evals (pull_request) Successful in 21m4s
2a1e649eed
oysteikt merged commit 54a54ad0f5 into main 2023-11-26 05:17:29 +01:00
Sign in to join this conversation.
No description provided.