You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Alon Gamliel <gu...@gmail.com> on 2012/06/26 18:49:30 UTC
possible bug in mailetcontainer.conf?
I'm not sure the usage of "ToSenderFolder" in "mailetcontainer.conf" is
correct.
Here is the code:
<mailet match="RecipientIsLocal" class="ToSenderFolder">
<folder>Sent</folder>
<consume>false</consume>
</mailet>
I think that matcher should match known senders, not any local recipient.
I'm not sure what is the exact matcher for that, maybe "SMTPAuthSuccessful"
?
Re: possible bug in mailetcontainer.conf?
Posted by Eric Charles <er...@apache.org>.
On 06/27/2012 09:50 AM, Eric Charles wrote:
> Hi,
>
> There is now a SenderIsLocal matcher which is more logic.
> (see http://james.apache.org/server/3/dev-provided-mailets.html)
>
> You will need to use the latest snapshot to benefit from this new matcher.
>
> SMTPAuthSuccessful could also be used, but it's not because you have a
> authenticated user that that user has a mailbox (it can be a user for
> remote SMTP gateway,...)
rephrasing... (sorry, I am on too many // tracks).
SMTPAuthSuccessful could be used, but it's not 100% logic. You may have
an authenticated user without mailbox on the James sever (think to users
created for remote SMTP gateway...)
>
> Thx, Eric
>
> On 06/26/2012 06:49 PM, Alon Gamliel wrote:
>> I'm not sure the usage of "ToSenderFolder" in "mailetcontainer.conf" is
>> correct.
>>
>> Here is the code:
>> <mailet match="RecipientIsLocal" class="ToSenderFolder">
>> <folder>Sent</folder>
>> <consume>false</consume>
>> </mailet>
>>
>> I think that matcher should match known senders, not any local recipient.
>> I'm not sure what is the exact matcher for that, maybe
>> "SMTPAuthSuccessful"
>> ?
>>
>
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: possible bug in mailetcontainer.conf?
Posted by Eric Charles <er...@apache.org>.
Hi,
There is now a SenderIsLocal matcher which is more logic.
(see http://james.apache.org/server/3/dev-provided-mailets.html)
You will need to use the latest snapshot to benefit from this new matcher.
SMTPAuthSuccessful could also be used, but it's not because you have a
authenticated user that that user has a mailbox (it can be a user for
remote SMTP gateway,...)
Thx, Eric
On 06/26/2012 06:49 PM, Alon Gamliel wrote:
> I'm not sure the usage of "ToSenderFolder" in "mailetcontainer.conf" is
> correct.
>
> Here is the code:
> <mailet match="RecipientIsLocal" class="ToSenderFolder">
> <folder>Sent</folder>
> <consume>false</consume>
> </mailet>
>
> I think that matcher should match known senders, not any local recipient.
> I'm not sure what is the exact matcher for that, maybe "SMTPAuthSuccessful"
> ?
>
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org