[dcmf] Mailing list does not accept Git emails by default

Joe Ratterman jratt at us.ibm.com
Mon Feb 4 13:27:34 CST 2008


I've been trying to send patches to the mailing list for changes to
the repository.  These can be applied to the existing repository to
ensure that you stay on the very bleeding edge of the development
curve.  However, it appears that the mail server is rejecting the
email.  Since this is expected to be the primary method for sharing
and discussing changes, we want to make sure that people know how to
set this up correctly.

I sent an email from my jratt account on dd2sys1fen1.rchland.ibm.com
using the git-send-email tool:
      git send-email --from="Joe Ratterman <jratt at us.ibm.com>"
--to="DCMF <dcmf at lists.anl-external.org>"
0001-Correct-a-mistake-that-adds-uses-a-non-existant-Make.patch
It appears that the email was sent with a "from: Joe Ratterman
<jratt at us.ibm.com>" header as expected, but the SMTP message probably
contained "mail from: jratt at dd2sys1fen1.rchland.ibm.com".  It appears
that the SMTP server for the list will not accept the email since the
host "dd2sys1fen1.rchland.ibm.com" doesn't appear to exist.

To fix it, specify the SMTP server to use, so that sendmail does not
handle/mangle the SMTP fields
On the command line, add "--smtp-server=localhost"
In your ~/.gitconfig, add this:
[sendemail]
        smtpserver = localhost


I hope this helps the patches to move along.
Joe Ratterman
jratt at us.ibm.com



More information about the dcmf mailing list