My mailer is pegasus and when trying to send I've been getting an error about mail relay.

What is the error message ?
Also look in file C:\Program Files\ALWIL Software\Avast4\Data\log\aswMaiSv.log for possible errors.