Koozali.org: home of the SME Server

Usernames containing "@" Characters

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Usernames containing "@" Characters
« on: August 15, 2013, 12:14:10 PM »
Good Day

We will be using SME Server as a SPAM Snake, to filter emails, as wella s a relay server. It will be an upgrade from an old CentOS box.

Our clients are using their Email addresses as their login details to allow for the relaying of mail

eg : johnsmith@email.com, with a password to allow for SMTP AUTH, this was on the CentOS box

Now the SME Server doesnt allow the creation of an account that is the email address?, and I dont want to go and change 320 clients outgoing relay details.?

What can be done to allow the users email address to be their account address?

Shawn

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Usernames containing "@" Characters
« Reply #1 on: August 15, 2013, 12:53:27 PM »
AFAIK, nothing

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Usernames containing "@" Characters
« Reply #2 on: August 15, 2013, 07:49:46 PM »
What can be done to allow the users email address to be their account address?

You would need to redesign the authentication system used by qpsmtpd. Probably not too complicated, if you know perl and can work out the qpsmtpd plugin architecture.

I'm assuming that it is only for SMTP that you want to use with this authentication schema. Changing the whole system to include domains in identities and for authentication would be much more difficult.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Usernames containing "@" Characters
« Reply #3 on: August 15, 2013, 09:34:50 PM »
shawnbishop

As advised by default SME Server doe not support @ in the name, & uses one name set, so you could change your users to
johnsmith-email.com
More typically SME has usernames of the form johnsmith or jsmith or johns etc
As there may be more than one occurrence of johnsmith etc (which is not supported by SME server) then refer to the Pseudonyms section of the Manual (link at top of Forums) to see how SME server can workaround this, by using domain based pseudonyms.
This does not resolve your login issue, you will still have to rename all your users (unless you develop other code).
It is a workaround for where there is more than one johnsmith using the same or a different email domain.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.