On Mon, 23 May 2005, Rakotomandimby (R12y) Mihamina wrote:
>
> I have one server that hosts many apache virtual hosts (vitual domains).
> Let'say domain.1, domain.2 and domain.3.
> Each webmaster of each domain woul like to have a pop3 account on the
> server too.
> Therefore, I need to provide 3 email adresses:
> webmaster@domain.1
> webmaster@domain.2
> webmaster@domain.3
>
> What would be "the" solution?
You probably already have a user for each virtual host, say user1, user2,
user3. You need a file mapping domain names to users, say dom2user. You
can then configure an Exim router something like:
webmaster:
driver = accept
domains = lsearch;/etc/exim/dom2user
local_parts = webmaster : postmaster
user = $domain_data
transport = local_delivery
The dom2user file looks like
domain.1: user1
domain.2: user2
domain.3: user3
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}