Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAI support for notqmail #197

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

EAI support for notqmail #197

wants to merge 16 commits into from

Commits on Dec 7, 2020

  1. EAI support for qmail

    This adds EAI support to notqmail. Adapted from dapted from Arnt Gulbrandsen unicode address
    support [here](http://arnt.gulbrandsen.priv.no/qmail/qmail-smtputf8.patch).
    
    1. Use conf-smtputf8 to compile the EAI support
    2. If conf-smtputf8 has -DSMTPUTF8, use tryidn2 to see if idn2_lookup_u8() from libidn2 can be used.
       if Yes, create hassmtputf8.h and #define SMTPUTF8
    3. include hassmtputf8.h in qmail-smtpd.c, qmail-remote.c
    4. The utf8read() function has been adapted from utf8received() by
       Erwin Hoffman
    5. Following unit tests cases have been added
       - smtpcode() - in qmail-remote.c (test 3 digit codes, valid
         and junk codes)
       - mailfrom_parms() in qmail-smtpd.c (test SMTPUTF8 in the
         MAIL FROM parameter)
       - utf8read() in qmail-remote.c (test utf8, non-utf8)
       - get_capability() in qmail-remote.c to test for presence of EHLO
         capability
    mbhangui committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    27a8ecb View commit details
    Browse the repository at this point in the history
  2. replaced echo with printf

    mbhangui committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    a731d82 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f802f92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    132f09e View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2020

  1. Configuration menu
    Copy the full SHA
    c6bc474 View commit details
    Browse the repository at this point in the history
  2. added libidn2

    mbhangui committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    7ebc35b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbb80e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    88a2973 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. Define CODEOWNERS with our default reviewers.

    From <https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-file-location>:
    
    "Code owners are automatically requested for review when someone opens a
    pull request that modifies code that they own."
    
    I've not listed everyone in our GitHub org, just the folks who are
    usually doing the reviewing (and from whom I usually request reviews).
    No exclusion is intended, just sensible defaults. We can always manually
    request additional reviewers on any given PR, and anyone who wants to
    get more generally involved can of course add themselves here.
    schmonz authored and mbhangui committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    97157ba View commit details
    Browse the repository at this point in the history
  2. Fix CodeQL cpp/integer-multiplication-cast-to-long.

    "Multiplication result may overflow 'int' before it is converted to 'long'."
    
    Make n a datetime_sec (synonym for long) to begin with.
    schmonz authored and mbhangui committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    4e1ba81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44a00c9 View commit details
    Browse the repository at this point in the history
  4. renamed get1() to get()

    mbhangui committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    9764a86 View commit details
    Browse the repository at this point in the history
  5. updated mail data

    mbhangui committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    dae3b88 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6b6f5fe View commit details
    Browse the repository at this point in the history
  7. fix Makefile for Solaris

    mbhangui committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    aac711a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    777df37 View commit details
    Browse the repository at this point in the history