- 论坛徽章:
- 0
|
postfix.org.cn正式对外发布,并被Wietse收录于官方站内
如果配置虚拟域支持.......不是不行.....难.....而且还有限制。
postfix所有的问题都解决了,就剩下maillist没有很好的办法。
from: http://zope.org/Members/bwarsaw/MailmanDesignNotes/VirtualHosting
- Virtual Hosting with Mailman
- Mailman 2.0 already has some support for virtual hosting, where a single Mailman installation servers lists for multiple domains. There are, however some problems with current virtual host support, and this page attempts to outline those problems, and give an overview of how I'd like to eventually improve the situation. It's not clear yet whether this will be added to Mailman 2.1 or pushed until Mailman 3.0.
- Mailman 2.0 approach
- In Mailman 2.0, each mailing list has essentially two attributes which control the virtual domain it appears in: web_page_url and host_name. web_page_url is used to form the base URL for all Mailman CGI scripts; an example is http://mail.python.org/mailman/ (note the required trailing slash). host_name is the domain part of the email address, i.e. the part to the right of the `@' sign, e.g. python.org.
- Note how web_page_url cannot always be calculated from the host_name, because one or the other may include additional host name parts. Thus, any virtual domain solution must allow both to be configured (although the default could be to calculate web_page_url from host_name).
- List-specific operations have no trouble knowing which virtual domain they're targetted for (although see the caveats below). Site-wide web operations such as a listinfo or admin overview, or (with Mailman 2.1alpha list creation) can be handled easily too, since the host name part of the url is taken as the virtual host to use. Command line scripts have a harder time though, because there's no cgi environment to glean virtual host information from; some scripts have options to specify the virtual host, and others will likely grow such options.
- The primary problem with all this is that list names must be unique across the entire site. For example, say you run mysite1.com and mysite2.com and these are virtually hosted. You cannot have two lists, called mylist@mysite1.com and mylist@mysite2.com. The only choice you have is to run two completely separate Mailman installations, each hosting just one of those domains. This sucks for ISPs? hosting tens or hundreds (or more!) virtual domains.
复制代码
原帖由 "hefish" 发表:
邮件列表我还不会配那。。。
hzq配好了说说大致步骤。。。。也让我学习学习。。。 |
|