mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 14:15:53 +03:00
[GH-ISSUE #519] [Feature Request] possibility to disable catch all #383
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#383
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MyUncleSam on GitHub (Sep 19, 2023).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/519
Hi there,
I would love to disable the catch-all feature for the instance I am hosting for myselfe. As far as I know I can simply empty the environment variable "ANONADDY_ADMIN_USERNAME" but this seem to just work a bit. It disables the automatically alias generation for my admin user which is fine. But on the other hand every email sent to the service is fully accepted even if it is not delivered anywhere. In my eyes those mails should be immediatly been blocked/rejected. Because if they are not rejeceted, the sender is keep on sending mails as he thinks someone is getting them. This could take resources over time if the domains get more known.
@willbrowningme commented on GitHub (Oct 23, 2023):
This has been fixed in the latest release, if you do not have
ANONADDY_ADMIN_USERNAMEset then messages to aliases that do not exist (at the apex domains) will be rejected with the message550 5.1.1 Address does not exist.@masterjg commented on GitHub (Mar 11, 2024):
@willbrowningme erm, is it still working as written here? In my compose I do not have ANONADDY_ADMIN_USERNAME set, however if I try some non existing email address with swaks anonaddy does not return 550.
@willbrowningme commented on GitHub (Mar 11, 2024):
It should fall into this else statement - https://github.com/anonaddy/anonaddy/blob/master/postfix/AccessPolicy.php#L132
and return a
Does not existresponse.If you log
$adminUsernamewhat does it return?@MyUncleSam commented on GitHub (Mar 11, 2024):
I tested this in my anonaddy docker environment and it works for me as expected and declines the mail with 550 (ip and domain anonymized)