Pour obtenir les logs plus complets, dans la webadmin de ton server, va dans Outils > Journaux et tu devrais pouvoir retrouver ceux qui sont liés à l’ajout de tes sous-domaines.
Edit 2 : Clairement, tout ça ressemble vraiment juste à un souci de conf.
Edit 3 : J’ai donné une commande à gérer en CLI, je ne sait pas si tu es à l’aise pour gérer en SSH .
Malheureusement cela n’a pas fonctionné. je ne sais aps comment utiliser YunoPaste pour du code qui vient de l’extérieur, voici ce qu’à donnéla commande que tu m’as suggérée
admin@monsite:~$ sudo yunohost tools regen-conf postfix --dry-run --with-diff --debug
[sudo] password for admin:
384 DEBUG initializing base actions map parser for cli
442 DEBUG loading actions map
446 DEBUG building parser...
459 DEBUG building parser took 0.013s
461 DEBUG acquiring lock...
515 DEBUG lock has been acquired
825 DEBUG loading python module yunohost.tools took 0.310s
826 DEBUG processing action [2916833.1]: yunohost.tools.regen-conf with args={'names': ['postfix'], 'with_diff': True, 'force': False, 'dry_run': True, 'list_pending': False}
922 DEBUG initializing ldap interface
936 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/postfix 7>&1']'
946 DEBUG + set -e
947 DEBUG + . /usr/share/yunohost/helpers
949 DEBUG +++ set +o
950 DEBUG +++ grep xtrace
955 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
955 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
955 DEBUG ++ set +x
992 DEBUG + do_pre_regen /var/cache/yunohost/regenconf/pending/postfix
992 DEBUG + pending_dir=/var/cache/yunohost/regenconf/pending/postfix
993 DEBUG + cd /usr/share/yunohost/conf/postfix
993 DEBUG + postfix_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix
993 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
999 DEBUG + default_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/default/
1000 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/default/
1003 DEBUG + cp plain/header_checks plain/ldap-accounts.cf plain/ldap-aliases.cf plain/ldap-domains.cf plain/ldap-groups.cf plain/master.cf plain/sender_canonical plain/smtp_reply_filter /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
1010 DEBUG ++ cat /etc/yunohost/current_host
1013 DEBUG + main_domain=monsite.fr
1014 DEBUG ++ yunohost settings get security.postfix.postfix_compatibility
1323 DEBUG + export compatibility=intermediate
1324 DEBUG + compatibility=intermediate
1325 DEBUG + export relay_port=
1326 DEBUG + relay_port=
1326 DEBUG + export relay_user=
1326 DEBUG + relay_user=
1326 DEBUG + export relay_host=
1327 DEBUG + relay_host=
1327 DEBUG ++ yunohost settings get email.smtp.smtp_relay_enabled
1327 DEBUG ++ int_to_bool
1327 DEBUG ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
1663 DEBUG + export relay_enabled=False
1666 DEBUG + relay_enabled=False
1666 DEBUG + '[' False == True ']'
1666 DEBUG + export main_domain
1667 DEBUG ++ yunohost domain list --features mail_in mail_out --output-as json
1669 DEBUG ++ tr '\n' ' '
1671 DEBUG ++ jq -r '.domains[]'
2147 DEBUG + export 'domain_list=monsite.fr 2f.monsite.fr chat.monsite.fr next.monsite.fr piwigo.monsite.fr zik.monsite.fr '
2147 DEBUG + domain_list='monsite.fr 2f.monsite.fr chat.monsite.fr next.monsite.fr piwigo.monsite.fr zik.monsite.fr '
2147 DEBUG + ynh_render_template main.cf /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2148 DEBUG + local template_path=main.cf
2148 DEBUG + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2148 DEBUG ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2151 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2154 DEBUG + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2154 DEBUG jinja2.Template(sys.stdin.read()
2154 DEBUG ).render(os.environ));'
2261 DEBUG + ynh_render_template sni /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2262 DEBUG + local template_path=sni
2262 DEBUG + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2262 DEBUG ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2265 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2267 DEBUG + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2267 DEBUG jinja2.Template(sys.stdin.read()
2267 DEBUG ).render(os.environ));'
2369 DEBUG + cat postsrsd
2370 DEBUG + sed 's/{{ main_domain }}/monsite.fr/g'
2370 DEBUG + sed 's/{{ domain_list }}/monsite.fr 2f.monsite.fr chat.monsite.fr next.monsite.fr piwigo.monsite.fr zik.monsite.fr /g'
2372 DEBUG ++ yunohost settings get email.smtp.smtp_allow_ipv6
2372 DEBUG ++ int_to_bool
2373 DEBUG ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2684 DEBUG + ipv6=True
2684 DEBUG + '[' True == False ']'
2685 DEBUG + '[' '!' -f /proc/net/if_inet6 ']'
3687 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./98-postfix_emailpoubelle" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/postfix_emailpoubelle 7>&1']'
3697 DEBUG + source /usr/share/yunohost/helpers
3698 DEBUG +++ grep xtrace
3698 DEBUG +++ set +o
3701 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
3701 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
3701 DEBUG ++ set +x
3734 DEBUG ++ ynh_app_setting_get --app= --key=install_dir
3734 DEBUG ++ local _globalapp=:
3735 DEBUG ++ local legacy_args=ak
3735 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
3735 DEBUG ++ local -A args_array
3735 DEBUG ++ local app
3735 DEBUG ++ local key
3735 DEBUG ++ ynh_handle_getopts_args --app= --key=install_dir
3736 DEBUG ++ set +o xtrace
3790 DEBUG ++ app=:
3790 DEBUG ++ [[ install_dir =~ (unprotected|protected|skipped)_ ]]
3790 DEBUG ++ ynh_app_setting get : install_dir
3790 DEBUG ++ set +o xtrace
3846 WARNING Traceback (most recent call last):
3847 WARNING File "<stdin>", line 5, in <module>
3847 WARNING AssertionError: Setting file /etc/yunohost/apps/:/settings.yml does not exists ?
3849 DEBUG + install_dir=
3849 DEBUG + set -e
3850 DEBUG + FORCE=0
3850 DEBUG + DRY_RUN=0
3850 DEBUG + case "$1" in
3851 DEBUG + do_pre_regen /var/cache/yunohost/regenconf/pending/postfix_emailpoubelle
3851 DEBUG + pending_dir=/var/cache/yunohost/regenconf/pending/postfix_emailpoubelle
3851 DEBUG + postfix_main_cf=/var/cache/yunohost/regenconf/pending/postfix_emailpoubelle/../postfix/etc/postfix/main.cf
3851 DEBUG + sudo sed -e 's@^virtual_alias_maps\s*=\s*\(.*\)@virtual_alias_maps = hash:/var/virtual,\1@' -i /var/cache/yunohost/regenconf/pending/postfix_emailpoubelle/../postfix/etc/postfix/main.cf
3876 DEBUG + exit 0
4878 DEBUG Applying pending configuration for category 'postfix'...
4903 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/default/postsrsd' to system conf '/etc/default/postsrsd'
4904 DEBUG > system conf is already up-to-date
4904 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-groups.cf' to system conf '/etc/postfix/ldap-groups.cf'
4905 DEBUG > system conf is already up-to-date
4905 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/header_checks' to system conf '/etc/postfix/header_checks'
4906 DEBUG > system conf is already up-to-date
4906 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sender_canonical' to system conf '/etc/postfix/sender_canonical'
4906 DEBUG > system conf is already up-to-date
4906 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/master.cf' to system conf '/etc/postfix/master.cf'
4907 DEBUG > system conf is already up-to-date
4908 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-aliases.cf' to system conf '/etc/postfix/ldap-aliases.cf'
4908 DEBUG > system conf is already up-to-date
4908 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/smtp_reply_filter' to system conf '/etc/postfix/smtp_reply_filter'
4909 DEBUG > system conf is already up-to-date
4909 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-domains.cf' to system conf '/etc/postfix/ldap-domains.cf'
4909 DEBUG > system conf is already up-to-date
4909 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-accounts.cf' to system conf '/etc/postfix/ldap-accounts.cf'
4909 DEBUG > system conf is already up-to-date
4909 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni' to system conf '/etc/postfix/sni'
4910 DEBUG > system conf is already up-to-date
4910 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf' to system conf '/etc/postfix/main.cf'
4911 DEBUG > system conf is already up-to-date
4911 DEBUG The configuration is already up-to-date for category 'postfix'
4911 DEBUG action [2916833.1] executed in 4.085s
4911 DEBUG lock has been released
En fait la commande donnée par @stilobique (yunohost tools regen-conf postfix --dry-run --with-diff --debug) contient --dry-run, c’est-à-dire qu’il n’applique pas la modification, il la simule pour afficher la différence.
Mais en l’occurence: The configuration is already up-to-date for category 'postfix' donc c’est déjà à jour.
Désolé, j’ai manqué de pédagogie pour donner plus d’explication .
Malheureusement, tu vas devoir passer encore par le SSH pour l’instant. Il est vrai que ça fait peur au début, mais ce n’est pas sorcier. C’est comme un vieux jeu vidéo textuel ^^ .
Pour installer la mise à jour à partir du fix que @Lapineige à fait, tu te connectes en ssh et tu appelles cette commande.
sudo : cette commande permet de signaler que tu vas demander un niveau de privilège, en gros être administrateur de ta machine.
yunohost : ici, c’est le nom d’un programme que tu appelles, ici yunohost qui donne les outils d’administration.
app upgrade emailpoubelle : selon le programme, ce dernier va prendre des arguments et/où des paramètre. Si tu fait une double tabulation ( Tab) après un nom de programme, le terminal peut te donner les options possible.
On appelle donc le parametre app avec l’option upgrade et enfin, le nom de l’application.
-u https://github.com/YunoHost-Apps/emailpoubelle_ynh/tree/testing : le parametre u signale que l’on souhaite faire la mise à jour avec un lien. Tu peux écrire par exemple --url qui est la version longue de l’argument.
--debug : C’est un argument pour simplement avoir plus d’information directement dans le terminal.
Mais j’ai viré EmailPoubelle et lancé le fix, je dois quand même faire cela?
Par contre je n’arrête pas de recevoir des mails de mon YunoHost (déjà plus de 100)
Quand je vais voir dans l’admin, je vois qu’il n’y a pas d’email de l’admin (admin_legacy est vide) mais qu’il y a un email correct pour moi, seul utilisateur et là, je reçois plein de messages d’erreur
Non, si tu la supprimais, pas besoin, c’était pour donner davantage informations sur l’utilisation en CLI pour ton serveur.
En l’état, je suppose que tu disposes de divers problèmes sur ton serveur, et ça rend le tout difficile à déboguer ; mais si ce sujet est résolu, c’est déjà bien .