Webmail considerations with the ability to configure external smtp server

We use neth as imap server, while sending mails through externally hosted smtp server. As it was easy to configure internal neth imap but separate smtp server in nextcloud mailapp, we started using that thing, but I realize that it is to slow. It takes ages to refresh folders.

However, I’d like to ask which our alternative webmail options could be with this kind of setup, where a separate and external smtp server can be configured while imap from nethserver is used? A quick test with rainloop webmail app in nextcloud some time ago was not successful. Now I am thinking about trying roundcubemail or webtop as replacement. Is that possible with them and where/how would a separate smtp server be configured?

This reminds me a post where saitobenkei suggested some modifications that would allow us to configure internal smtp server which then would send emails through our external smtp provider with the user credentials. Maybe I should try this, but I will have to test this on a free weekend so I won’t screw our prod nethserver and could easily revert back through a snapshot if something goes south.

I still think that being able to configure smarthost for each individual user instead of one generic user only would be a nice feature enhancement for nethserver smarthost. The individual credentials could be taken from the users connector configuration :slight_smile:

@Elleni

Hi

I would like to remind you that most smarthost operations do not use pop3 connector and are used in an enterprise or institutional environment. Here one user (or IP) is the norm for smarthosts!
The server can not (also legally) know users or passwords…

My 2 cents
Andy

1 Like

Thanks for the reminder :slight_smile:

I still would like to know, which of roundcube/webtop would allow such configruation where imap and smtp credentials can be configured separately to replace nextcloud email app.

Hi

I use Roundcube on NethServer for all my clients Webmail requirements. It is very flexible.
You need to go to settings -> identity for each user and set up the right info there.

My 2 cents
Andy

1 Like

Roundcube is also quickly installed and tested - if it fulfills your needs, fine, if not, it’s a one click uninstall…

1 Like

Great, I was hoping it can do that, as webtop might be cool thing but seems a bit of an overkill for just a webmail client. Do you happen to know if in the meantime there is a recent enough version in the mainrepo where the very nice looking elastic theme can be activated? I will have a look at it.

not yet built in, but i think it can also be installed as a vhost…
Neth still uses officially 1.1.12. Maybe in the test repo…

Mhm, thats a pitty - I am waiting for elastic skin enabled version since I started evaluating nethserver, and still hope it will make it into the mainrepo. Querying yum nethserver-roundcubemail I see that version would be installed is 1.4.0-1 - are you sure, it has no elastic skin, as I thought 1.4 version is supporting it. Or do I still have some non standard repo configured without knowing? Maybe @dev_team can give an estimate on when this could be available in official repo?

Try it. My home nethserver is current, but still shows in the “info” 1.1.12…

1 Like

I doubt it will be put in the official repo; that tracks CentOS. But @stephdl has released an updated package:
https://wiki.nethserver.org/doku.php?id=roundcubemail

4 Likes

I provide a roundcubemail version in my repository, currently 1.4.9

https://wiki.nethserver.org/doku.php?id=roundcubemail

You beat me @danb35

3 Likes

As my yum tells me it would install 1.4.0-1 - it makes me wonder if I accidently still have some unofficial repo activated… Howto check? And as its one of our prod server which needs to remain stable - if I enable your repo, will all other packages remain from the stable repo? I don’t yet quite understand the mechanics of repos so sorry if the question is trivial. :slight_smile:

The yum output should tell you which repo it would be installing from.

1 Like

:blush: I did not pay attention then. Its sb-nethserver-base for nethserver-roundcubemail, so this is standard repo? And further down I see roundcubemail package from sb-epel. Whats that? But that would still be 1.4.0-1 then, but still without elastic afaik?

From what repository do you want to install this version 1.4.0 ?

It doesn’t exist IIRC

