Enhancement #2646

Skip migration of builtin mail aliases

Added by Davide Principi almost 6 years ago. Updated almost 6 years ago.

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

100%

Category:nethserver-mail-server
Target version:v6.5-rc1
Resolution: NEEDINFO:No

Description

The nethserver-mail-migrate-domains action now skips postmaster pseudonym migration, as it's defined statically by a template fragment.

We added the everyone builtin alias in a similary way. We must skip everyone migration, too.


Related issues

Related to NethServer 6 - Feature #2464: everyone@ mail alias CLOSED

Associated revisions

Revision 2a026501
Added by Giacomo Sanchietti almost 6 years ago

nethserver-mail-migrate-domains: skip everyone pseudonym. Refs #2646

Revision 2a74f6b8
Added by Davide Principi almost 6 years ago

/etc/postfix/virtual/10everyone fragment: fixed template warning. Refs #2646

History

#1 Updated by Filippo Carletti almost 6 years ago

  • Target version set to v6.5-rc1

#2 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#3 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#4 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70

Packages in nethserver-testing:
nethserver-mail-server-1.6.0-1.0git2a026501.ns6.noarch.rpm
nethserver-mail-server-1.6.0-2.0git2a74f6b8.ns6.noarch.rpm

Test case

  • Start the migration
  • Check no everyone pseudonym is created inside the accounts db
  • Check this line appears in /var/log/messages:
    [INFO] everyone@ pseudonyms are defined by the mail server itself and are not migrated
    
  • Check everyone alias is present in /etc/postfix/virtual and it is available only on local network:
    [root@test3 ~]# grep everyone /etc/postfix/*
    /etc/postfix/internal_access:# 20everyone
    /etc/postfix/internal_access:everyone@            reject
    Binary file /etc/postfix/internal_access.db matches
    /etc/postfix/virtual:# 10everyone alias
    /etc/postfix/virtual:everyone@localdomain    admin, davidem, fax, giacomo
    /etc/postfix/virtual:everyone@mycompany.local    admin, davidem, fax, giacomo
    /etc/postfix/virtual:everyone@nethesis.org    admin, davidem, fax, giacomo
    Binary file /etc/postfix/virtual.db matches
    

#6 Updated by Davide Principi almost 6 years ago

  • Assignee set to Davide Principi

#7 Updated by Davide Principi almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

#8 Updated by Davide Principi almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

#9 Updated by Davide Principi almost 6 years ago

In nethserver-updates:
nethserver-release-6.5-4.ns6.rc1.noarch.rpm
nethserver-devbox-1.4.0-1.ns6.noarch.rpm
nethserver-backup-data-1.0.9-1.ns6.noarch.rpm
nethserver-base-2.1.0-1.ns6.noarch.rpm
nethserver-directory-2.0.1-1.ns6.noarch.rpm
nethserver-firewall-base-1.1.0-1.ns6.noarch.rpm
nethserver-hosts-1.0.7-1.ns6.noarch.rpm
nethserver-httpd-2.3.0-1.ns6.noarch.rpm
nethserver-httpd-admin-1.2.1-1.ns6.noarch.rpm
nethserver-hylafax-1.0.5-1.ns6.noarch.rpm
nethserver-ibays-2.0.3-1.ns6.noarch.rpm
nethserver-lib-2.0.1-1.ns6.noarch.rpm
nethserver-mail-server-1.6.1-1.ns6.noarch.rpm
nethserver-nethgui-1.4.0-1.ns6.noarch.rpm
nethserver-ntopng-1.1.2-1.ns6.noarch.rpm
nethserver-nut-1.0.7-1.ns6.noarch.rpm
nethserver-openssh-1.0.5-1.ns6.noarch.rpm
nethserver-roundcubemail-0.0.2-1.ns6.noarch.rpm
nethserver-samba-1.4.2-1.ns6.noarch.rpm
nethserver-shorewall-1.0.4-1.ns6.noarch.rpm
nethserver-sogo-thunderbird-1.1.1-1.ns6.noarch.rpm
nethserver-vpn-1.1.2-1.ns6.noarch.rpm
sogo-frontends-1.3.0-1.ns6.noarch.rpm

Also available in: Atom PDF