Do you have the manuals for the Mamiya 7 and the SB-25?
I wouldn't think that the AE mode on the Mamiya 7 would cooperate with the auto function on the flash. Most likely the AE meter in the Mamiya is setting a (slow) shutter speed that will fully expose the film without the flash, so the additional light from the flash will most likely cause you to over-expose the result. You need to set the aperture and shutter speed on the camera manually, based on the aperture setting recommended and set by the flash. F4 may be entirely appropriate, but f/8 may also be.
Looking at the SB -25 manual, it looks like page 81 is where you will find the instructions for the flash. It has the heading of:
Non-TTL Auto Flash Mode — Shooting with Various Lens Apertures.