1

I want to send patches to the mailing list and my git config file is like the below.

My git config --list looks like:

user.name=xxx.
user.email=xxx@abc.com
sendemail.smtpserver=mail.abc.com
sendemail.smtpserverport=587
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/linux-test-project/ltp.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master

I get the following error, it could help if someone can help in clearing this. Error:

You must log in to send mail from abc.com
mike
  • 1,233
  • 1
  • 15
  • 36
Paul
  • 331
  • 2
  • 7

1 Answers1

0

That looks like a SMTP server error (as seen for instance in citadel)

/* Otherwise, make sure outsiders aren't trying to forge mail from
     * this system (unless, of course, c_allow_spoofing is enabled)
     */
    else if (CtdlGetConfigInt("c_allow_spoofing") == 0) {
        process_rfc822_addr(ChrPtr(sSMTP->from), user, node, name);
        SMTP_syslog(LOG_DEBUG, "Claimed envelope sender is '%s' == '%s' @ '%s' ('%s')",
            ChrPtr(sSMTP->from), user, node, name
        );
        if (CtdlHostAlias(node) != hostalias_nomatch) {
            cprintf("550 You must log in to send mail from %s\r\n", node);

Check the syslog for a "Claimed envelope sender" message: that will give you a clue regarding your email mis-configuration.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250