RE: Postfix Howto Needed and the gaps most of them leave out.

From: Boring, Andrew (no email)
Date: Wed Oct 01 2003 - 08:57:27 EDT


Lydiard [mailto:] wrote:

> Okay, here is the postconf -n with names changed to protect the
> innocent.

The innocent or the guilty? :-)
Obfuscating domain names don't protect you, since it's all public info
anyway, and can hinder the troubleshooting process.

> [root at foobar root]# postconf -n
> mydestination = barfoo.co.uk, foobar.info, barfoobar.net,
> foobarfoo.co.uk
> mydomain = foobar.net
> myhostname = foobar.net
> mynetworks_style = host

$mydomain is not listed as a $mydestination.
You'll probably want something like:

   myhostname = some_hostname.$mydomain
   mydomain = foobar.net
   mydestination = $myhostname, $mydomain, barfoo.co.uk, foobar.info,
barfoobar.net, localhost.$mydomain

> And here is the complete telnet session:
>
> 220 foobar.net ESMTP Postfix (1.1.11)

Did you say you downloaded the source files? Did you download Postfix 2.x or
1.1.11? I believe (and I could be wrong) that Postfix 1.1.11 comes with Red
Hat as the alternate package to Sendmail. Unless you have a compelling
reason to stay with 1.1.11, I would suggest you try Postfix 2.x.

> Well, of course, a large part of this is double dutch to me - which is
> why I am doing it. Some of it I understand, so I am getting there. I
> hope this info will tell you what I am doing wrong, so you
> can point me
> in the right direction.

Some info then: "postconf" lists all parameters that Postfix is configured
with. "postconf -d" lists the defaults, and "postconf -n" lists only the
parameters that you've changed. The sample-**.cf files are most useful to
find out what certain parameters do. You'll find them very useful later. You
can type "postconf <parameter_name>" to see the current setting for that
parameter only.

If you haven't read through the info at
<URL:http://www.postfix.org/basic.html>, then I would highly recommend that
you do. Also, see the Postfix FAQ <URL:http://www.postfix.org/faq.html> for
some example configurations (very much simplified compared to what Ralf has
on his site).








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD