Skip to contentSkip to conversation

git-send-email and msmtp

DISCUSSION Aneesh Kumar 2 participants 2 messages Aug 11, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I am using msmtp to send email using git-send-email. The problem i am facing now is vger.kernel.org is dropping the mails generated by git-send-email. When i am sending the same patch as an attachment in thunderbird everything works fine. So i guess it is not the patch content that is getting filtered. Any idea how to find out what is causing the patch to get dropped and how to fix this.

The header of the patch that was dropped is

Return-Path: <[email protected]>
Received: from localhost ( [156.153.255.234])

       by mx.google.com with ESMTP id q13sm7841591qbq.2006.12.12.00.56.10;
       Tue, 12 Dec 2006 00:56:12 -0800 (PST)

From: "Aneesh Kumar K.V" <[email protected]>
To: [email protected]
Cc: [email protected], Aneesh Kumar K.V <[email protected]>
Subject: [PATCH] Alpha increase PERCPU_ENOUGH_ROOM
Date: Tue, 12 Dec 2006 14:26:06 +0530
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.4.4.2.gdb98-dirty

Header of the patch that went through fine is below

Return-Path: <[email protected]>
Received: from ?217.236.218.183? ( [156.153.255.234])

       by mx.google.com with ESMTP id e18sm7940070qba.2006.12.12.01.29.53;
       Tue, 12 Dec 2006 01:29:55 -0800 (PST)

Message-ID: <[email protected]>
Date: Tue, 12 Dec 2006 14:59:51 +0530
From: "Aneesh Kumar K.V" <[email protected]>
User-Agent: Thunderbird 1.5.0.8 (X11/20061115)
MIME-Version: 1.0
To: [email protected]
Subject: [PATCH] Alpha increase PERCPU_ENOUGH_ROOM
Content-Type: multipart/mixed; boundary="------------040307060102020004050000"

This is a multi-part message in MIME format. --------------040307060102020004050000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

--------------040307060102020004050000
Content-Type: text/plain; name="0002-Alpha-increase-PERCPU_ENOUGH_ROOM.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="0002-Alpha-increase-PERCPU_ENOUGH_ROOM.txt"

#1 lore raw
Quoted 8 lines · Aneesh Kumar

I am using msmtp to send email using git-send-email. The problem i am facing now is vger.kernel.org is dropping the mails generated by git-send-email. When i am sending the same patch as an attachment in thunderbird everything works fine. So i guess it is not the patch content that is getting filtered. Any idea how to find out what is causing the patch to get dropped and how to fix this.

The header of the patch that was dropped is

Probably problem with vger.kernel.org checking your server if it is permitted to send mails. I use sendmail, and have solved this using my gmail mail account as SMTP tunnel/forwarding using
define(SMART_HOST',[smtp.gmail.com]')
msmtp can do something like this. Ask chexum on IRC.

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git