Re: [OT] postfix and multiple domains help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Mike Burger wrote:
>>> I know this is off-topic, but I've run out of ideas (and ways to Google
>>> it), so I'm begging for help here.  I've got a postfix mail server on
>>> RHEL 4 that serves up 4 or 5 virtual mail domains.  That in itself was
>>> really easy.

snip

>> What I did was create a file, /etc/postfix/virtusertable, formatted like
>> so:
>>
>> domain1.org Descriptive Name of domain 1
>> user1@xxxxxxxxxxx localusername1
>> user2@xxxxxxxxxxx localusername2
>> @domain1.org localusernameX (this domain user wished a catch all)
>>
>> domain2.org Descriptive Name of domain 2
>> user1@xxxxxxxxxxx localusername

snip

> This is fine,but I'm not using local users directly.  I'm using virtual
> mailboxes and virtual domains.  I have a customer who owns several
> domains and wants individual mailboxes for each domain.  So, I have set
> everything up for that using /etc/postfix/vmailbox with entries like:
>
> johndoe@xxxxxxxxxxx	domain1.org/johndoe/
> janedoe@xxxxxxxxxxx	domain2.org/janedoe/
>
> so that I do not need to create/manage so many local user accounts.  The
> problem is how I alias 'jane@xxxxxxxxxxx' to 'janedoe@xxxxxxxxxxx' with
> this setup.  It's completely eluded me so far.

I think you might be trying to work it in a more difficult fashion than it
needs to be.

If the user wants "janedoe@xxxxxxxxxxx" to receive mail for
"jane@xxxxxxxxxxx", you only need one local account.  Set up all the
virtual users, for whom "janedoe" is supposed to receive email, to point
at janedoe, i.e.

jane@xxxxxxxxxxx  janedoe
janedeer@xxxxxxxxxxx  janedoe
janedoe2@xxxxxxxxxxx  janedoe

Then, let the user set up their mail client to send mail as whichever
address they want to reflect as "From:".  That could be "janedoe", or
something completely different.

"jane@xxxxxxxxxxx", "janedoe@xxxxxxxxxxx" and "joanne@xxxxxxxxxxx" can all
point to the same actual user, and that user's login name could be
"joesmith".

The thing to keep in mind is that as long as there are aliases or virtual
addresses, and as long as they can configure their mail client to display
the address they want to use, the username that they use to log in and
retrieve their email doesn't matter.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe@xxxxxxxxxxxxxxxxx

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux