[dcmf] Mailing list does not accept Git emails by default
Susan Coghlan
smc at mcs.anl.gov
Mon Feb 4 20:35:46 CST 2008
Hi Joe,
The response from the systems team is below:
Here's a bounce:
Feb 4 16:51:32 mailgw postfix/smtpd[29764]: NOQUEUE: reject: RCPT
from over.ny.us.ibm.com[32.97.182.150]: 450 <jratt at dd2sys1fen1.rchland.ibm.com
>: Sender address rejected: Domain not found; from=<jratt at dd2sys1fen1.rchland.ibm.com
> to=<dcmf at lists.anl-external.org> proto=ESMTP
helo=<over.ny.us.ibm.com>
It's being caught by one of the anti-spam measures -- it requires the
"From" be a valid domain. By the looks of it, Joe's send-email
directive isn't doing what he thinks its doing. I'd suggest (based on
what I see in git docs on the web):
git send-email --from jratt at us.ibm.com --envelope-sender jratt at us.ibm.com
--todcmf at lists.anl-external.org
All of these things look to be configurable, though, using git config
(or ~/.gitconfig) so you don't need to put it in all the time.
Disclaimer: I'm quite new to git, and these are guesses based on my
reading of the docs.
--
Craig
On Feb 4, 2008, at 1:27 PM, Joe Ratterman wrote:
> 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
> _______________________________________________
> dcmf mailing list
> dcmf at lists.anl-external.org
> http://lists.anl-external.org/cgi-bin/mailman/listinfo/dcmf
>
More information about the dcmf
mailing list