SMTP uses a destination port of 25 and a source port that is 1024 or greater.
For OUTPUT you use the destination port.
Typically for IP protocols the source port is a random port that is 1024 or greater. You typically filter/block based on destination port.