By default, the system is configured to assume that the cluster node assigned to the mailer is able to perform mail delivery. If that is not the case for some reason, you can configure the mailer to use an external SMTP host for mail delivery. You can use the variables smtp_host, smtp_user, and smtp_pswd in global-config for this purpose.