I just want to filter all incoming e-mails and discard them if the ‘From’ email does not match any of the e-mails of any of the current users (users created in zammad db).
Any way I can do the same ? The use case is that it would be the most effective spam filter if I want to close my system to only users in my organisation.
Sorry but that’s not how Zammad works.
Zammad accepts mail from any user that can send to Zammads mail account.
If the user doesn’t exist, it will create the user.
Also, please note that Zammad is not a spam filter - that’s absolutely out of scope, that’s the job of your MTA. (sorry for being so direct)
I get you. I think i’ll put a filter before zammad… though this would have been a nice feature. If a spammer gets my e-mail zammad would end up opening 10000s of accounts which would be a pain for the admin. any way I can achieve this through creating a zammad package ? (just asking)
I know but they are not using the same domain. What I now plan to do is create a dynamic script which checks the users against Zammad’s database and then allows delivery of e-mails only if user is found.
However, I can try to create a zammad package for the community if this can be done using packages.