Sunday, February 16, 2025
support@conference.yunohost.org
February
Mon Tue Wed Thu Fri Sat Sun
          1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 25
26
27
28
   
             

[08:09:07] <darl200> https://prosody.im/doc/configure ?
[12:53:54] <gaunaji> Bonjour,
[12:59:18] <gaunaji> Est-il possible de modifier l'emplacement par défaut du dossier de sauvegarde yunohost.backup ?
[13:01:10] <westbam> gaunaji: salut, tu peux faire un lien symbolique vers un autre emplacement si tu souhaites faire tes sauvegardes ailleurs
[13:04:01] <westbam> ln -s /mondossier/messauvegardes /home/yunohost.backup
[13:04:47] <gaunaji> C'est ce que je pensait faire, avant de tomber sur ce message: https://forum.yunohost.org/t/use-of-bind-mount-insteed-of-symbolic-link/28078
[22:15:01] <xananax> I'm trying to set a catchall email.
I'm following the instructions at: https://github.com/YunoHost/issues/issues/557#issuecomment-391551588
But when running `ldapadd -x -D "cn=admin,dc=yunohost,dc=org" -W -f catchall.txt`, I get `Enter LDAP Password:`
However, my admin password doesn't seem to be working, and I'm not finding info about how to find this pass
[22:15:35] <Aleks (he/him/il/lui)> `cn=admin,dc=yunohost,dc=org` doesnt exists anymore probably now that there are several admins
[22:15:50] <Aleks (he/him/il/lui)> should be replaced with the dn of an admin user, maybe
[22:16:16] <Aleks (he/him/il/lui)> uid=<some_user>,ou=users,dc=yunohost,dc=org (maybe)
[22:16:26] <xananax> Oh right, that makes sense
[22:18:12] <xananax> Works!
[22:18:18] <xananax> Thanks
[22:18:26] <xananax> Should I comment in the issue for anyone who might find it?
[22:18:46] <Aleks (he/him/il/lui)> yup that could be nice 👍️
[22:24:48] <xananax> I don't get errors, but I tried sending an email and I am not receiving it in my catchall box.
Before I investigate this further, am I correct to think the two lines:
```
cn: user@domain
sn: user@domain
```
in `catchall.txt` decide on the destination?
[22:36:32] <xananax> Found an easier way:
1. edit `/etc/postfix/main.cf`. Find the `virtual_alias_map` and add `regexp:/etc/postfix/aliases-regexp` at the end:
```
virtual_alias_maps= ldap:/etc/postfix/ldap-aliases.cf, ldap:/etc/postfix/ldap-groups.cf,regexp:/etc/postfix/aliases-regexp
```
2. create a new file `/etc/postfix/aliases-regexp`, and add:
```
/.*?@domain.tld/ your-address@domain.tld
```
3. restart postfix:
```sh
sudo yunohost service reload postfix
```
Done!
[22:37:33] <xananax> Now I wonder how to remove the ldap config I added earlier
[22:37:55] <xananax> I don't understand anything to ldap, it might as well be arcane runes to me
[22:42:23] <xananax> Well I guess it won't do harm to leave it. I tried reading docs for ldapmodify a bit but it's a horror show. LDAP management is one of the major reasons I use yunohost, because I don't have to touch it
[22:42:43] <xananax> Thanks a lot to you peeps for taking care of that
[23:10:17] <xananax> Ça a l'air compliqué. De ce que je comprends, matrix-yunohost, ou peut-être Debian, ont changé l'archi de Postgresql. Du coup, tu ne peux plus changer la collation. Vois ce post qui décrit le problème, et qui dit ne pas avoir de solution: https://blog.nuvotex.de/postgres-2/
L'upgrade avec `--force` ça a pas l'air fameux non plus. Je te conseillerais de faire un backup total de ton disque, essayer ça, et voir ce que ça donne.
[23:11:59] <xananax> Si c'est une install fraîche comme tu dis, et que ce n'est pas une mise à jour, alors c'est vraiment bizarre
[23:18:36] <xananax> Note: mon expérience perso, pour avoir essayé deux fois de maintenir un serveur Matrix, une fois sur mon archi personnelle, et une fois avec yunohost, je pense que c'est un des services les plus enclins à foirer complètement et de façon inattendue et irrécupérable. Pour la petite histoire je maintiens des serveurs professionnellement depuis des dizaines d'années, et bon, je peux faire une mauvaise manip pour sûr, mais j'ai rarement eu des problèmes dans ma vie, à part avec Matrix et Mastodon. Je conseillerais d'avoir un bon système de backups pour les deux.