Closed ericgaspar closed 7 months ago
!testme
I still have problems with mails testing with two apps, it seems not resloved...
I test with one app on a dedicated domain: paheko.domain.tld
and another on a subpath of the root domain domain.tld/association
with the fist one I could send emails, but with second, I have an error:
mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
11BAB2C131D 16253 Sat Dec 2 18:22:02 paheko__2@domain.tld
(Host or domain name not found. Name service error for name=aliceadsl.fr type=MX: Host not found, try again)
user@aliceadsl.fr
0594A2C1232 16194 Sat Dec 2 18:16:02 paheko__2@domain.tld
(Host or domain name not found. Name service error for name=aliceadsl.fr type=MX: Host not found, try again)
user@aliceadsl.fr
-- 31 Kbytes in 2 Requests.
Sinon je vois ceci dans des fichiers postfix
cat /etc/postfix/app_senders_login_maps
# This file is regenerated automatically.
# Please DO NOT edit manually ... changes will be overwritten!
paheko__2@domain.tld paheko__2
Est-ce que ici je ne devrais voir les 2 sites paheko et paheko__2 ??
Est-ce que ici je ne devrais voir les 2 sites paheko et paheko__2 ??
Yes .. Can you maybe share the output of grep "mail_" /etc/yunohost/apps/paheko*/settings.yml
(of course redact the password if they are important)
Est-ce que ici je ne devrais voir les 2 sites paheko et paheko__2 ??
Yes .. Can you maybe share the output of
grep "mail_" /etc/yunohost/apps/paheko*/settings.yml
(of course redact the password if they are important)
grep "mail_" /etc/yunohost/apps/paheko*/settings.yml
/etc/yunohost/apps/paheko__2/settings.yml:mail_pwd: xxxxxxxxxxxxxxxxxxx
/etc/yunohost/apps/paheko/settings.yml:mail_pwd: xxxxxxxxxxxxxxxxxxxx
they seem be the correct values like in the folders config.
I have tried do this, perhaps not a good idea ??
postmap -F hash:/etc/postfix/app_senders_login_maps.db
postmap: warning: /etc/postfix/app_senders_login_maps.db, line 1: expected format: key whitespace value
The .db
is precisely the file generated by postmap from the non-.db
one, so yes, of course it doesnt work ...
What if you re-run yunohost tools regen-conf postfix
manually, does that add the entry for the other domain in /etc/postfix/app_senders_login_maps
?
yunohost tools regen-conf postfix
No, it did'nt
Hmpf in that case i would manually edit /usr/lib/python3/dist-packages/yunohost/app.py
, go to the bottom, and let's try adding a print(postfix_map)
in a new line after that if : https://github.com/YunoHost/yunohost/blob/bookworm/src/app.py#L3182
and then re-running yunohost tools regen-conf postfix
Hello, I have try your recommendations, but it still the same mailq error after do theses operations.
... Adding a the print
is supposed to meant to debug what's happening so we can understand and fix the issue ... it doesnt fix the issue by itself ...
... I guess maybe you can't see the print output without adding --debug
to the regenconf command ...
... I guess maybe you can't see the print output without adding
--debug
to the regenconf command ...
yunohost tools regen-conf postfix --debug
95 DEBUG initializing base actions map parser for cli
96 DEBUG loading actions map
97 DEBUG building parser...
104 DEBUG building parser took 0.007s
105 DEBUG acquiring lock...
113 DEBUG lock has been acquired
230 DEBUG loading python module yunohost.tools took 0.117s
230 DEBUG processing action [909520.1]: yunohost.tools.regen-conf with args={'names': ['postfix'], 'with_diff': False, 'force': False, 'dry_run': False, 'list_pending': False}
273 DEBUG initializing ldap interface
280 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/postfix 7>&1']'
286 DEBUG + set -e
286 DEBUG + . /usr/share/yunohost/helpers
286 DEBUG +++ set +o
287 DEBUG +++ grep xtrace
287 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
288 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
288 DEBUG ++ set +x
304 DEBUG + do_pre_regen /var/cache/yunohost/regenconf/pending/postfix
304 DEBUG + pending_dir=/var/cache/yunohost/regenconf/pending/postfix
304 DEBUG + cd /usr/share/yunohost/conf/postfix
304 DEBUG + postfix_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix
304 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
305 DEBUG + default_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/default/
305 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/default/
306 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
308 DEBUG ++ cat /etc/yunohost/current_host
309 DEBUG + main_domain=domain.tld
309 DEBUG ++ yunohost settings get security.postfix.postfix_compatibility
528 DEBUG + export compatibility=modern
529 DEBUG + compatibility=modern
529 DEBUG + export relay_port=
529 DEBUG + relay_port=
529 DEBUG + export relay_user=
530 DEBUG + relay_user=
530 DEBUG + export relay_host=
530 DEBUG + relay_host=
530 DEBUG ++ int_to_bool
530 DEBUG ++ yunohost settings get email.smtp.smtp_relay_enabled
530 DEBUG ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
760 DEBUG + export relay_enabled=False
761 DEBUG + relay_enabled=False
761 DEBUG + '[' False == True ']'
761 DEBUG + export main_domain
761 DEBUG ++ yunohost domain list --features mail_in mail_out --output-as json
761 DEBUG ++ jq -r '.domains[]'
762 DEBUG ++ tr '\n' ' '
1121 DEBUG + export 'domain_list=domain.tld borgserver.domain.tld forgejo.domain.tld paheko.domain.tld status-linux07.domain.tld tor.domain.tld www.domain.tld '
1122 DEBUG + domain_list='domain.tld borgserver.domain.tld forgejo.domain.tld paheko.domain.tld status-linux07.domain.tld tor.domain.tld www.domain.tld '
1122 DEBUG + ynh_render_template main.cf /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
1122 DEBUG + local template_path=main.cf
1122 DEBUG + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
1123 DEBUG ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
1123 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
1125 DEBUG + python3 -c 'import os, sys, jinja2; sys.stdout.write(
1125 DEBUG jinja2.Template(sys.stdin.read()
1125 DEBUG ).render(os.environ));'
1196 DEBUG + ynh_render_template sni /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
1196 DEBUG + local template_path=sni
1196 DEBUG + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
1197 DEBUG ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
1197 DEBUG + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
1199 DEBUG + python3 -c 'import os, sys, jinja2; sys.stdout.write(
1199 DEBUG jinja2.Template(sys.stdin.read()
1199 DEBUG ).render(os.environ));'
1259 DEBUG + cat postsrsd
1260 DEBUG + sed 's/{{ main_domain }}/domain.tld/g'
1260 DEBUG + sed 's/{{ domain_list }}/domain.tld borgserver.domain.tld forgejo.domain.tld paheko.domain.tld status-linux07.domain.tld tor.domain.tld www.domain.tld /g'
1263 DEBUG ++ yunohost settings get email.smtp.smtp_allow_ipv6
1263 DEBUG ++ int_to_bool
1263 DEBUG ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
1495 DEBUG + ipv6=True
1495 DEBUG + '[' True == False ']'
1496 DEBUG + '[' '!' -f /proc/net/if_inet6 ']'
2498 DEBUG Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'postfix'...
2534 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/default/postsrsd' to system conf '/etc/default/postsrsd'
2534 DEBUG > system conf is already up-to-date
2534 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/master.cf' to system conf '/etc/postfix/master.cf'
2535 DEBUG > system conf is already up-to-date
2535 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf' to system conf '/etc/postfix/main.cf'
2536 DEBUG > system conf is already up-to-date
2536 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sender_canonical' to system conf '/etc/postfix/sender_canonical'
2536 DEBUG > system conf is already up-to-date
2537 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-domains.cf' to system conf '/etc/postfix/ldap-domains.cf'
2537 DEBUG > system conf is already up-to-date
2537 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-aliases.cf' to system conf '/etc/postfix/ldap-aliases.cf'
2538 DEBUG > system conf is already up-to-date
2538 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-accounts.cf' to system conf '/etc/postfix/ldap-accounts.cf'
2538 DEBUG > system conf is already up-to-date
2539 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni' to system conf '/etc/postfix/sni'
2539 DEBUG > system conf is already up-to-date
2539 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/header_checks' to system conf '/etc/postfix/header_checks'
2539 DEBUG > system conf is already up-to-date
2540 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-groups.cf' to system conf '/etc/postfix/ldap-groups.cf'
2540 DEBUG > system conf is already up-to-date
2540 DEBUG processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/smtp_reply_filter' to system conf '/etc/postfix/smtp_reply_filter'
2541 DEBUG > system conf is already up-to-date
2541 DEBUG La configuration est déjà à jour pour la catégorie 'postfix'
2542 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" post \'\' \'\' \'\' 7>&1']'
2549 DEBUG + set -e
2550 DEBUG + . /usr/share/yunohost/helpers
2550 DEBUG +++ set +o
2550 DEBUG +++ grep xtrace
2551 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2551 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
2551 DEBUG ++ set +x
2568 DEBUG + do_post_regen
2568 DEBUG + regen_conf_files=
2568 DEBUG + chown postfix /etc/postfix
2569 DEBUG + '[' -e /etc/postfix/sasl_passwd ']'
2569 DEBUG + postmap -F hash:/etc/postfix/sni
2580 DEBUG + python3 -c 'from yunohost.app import regen_mail_app_user_config_for_dovecot_and_postfix as r; r(only="postfix")'
2716 DEBUG ['paheko__2@domain.tld paheko__2', 'paheko@paheko.domain.tld paheko']
2728 DEBUG + [[ -z '' ]]
3734 DEBUG Pour voir le journal de cette opération 'Régénérer les configurations du système 'postfix'', utilisez la commande 'yunohost log show 20231202-183140-regen_conf-postfix'
3743 DEBUG action [909520.1] executed in 3.512s
3743 DEBUG lock has been released
Oh, you know what ? I have just received the 2 emails blocked in the mailq just now.
some logs here from /var/log/mail.info
Dec 2 19:30:06 domain postfix/qmgr[400045]: D538A2C1598: removed
Dec 2 19:30:06 domain postfix/anvil[909285]: statistics: max connection rate 1/60s for (smtp:45.129.14.160) at Dec 2 19:26:46
Dec 2 19:30:06 domain postfix/anvil[909285]: statistics: max connection count 1 for (smtp:45.129.14.160) at Dec 2 19:26:46
Dec 2 19:30:06 domain postfix/anvil[909285]: statistics: max cache size 1 at Dec 2 19:26:46
Dec 2 19:31:01 domain postfix/pickup[909215]: 380BF2C154F: uid=987 from=<paheko>
Dec 2 19:31:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:31:01 domain postfix/cleanup[909363]: 380BF2C154F: message-id=<20231202183101.380BF2C154F@domain.fr>
Dec 2 19:31:01 domain postfix/qmgr[400045]: 380BF2C154F: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:31:01 domain postfix/pipe[907673]: 380BF2C154F: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:31:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:31:01 domain postfix/cleanup[909363]: 3C41D2C1598: message-id=<20231202183101.3C41D2C1598@domain.fr>
Dec 2 19:31:01 domain postfix/bounce[907925]: 380BF2C154F: sender non-delivery notification: 3C41D2C1598
Dec 2 19:31:01 domain postfix/qmgr[400045]: 3C41D2C1598: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:31:01 domain postfix/qmgr[400045]: 380BF2C154F: removed
Dec 2 19:31:06 domain postfix/pipe[907673]: 3C41D2C1598: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:31:06 domain postfix/qmgr[400045]: 3C41D2C1598: removed
Dec 2 19:31:56 domain dovecot: imap(domain07)<907686><C/EqrooLxWclqBzt>: Disconnected for inactivity in=252 out=2331 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 2 19:32:01 domain postfix/pickup[909215]: 4A6832C154F: uid=987 from=<paheko>
Dec 2 19:32:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:32:01 domain postfix/cleanup[909363]: 4A6832C154F: message-id=<20231202183201.4A6832C154F@domain.fr>
Dec 2 19:32:01 domain postfix/qmgr[400045]: 4A6832C154F: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:32:01 domain postfix/pipe[907673]: 4A6832C154F: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:32:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:32:01 domain postfix/cleanup[909363]: 4F2872C1598: message-id=<20231202183201.4F2872C1598@domain.fr>
Dec 2 19:32:01 domain postfix/qmgr[400045]: 4F2872C1598: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:32:01 domain postfix/bounce[907925]: 4A6832C154F: sender non-delivery notification: 4F2872C1598
Dec 2 19:32:01 domain postfix/qmgr[400045]: 4A6832C154F: removed
Dec 2 19:32:06 domain postfix/pipe[907673]: 4F2872C1598: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:32:06 domain postfix/qmgr[400045]: 4F2872C1598: removed
Dec 2 19:33:01 domain postfix/pickup[909215]: 5D4692C154F: uid=987 from=<paheko>
Dec 2 19:33:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:33:01 domain postfix/cleanup[909363]: 5D4692C154F: message-id=<20231202183301.5D4692C154F@domain.fr>
Dec 2 19:33:01 domain postfix/qmgr[400045]: 5D4692C154F: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:33:01 domain postfix/pipe[907673]: 5D4692C154F: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:33:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:33:01 domain postfix/cleanup[909363]: 6185C2C1598: message-id=<20231202183301.6185C2C1598@domain.fr>
Dec 2 19:33:01 domain postfix/bounce[907925]: 5D4692C154F: sender non-delivery notification: 6185C2C1598
Dec 2 19:33:01 domain postfix/qmgr[400045]: 6185C2C1598: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:33:01 domain postfix/qmgr[400045]: 5D4692C154F: removed
Dec 2 19:33:01 domain postfix/smtpd[909609]: connect from vsmtp9.inforoutes.fr[46.18.231.47]
Dec 2 19:33:02 domain postfix/smtpd[909609]: SSL_accept error from vsmtp9.inforoutes.fr[46.18.231.47]: -1
Dec 2 19:33:02 domain postfix/smtpd[909609]: warning: TLS library problem: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol:../ssl/statem/statem_srvr.c:1685:
Dec 2 19:33:02 domain postfix/smtpd[909609]: lost connection after STARTTLS from vsmtp9.inforoutes.fr[46.18.231.47]
Dec 2 19:33:02 domain postfix/smtpd[909609]: disconnect from vsmtp9.inforoutes.fr[46.18.231.47] ehlo=1 starttls=0/1 commands=1/2
Dec 2 19:33:06 domain postfix/pipe[907673]: 6185C2C1598: to=<paheko@domain.fr>, relay=dovecot, delay=4.7, delays=0/4.7/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:33:06 domain postfix/qmgr[400045]: 6185C2C1598: removed
Dec 2 19:33:10 domain postfix/qmgr[400045]: 0594A2C1232: from=<paheko__2@domain.fr>, size=16194, nrcpt=1 (queue active)
Dec 2 19:33:11 domain postfix/smtp[909614]: Trusted TLS connection established to mx1.free.fr[212.27.48.7]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 2 19:33:11 domain postfix/smtp[909614]: 0594A2C1232: to=<rodrob@aliceadsl.fr>, relay=mx1.free.fr[212.27.48.7]:25, delay=4630, delays=4628/0.03/1.3/0.42, dsn=2.0.0, status=sent (250 OK)
Dec 2 19:33:11 domain postfix/qmgr[400045]: 0594A2C1232: removed
Dec 2 19:33:17 domain postfix/smtpd[909609]: connect from unknown[147.78.103.100]
Dec 2 19:33:17 domain postfix/smtpd[909609]: disconnect from unknown[147.78.103.100] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 2 19:33:58 domain dovecot: imap-login: Login: user=<domain07>, method=PLAIN, rip=37.168.28.237, lip=89.234.140.172, mpid=909623, TLS, session=<HHTCIIsLv2clqBzt>
Dec 2 19:34:01 domain postfix/pickup[909215]: 714402C1232: uid=987 from=<paheko>
Dec 2 19:34:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:34:01 domain postfix/cleanup[909363]: 714402C1232: message-id=<20231202183401.714402C1232@domain.fr>
Dec 2 19:34:01 domain postfix/qmgr[400045]: 714402C1232: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:34:01 domain postfix/pipe[907673]: 714402C1232: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:34:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:34:01 domain postfix/cleanup[909363]: 768CE2C13D6: message-id=<20231202183401.768CE2C13D6@domain.fr>
Dec 2 19:34:01 domain postfix/bounce[909637]: 714402C1232: sender non-delivery notification: 768CE2C13D6
Dec 2 19:34:01 domain postfix/qmgr[400045]: 768CE2C13D6: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:34:01 domain postfix/qmgr[400045]: 714402C1232: removed
Dec 2 19:34:06 domain postfix/pipe[907673]: 768CE2C13D6: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:34:06 domain postfix/qmgr[400045]: 768CE2C13D6: removed
Dec 2 19:35:01 domain postfix/pickup[909215]: 84D972C1275: uid=987 from=<paheko>
Dec 2 19:35:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:35:01 domain postfix/cleanup[909363]: 84D972C1275: message-id=<20231202183501.84D972C1275@domain.fr>
Dec 2 19:35:01 domain postfix/qmgr[400045]: 84D972C1275: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:35:01 domain postfix/pipe[907673]: 84D972C1275: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:35:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:35:01 domain postfix/cleanup[909363]: 8964E2C13D6: message-id=<20231202183501.8964E2C13D6@domain.fr>
Dec 2 19:35:01 domain postfix/bounce[909637]: 84D972C1275: sender non-delivery notification: 8964E2C13D6
Dec 2 19:35:01 domain postfix/qmgr[400045]: 8964E2C13D6: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:35:01 domain postfix/qmgr[400045]: 84D972C1275: removed
Dec 2 19:35:06 domain postfix/pipe[907673]: 8964E2C13D6: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:35:06 domain postfix/qmgr[400045]: 8964E2C13D6: removed
Dec 2 19:36:01 domain postfix/pickup[909215]: D76ED2C1275: uid=987 from=<paheko>
Dec 2 19:36:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:36:01 domain postfix/cleanup[909363]: D76ED2C1275: message-id=<20231202183601.D76ED2C1275@domain.fr>
Dec 2 19:36:01 domain postfix/qmgr[400045]: D76ED2C1275: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:36:01 domain postfix/pipe[907673]: D76ED2C1275: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:36:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:36:01 domain postfix/cleanup[909363]: DB9AD2C13D6: message-id=<20231202183601.DB9AD2C13D6@domain.fr>
Dec 2 19:36:01 domain postfix/bounce[909637]: D76ED2C1275: sender non-delivery notification: DB9AD2C13D6
Dec 2 19:36:01 domain postfix/qmgr[400045]: DB9AD2C13D6: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:36:01 domain postfix/qmgr[400045]: D76ED2C1275: removed
Dec 2 19:36:06 domain postfix/pipe[907673]: DB9AD2C13D6: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:36:06 domain postfix/qmgr[400045]: DB9AD2C13D6: removed
Dec 2 19:36:37 domain postfix/anvil[909611]: statistics: max connection rate 1/60s for (smtp:46.18.231.47) at Dec 2 19:33:01
Dec 2 19:36:37 domain postfix/anvil[909611]: statistics: max connection count 1 for (smtp:46.18.231.47) at Dec 2 19:33:01
Dec 2 19:36:37 domain postfix/anvil[909611]: statistics: max cache size 2 at Dec 2 19:33:17
Dec 2 19:37:01 domain postfix/pickup[909215]: EA4E72C1275: uid=987 from=<paheko>
Dec 2 19:37:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:37:01 domain postfix/cleanup[909363]: EA4E72C1275: message-id=<20231202183701.EA4E72C1275@domain.fr>
Dec 2 19:37:01 domain postfix/qmgr[400045]: EA4E72C1275: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:37:01 domain postfix/pipe[907673]: EA4E72C1275: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:37:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:37:01 domain postfix/cleanup[909363]: EF2E22C13D6: message-id=<20231202183701.EF2E22C13D6@domain.fr>
Dec 2 19:37:01 domain postfix/bounce[909637]: EA4E72C1275: sender non-delivery notification: EF2E22C13D6
Dec 2 19:37:01 domain postfix/qmgr[400045]: EF2E22C13D6: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:37:01 domain postfix/qmgr[400045]: EA4E72C1275: removed
Dec 2 19:37:07 domain postfix/pipe[907673]: EF2E22C13D6: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:37:07 domain postfix/qmgr[400045]: EF2E22C13D6: removed
Dec 2 19:38:02 domain postfix/pickup[909215]: 07C892C1275: uid=987 from=<paheko>
Dec 2 19:38:02 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:38:02 domain postfix/cleanup[909363]: 07C892C1275: message-id=<20231202183802.07C892C1275@domain.fr>
Dec 2 19:38:02 domain postfix/qmgr[400045]: 07C892C1275: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:38:02 domain postfix/pipe[907673]: 07C892C1275: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.02, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:38:02 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:38:02 domain postfix/cleanup[909363]: 0BFE82C13D6: message-id=<20231202183802.0BFE82C13D6@domain.fr>
Dec 2 19:38:02 domain postfix/bounce[909637]: 07C892C1275: sender non-delivery notification: 0BFE82C13D6
Dec 2 19:38:02 domain postfix/qmgr[400045]: 0BFE82C13D6: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:38:02 domain postfix/qmgr[400045]: 07C892C1275: removed
Dec 2 19:38:07 domain postfix/pipe[907673]: 0BFE82C13D6: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:38:07 domain postfix/qmgr[400045]: 0BFE82C13D6: removed
Dec 2 19:38:10 domain postfix/qmgr[400045]: 11BAB2C131D: from=<paheko__2@domain.fr>, size=16253, nrcpt=1 (queue active)
Dec 2 19:38:10 domain postfix/smtp[909725]: Trusted TLS connection established to mx1.free.fr[212.27.48.6]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 2 19:38:11 domain postfix/smtp[909725]: 11BAB2C131D: to=<rodrob@aliceadsl.fr>, relay=mx1.free.fr[212.27.48.6]:25, delay=4569, delays=4568/0.02/0.77/0.39, dsn=2.0.0, status=sent (250 OK)
Dec 2 19:38:11 domain postfix/qmgr[400045]: 11BAB2C131D: removed
Dec 2 19:39:01 domain postfix/pickup[909215]: 1B7712C13D6: uid=987 from=<paheko>
Dec 2 19:39:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:39:01 domain postfix/cleanup[909363]: 1B7712C13D6: message-id=<20231202183901.1B7712C13D6@domain.fr>
Dec 2 19:39:01 domain postfix/qmgr[400045]: 1B7712C13D6: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:39:01 domain postfix/pipe[907673]: 1B7712C13D6: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:39:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:39:01 domain postfix/cleanup[909363]: 1FE902C154F: message-id=<20231202183901.1FE902C154F@domain.fr>
Dec 2 19:39:01 domain postfix/bounce[909637]: 1B7712C13D6: sender non-delivery notification: 1FE902C154F
Dec 2 19:39:01 domain postfix/qmgr[400045]: 1FE902C154F: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:39:01 domain postfix/qmgr[400045]: 1B7712C13D6: removed
Dec 2 19:39:06 domain postfix/pipe[907673]: 1FE902C154F: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:39:06 domain postfix/qmgr[400045]: 1FE902C154F: removed
Dec 2 19:40:01 domain postfix/pickup[909215]: 2EA422C1275: uid=987 from=<paheko>
Dec 2 19:40:01 domain postsrsd[909364]: srs_forward: <paheko@domain.fr> not rewritten: Domain excluded by policy
Dec 2 19:40:01 domain postfix/cleanup[909363]: 2EA422C1275: message-id=<20231202184001.2EA422C1275@domain.fr>
Dec 2 19:40:01 domain postfix/qmgr[400045]: 2EA422C1275: from=<paheko@domain.fr>, size=600, nrcpt=1 (queue active)
Dec 2 19:40:01 domain postfix/pipe[907673]: 2EA422C1275: to=<paheko@domain.fr>, orig_to=<paheko>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:40:01 domain postsrsd[909364]: srs_forward: <""> not rewritten: No at sign in sender address
Dec 2 19:40:01 domain postfix/cleanup[909363]: 32F4A2C131D: message-id=<20231202184001.32F4A2C131D@domain.fr>
Dec 2 19:40:01 domain postfix/bounce[909637]: 2EA422C1275: sender non-delivery notification: 32F4A2C131D
Dec 2 19:40:01 domain postfix/qmgr[400045]: 32F4A2C131D: from=<>, size=2406, nrcpt=1 (queue active)
Dec 2 19:40:01 domain postfix/qmgr[400045]: 2EA422C1275: removed
Dec 2 19:40:06 domain postfix/pipe[907673]: 32F4A2C131D: to=<paheko@domain.fr>, relay=dovecot, delay=5, delays=0/5/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Dec 2 19:40:06 domain postfix/qmgr[400045]: 32F4A2C131D: removed
Well i'm not gonna read the huge wall of text of mail.info
because i have no idea what i'm supposed to read
But from the output of the regen-conf --debug
, i see:
2580 DEBUG + python3 -c 'from yunohost.app import regen_mail_app_user_config_for_dovecot_and_postfix as r; r(only="postfix")'
2716 DEBUG ['paheko__2@domain.tld paheko__2', 'paheko@paheko.domain.tld paheko']
So the two entries are clearly here, I have no idea how or why your /etc/postfix/app_senders_login_maps
would end up with only one of the entries ...
Ok, very strange... but it seems working...
Perhaps something strange happening with this line ??
https://github.com/YunoHost/yunohost/blob/878944c7c16eec10de2dd3b92c2bdc554a099e3d/src/app.py#L3185C8-L3185C9
No idea, you explained that it was not working, and we changed nothing in the code, and suddently you're saying it's working ... Naively I would think you changed something somewhere in the setup somehow ...
Anyway, what now, should we merge this, or should we wait for your issue to mysteriously reappear ...
Ok, I have test on production in another server and it is ok ! Also I see this on this one
cat /etc/postfix/app_senders_login_maps
# This file is regenerated automatically.
# Please DO NOT edit manually ... changes will be overwritten!
paheko@address1.domain.tld paheko
paheko__2@address2.domain.tld paheko__2
So yes I merge !
Problem
Solution
PR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)