Hi,

        We are an internet infrastructure company and I am evaluating
whether we can use James to provide email services to our customers. So
far James look very impressive, I was sending/receiving mails within 15
mins of downloading James. I have a few questions it would be great if
someone can help me find the answers.

1. Regarding "JDBCVirtualUserTable" mailet:
<snip from="java file">
* For a given [user, domain, domain] used with the query, this will
 * match as follows (in precedence order):
 *
 * 1. [EMAIL PROTECTED]    - explicit mapping for [EMAIL PROTECTED]
 * 2. [EMAIL PROTECTED]         - catchall mapping for user anywhere
 * 3. [EMAIL PROTECTED]       - catchall mapping for anyone at domain
 * 4. null           - no valid mapping
</snip>

        My VirtualUserTable has
User1:domain1:user[at]yahoo.com
User2:domain1:user[at]hotmail.com

All the mails that I send for domain1 are going to user[at]yahoo.com, is
this the expected behavior?
        I only want the mailer to match point 1 above so I tried to
change the query and specified it inside <sqlquery> tag in the
config.xml but it doesn't seem to work, I am receiving all the mails
send to domain1 at user[at]yahoo.com
<mailet match="All" class="JDBCVirtualUserTable">
        <table>db://maildb/VirtualUserTable</table>
        <sqlquery>select VirtualUserTable.target_address from
VirtualUserTable where VirtualUserTable.user like ? and
VirtualUserTable.domain like ? order by concat
(VirtualUserTable.user,'@',VirtualUserTable.domain) desc limit
1</sqlquery>
</mailet>

2. Question about per-user quota:
I checked the "RecipientIsOverFixedQuota" which is mentioned in
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00497.html ,
if I want to implement a per user quota then I should change
"RecipientIsOverFixedQuota" to get the quota from the DB instead of
config.xml. Is that the right approach?

Do we have a link/doc specifying planned release dates for future
releases?

Thanks for your help.

Regards,
Amit.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to