The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

client wants email address with apostrophe in it - is it possible?

Discussion in 'E-mail Discussions' started by Jeff-C, Sep 20, 2004.

  1. Jeff-C

    Jeff-C Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    A client wants an email address ending in an apostorphe - is this possible?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Theoretically, yes. RFC821 gives the spec for the local-part of the email address (before "@", not refering to quoted text) as:

    any one of the 128 ASCII characters, but not any <special> or <SP>

    <SP> = the space character (ASCII code 32)
    <special> = "<" | ">" | "(" | ")" | "[" | "]" | "\" | "." | "," | ";" | ":" | "@" """ | the control characters (ASCII codes 0 through 31 inclusive and 127)

    However, whether cPanel complies with the RFC is another matter. If you try it and it doesn't work, then it's not RFC compliant, but there's little you can do except raise a bugzilla report.
     
  3. Jeff-C

    Jeff-C Well-Known Member

    Joined:
    Mar 16, 2004
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Jonathan - cpanel strips out the apostrophe when the account is actually created (it says "name' has been successfully created", but then in the list only name appears, without the '). I wasn't sure if I could create/alter it manually, or if this would risk breaking other things.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Assuming that Exim is RFC compliant in this regard (and I see no reason why not) then sending and receiving email should be fine, but the next hurdle would be whether cppop is.

    If you wanted to manually edit the cPanel files, you going to have to delve quite deeply into how it hooks into exim and within the /home/username/etc/ and /home/username/mail/ directory structures.

    Probably more trouble than it is worth.

    An alternative might be to create a cPanel acceptable account and then add an alias with the apostrophe manually into /etc/valiases/domain.com redirecting the email to the cPanel acceptable POP3 account - this may be the better solution.
     
Loading...

Share This Page