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 Ivan Jouikov <iv...@ablogic.net> on 2005/07/09 03:34:59 UTC
JDBCVirtualUserTable doesn't work :(
Ok so here's what happens:
When I use that JDBCVUT, and I make the following record:
User: bubba Domain: prison.com target_address: bubba..prison.com
(so instead of @ I have two dots)
When I try to send an email to bubba@prison.com, the email goes to
spool, and then it goes into OUTGOING folder and never gets sent out.
When I try to send an email to bubba.prison.com@prison.com - the email
goes into proper folder, and I download it into my outlook express no
problem.
So, as a result:
JDBCVUT doesn't do what I actually want it to do.. Forwarding is great,
but besides forwarding I want it to deliver locally, which it does not -
it tries to forward all the time.
And if I host domains prison.com and church.com, and email to bubba..
<ma...@church.com> prison.com@church.com
will still reach bubba, even though I don't want any @church.com emails
to go to bubba?
<ma...@church.com>
<ma...@church.com> Any ideas on how to fix this?
RE: JDBCVirtualUserTable doesn't work :(
Posted by Ivan Jouikov <iv...@ablogic.net>.
Well I went as far as looking through the source, and I found this:
// We need to separate local and remote
// recipients. This is explained below.
if (getMailetContext().isLocalServer(target.getHost())) {
recipientsToAddLocal.add(target);
} else {
recipientsToAddForward.add(target);
}
So, apparently it is supposed to forward if the host isn't local and
deliver if it is... But for some reason, it doesn't work that way for
me... I do have the host specified in my server config, I have no idea
why it's not recognizing it...
>-----Original Message-----
>From: Ivan Jouikov [mailto:ivan@ablogic.net]
>Sent: Friday, July 08, 2005 6:35 PM
>To: server-user@james.apache.org
>Subject: JDBCVirtualUserTable doesn't work :(
>
>Ok so here's what happens:
>
>When I use that JDBCVUT, and I make the following record:
>
>User: bubba Domain: prison.com target_address: bubba..prison.com
>(so instead of @ I have two dots)
>
>When I try to send an email to bubba@prison.com, the email goes to
>spool, and then it goes into OUTGOING folder and never gets sent out.
>
>When I try to send an email to bubba.prison.com@prison.com - the email
>goes into proper folder, and I download it into my outlook express no
>problem.
>
>So, as a result:
>
>JDBCVUT doesn't do what I actually want it to do.. Forwarding is
great,
>but besides forwarding I want it to deliver locally, which it does not
-
>it tries to forward all the time.
>
>And if I host domains prison.com and church.com, and email to bubba..
><ma...@church.com> prison.com@church.com
> will still reach bubba, even though I don't want any @church.com
emails
>to go to bubba?
> <ma...@church.com>
> <ma...@church.com> Any ideas on how to fix this?
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org