postfix config
Matthew Hawkins
matthew at topic.com.au
Thu Apr 18 12:17:31 EST 2002
On Mon, 15 Apr 2002, Kim Holburn wrote:
> Anyone tell me very quickly how I configure postfix to :
>
> . not listen for mail but queue and send it to another machine and
Disable smtpd in master.cf (comment out the line) AND
set $relayhost in main.cf to point to the other machine.
To avoid two DNS lookups, set it up like so:
relayhost = [192.168.0.1]
(but obviously use the correct ip address). The square brackets are
required (see the postfix doco for why)
> . not keep mail local but send it to another machine.
blank out $mydestination in main.cf, like so:
mydestination =
Don't just comment it out as the default setting is the local machine,
and you don't want that.
You may also need to set $mailbox_transport too:
mailbox_transport = smtp:[192.168.0.1]
but I wouldn't worry about that at first - see if it'll work without it.
Feel free to send me "postconf -n" output if you have further issues.
--
Matt
More information about the linux
mailing list