Skip to content

bug report: alias code for group mail aliases #3262

@bibiak1

Description

@bibiak1

Preliminary Checks

  • I checked that all ports are open and not blocked by my ISP / hosting provider.
  • I know that SSL errors are likely the result of a wrong setup on the user side and not caused by DMS itself. I'm confident my setup is correct.
  • I searched the issue tracker but was unable to find my issue.
  • I read the extended documentation in general but found nothing to resolve the issue.
  • I read the documentation on debugging, tried the proposed steps to debug the problem, but was still unable to resolve the issue.

Affected Component(s)

Aliases setup

What happened and when does this occur?

When I tried to create group mail aliases I came into problem with adding recipient to the group.
Problem appears if there's an email account and alias to redirect mails.

What did you expect to happen?

root@mail:/# setup email list
* [email protected] ( 0 / ~ ) [0%]

root@mail:/# setup alias list
[  ERROR  ]  '/tmp/docker-mailserver/postfix-virtual.cf' is empty, nothing to list
[  ERROR  ]  Aborting
root@mail:/# setup email add [email protected]
Enter Password: 
root@mail:/# setup email add [email protected]
Enter Password: 
root@mail:/# setup alias add [email protected] [email protected]
root@mail:/# setup alias add [email protected] [email protected]
root@mail:/# setup alias add [email protected] [email protected]
root@mail:/# setup alias add [email protected] [email protected]
root@mail:/# setup alias add [email protected] [email protected]
root@mail:/# setup alias add [email protected] [email protected]
[  ERROR  ]  '[email protected]' is already an alias for recipient: '[email protected]'
[  ERROR  ]  Aborting
root@mail:/# 

How do we replicate the issue?

  1. setup email add [email protected]
  2. setup email add [email protected]
  3. setup alias add [email protected] [email protected]
  4. setup alias add [email protected] [email protected]
  5. setup alias add [email protected] [email protected]
  6. setup alias add [email protected] [email protected]
  7. setup alias add [email protected] [email protected]
  8. setup alias add [email protected] [email protected]

DMS version

v12.0.0

What operating system is DMS running on?

Linux

Which operating system version?

Docker

What instruction set architecture is DMS running on?

AMD64 / x86_64

What container orchestration tool are you using?

Docker Compose

docker-compose.yml

services:
  mailserver:
    image: ghcr.io/docker-mailserver/docker-mailserver:latest
    container_name: mailserver
    # Provide the FQDN of your mail server here (Your DNS MX record should point to this value)
    hostname: mail.example.com
    volumes:
      - /etc/localtime:/etc/localtime:ro
    environment:
      - ENABLE_RSPAMD=1
      - ENABLE_CLAMAV=1
      - ENABLE_FAIL2BAN=1
    cap_add:
      - NET_ADMIN # For Fail2Ban to work

Relevant log output

No response

Other relevant information

Solution: #3259

What level of experience do you have with Docker and mail servers?

  • I am inexperienced with docker
  • I am rather experienced with docker
  • I am inexperienced with mail servers
  • I am rather experienced with mail servers
  • I am uncomfortable with the CLI
  • I am rather comfortable with the CLI

Code of conduct

Improvements to this form?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions