Then all you need to do is handle it in the alias table.  You're talking
about a management issue.

under aliases

user_idnr         alias
1                [EMAIL PROTECTED]
1                [EMAIL PROTECTED]
1                [EMAIL PROTECTED]

Curtis              




Danil V. Gerun wrote:

>
>> Thanks for the reply, but I am looking for a little more info, my
>> initial question was way to vague, and written completely from
>> frustration.  I currently have a system that works, well kinda.  It
>> works with the users aliases, but I also have domains that need to be
>> aliases.
>>
>> So, I am trying to get one of the following scenerios to work.
>>
>> recipient_canonical_maps = mysql:/etc/postfix/canonical_maps.cf
>>
>> Or by just aliasing the domains somehow.
>>  
>>
>
> Well, I've done some similar thing: I have two domains - domain1.ru
> and domain2.ru.
> When I add a user, I never write a domain for him/her to the database,
> in fact DBMail doesn't even know what domains I have.
> For example, user1 has alias user1 - and that's all.
>
> I use Exim, and I have a domain list, where I place the domains for
> which I recieve mail - domain1.ru and domain2.ru.
> (only this list in fact knows about my domains ;-) )
> So, when the message is for somebody from any of these domains, it is
> ready to be accepted.
> As you remember, the aliases do not contain a domain, so Exim just
> searches for $local_part (everything before "@") in the aliases table,
> and if there is an alias, such message is accepted.
>
> Users log in as just <username>, without any <[EMAIL PROTECTED]>.
>
> I've done it like this, because I am neither an ISP, nore a virtual
> hoster; I have just two domains, for which I have to accept mail. And
> also because in practically any other case for my situation I should
> have had two aliases for each user - [EMAIL PROTECTED] and
> [EMAIL PROTECTED] If any one of them is missing, the user wouldn't get
> his mail to the missing domain.
> Also, if I have another domain with the same users, I just add it to
> Exim's config - and that's all.
>
>
>> So [EMAIL PROTECTED] can receive e-mail at matt.foo.bar.uk too.
>>  
>>
>
> You can just try to add an alias for him ;-)   (and, sure, have the
> mail for foo.bar.uk go through your MTA)
> And search the dbmail_aliases table to find out whether to accept mail
> for this address or not.
> At the same time, the username can be just `matt', and he'll get mail
> for all his aliases.
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Dbmail mailing list
>Dbmail@dbmail.org
>https://mailman.fastxs.nl/mailman/listinfo/dbmail
>  
>

Reply via email to