Koozali.org: home of the SME Server

No pop3 access for pseudonyms?

astroboi

No pop3 access for pseudonyms?
« on: July 06, 2005, 06:45:00 AM »
Hi,

I'm using SME Server 6.0, and have a problem with pop3 access. I've created a user, and I can send email to that user using the username@ address as well as both of the pseudonyms that get automatically created (firstname.lastname@ and firstname_lastname@).

When trying to retrieve mail using pop3, I can login using the username. But when I try to login using one of the pseudonyms, I get "-ERR authorization failed". It's not a password issue.

Is there any reason I can't login using the pseudonym? Or any way I can make it work?

Actually, all I really need is a mailbox with a username containing a period '.' - since usernames can't have periods in them I'm trying to do it with a pseudonym. If there's a better way, I'd be happy to hear it.

Edit: we previously had this working on e-smith 5.6

- steve

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: No pop3 access for pseudonyms?
« Reply #1 on: July 06, 2005, 05:05:18 PM »
Quote from: "astroboi"

I'm using SME Server 6.0, and have a problem with pop3 access. I've created a user, and I can send email to that user using the username@ address as well as both of the pseudonyms that get automatically created (firstname.lastname@ and firstname_lastname@).

When trying to retrieve mail using pop3, I can login using the username. But when I try to login using one of the pseudonyms, I get "-ERR authorization failed". It's not a password issue.

Is there any reason I can't login using the pseudonym?


Yes! A pseudonym is not a user. Users have mailboxes. Mail sent to pseudonyms go into the mailboxes of users.

Quote

Or any way I can make it work?


Why do you want to?

astroboi

Re: No pop3 access for pseudonyms?
« Reply #2 on: July 07, 2005, 12:38:02 AM »
Quote from: "CharlieBrady"

Why do you want to?


Unfortunately, some software we use needs to check a specific mailbox (that contains a period in the username). Changing the program to use a different pop3 username will be non-trivial.

Is there any other way to authenticate the username/password that might help?

- steve

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: No pop3 access for pseudonyms?
« Reply #3 on: July 07, 2005, 01:18:39 AM »
Quote from: "astroboi"
Quote from: "CharlieBrady"

Why do you want to?


Unfortunately, some software we use needs to check a specific mailbox (that contains a period in the username).


So you need to have a username containing a period, not access pop3 for pseudonyms.

astroboi

Re: No pop3 access for pseudonyms?
« Reply #4 on: July 07, 2005, 03:01:46 AM »
Quote from: "CharlieBrady"

So you need to have a username containing a period, not access pop3 for pseudonyms.


Either way will get the result I'm after. I'm fairly sure most linux distros won't allow a period in a username, but if it's possible, that would be great. If not, I'm after a way to map a pop3 username containing a period to an e-smith user that doesn't.

Edit:
Ok, I've found that although you can't create a user with a period in the username through the server manager, you can from the command line. The following seems to accomplish what I want:

Code: [Select]

/sbin/e-smith/db accounts set new.user user Uid x Gid x FirstName x LastName x EmailForward local
/sbin/e-smith/signal-event user-create new.user


The Uid and Gid parameters need to be valid values. This seems to do what I want, but I'm not that sure of how the e-smith databases work. Is there anything wrong with doing this?

- steve

Librarian

No pop3 access for pseudonyms?
« Reply #5 on: July 12, 2005, 10:10:40 AM »
Apologies in advance, and sorry to hijack this link, but I also need to set up the system to accept firstname.lastname logins.

The reason for this is that our network is Windoze-based, and all users is setup with firstname.lastname logins on a domain.

Which is giving me a bit of grief because SME doesn't allow this sort of thing. I'm using it on 2 computers, one as an internal printserver and the other which I want to configure as perimeter email server (and backup mail server should our weenyWindoze server crash and die). I have managed to bypass this limitation on the printserver with a simple startup batch file on the windows PC which logs the user in automatically on startup, but for me this solution is not a good one.

(A smart sysadmin always have a backup plan in handy, especially when windows as server is involved on the network...) ;-)

The internal printserver works just great.

The reason why I chose SME server above other Linux distros is that it is an install and run scenario, whereas the other distros you need more time to set it up the way you want, select the right packages and numerous other things, and I aim to keep it as simple as possible in the case of events outside my control (ie earthquake, thieves, hard disk crash or hackers). I just don't have time to fiddle around selecting the right packages, editing .conf files, and the such, just want to install and run. And besides, it works quite well and is easy to administrate and manage.

Keep up the good work guys!

Kind regards

Librarian