Can not create Email address with a dot before at symbol

Discussion in 'General' started by cocovina, Nov 24, 2017.

  1. cocovina

    cocovina New Member

    Hello,
    I'm not able to add a new mailbox with an email address containing a dot before the 'at' symbol. For example, [email protected] .
    "Email address is invalid."
    It is not permited or it is a bug?
    It should be possible in some versions before, because my ISPC contains this.
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    you can not use an email-address where the period character (.) is the first or the last char in the local-part.
     
  3. cocovina

    cocovina New Member

    THX for reply.
    Oh, I can see now - It's in line with RFC. My client's mailboxes was created a time ago in some earlyer version.
    I am going to try explain my customers that their mailboxes cannot be possible migrated to new server. :(
    Regards,
    Lukas K.
     
  4. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    you can change / disable the validator for the mailboxes, migrate the data and enable the validator again for futher accounts
     
  5. cocovina

    cocovina New Member

    Thx for your hint.
    Can you "kick me" to let know where i can do it/how-to?
    I can not see this feature in web config panel nor found in manual.
    Regards,
    Lukas
     
  6. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    change interface/web/mail/form/mail_user.tform.php from (~line 96)
    Code:
      'validators' => array (  0 => array ( 'type' => 'ISEMAIL',
      'errmsg'=> 'email_error_isemail'),
        1 => array ( 'type' => 'UNIQUE',
        'errmsg'=> 'email_error_unique'),
      ),
    
    to
    Code:
      'validators' => array (  0 => array ( 'type' => 'ISEMAIL',
      'errmsg'=> 'email_error_isemail'),
      //  1 => array ( 'type' => 'UNIQUE',
      //  'errmsg'=> 'email_error_unique'),
      ),
    
     
    Jesse Norell and cocovina like this.

Share This Page