Yes! I have resolved!
At first I create a "Forward" account. there were some configured "forward" the rules reviewed the subject, sender or the header of an incoming mail and forwards them.
The forwarding function creates an e-mail with the original e-mail as an attachment.
I need a redirection not a forwarding.
Code: Select all
[Public Folder]
|
[ IN ] <----- inboxbb@domain.de <---- [USER] inbox@domain.de
|--[ SPAM ] <----- spambb@domain.de <---filter --subject ***SPAM***
|--[ HP ] <----- hpbb@domain.de <---filter --sender info@hp.com
|--[ SCALIX ] <----- sxbb@domain.de <---filter --subject scalix
See in the codebox the example. If i create a user with the mailaddress
inbox@domain.de which should redirect to the public folder "IN" with the configured address
inboxfolder@domain.de. That works fine!! but if i create a second rule which is watching for the subject to redirect it to an other folder, the mail will be arrive twice times. In the example, if i set the rule to look at the subject for the string "***SPAM***" the mail will arrive in the SPAM but in the Inbox too.
So that was the error!!
I have found a solution. I edited the userfile 000003d and put my redirectrules in it. this works fine and does not need an third party software.
If i found some time, i will try to create a plugin for scalix which is able to create suche rules without manual touching the user rule file.