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 Andrew Munn <an...@brandtllc.com> on 2011/03/28 17:27:23 UTC

mailet to log all mail with valid recipient

I'm currently using this:

 

<mailet match="All" class="ToRepository">

            <repositoryPath>
file://var/mail/all_mail_archive/</repositoryPath>

            <passThrough>true</passThrough>

</mailet>

 

But it's logging all mail including bad addresses.  I'd like to log all
outbound mail and all inbound mail addressed to a legit user only.  How can
I do that?

 

Thanks!

Andrew