mirror of
https://github.com/HaschekSolutions/opentrashmail.git
synced 2026-04-25 14:45:59 +03:00
[GH-ISSUE #18] mailfrom.endswith block all #15
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrashmail#15
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 @aagarop on GitHub (Mar 8, 2021).
Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/18
Hi
I have a problem with blocking emails that do not come from a specific domain.
The mailfrom.endswith element works independently in test but in the server all received mails are "Email not trusted".
if (not mailfrom.endswith("@mydomain.com") or not mailfrom.endswith("@mydomain2.com")): raise Exception("Email not trusted")@geek-at commented on GitHub (Nov 10, 2021):
should now work with the latest update