Skip to content

Invalid syntax accepted in Mail address creation #7533

@mrmarkuz

Description

@mrmarkuz

It's possible to create a mail address user@gmail.com@nethdomain.tld which leads to a validation error when using that address as destination.

Steps to reproduce

  • Create an address user@gmail.com using a wildcard or set a domain

Image

  • The address user@gmail.com@nethdomain.tld is created
  • Create another address and set user@gmail.com as destination

Expected behavior

The creation of user@gmail.com@nethdomain.tld is forbidden

Actual behavior

The creation of user@gmail.com@nethdomain.tld is allowed which leads to a validation error when using the same external mail address as destination.

Components

Mail 1.6.4

See also

https://community.nethserver.org/t/adding-external-alias-to-email-groups/25982/3?u=mrmarkuz


Thanks to Sergio

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions