Hardware: computer YunoHost version: 4.1.4.4 I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Hi,
tested the smtp relay according to your write up - YunoHost • index
That worked perfect, but now I’m a bit unsure on how to revert back? …I didn’t made any notes and some time past
Should it be;
smtp.relay.host:
default: False
or
set smtp.relay.host False
or something els
Maybe someone could check the default setup and paste info for the smtp.relay.host:
This does not work (with or without space ‘’ ’ ');
$ sudo yunohost settings set smtp.relay.host -v ''
Error: Argument 'value' is required
This works with warnings;
$ sudo yunohost settings set smtp.relay.host -v ´´
/usr/lib/moulinette/yunohost/settings.py:344: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if old_value != new_value:
Warning: 'yunohost service regen-conf' is deprecated! Please use 'yunohost tools regen-conf' instead.
Warning: Traceback (most recent call last):
Warning: File "/usr/bin/yunohost", line 72, in <module>
Warning: parser=parser
Warning: File "/usr/lib/moulinette/yunohost/__init__.py", line 29, in cli
Warning: top_parser=parser
Warning: File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 120, in cli
Warning: args, output_as=output_as, timeout=timeout
Warning: File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 496, in run
Warning: print(ret)
Warning: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Warning: The configuration file '/etc/postfix/sasl_passwd.db' has been manually modified and will not be updated
Warning: The configuration file '/etc/postfix/sasl_passwd' has been manually modified and will not be updated
Mmh I think the best way is to use the appropriate reset setting. Try sudo yunohost settings reset [the setting you want to reset]
or sudo yunohost settings reset-all (for all settings).
All the appropriate settings commands are shown when you sudo yunohost settings -h