[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Forwarding mail to address with hyphen



Chris Burchell wrote:
> 
> I'm trying to forward mail for a user on my RAQ4 (all patches applied)
> to an email address that contains a hyphen.
> 
> The admin interface tells me the address is incorrect - is there any way
> to get around this?

I just tried this on my own RaQ4 which is fully patched. There were no
issues... I entered "test-user@xxxxxxxxxxxx" and even
"test.-user@xxxxxxxxxxxx" and both were accepted by the UI with no
problems.

I checked the CGI - it's running the 'netutil_test_emailaddr' function
(from Netutil.pm) against the forwarding address, which is just a syntax
check.  The username regular expression specifically allows A-Z, a-z, 0-9,
as well as the following characters: {}*+/=?^`|~

So your address is failing for a reason other than having a hyphen in it...

--
Bruce Timberlake
Sun Cobalt Technology Engineer
Sun Microsystems, Inc.

E: bruce.timberlake@xxxxxxx
T: 877-718-3569 / x69369