In this Feb. 27, 2019, file photo, a man battles heavy rain and gusty winds during a winter storm in Portland. Credit: Robert F. Bukaty / AP

A fall nor’easter advancing on Maine is expected to bring heavy rain and gusts up to 50 mph.

The National Weather Service has placed southern and midcoast Maine under a wind advisory from 6 p.m. Tuesday through noon Wednesday, while gale and storm warnings are in place off the coast.

Winds are forecast to blow at a sustained 15 to 25 mph along the coast, with gusts reaching as high as 45 to 50 mph, according to the weather service.

Those winds will be accompanied by heavy rain between 2 and 3 inches along the southern coast and 1 to 2 inches elsewhere, CBS affiliate WGME reported Tuesday morning. That rain will linger into Wednesday, especially Down East, according to the weather service.

The weather service warned that the rain could cause minor flooding in places.

In response to the looming storm, Central Maine Power said Tuesday that it was positioning 400 lineworkers and contractors across the state to respond to potential outages.

“We will continue to track the storm closely today and adjust our crews as needed. Knowing that many customers are still working from home, we encourage them to prepare as well,” Kerri Therriault, the utility’s director of electric operations, said Tuesday morning.

Northern Maine, however, will be largely spared from this storm, with the weather service’s Caribou office forecasting that the north will remain “partly cloudy and dry.”

By Thursday, sunshine will return to Maine as the storm moves east.