[GH-ISSUE #878] Distribution list and account forwards are messed up #777

Closed
opened 2026-02-27 11:13:29 +03:00 by kerem · 3 comments
Owner

Originally created by @almereyda on GitHub (May 13, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/878

Originally assigned to: @tonioo on GitHub.

There is a bug in relation to distribution lists which are indirectly created via a user profile's forward section:

  • A user creates forwards and follows the comma-separated email address list convention.
    The result are mangled arrays which make postfix break in several ways:
    debug.txt
root@email:~# tail -n 500 /var/log/mail.log | grep u\'
May 13 14:41:27 email postfix/error[25546]: 4DBA2E0704: to=<u'redacted@email.address'>, orig_to=<redacted@email.address>, relay=none, delay=0.03, delays=0.01/0.01/0/0.01, dsn=5.1.3, status=undeliverable (bad address syntax)
May 13 14:41:27 email postfix/lmtp[25547]: 4DBA2E0704: to=<[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=0.04, delays=0.01/0.01/0/0.01, dsn=5.1.1, status=undeliverable (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <"[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN> User doesn't exist: "[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN (in reply to RCPT TO command))
May 13 14:41:27 email postfix/lmtp[25547]: 4DBA2E0704: to=<u'@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=0.05, delays=0.01/0.01/0/0.02, dsn=5.1.1, status=undeliverable (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <u'@FQDN> User doesn't exist: u'@FQDN (in reply to RCPT TO command))
May 13 14:41:35 email postfix/error[25546]: 87240E0708: to=<u'redacted@email.address'>, orig_to=<redacted@email.address>, relay=none, delay=0.03, delays=0.02/0.01/0/0.01, dsn=5.1.3, status=bounced (bad address syntax)
May 13 14:41:36 email postfix/lmtp[25547]: 87240E0708: to=<[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=1, delays=0.02/0.01/0/0.98, dsn=5.1.1, status=bounced (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <"[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN> User doesn't exist: "[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN (in reply to RCPT TO command))
May 13 14:41:36 email postfix/lmtp[25547]: 87240E0708: to=<u'@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=1, delays=0.02/0.01/0/0.99, dsn=5.1.1, status=bounced (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <u'@FQDN> User doesn't exist: u'@FQDN (in reply to RCPT TO command))

These also show weird in both interfaces after saving, which is documented below:
forward-distribution-list-1
forward-distribution-list-2

  • Domain admins cannot see the implied distribution lists, but Super admins can.
Originally created by @almereyda on GitHub (May 13, 2016). Original GitHub issue: https://github.com/modoboa/modoboa/issues/878 Originally assigned to: @tonioo on GitHub. There is a bug in relation to distribution lists which are indirectly created via a user profile's forward section: - A user creates forwards and follows the comma-separated email address list convention. The result are mangled arrays which make postfix break in several ways: [debug.txt](https://github.com/tonioo/modoboa/files/263495/debug.txt) ``` root@email:~# tail -n 500 /var/log/mail.log | grep u\' May 13 14:41:27 email postfix/error[25546]: 4DBA2E0704: to=<u'redacted@email.address'>, orig_to=<redacted@email.address>, relay=none, delay=0.03, delays=0.01/0.01/0/0.01, dsn=5.1.3, status=undeliverable (bad address syntax) May 13 14:41:27 email postfix/lmtp[25547]: 4DBA2E0704: to=<[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=0.04, delays=0.01/0.01/0/0.01, dsn=5.1.1, status=undeliverable (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <"[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN> User doesn't exist: "[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN (in reply to RCPT TO command)) May 13 14:41:27 email postfix/lmtp[25547]: 4DBA2E0704: to=<u'@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=0.05, delays=0.01/0.01/0/0.02, dsn=5.1.1, status=undeliverable (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <u'@FQDN> User doesn't exist: u'@FQDN (in reply to RCPT TO command)) May 13 14:41:35 email postfix/error[25546]: 87240E0708: to=<u'redacted@email.address'>, orig_to=<redacted@email.address>, relay=none, delay=0.03, delays=0.02/0.01/0/0.01, dsn=5.1.3, status=bounced (bad address syntax) May 13 14:41:36 email postfix/lmtp[25547]: 87240E0708: to=<[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=1, delays=0.02/0.01/0/0.98, dsn=5.1.1, status=bounced (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <"[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN> User doesn't exist: "[u'redacted@email.address', u' redacted@email.address', u' redacted@email.address']"@FQDN (in reply to RCPT TO command)) May 13 14:41:36 email postfix/lmtp[25547]: 87240E0708: to=<u'@FQDN>, orig_to=<redacted@email.address>, relay=FQDN[private/dovecot-lmtp], delay=1, delays=0.02/0.01/0/0.99, dsn=5.1.1, status=bounced (host FQDN[private/dovecot-lmtp] said: 550 5.1.1 <u'@FQDN> User doesn't exist: u'@FQDN (in reply to RCPT TO command)) ``` These also show weird in both interfaces after saving, which is documented below: ![forward-distribution-list-1](https://cloud.githubusercontent.com/assets/1645308/15252051/7c1ef43e-192c-11e6-9bc6-e4fd2926f333.png) ![forward-distribution-list-2](https://cloud.githubusercontent.com/assets/1645308/15252050/7c1cb5c0-192c-11e6-9377-195bba0744a8.png) - Domain admins cannot see the implied distribution lists, but Super admins can.
kerem 2026-02-27 11:13:29 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (May 13, 2016):

Thanks for the report but I think this bug already existed before transition to 1.9

<!-- gh-comment-id:219078601 --> @tonioo commented on GitHub (May 13, 2016): Thanks for the report but I think this bug already existed before transition to 1.9
Author
Owner

@almereyda commented on GitHub (May 14, 2016):

I have changed the description of the issue above.

<!-- gh-comment-id:219209705 --> @almereyda commented on GitHub (May 14, 2016): I have changed the description of the issue above.
Author
Owner

@almereyda commented on GitHub (Jun 8, 2016):

Thanks for closing this. Will try it out and give feedback as quickly as possible.

<!-- gh-comment-id:224605353 --> @almereyda commented on GitHub (Jun 8, 2016): Thanks for closing this. Will try it out and give feedback as quickly as possible.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#777
No description provided.