From: Stan Hoeppner on
Isaac Witmer put forth on 7/6/2010 9:27 AM:
> I'm doing a custom install, and one of the packages in the install is postfix.
> Each time, it prompts me to select "no configuration" "Local use" etc.
> just after the package has been downloaded and right before it has
> been installed. (similar to the screen that shows up when you're asked
> to accept the sun-java6 license)
>
> I need a way to dodge it. Any ideas?

Yes. This is a helper script to ease setup burden. If you select "no
configuration" you can then manually do whatever you want/need to with
master.cf, main.cf, etc after system/package installation.

Is the description "no configuration" not sufficiently explanatory?

--
Stan

From: Phil Howard on
On Tue, Jul 6, 2010 at 10:27, Isaac Witmer <isaaclw(a)gmail.com> wrote:
> I'm doing a custom install, and one of the packages in the install is postfix.
> Each time, it prompts me to select "no configuration" "Local use" etc.
> just after the package has been downloaded and right before it has
> been installed. (similar to the screen that shows up when you're asked
> to accept the sun-java6 license)
>
> I need a way to dodge it. Any ideas?

The package comes with two or more pre-packaged configurations to make
it ready to go. Why not just use "no configuration" and later apply
your own configuration.

If you are trying to bypass the interactiveness of it so you don't get
stopped at that choice, maybe you need an expect script (I've used
pexpect with Python for various things, and was thinking of using it
for this, too).

From: Michael Tokarev on
06.07.2010 20:58, Phil Howard wrote:
> On Tue, Jul 6, 2010 at 10:27, Isaac Witmer <isaaclw(a)gmail.com> wrote:
>> I'm doing a custom install, and one of the packages in the install is postfix.
>> Each time, it prompts me to select "no configuration" "Local use" etc.
>> just after the package has been downloaded and right before it has
>> been installed. (similar to the screen that shows up when you're asked
>> to accept the sun-java6 license)
>>
>> I need a way to dodge it. Any ideas?
>
> The package comes with two or more pre-packaged configurations to make
> it ready to go. Why not just use "no configuration" and later apply
> your own configuration.
>
> If you are trying to bypass the interactiveness of it so you don't get
> stopped at that choice, maybe you need an expect script (I've used
> pexpect with Python for various things, and was thinking of using it
> for this, too).

This is becoming more and more off-topic for Postfix mailing list...

there's debconf-set-selections command in Debian that is especially
designed to pre-set answers to dpkg questions for non-interactive
installations. There's no need to re-invent the wheel, it is here
for a long time already and is working quite well. What you need
is to install a package(s) in question on a test system and look
at the debconf items of your interest. The raw data is stored
in /var/cache/debconf/config.dat.

But again, this has nothing to do with postfix, it's 100% debian
question. In particular, read about how to do some non-interactive
package installs in this distribution.

/mjt

From: Isaac Witmer on
Thanks Bob. I wasn't sure if Victor had a specific list in mind.

It's not as if this is the first place I came.

On Tue, Jul 6, 2010 at 7:06 PM, Bob Proulx <bob(a)proulx.com> wrote:
> Isaac Witmer wrote:
>> Could you point me to the specific list you're referring to?
>
> A good catchall is debian-user(a)lists.debian.org where general
> discussion takes place.
>
> Bob
>