Hi,
If the host you forward does not need authentication you just edti your /etc/postfix/main.cf and and add this command in it:
relayhost = mail.ispserver.com
then save exit and restart postfix.
If the receiving server requires authentication you need to edit these files:
1) Create a file called /etc/postfix/sasl_relay_passwd and put the authentication info in the ile similar to this:
mail.ispserver.com username:password
Save and exit.
2) edit your permissions and configure the file. To accomplish this just execute these commands:
chmod 600 /etc/postfix/sasl_relay_passwd
postmap /etc/postfix/sasl_relay_passwd
2) Edit your main.cf to reflect this:
relayhost = mail.ispserver.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_relay_passwd
smtp_sasl_security_options =
Save exit and restart postfix.
This is it.
Cheers,
K.