Well, that's part of it, but that's not the important part, since that setting is usually ignored when configured in scripts.
What you need to do is change the 'SMTP' directive so it points to your e-mail server.
What kind of 'separate email server' are you running? Does it require SMTP authentication?