Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Pedja on February 01, 2007, 05:48:55 PM

Title: Username on single domain
Post by: Pedja on February 01, 2007, 05:48:55 PM
I've rea din manual that when I create user account it accepts email send to this account on all domains hosted at SME server. This is pretty odd. I guess it was decided to do that way for simplicity reasons.

I prefer to have account receiving email only on primary domain (and if needed for toehr domains, one should use Pseudonyms), or, better, that while creating account we can choose one (or more) domains, this account would accept email.

It is realy bad practice to have single account accept email on all domains, regardles if he has any relations to such domains.

Is there a way to change behaviour of SME server to force account to only accept email on primary domain?
Title: Re: Username on single domain
Post by: CharlieBrady on February 01, 2007, 08:00:33 PM
Quote from: "Pedja"

It is realy bad practice to have single account accept email on all domains, regardles if he has any relations to such domains.


It doesn't accept all domains, it only accepts the (usually small) list of locally defined virtual domains.

I think you are worried about a problem which doesn't exist in practice. If the "other domain" email addresses are not used for outgoing (sent) email, they won't receive any significant amount of incoming email.
Title: Re: Username on single domain
Post by: bpivk on February 02, 2007, 12:08:16 AM
Quote from: "CharlieBrady"

I think you are worried about a problem which doesn't exist in practice. If the "other domain" email addresses are not used for outgoing (sent) email, they won't receive any significant amount of incoming email.


And if you create an user with the second domain name that user will get his mail only.
Title: Re: Username on single domain
Post by: Pedja on February 02, 2007, 01:01:04 AM
Quote

It doesn't accept all domains, it only accepts the (usually small) list of locally defined virtual domains.


It does not matter how many domains are in question.

Quote
If the "other domain" email addresses are not used for outgoing (sent) email, they won't receive any significant amount of incoming email.


It is unnaceptable that mail server receives email for addresses that were not intentioneously set. SME runs very powerful mail server and this kind of setup just criples it to illogical functionality. I've never seen before mail server to behave like that.

Quote

And if you create an user with the second domain name that user will get his mail only.


Can you elaborate on that? If I understood well, what I read in documentation, if i create account john it will acept email for john@primary.com, john@secondary.com, john@terciary.com and any other email that is set on that SME server, and if I have three Johns which are different persons I have to do some nasty configuration.

Even worse, if someone tries to send email to johnm@primary.com, but makes typo and m is left out of address, he will not receive error, but email would be sent to someone it was not supposed to be sent.

This is just ridiculous.
Title: Username on single domain
Post by: JonB on February 02, 2007, 02:44:09 AM
It really helps if you read the manual.

If you want to have the email addresses john@domain1.com, john@domain2.com and john@domain3.com then create 3 users say user1@domain1.com, user2@domain1.com and user3@domain1.com and in the psuedonyms panel point john@domain1.com to user1@domain1.com, john@domain2.com to user2@domain1.com etc etc.

Jon
Title: Username on single domain
Post by: bpivk on February 02, 2007, 01:22:03 PM
JonB that's exactly what i was saying. Thanks for doing the work.   :D
Title: Re: Username on single domain
Post by: CharlieBrady on February 02, 2007, 03:51:11 PM
Quote from: "Pedja"

Even worse, if someone tries to send email to johnm@primary.com, but makes typo and m is left out of address, he will not receive error, but email would be sent to someone it was not supposed to be sent.


If an account called 'john' exists, then yes, if you send to john@primary.com then 'john' will receive it, not 'johnm'. SME server cannot read your mind if you type incorrect addresses. If an account called 'john' does not exist, then the sender will in fact receive an error message, contrary to your assertion.
Title: Username on single domain
Post by: kryptos on March 05, 2007, 05:22:53 AM
Quote from: "JonB"
It really helps if you read the manual.

If you want to have the email addresses john@domain1.com, john@domain2.com and john@domain3.com then create 3 users say user1@domain1.com, user2@domain1.com and user3@domain1.com and in the psuedonyms panel point john@domain1.com to user1@domain1.com, john@domain2.com to user2@domain1.com etc etc.

Jon

I face the same situation like this i read the manual already but im just confused hope some one can enlighten me. How do i add psuedonyms if i add sales@mydomain.com i get an error:

"The pseudonym should contain only lower-case letters, numbers, period, hyphen and underscore and should start with a lower-case letter or number. For example "sales", "john.holland", "123" and "email-administrator" are all valid pseudonyms, but "John Smith" and "Henry Miller" are not."

Regards,
Rocel
Title: Username on single domain
Post by: bpivk on March 05, 2007, 06:12:23 PM
sales@mydomain.com should work. But you didn't specify your domain. Doesn it have any simbols in it. I have read somwhere on the forums that a user had some strange domain character and had problems.

If you have an ordinary domain name post your problem to hte bugtracker.
Title: Username on single domain
Post by: kryptos on March 06, 2007, 07:39:32 AM
Quote from: "bpivk"
sales@mydomain.com should work. But you didn't specify your domain. Doesn it have any simbols in it. I have read somwhere on the forums that a user had some strange domain character and had problems.

If you have an ordinary domain name post your problem to hte bugtracker.


I have the wrong post i thought that would work on sme6...i m very sorry anyway thanks for your reply