Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ahkiat on September 26, 2007, 04:40:22 AM

Title: email forwarding for virtualDomain
Post by: ahkiat on September 26, 2007, 04:40:22 AM
Hi,
ok this question may sound silly and newbie but i cannot get my sme running properly

My problem,
i had 2 domain, domain1.com and domain2.com

if i created a user, Mary by default, she will be able to recieve email send to her by either mary@domain1.com or mary@domain2.com.

i only wan mary to receive mary@domain1.com deny her email at mary@domain2.com.

i try to foward her email address to mary@domain1.com only but fail.

how can i achieve that?


Thanks for any help  :-P
Title: Re: email forwarding for virtualDomain
Post by: raem on September 26, 2007, 05:04:45 AM
ahkiat

Read the manual re pseudonyms. It's explained there.
Title: Re: email forwarding for virtualDomain
Post by: ahkiat on September 26, 2007, 11:18:06 AM
Hi,

according to the documentation it stated

Summary eg For user1 for domain1

The user account will be user1 (eg johnb) and the person uses that name (& corresponding password) to login to the server or to webmail. The email address for the user will be the same as the pseudonym ie sales@domain1 and that is the address the user should publish and use as the return email address. Obviously the name before the @domain is different to their login username, that's the compromise to be accepted if using sme this way. It is quite common in practise, as users often have different "position related" pseudonyms anyway eg manager@domain1 forwards to user1.

As the user account user1 has been created on the server, then that will also work as a valid email address ie user1@domain1 will deliver email to user1, but note also that email "inadvertantly" sent to user1@domain2 or user1@domain3 or user1@domain4 will also be sent to user1. This is not usually a problem as you simply don't tell user1 that any other hosted domain addresses will work for that name.


It say that it is inadvertantly will sent to the other domain account. Is there anyway i can fix this problem?


ThankS!
Title: Re: email forwarding for virtualDomain
Post by: raem on September 26, 2007, 08:58:17 PM
ahkiat

You have to create sets of pseudonyms and users eg
create the pseudonym mary@domain1 and set it to deliver to the user mary
create the pseudonym mary@domain2 and set it to deliver to the user jane
create the pseudonym mary@domain3 and set it to deliver to the user louise

If someone sends an email to mary@domain3 it will get delivered to louise and not  mary.
You can only have one user called mary.
Title: Re: email forwarding for virtualDomain
Post by: mmccarn on September 27, 2007, 05:19:22 AM
Or, if you have more than 3 users, you could do something like this:

- create users named:
 domain1.mary
 domain2.mary
 domain2.henry

- then create pseudonyms like this:
mary@domain1.com -> domain1.mary
mary@domain2.com -> domain2.mary  (completely separate mailbox!)
henry@domain2.com -> domain2.henry

This
* makes it easy to remember which mailboxes belong to which domains
* allows you to have different people with the same name at different domains
* can be easily extended to any number of domains
Title: Re: email forwarding for virtualDomain
Post by: ahkiat on October 01, 2007, 06:16:12 AM
many many thanks... it works.    :-P