On 10/6/2008 2:29 PM, mouss wrote:
>> Currently, I simply have our one domain referenced in mydomain, and
>> have the hostname set accordingly (see postconf -n below), and am
>> not using virtual_mailbox_domains.

> currently, you have domains in mydestination even if you didn't specify
> that. you can test with
> $ postconf mydestination
> mydestination = $myhostname, localhost.$mydomain, localhost

Ok, but only one (virtual) domain I'm concerned with

> This means that the listed domains are "local" domains (they are
> delivered to unix accounts).

And the only real accounts I care about are aliased to my virtual admin
account...

>> Does simply adding the additional domain example2.com in 
>> virtual_mailbox_domains allow me to use the additional hostname 
>> smtp.example2.com (in client configurations) for sending mail,
>> assuming example2.com is listed in virtual_mailbox_domains and have
>> appropriate DNS & MX records for the additional domain(s) pointed
>> to the appropriate IP?

> receiving mail has nothing to do with sending mail.

I know... thats why I was asking about how virtual hosting works with
respect to SENDING mail via CLIENTS (MUAs).

I'm going to be writing up instructions for users who will be using
these new domains how to set up their mail clients (Thunderbird mainly,
but I also include instructions for the Microsoft clients)... so I
wanted to confirm that I can use the hosts 'smtp.example1.com' and
'smtp.example2.com' for their SMTP (outbound) server setting in their
clients.

> when you send mail, the hostname is used as the HELO (EHLO) argument.

I'm not talking about HELO commands issued between MTAs... I'm talking
about hostnames used by MUAs for SENDING mail...

> This identifies the _server_ that sends mail. It has nothing to do with
> the domains you host.

Well... it does, if I want users getting mail at example1.com to be able
to reference smtp.example1.com in their client settings.

It will be awkward to tell a user to put smtp.fred.com for their
outbound server setting, if their email address is [EMAIL PROTECTED], don't
you think?

> you can set the virtual transport to dovecot (which is what you use
> if my my two neurons are still working),

Not for this client... still trying to get them to let me switch them to
dovecot.

-- 

Best regards,

Charles

Reply via email to