Hi Stefano,
Thx for your help. The SenderIsLocal/ToSenderFolder is already at the
beginning of the root processor. I rechecked it once again, and mailet
is invoked twice
<processors>
<processor state="root" enableJmx="true">
<mailet match="SenderIsLocal" class="ToSenderFolder">
<folder>Sent</folder>
<consume>false</consume>
</mailet>
<mailet match="All" class="PostmasterAlias"/>
<mailet match="RelayLimit=30" class="Null"/>
<mailet match="All" class="SpamAssassin">
<spamdHost>localhost</spamdHost>
<spamdPort>783</spamdPort>
</mailet>
...
Thx, Eric
On 07/18/2012 12:36 PM, Stefano Bagnara wrote:
2012/7/18 Eric Charles <[email protected]>:
For recipients with a mix of local and non-local, the matcher and mailet is
called twice:
- A first time with the complete list (if mailet/matcher in root process,)
or with the local recipient (if mailet/matcher in transport processor).
- A second time with the remote recipient.
if a matcher is called twice then it means a previous matcher splitted the mail.
So maybe you have a previous matcher that split the local/remote
recipients (RecipientIsLocal ?)
With the current impl, we end-up with 2 mails in the Sent Folder.
Of course, anyone to confirm this behaviour?
Maybe you simply have to move the SenderIsLocal/ToSenderFolder BEFORE
any other matcher that is going to split the mail.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]