Skip to content

Mail “access denied” error after update to 1.7 #7552

@mrmarkuz

Description

@mrmarkuz

When

  • User domain is the same as the mail domain
  • Addusers is NOT set for the mail domain
  • An alias address is created for the mail domain (I tried internal samba user destination and external destination)

then the mail is rejected.

If addusers is enabled it’s working but without addusers and an alias address it doesn’t work when the user domain is the same as the mail domain.

Steps to reproduce

  • Create a user domain domain.test
  • Create a mail domain domain.test with addusers and addgroups disabled
  • Create an alias address for the domain, destination can be internal or external

Expected behavior

Mails from external are received and forwarded to the destination of the alias address

Actual behavior

Mails from external aren't received and following error is thrown:

2025-07-11T09:47:34+02:00 [1:mail1:postfix/smtpd] NOQUEUE: reject: RCPT from mail-ed1-f43.google.com[209.85.208.43]: 554 5.7.1 <markus@ad.domain.tld>: Recipient address rejected: access denied;

Components

Mail 1.7.0+

See also

https://community.nethserver.org/t/mail-access-denied-error-after-update-to-1-7/26021


Thanks to Charles Steaderman

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