github.com/go-email-validator/go-email-validator@v0.0.0-20230409163946-b8b9e6a0552e/pkg/ev/role/rbea_roles.go (about) 1 package role 2 3 import ( 4 "github.com/emirpasic/gods/sets/hashset" 5 "github.com/go-email-validator/go-email-validator/pkg/ev/contains" 6 "strings" 7 ) 8 9 // RBEARoles returns the list of roles 10 func RBEARoles() []string { 11 return rbeaRoles 12 } 13 14 // NewRBEASetRole forms contains.InSet from roles (https://github.com/mixmaxhq/role-based-email-addresses) 15 func NewRBEASetRole() contains.InSet { 16 RBEARoles := RBEARoles() 17 roles := make([]interface{}, len(RBEARoles)) 18 for i, role := range RBEARoles { 19 roles[i] = strings.ToLower(role) 20 } 21 22 return contains.NewSet(hashset.New(roles...)) 23 } 24 25 var rbeaRoles = []string{ 26 "123", 27 "2015", 28 "2016", 29 "2017", 30 "2018", 31 "2019", 32 "2020", 33 "aaa", 34 "abc", 35 "abuse", 36 "academy", 37 "accessibility", 38 "account", 39 "accountant", 40 "accounting", 41 "accountmanager", 42 "accountmanagers", 43 "accounts", 44 "accountspayable", 45 "acquisition", 46 "adm", 47 "admin", 48 "admin1", 49 "administracao", 50 "administracion", 51 "administrador", 52 "administratie", 53 "administratif", 54 "administration", 55 "administrativo", 56 "administrator", 57 "administrators", 58 "admins", 59 "adminteam", 60 "admisiones", 61 "admissions", 62 "adops", 63 "ads", 64 "adventure", 65 "advertise", 66 "advertising", 67 "advertisingsales", 68 "advice", 69 "advisor", 70 "advisors", 71 "adwords", 72 "affiliate", 73 "affiliates", 74 "agence", 75 "agencia", 76 "agency", 77 "agents", 78 "alarm", 79 "alarms", 80 "alert", 81 "alerts", 82 "alexa", 83 "all", 84 "all-employees", 85 "all-pms", 86 "all-staff", 87 "all-team", 88 "all-users", 89 "all.employees", 90 "all.staff", 91 "all.users", 92 "all_staff", 93 "alla", 94 "alle", 95 "allemployees", 96 "allhands", 97 "allsales", 98 "allstaff", 99 "allstudents", 100 "allteachers", 101 "allteam", 102 "allusers", 103 "alpha", 104 "alphas", 105 "alumni", 106 "ambassadors", 107 "amministrazione", 108 "analysts", 109 "analytics", 110 "android", 111 "angels", 112 "animation", 113 "announce", 114 "announcements", 115 "ap", 116 "api", 117 "app", 118 "apple", 119 "application", 120 "applications", 121 "apply", 122 "appointments", 123 "apps", 124 "archives", 125 "arin", 126 "arin-abuse", 127 "asistente", 128 "ask", 129 "asset", 130 "assistanthead", 131 "assistencia", 132 "assistenza", 133 "associates", 134 "associates-all", 135 "ateam", 136 "atencionalcliente", 137 "atendimento", 138 "auctions", 139 "available", 140 "backend", 141 "backend-dev", 142 "backup", 143 "bd", 144 "benefits", 145 "berlin", 146 "bestellung", 147 "beta", 148 "biblioteca", 149 "bibliotheque", 150 "billing", 151 "bills", 152 "biuro", 153 "biz", 154 "bizdev", 155 "blog", 156 "board", 157 "bod", 158 "bookclub", 159 "booking", 160 "bookings", 161 "boston", 162 "boxoffice", 163 "brand", 164 "branding", 165 "brands", 166 "brandsolutions", 167 "broadcast", 168 "broker", 169 "buchhaltung", 170 "bugs", 171 "build", 172 "bursar", 173 "busdev", 174 "business", 175 "business_team", 176 "businessdevelopment", 177 "butik", 178 "ca", 179 "caltrain", 180 "campaign", 181 "campaigns", 182 "campusteam", 183 "capacitacion", 184 "captain", 185 "captains", 186 "care", 187 "career", 188 "careers", 189 "catering", 190 "central", 191 "centro", 192 "ceo", 193 "ceos", 194 "channel-sales", 195 "chartering", 196 "chat", 197 "chatter", 198 "chef", 199 "chicago", 200 "china", 201 "church", 202 "citymanagers", 203 "classof2016", 204 "classof2017", 205 "classof2018", 206 "classof2019", 207 "classroom_teachers", 208 "client", 209 "clientes", 210 "clients", 211 "clientservices", 212 "clinic", 213 "cloud", 214 "cm", 215 "co-op", 216 "coach", 217 "coaches", 218 "coaching", 219 "code", 220 "colaboradores", 221 "colegio", 222 "com", 223 "comenzi", 224 "comercial", 225 "comercial1", 226 "comercial2", 227 "comments", 228 "commercial", 229 "commerciale", 230 "commissions", 231 "committee", 232 "comms", 233 "communication", 234 "communications", 235 "community", 236 "company", 237 "company.wide", 238 "compete", 239 "competition", 240 "compliance", 241 "compras", 242 "compta", 243 "comptabilite", 244 "comunicacao", 245 "comunicacion", 246 "comunicaciones", 247 "comunicazione", 248 "concierge", 249 "conference", 250 "connect", 251 "consultant", 252 "consultas", 253 "consulting", 254 "consultoria", 255 "contabil", 256 "contabilidad", 257 "contabilidade", 258 "contabilita", 259 "contact", 260 "contact-us", 261 "contactenos", 262 "contacto", 263 "contactus", 264 "contador", 265 "contato", 266 "content", 267 "contractor", 268 "contractors", 269 "contracts", 270 "controller", 271 "coordinator", 272 "copyright", 273 "core", 274 "coreteam", 275 "corp", 276 "corporate", 277 "corporatesales", 278 "council", 279 "courrier", 280 "creative", 281 "crew", 282 "crm", 283 "cs", 284 "csm", 285 "csteam", 286 "cultura", 287 "culture", 288 "customer", 289 "customer.service", 290 "customercare", 291 "customerfeedback", 292 "customers", 293 "customerservice", 294 "customerservicecenter", 295 "customerservices", 296 "customersuccess", 297 "customersupport", 298 "custserv", 299 "daemon", 300 "data", 301 "database", 302 "deals", 303 "dean", 304 "delivery", 305 "demo", 306 "denver", 307 "departures", 308 "deploy", 309 "deputy", 310 "deputyhead", 311 "design", 312 "designer", 313 "designers", 314 "dev", 315 "developer", 316 "developers", 317 "development", 318 "devnull", 319 "devops", 320 "devs", 321 "devteam", 322 "digital", 323 "digsitesvalue", 324 "direccion", 325 "direction", 326 "directo", 327 "director", 328 "directors", 329 "directory", 330 "diretoria", 331 "direzione", 332 "discuss", 333 "dispatch", 334 "diversity", 335 "dns", 336 "docs", 337 "domain", 338 "domainmanagement", 339 "domains", 340 "donations", 341 "donors", 342 "download", 343 "dreamteam", 344 "ecommerce", 345 "editor", 346 "editorial", 347 "editors", 348 "education", 349 "einkauf", 350 "email", 351 "emergency", 352 "employee", 353 "employees", 354 "employment", 355 "eng", 356 "eng-all", 357 "engagement", 358 "engenharia", 359 "engineering", 360 "engineers", 361 "english", 362 "enq", 363 "enquire", 364 "enquires", 365 "enquiries", 366 "enquiry", 367 "enrollment", 368 "enterprise", 369 "envio", 370 "equipe", 371 "equipo", 372 "error", 373 "errors", 374 "escritorio", 375 "europe", 376 "event", 377 "events", 378 "everybody", 379 "everyone", 380 "exec", 381 "execs", 382 "execteam", 383 "executive", 384 "executives", 385 "expenses", 386 "expert", 387 "experts", 388 "export", 389 "facebook", 390 "facilities", 391 "facturacion", 392 "faculty", 393 "family", 394 "farmacia", 395 "faturamento", 396 "fax", 397 "fbl", 398 "feedback", 399 "fellows", 400 "finance", 401 "financeiro", 402 "financeiro2", 403 "finanzas", 404 "firmapost", 405 "fiscal", 406 "food", 407 "football", 408 "founders", 409 "france", 410 "franchise", 411 "friends", 412 "frontdesk", 413 "frontend", 414 "frontoffice", 415 "fte", 416 "ftp", 417 "fulltime", 418 "fun", 419 "fundraising", 420 "gardner", 421 "geeks", 422 "general", 423 "geral", 424 "gerencia", 425 "giving", 426 "global", 427 "gm", 428 "grants", 429 "graphics", 430 "group", 431 "growth", 432 "hackathon", 433 "hackers", 434 "head", 435 "head.office", 436 "headoffice", 437 "heads", 438 "headteacher", 439 "hello", 440 "help", 441 "helpdesk", 442 "hi", 443 "highschool", 444 "hiring", 445 "hola", 446 "home", 447 "homes", 448 "hosting", 449 "hostmaster", 450 "hotel", 451 "house", 452 "hq", 453 "hr", 454 "hr.dept", 455 "hrdept", 456 "hsstaff", 457 "hsteachers", 458 "human_resources", 459 "humanresources", 460 "ideas", 461 "ifttt", 462 "implementation", 463 "import", 464 "inbound", 465 "inbox", 466 "india", 467 "info", 468 "infor", 469 "informacion", 470 "informatica", 471 "information", 472 "informatique", 473 "informativo", 474 "infra", 475 "infrastructure", 476 "ingenieria", 477 "innkeeper", 478 "innovation", 479 "inoc", 480 "inquiries", 481 "inquiry", 482 "insidesales", 483 "insights", 484 "instagram", 485 "insurance", 486 "integration", 487 "integrations", 488 "intern", 489 "internal", 490 "international", 491 "internet", 492 "interns", 493 "internship", 494 "invest", 495 "investment", 496 "investor", 497 "investorrelations", 498 "investors", 499 "invoice", 500 "invoices", 501 "invoicing", 502 "ios", 503 "iphone", 504 "ir", 505 "ispfeedback", 506 "ispsupport", 507 "it", 508 "ithelp", 509 "itsupport", 510 "itunes", 511 "jira", 512 "job", 513 "jobs", 514 "join", 515 "jornalismo", 516 "junk", 517 "kontakt", 518 "kundeservice", 519 "la", 520 "lab", 521 "laboratorio", 522 "labs", 523 "ladies", 524 "latam", 525 "launch", 526 "lead", 527 "leaders", 528 "leadership", 529 "leadership-team", 530 "leadershipteam", 531 "leads", 532 "leasing", 533 "legal", 534 "letters", 535 "library", 536 "licensing", 537 "lifesum", 538 "links", 539 "list", 540 "list-request", 541 "listmanager", 542 "listproc", 543 "listserv", 544 "login", 545 "logistica", 546 "logistics", 547 "logistiek", 548 "lt", 549 "lunch", 550 "mail", 551 "mailbox", 552 "maildaemon", 553 "mailer-daemon", 554 "mailerdaemon", 555 "mailing", 556 "maintenance", 557 "majordomo", 558 "management", 559 "management-group", 560 "management.team", 561 "management_team", 562 "manager", 563 "managers", 564 "marketing", 565 "marketing-ops", 566 "marketing-team", 567 "marketingteam", 568 "marketplace", 569 "master", 570 "mayor", 571 "md", 572 "media", 573 "meetup", 574 "member", 575 "members", 576 "memberservices", 577 "membership", 578 "mentors", 579 "merchant", 580 "metrics", 581 "mgmt", 582 "middleschool", 583 "misc", 584 "mkt", 585 "mktg", 586 "mobile", 587 "monitor", 588 "monitoring", 589 "montreal", 590 "moreinfo", 591 "msstaff", 592 "msteachers", 593 "mt", 594 "music", 595 "myplex", 596 "namecheap", 597 "network", 598 "newbiz", 599 "newbusiness", 600 "news", 601 "newsletter", 602 "newyork", 603 "nntp", 604 "no", 605 "no-reply", 606 "no.replay", 607 "no.reply", 608 "nobody", 609 "noc", 610 "noemail", 611 "none", 612 "noreply", 613 "noresponse", 614 "northamerica", 615 "nospam", 616 "notes", 617 "notifications", 618 "notify", 619 "nps", 620 "null", 621 "ny", 622 "nyc", 623 "nyoffice", 624 "offboarding", 625 "offers", 626 "office", 627 "officeadmin", 628 "officemanager", 629 "officers", 630 "officestaff", 631 "offtopic", 632 "oficina", 633 "onboarding", 634 "online", 635 "onsite", 636 "ooo", 637 "operaciones", 638 "operations", 639 "ops", 640 "order", 641 "orders", 642 "ordini", 643 "outage", 644 "outreach", 645 "owners", 646 "parents", 647 "paris", 648 "partner", 649 "partners", 650 "partnerships", 651 "parts", 652 "pastor", 653 "pay", 654 "payment", 655 "payments", 656 "paypal", 657 "payroll", 658 "pd", 659 "people", 660 "peoplemanagers", 661 "peopleops", 662 "per", 663 "performance", 664 "personnel", 665 "phish", 666 "phishing", 667 "photos", 668 "planning", 669 "platform", 670 "plex", 671 "plex.tv", 672 "pm", 673 "portfolio", 674 "post", 675 "postbox", 676 "postfix", 677 "postmaster", 678 "ppc", 679 "pr", 680 "prefeitura", 681 "presales", 682 "presidencia", 683 "president", 684 "presidente", 685 "press", 686 "presse", 687 "prime", 688 "principa", 689 "principal", 690 "principals", 691 "privacy", 692 "procurement", 693 "prod", 694 "produccion", 695 "product", 696 "product-team", 697 "product.growth", 698 "product.management", 699 "product.managers", 700 "product.team", 701 "production", 702 "productmanagers", 703 "products", 704 "productteam", 705 "produto", 706 "program", 707 "programs", 708 "project", 709 "projectmanagers", 710 "projects", 711 "promo", 712 "promotions", 713 "protocollo", 714 "proveedores", 715 "publicidade", 716 "publisher", 717 "publishers", 718 "purchase", 719 "purchases", 720 "purchasing", 721 "qa", 722 "qualidade", 723 "questions", 724 "quotes", 725 "random", 726 "realestate", 727 "receipts", 728 "recepcion", 729 "reception", 730 "receptionist", 731 "recruit", 732 "recruiter", 733 "recruiters", 734 "recruiting", 735 "recruitment", 736 "recrutement", 737 "recursoshumanos", 738 "redacao", 739 "redaccion", 740 "redaction", 741 "redazione", 742 "referrals", 743 "reg", 744 "register", 745 "registrar", 746 "registration", 747 "reklama", 748 "relacionamento", 749 "release", 750 "releases", 751 "remote", 752 "remove", 753 "rentals", 754 "report", 755 "reporting", 756 "reports", 757 "request", 758 "requests", 759 "research", 760 "reserva", 761 "reservaciones", 762 "reservas", 763 "reservation", 764 "reservations", 765 "residents", 766 "response", 767 "restaurant", 768 "resume", 769 "resumes", 770 "retail", 771 "returns", 772 "revenue", 773 "rezervari", 774 "rfp", 775 "rh", 776 "ripe-abuse", 777 "rnd", 778 "rockstars", 779 "root", 780 "rrhh", 781 "rsvp", 782 "sac", 783 "sale", 784 "sales", 785 "sales-team", 786 "sales.team", 787 "sales1", 788 "sales2", 789 "salesengineers", 790 "salesforce", 791 "salesops", 792 "salesteam", 793 "sanfrancisco", 794 "school", 795 "schooloffice", 796 "science", 797 "sdr", 798 "se", 799 "search", 800 "seattle", 801 "secretaria", 802 "secretariaat", 803 "secretaris", 804 "secretary", 805 "security", 806 "sekretariat", 807 "sem", 808 "seniors", 809 "seo", 810 "server", 811 "service", 812 "serviceclient", 813 "servicedesk", 814 "services", 815 "servicioalcliente", 816 "sf", 817 "sf-office", 818 "sfo", 819 "sfoffice", 820 "sfteam", 821 "shareholders", 822 "shipping", 823 "shop", 824 "shopify", 825 "shopping", 826 "signup", 827 "signups", 828 "singapore", 829 "sistemas", 830 "site", 831 "smile", 832 "smtp", 833 "social", 834 "socialclub", 835 "socialmedia", 836 "socios", 837 "software", 838 "solutions", 839 "soporte", 840 "sos", 841 "spam", 842 "sponsorship", 843 "sport", 844 "squad", 845 "staff", 846 "startups", 847 "stats", 848 "stay", 849 "stockholm", 850 "store", 851 "stories", 852 "strategy", 853 "stripe", 854 "student", 855 "students", 856 "studio", 857 "submissions", 858 "submit", 859 "subscribe", 860 "subscriptions", 861 "success", 862 "suggestions", 863 "superintendent", 864 "supervisor", 865 "supervisors", 866 "suporte", 867 "supply", 868 "support", 869 "support-team", 870 "supportteam", 871 "suprimentos", 872 "survey", 873 "sydney", 874 "sysadmin", 875 "system", 876 "systems", 877 "ta", 878 "talent", 879 "tax", 880 "teachers", 881 "team", 882 "teamleaders", 883 "teamleads", 884 "tech", 885 "technical", 886 "technik", 887 "technology", 888 "techops", 889 "techsupport", 890 "techteam", 891 "tecnologia", 892 "tesoreria", 893 "test", 894 "testgroup", 895 "testing", 896 "the.principal", 897 "theoffice", 898 "theteam", 899 "tickets", 900 "time", 901 "timesheets", 902 "todos", 903 "tools", 904 "tour", 905 "trade", 906 "trainers", 907 "training", 908 "transport", 909 "travel", 910 "treasurer", 911 "tribe", 912 "trustees", 913 "turismo", 914 "twitter", 915 "uk", 916 "undisclosed-recipients", 917 "unsubscribe", 918 "update", 919 "updates", 920 "us", 921 "usa", 922 "usenet", 923 "user", 924 "users", 925 "usteam", 926 "uucp", 927 "ux", 928 "vendas", 929 "vendas1", 930 "vendas2", 931 "vendor", 932 "vendors", 933 "ventas", 934 "ventas1", 935 "ventas2", 936 "verkauf", 937 "verwaltung", 938 "video", 939 "vip", 940 "voicemail", 941 "volunteer", 942 "volunteering", 943 "volunteers", 944 "vorstand", 945 "warehouse", 946 "watercooler", 947 "web", 948 "webadmin", 949 "webdesign", 950 "webdev", 951 "webinars", 952 "webmaster", 953 "website", 954 "webteam", 955 "welcome", 956 "whois", 957 "wholesale", 958 "women", 959 "wordpress", 960 "work", 961 "workshop", 962 "writers", 963 "www", 964 "zakaz", 965 "zentrale", 966 }