• Joshua Tauberer's avatar
    allow dashes in emails during validation, and for aliases allow a much wider... · 242cadeb
    Joshua Tauberer authored
    allow dashes in emails during validation, and for aliases allow a much wider range of characters, fixes #64
    
    * for local mail users, also disallows periods at the beginning or end of the local or domain parts
    * Dovecot gets confused if the string contains any unusual characters, so local mail users are restricted to a narrow regex
    * for mail aliases Postfix is not confused so use a regex based on RFC 2822
    242cadeb
mailconfig.py 5.19 KB