[GH-ISSUE #152] Ignoring invalid email address: sendmail #100

Closed
opened 2026-03-15 12:33:28 +03:00 by kerem · 3 comments
Owner

Originally created by @dregad on GitHub (Aug 9, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/152

My mailpit.log file is filled with messages like this

WARN[2023/08/08 02:24:57] [smtpd] ignoring invalid email address: sendmail

Mail is sent by a PHP application using PHPMailer, configured to use PHP mail(), with php.ini setup per https://github.com/axllent/mailpit/wiki/Configuring-sendmail, i.e.
sendmail_path = /opt/homebrew/bin/mailpit sendmail

Mail header example

Received: from localhost (localhost [::1])
        by damien.local (Mailpit) with SMTP
        for <sendmail>; Tue,  8 Aug 2023 02:24:57 +0200 (CEST)
To: NfaldtBtNL@somedomain.com
Subject: =?us-ascii?Q?[Mantis_DEV_2.26.0-dev_(php72-8394cc5)]_Account?=
 =?us-ascii?Q?_registration?=
Date: Tue, 8 Aug 2023 00:24:57 +0000
From: "Mantis DEV 2.26.0-dev (php72-8394cc5)" <mantis@localhost.com>
Message-ID: <1OE6JgDTg7nGmHerVfsq7WAnv5G4RpspHoogXk2aE@localhost>
X-Mailer: PHPMailer 6.8.0 (https://github.com/PHPMailer/PHPMailer)
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Mailpit 1.8.0

Originally created by @dregad on GitHub (Aug 9, 2023). Original GitHub issue: https://github.com/axllent/mailpit/issues/152 My mailpit.log file is filled with messages like this ``` WARN[2023/08/08 02:24:57] [smtpd] ignoring invalid email address: sendmail ``` Mail is sent by a PHP application using PHPMailer, configured to use PHP mail(), with *php.ini* setup per https://github.com/axllent/mailpit/wiki/Configuring-sendmail, i.e. `sendmail_path = /opt/homebrew/bin/mailpit sendmail` Mail header example ``` Received: from localhost (localhost [::1]) by damien.local (Mailpit) with SMTP for <sendmail>; Tue, 8 Aug 2023 02:24:57 +0200 (CEST) To: NfaldtBtNL@somedomain.com Subject: =?us-ascii?Q?[Mantis_DEV_2.26.0-dev_(php72-8394cc5)]_Account?= =?us-ascii?Q?_registration?= Date: Tue, 8 Aug 2023 00:24:57 +0000 From: "Mantis DEV 2.26.0-dev (php72-8394cc5)" <mantis@localhost.com> Message-ID: <1OE6JgDTg7nGmHerVfsq7WAnv5G4RpspHoogXk2aE@localhost> X-Mailer: PHPMailer 6.8.0 (https://github.com/PHPMailer/PHPMailer) Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ``` Mailpit 1.8.0
kerem closed this issue 2026-03-15 12:33:33 +03:00
Author
Owner

@axllent commented on GitHub (Aug 9, 2023):

This should have been fixed in v1.8.1. Could you please upgrade your Mailpit and test again?

<!-- gh-comment-id:1671993716 --> @axllent commented on GitHub (Aug 9, 2023): This should have been fixed in v1.8.1. Could you please upgrade your Mailpit and test again?
Author
Owner

@dregad commented on GitHub (Aug 10, 2023):

My apologies, I should have checked for a new release and tested before reporting an issue here.

I confirm that the problem is fixed in 1.8.1 indeed.

Sorry about the noise and many thanks for your help and for making Mailpit !

<!-- gh-comment-id:1672702091 --> @dregad commented on GitHub (Aug 10, 2023): My apologies, I should have checked for a new release and tested before reporting an issue here. I confirm that the problem is fixed in 1.8.1 indeed. Sorry about the noise and many thanks for your help and for making Mailpit !
Author
Owner

@axllent commented on GitHub (Aug 10, 2023):

Not a problem at all, and I'm glad you like Mailpit 👍

<!-- gh-comment-id:1672738485 --> @axllent commented on GitHub (Aug 10, 2023): Not a problem at all, and I'm glad you like Mailpit 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#100
No description provided.