The House voted overwhelmingly yesterday to override President Bush's veto of the Hatch Act revisions, setting the stage for a major confrontation this morning in the Senate.

The vote to override the veto of legislation that would remove many of the restrictions on federal workers' partisan political activity was 327 to 93, far more than the necessary 280, or two-thirds of those voting.

The measure passed the Senate May 10 by a vote of 67 to 30, the minimum necessary to override a veto in the upper chamber.

President Bush, who has a perfect record of getting Congress to go along with his previous 11 vetoes, was reported by lobbyists to be making telephone calls to Republican senators. "I think everybody over at the White House has been working hard today," said Sen. William V. Roth Jr. (R-Del.), leader of opposition to the bill.

A senior White House official said last night that the administration was "optimistic," believing it is within two votes of victory. "We think we have the two but we're not certain."

Sens. Arlen Specter (R-Pa.) and Pete V. Domenici (R-N.M.), two of the Republicans who voted for the revisions last month, told their staffs yesterday they had not made up their minds on whether to sustain the veto, according to their press secretaries.

"I'm cautiously optimistic," Roth said. "It will be close, but I think we've got the votes we need."

The president must persuade at least two senators to change their votes on the measure, because Sen. Daniel Akaka (D-Hawaii) has been sworn in since the original vote and will support the override attempt, according to his office.

Bush vetoed the Hatch Act revisions, which federal unions have sought for more than 20 years, saying federal workers must be barred from actively participating in partisan politics "to preserve the impartial, evenhanded conduct of government business."

The revisions would allow federal workers to participate in partisan politics while off duty, to solicit funds from fellow union members and to canvass neighborhoods door-to-door for political candidates. The revised law would continue to bar civil servants from running for political office and from soliciting funds from the public.

Yesterday's House decision to override Bush's veto was supported by all Washington-area congressmen except Frank Wolf (R-Va.) and D. French Slaughter Jr. (R-Va.).

In a speech on the House floor, Wolf strongly supported the veto. "Probably, there ought to be some changes in the Hatch Act, but not these changes," he said. Since the act was passed in 1939, he said, "times have changed, but human nature has not changed. . . whatever is permitted will be expected."

Rep. William D. Ford (D-Mich.), chairman of the Post Office and Civil Service Committee, urged an override of "this unjustified veto. . . {to} give our federal workers some of the basic fundamental rights that the rest of us enjoy."