[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix config question..



On Mon, Sep 22, 2008 at 03:24:14PM -0700, Mike Bird wrote:
> On Mon September 22 2008 14:59:26 I Rattan 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?
> 
> In /etc/postfix/main.cf add:
> 
> relayhost = school.mailserver.name

you might need to include the square brackets around the server details, ie:

relay = [school.mailserver.name]

The square brackets disable the mx lookup in case some clever admin has 
configured an mx for whatever reason.

Jamie


Reply to: