rules on a PDL?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

RickC
Posts: 194
Joined: Tue Nov 16, 2004 12:55 pm
Location: Massachusetts USA
Contact:

rules on a PDL?

Postby RickC » Fri Sep 10, 2010 11:00 am

Hi,

I'm wondering if its at all possible to create a filter rule on a PDL?

Something like "if not from abc.com then forward to xyz.com". Its pretty easy to do with an account, but I don't see how with a PDL -

Thanks,

Rick

11.4.4 on RHEL4

BaldBoy
Posts: 141
Joined: Fri May 19, 2006 12:45 pm

Re: rules on a PDL?

Postby BaldBoy » Fri Sep 10, 2010 12:12 pm

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.


Return to “Scalix Server”



Who is online

Users browsing this forum: Bing [Bot] and 5 guests