Ruben Yanez wrote:
> Is it posible to bind a local account to a domain that a host receives
> mail for?
> I mean, I want my host can handle several domains, so I now I have to
> add them to class w, but instead of using virtusertable, I want to use
> local accounts so that my host receives mail for
>
> [EMAIL PROTECTED] but not for [EMAIL PROTECTED]
>
> since I'm using local accounts, they can't repeat. So the idea is to
> have some local accounts receive mail for some domains, other accounts
> for other domains, and so on. The same when sending mail, I mean, add
> the corresponding domain to the local account that sends the message
> (masquerade the sender address with the domains it receives mail for)
To bind usernames to specific domains, use the virtusertable to map
each email address to a specific username, and to map all other
addresses to an invalid username, e.g.
[EMAIL PROTECTED] user
@domain1.foo error: 5.1.2 "550 No such user"
To handle sender addresses in outbound messages, use either the
genericstable or userdb features.
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]