That's pretty easy indeed: you have to pass through a normal account.
Let me explain ... imagine you have a distribution list which email address is sales-team@mycompany.com and want to deliver messages to the list only if they originate from specific email addresses.
Do this
- change the email address of your PDL to sales-team-internal@mycompany.com. Hide the address from the address book
- create a normal account with First Name "Sales" and Last Name "Team" and assign it the email address sales-team@mycompany.com.
- open a terminal window on your Scalix server and do :
Code: Select all
sxaa --user "Sales Team" --redirect sales-team-internal@mycompany.com --not --sender someaddress@abc.com
This will cause the email to be processed by the rules of the mailbox and, if the rule matches, to be redirected to the PDL.
Not matching messages will remain in the fake user's mailbox and you can easily cleanup them scheduling an omtidyu command.
Eventually you can create how many rules you want on that fake account and redirect messages to the list if the incoming messages do match the criteria.