© 2012 MLB Advanced Media, L.P. All rights reserved.

05/25/12 10:20 AM ET

Yankees to sign former Mets righty Maine

The Yankees will sign right-hander John Maine to a Minor League deal, a baseball source told MLB.com on Friday.

Maine, 31, was released by the Red Sox on good terms two weeks ago. He signed with Boston in January. He has not pitched in the Minors this season, and last pitched in the Majors in 2010, with the Mets. He is said to be in good health after undergoing shoulder surgery in 2010.

The Yankees have not commented on their plans to sign Maine, who has been working out with them since parting ways with the Red Sox. He will not immediately be assigned to Triple-A.

Maine is 41-36 with a 4.35 ERA in 108 career Major League appearances, 105 of them starts.

Evan Drellich is a reporter for MLB.com. Follow him on Twitter @EvanDrellich. This story was not subject to the approval of Major League Baseball or its clubs.