On 8/20/15 15:45, Michal Hocko wrote: > On Thu 20-08-15 09:27:42, gchen gchen wrote: > [...] >> Yes, it is really peculiar, the reason is gmail is not stable in China. >> I have to send mail in my hotmail address. >> >> But I still want to use my gmail as Signed-off-by, since I have already >> used it, and also its name is a little formal than my hotmail. >> >> Welcome any ideas, suggestions and completions for it (e.g. if it is >> necessary to let send mail and Signed-off-by mail be the same, I shall >> try). > > You can do the following in your .git/config > > [user] > name = YOUR_NAME_FOR_S-O-B > email = YOUR_GMAIL_ADDRESS > [sendemail] > from = YOUR_STABLE_SENDER_ADDRESS After trying, I guess, from = YOUR_GMAIL_ADDRESS > envelopesender = YOUR_STABLE_SENDER_ADDRESS > smtpserver = YOUR_STABLE_SMTP > > [user] part will be used for s-o-b and Author email while the sendemail > will be used for git send-email to route the patch properly. If the two > differ it will add From: user.name <user.email> as suggested by Andrew. > OK, thanks. I finished the configuration, and give a test (send and receive test mail between my 2 mail address), it is OK. I shall send patches in this way :-). Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>