Martin Kos wrote:
On Wed, 26 Feb 2003, Jesse Cablek wrote:


Jesse Guardiani wrote:

This might work if we use wildcards in the fields as Martin suggested.
In that case, the following record:

*:mail.*:*allvirtual

Isn't this what the domain alias lines you implemented handle? Alias mail.example.com to example.com in the domain list and forget wildcard domains? Or was that functionality removed?

yes it is implemented that way, but if you have (like in my case) for every domain that you host an vhost with mail.yourdomains, than it would be easier to work with wildcards (like i've set it up in the apache vhost) insted of editing all the time the logindomainlist.


Suppose that's true. :)



Would suggest that we first check for an HTTP_HOST string that includes
the substring 'mail.' at the beginning, then remove the 'mail.'
substring from the beginning of the HTTP_HOST string, and use the
remaining string as our default domain.

Which may not be good, allow the user to decide which part of the host to use, mail.example.com could be a legit domain to accept/check mail for - I had done this having exmaple.com as a virtual domain but mail.example.com as a local domain so that postmaster/etc.. messages get sent to @mail.example.com

as jesse writes later in the same mail: "So these records should appear at the END of the logindomainlist file if you wish to attempt a match on other records first, or override your default entry." .. .so this would also work with your example ? and nobody has said that you HAVE to use the wildcards ;-)


Right again, so ignore those points I made.


/jesse





Reply via email to