On Mon, 22 Sep 2008 23:34:46 +0100 Jamie Griffin wrote: > > > > I am running a postfix smtp server. The school does not > > > > object to mail coming in directly but want all ougoing mail > > > > to go through the school mailserver. > > > > > > > > How do I configure to accomplish this? > > You need to set the variable > > 'relayhost = [nameofsmarthostserver.tld]' in you main.cf file. > > Then create the file /etc/postfix/sasl/sasl_passwd; so, > > `cd /etc/postfix/sasl` > `touch sasl_passwd` > > > inside that file specify the relayhost details again: > > [nameofsmarthostserver.tld] username:password > > obviously use your own login credentials for the remote server there. From what I recall it's also necessary to tell postfix to use SASL and where to look for those credentials: in main.cf: smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd and 'postmap /etc/postfix/sasl/sasl_passwd' Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
Attachment:
signature.asc
Description: PGP signature