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 J Malcolm <te...@malcolms.com> on 2005/03/08 18:18:52 UTC

"forwardDestination" in db cannot be = ""

Not a big deal, but it bit me.  I don't use forwarding with any of my user
accounts.  The program I have that inserts users into the db just happened
to put a "" instead of NULL in the forwardDestination field.  I figured if
useForwarding was = 0, it didn't matter what was in the destination field.
Not the case.  Apparently the field must be a valid email address or null or
an exception gets thrown when the record is accessed.

It seems to me that you could just validate that field if userForwarding=1
and the field was actually going to be used, or at least treat "" as a null
in validation.  But, if it's this way for a reason, no problem.  Hopefully
at least others who see this won't get burned like I did.

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org