Bug #3384

Mail bounces from old group member

Added by Davide Principi over 5 years ago. Updated about 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-mail-server
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

Steps to reproduce

  • Create a group with mail delivery by copy (g1)
  • Remove a group member (u2)
  • Send an email to the group ()

The server bounces

<u2@vm2.dpnet.nethesis.it> (expanded from <g1@dpnet.nethesis.it>): host
    vm2.dpnet.nethesis.it[/var/run/dovecot/lmtp] said: 550 5.1.1
    <u2@vm2.dpnet.nethesis.it> User doesn't exist: u2@vm2.dpnet.nethesis.it (in
    reply to RCPT TO command)

In /etc/postfix/aliases

  # grep ^g1 /etc/postfix/aliases
g1               u1, u2, u3

Expected result

u2 must be removed from alias expansion when the account is deleted.

Associated revisions

Revision 91f0a7be
Added by Davide Principi about 5 years ago

Late expansion of postfix/aliases when an user is deleted. Refs #3384

Wait for the Members group prop to be updated.

History

#1 Updated by Davide Principi about 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi about 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

MODIFIED

#3 Updated by Davide Principi about 5 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing 6.7:
nethserver-mail-server-1.9.1-1.1.g91f0a7b.ns6.noarch.rpm

#4 Updated by Giacomo Sanchietti about 5 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Group modification is correctly reflected inside postfix aliases.

Before deletion of user mario:

[root@test Maildir]# grep g1 /etc/postfix/aliases
g1               giacomo, mario

After deletion of user mario:

[root@test Maildir]# grep g1 /etc/postfix/aliases
g1               giacomo

#6 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in 6.7/nethserver-updates:
  • nethserver-mail-server-1.9.2-1.ns6.noarch.rpm

Also available in: Atom PDF