Discussion:
[RCD] SMTP configuration could be simpler
A.L.E.C
2017-09-01 14:21:26 UTC
Permalink
It looks that SMTP connection configuration in Roundcube is not as
simple as it could be. Can we make it more straightforward?

I propose to:

1. Remove smtp_user and smtp_pass options and act as they would be set
to %u and %p accordingly. Their modification could still be possible via
plugin API.

2. Set the default smtp_port to 587.

What do you think?
--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer [http://kolab.org]
Roundcube Webmail Developer [http://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
Glen Eustace
2017-09-01 22:30:33 UTC
Permalink
Post by A.L.E.C
It looks that SMTP connection configuration in Roundcube is not as
simple as it could be. Can we make it more straightforward?
1. Remove smtp_user and smtp_pass options and act as they would be set
to %u and %p accordingly. Their modification could still be possible via
plugin API.
2. Set the default smtp_port to 587.
What do you think?
I would prefer this not to be changed. Personally I did not find setting a few options in the config file to be complicated.

If you want to add %u and %p as a default, don’t remove the option for an admin to override and set a global user/password.



--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Glen Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand 4446
Ph +64 6 357 8168, Mob +64 27 542 4015

“Specialising in providing low-cost professional Internet Services since 1997"
Zhang Huangbin
2017-09-02 02:55:19 UTC
Permalink
Post by A.L.E.C
It looks that SMTP connection configuration in Roundcube is not as
simple as it could be. Can we make it more straightforward?
1. Remove smtp_user and smtp_pass options and act as they would be set
to %u and %p accordingly. Their modification could still be possible via
plugin API.
2. Set the default smtp_port to 587.
I prefer not to change current smtp connection configurations, it’s flexible
and already simple enough.

For newly built mail servers, SMTP auth (with end user’s user/pass) and
secure connection are required, but there’re few companies which have
to use a hard-coded smtp user/pass for all outgoing emails (historical reason).

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail
Thomas Bruederli
2017-09-03 21:44:51 UTC
Permalink
Post by A.L.E.C
It looks that SMTP connection configuration in Roundcube is not as
simple as it could be. Can we make it more straightforward?
1. Remove smtp_user and smtp_pass options and act as they would be set
to %u and %p accordingly. Their modification could still be possible via
plugin API.
2. Set the default smtp_port to 587.
Making these values the default: yes. Removing them: no.

~Thomas

Loading...