On Sun, 17 May 2009, Sahil Tandon wrote: > On Sun, 17 May 2009, Carlos Williams wrote: > > > On Mon, May 11, 2009 at 8:59 PM, Sahil Tandon <sa...@tandon.net> wrote: > > > On Mon, 11 May 2009, Carlos Williams wrote: > > >> relayhost = > > > > > > The default value is empty, so no need to redefine it. > > > > I was told to add this value and leave it blank so that Postfix will > > not be used as an open relay. Are you saying that I can remove this > > completely as Postfix automatically does this regardless if it's > > inserted in main.cf? I find it confusing to know / understand what > > configurations Postfix auto assumes and what is required to be > > specified in my main.cf. > > I think you are confusing $relayhost with $relay_domains; the former is null > by default while the latter, for compatibility with older releases, is set to > $mydestination. Typically, you should also set $relay_domains to null. > Search the mailing list for previous discussions on this topic. To see what > Postfix "auto assumes" see the output of 'postfonf -d'.
Grr. s/postfonf/postconf/ -- Sahil Tandon <sa...@tandon.net>