On 2/28/2012 11:48 AM, Steve Campbell wrote:
> I'm new to postfix so I've got a lot of learning to do.

Welcome to Postfix.

>
> One of the basic questions I have is this:
>
> I'm wanting to use bl.spamcop.net. From what I can discern, I've got
> to put this in my main.cf in a section named
> smtpd_recipient_restrictions. I don't see that in mine, but I'm
> guessing I need to create this section (either manually or with
> postconf(?)). I've found a few examples but they have tons of other
> things in that section as well.
>
> Is the above correct to some degree?

What you must understand is that Postfix comes with sensible defaults
for most people.
When not explicitly overridden, it uses those defaults.

To see the current values of an option, you can use the postconf tool.
Ex: "postconf smtpd_recipient_restrictions"

That particular option has requirements to be met to keep you from being
an open relay.
You should add features by keeping the default and appending what you want.

To see your modifications to the default, use 'postconf -n'.  We usually
require this to help with issues.
To see all of the default options, use 'postconf -d'.  For reference
only as we mostly know the defaults.

Brian

Reply via email to