On Tue, Mar 08, 2016 at 05:57:41AM -0600, Tom Browder wrote:

> I clearly was not even thinking about the
> several types of virtual hosts.  I am running multiple virtual hosts
> on a single, real Apache server.  I have a fair amount of experience
> with TLS and Apache but none with TLS and Postfix, so please forgive
> my apparently stupid questions.

When working with Postfix, try to forget everything related to
Apache, essentially none of that is relevant to Postfix.  Your
"virtual hosts" are just domains.  You want an MX host for multiple
domains.  Postfix does that without any 'virtual hosts" involved.

> 1. Use ONE Postfix instance running on my remote server which has full
> presence on the Internet with official domain names for several Apache
> virtual hosts.

    s/virtual hosts/domains/

And you have lots of reading to do:

    http://www.postfix.org/documentation.html
    http://www.postfix.org/BASIC_CONFIGURATION_README.html#mydestination
    http://www.postfix.org/STANDARD_CONFIGURATION_README.html
    http://www.postfix.org/ADDRESS_REWRITING_README.html
    http://www.postfix.org/ADDRESS_CLASS_README.html#classes
    http://www.postfix.org/VIRTUAL_README.html

> 2. Use my local host (with dynamic IP) to send mail (but not receive
> mail) via the remote Postfix smtpd. (That is not working at the moment
> [connection refused], but I am still tweaking Postfix variables.)

Don't tweak configuration variables, instead start with a default
configuration and apply a small set of carefully selected changes.

        inet_interfaces = all

is a good start for accepting remote mail.

-- 
        Viktor.

Reply via email to