As said, I am not aware of having some nonstandard repository activated, and if it is, I’d like to remove it. Following the youm output:
yum install nethserver-roundcubemail
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • sb-base: u2.nethserver.com
  • sb-centos-sclo-rh: u2.nethserver.com
  • sb-centos-sclo-sclo: u2.nethserver.com
  • sb-epel: u2.nethserver.com
  • sb-extras: u2.nethserver.com
  • sb-nethserver-base: u2.nethserver.com
  • sb-nethserver-updates: u2.nethserver.com
  • sb-updates: u2.nethserver.com
    Resolving Dependencies
    –> Running transaction check
    —> Package nethserver-roundcubemail.noarch 0:1.4.0-1.ns7 will be installed
    –> Processing Dependency: roundcubemail for package: nethserver-roundcubemail-1.4.0-1.ns7.noarch
    –> Processing Dependency: php-mysql for package: nethserver-roundcubemail-1.4.0-1.ns7.noarch
    –> Running transaction check
    —> Package php-mysql.x86_64 0:5.4.16-48.el7 will be installed
    –> Processing Dependency: php-pdo(x86-64) = 5.4.16-48.el7 for package: php-mysql-5.4.16-48.el7.x86_64
    —> Package roundcubemail.noarch 0:1.1.12-2.el7 will be installed
    –> Processing Dependency: php-pear(Auth_SASL) >= 1.0.6 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pear(Mail_Mime) >= 1.9.0 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pear(Net_IDNA2) >= 0.1.1 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pear(Net_LDAP2) >= 2.0.12 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pear(Net_SMTP) >= 1.7.1 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pear(Net_Sieve) >= 1.3.4 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pear(Net_Socket) >= 1.0.12 for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-composer(kolab/Net_LDAP3) for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-gd for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-ldap for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-mbstring for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-posix for package: roundcubemail-1.1.12-2.el7.noarch
    –> Processing Dependency: php-pspell for package: roundcubemail-1.1.12-2.el7.noarch
    –> Running transaction check
    —> Package php-gd.x86_64 0:5.4.16-48.el7 will be installed
    –> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-48.el7.x86_64
    —> Package php-kolab-net-ldap3.noarch 0:1.0.7-2.el7 will be installed
    —> Package php-ldap.x86_64 0:5.4.16-48.el7 will be installed
    —> Package php-mbstring.x86_64 0:5.4.16-48.el7 will be installed
    —> Package php-pdo.x86_64 0:5.4.16-48.el7 will be installed
    —> Package php-pear-Auth-SASL.noarch 0:1.0.6-5.el7 will be installed
    –> Processing Dependency: php-pear(PEAR) >= 1.4.9 for package: php-pear-Auth-SASL-1.0.6-5.el7.noarch
    –> Processing Dependency: /usr/bin/pear for package: php-pear-Auth-SASL-1.0.6-5.el7.noarch
    –> Processing Dependency: /usr/bin/pear for package: php-pear-Auth-SASL-1.0.6-5.el7.noarch
    —> Package php-pear-Mail-Mime.noarch 0:1.10.2-1.el7 will be installed
    —> Package php-pear-Net-IDNA2.noarch 0:0.1.1-10.el7 will be installed
    —> Package php-pear-Net-LDAP2.noarch 0:2.1.0-1.el7 will be installed
    —> Package php-pear-Net-SMTP.noarch 0:1.7.3-1.el7 will be installed
    —> Package php-pear-Net-Sieve.noarch 0:1.3.4-4.el7 will be installed
    —> Package php-pear-Net-Socket.noarch 0:1.0.14-1.el7 will be installed
    —> Package php-process.x86_64 0:5.4.16-48.el7 will be installed
    —> Package php-pspell.x86_64 0:5.4.16-48.el7 will be installed
    –> Processing Dependency: libpspell.so.15()(64bit) for package: php-pspell-5.4.16-48.el7.x86_64
    –> Processing Dependency: libaspell.so.15()(64bit) for package: php-pspell-5.4.16-48.el7.x86_64
    –> Running transaction check
    —> Package aspell.x86_64 12:0.60.6.1-9.el7 will be installed
    —> Package php-pear.noarch 1:1.9.4-21.el7 will be installed
    —> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
    –> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================
Package Arch Version Repository Size

Installing:
nethserver-roundcubemail noarch 1.4.0-1.ns7 sb-nethserver-base 156 k
Installing for dependencies:
aspell x86_64 12:0.60.6.1-9.el7 sb-base 686 k
php-gd x86_64 5.4.16-48.el7 sb-base 128 k
php-kolab-net-ldap3 noarch 1.0.7-2.el7 sb-epel 39 k
php-ldap x86_64 5.4.16-48.el7 sb-base 53 k
php-mbstring x86_64 5.4.16-48.el7 sb-base 506 k
php-mysql x86_64 5.4.16-48.el7 sb-base 102 k
php-pdo x86_64 5.4.16-48.el7 sb-base 99 k
php-pear noarch 1:1.9.4-21.el7 sb-base 357 k
php-pear-Auth-SASL noarch 1.0.6-5.el7 sb-epel 16 k
php-pear-Mail-Mime noarch 1.10.2-1.el7 sb-epel 48 k
php-pear-Net-IDNA2 noarch 0.1.1-10.el7 sb-epel 25 k
php-pear-Net-LDAP2 noarch 2.1.0-1.el7 sb-epel 97 k
php-pear-Net-SMTP noarch 1.7.3-1.el7 sb-epel 24 k
php-pear-Net-Sieve noarch 1.3.4-4.el7 sb-epel 20 k
php-pear-Net-Socket noarch 1.0.14-1.el7 sb-epel 13 k
php-process x86_64 5.4.16-48.el7 sb-base 56 k
php-pspell x86_64 5.4.16-48.el7 sb-base 42 k
roundcubemail noarch 1.1.12-2.el7 sb-epel 2.8 M
t1lib x86_64 5.1.2-14.el7 sb-base 166 k

Transaction Summary

Install 1 Package (+19 Dependent packages)

Total download size: 5.4 M
Installed size: 21 M
Is this ok [y/d/N]Preformatted text

Nethserver-roundcubemail-1.4.0 != Roundcubemail-1.4.0

The first one is the nethserver customisation, the second one is the rpm of the roundcubemail application

Install it from my repository

1 Like

Understood, thanks for clarification.

2 Likes