The Persian satrap who surrendered Egypt to Alexander was Mazaces. He was the last Achaemenid satrap of Egypt during the reign of Darius III and handed the country over in 332 BCE without a major battle.
Mazaces inherited a difficult position. His predecessor, Sabaces, had taken Egyptian troops to join Darius and was killed at the Battle of Issus in 333 BCE. When Alexander advanced into Egypt, Mazaces lacked the forces needed for effective resistance. With advice from Amminapes, a Persian official familiar with Alexander, he negotiated the surrender and transferred Egypt and its treasury to the Macedonian conqueror.
Ancient and modern sources may spell the name Mazakes, reflecting differences between Greek, Persian, and Aramaic forms. That spelling variation does not create a separate historical answer. After the surrender, Alexander appointed Cleomenes of Naucratis to administer Egypt and its revenues. Artabazus and Ariobarzanes were other Persian nobles associated with Alexander's wars, while Bessus was a satrap who rebelled against Darius, not the official who surrendered Egypt.