• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

albertito / chasquid
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 25 Feb 2018 12:12PM UTC
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH next
branch: next
CHANGE BRANCH
x
Reset
  • next
  • main
  • master
  • refs/tags/test-tag-20240203-01
  • refs/tags/v1.14.0
  • refs/tags/v1.15.0
  • refs/tags/v1.15.1
  • refs/tags/v1.16.0

02 Oct 2025 09:45AM UTC coverage: 95.033% (-0.001%) from 95.034%
18189957386

push

albertito
smtpsrv: Fix "Received" header format when including the IP address

When constructing the "Received" header, in some cases we want to
include the remote IP address in addition to the EHLO domain.

The way we did that is not fully compliant with RFC 5321 (section 4.4),
and this has the potential to confuse some tools that parse the header.

This patch fixes this problem by adjusting the order of the two pieces
of data, which makes it comply with the RFC.

Before:

  Received: from [1.2.3.4] (ehlo.domain.example.com)

After:

  Received: from ehlo.domain.example.com ([1.2.3.4])

Thanks to nolanl@github for reporting this problem in
https://github.com/albertito/chasquid/issues/76.

4 of 4 new or added lines in 1 file covered. (100.0%)

5912 of 6221 relevant lines covered (95.03%)

63867.95 hits per line

Relevant lines Covered
Build:
Build:
6221 RELEVANT LINES 5912 COVERED LINES
63867.95 HITS PER LINE
Source Files on next
  • Tree
  • List 45
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18189957386 next smtpsrv: Fix "Received" header format when including the IP address When constructing the "Received" header, in some cases we want to include the remote IP address in addition to the EHLO domain. The way we did that is not fully compliant with R... push 02 Oct 2025 10:11AM UTC albertito
95.03
16950547789 next courier: Don't hardcode path to `sleep` binary in the tests On NixOS, `/bin` is basically empty and this causes the courier tests (which invoke `/bin/sleep`) to fail. This patch fixes the tests by removing the hardcoded path. https://github.com... push 13 Aug 2025 10:16PM UTC albertito
95.03
16817317347 next docker: Use fixed UID/GID for daemon users Currently, we rely on Debian to pick a UID and GID for daemon users. However, those numbers can change as software evolves over time, in particular as the base distribution changes. Because those IDs ar... push 07 Aug 2025 10:35PM UTC albertito
95.03
16817127670 next docker: Use debian:stable-slim as the base, to reduce size Using the "slim" version of the debian:stable image helps reduce size, while having no impact on runtime usability or performance. The main differences are around locale and manpages. Am... push 07 Aug 2025 10:23PM UTC albertito
95.0
16817053640 next docker: Use supervisord to launch chasquid and dovecot Today, we launch dovecot in the background and chasquid in the foreground using sudo. This means that dovecot failures won't propagate, and signals to the container (e.g. to stop it) also do... push 07 Aug 2025 10:18PM UTC albertito
94.97
16707327841 next chasquid: Exit with code 0 on SIGINT/SIGTERM When we get SIGINT or SIGTERM, today chasquid exits with code 1. This can confuse some of the supervision tools. In particular, Docker and Kubernetes expect exit 0 upon an intentional stop. And syste... push 03 Aug 2025 04:59PM UTC albertito
95.03
16703927628 next docker: Define the $AUTO_CERTS environment variable in the Dockerfile For readability and clarity, define the $AUTO_CERTS environment variable in the Dockerfile. https://github.com/albertito/chasquid/pull/68 Amended-by: Alberto Bertogli <albert... push 03 Aug 2025 10:19AM UTC albertito
95.03
16703614870 next docker: Use `--rm` in the example about adding users When creating containers to run a single one-off command that alters a volume, the `--rm` option is needed, otherwise that container is left around and can cause confusion later on. https://gi... push 03 Aug 2025 09:40AM UTC albertito
95.03
16703536898 next docker: Add instructions for cross-compiling This patch adds instructions on how to cross-compile the Docker build. https://github.com/albertito/chasquid/pull/67 Amended-by: Alberto Bertogli <albertito@blitiri.com.ar> Adjusted commit message. push 03 Aug 2025 09:31AM UTC albertito
95.03
16703524066 next docker: Add instructions for cross-compiling This patch adds instructions on how to cross-compile the Docker build. Amended-by: Alberto Bertogli <albertito@blitiri.com.ar> Adjusted commit message. push 03 Aug 2025 09:29AM UTC albertito
95.03
See All Builds (260)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc