Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: bobbyaus on May 03, 2016, 12:51:20 AM
-
Hi,
We have a production SME version 9 environment
We are looking to migrating email off the SME server to google
Google requires us to change the email username authentication format from <username> to <username>@<domain>.<tld>
I was wondering if anyone on this forum has had to do this before and could provide any documentation on how we can achieve this?
Thanks
-Bobby
-
Hi,
We have a production SME version 9 environment
We are looking to migrating email off the SME server to google
Hi and welcome. Why would you do that?
-
just curious.. if you're moving to google, in which way is SME involved? and, regarding login, explain us what are you thinking about, thank you
-
RequestedDeletion>
thanks :)
unfortunately what the boss wants
Stefano>
We are using the IMAP data migration service, unfortunately google will reject simple <user> authentication now, it requires <user>@<domain> authentication now
-
Google... well good luck with that ! No accounting for taste I guess !
Still perplexed at what you actually want ?
What has Googles requirements got to do with SME ?
You haven't really explained where you are stuck ?
Changing authentication format where ? If you mean on the client then that's a client issue, not SME.
Without being a bit clearer no one can really help you I'm aftaid.
-
Hi ReetP,
What we are trying to do is change the IMAP username authentication format on the SME server
Currently, when users connect to the SME server's IMAP port, they can only authenticate with <username>, we need to change to the username authentication format to <username>@<domain> when users are authenticating with IMAP
From what I have read, I need to modify 10-auth.conf and add auth_username_format = %n-AT-%d
I was thinking of creating the following to try achieve this
/etc/e-smith/templates-custom/etc/dovecot/conf.d/10-auth.conf/auth_username_format
{
$OUT .= " auth_username_format \%n\-AT\-\%d"
}
Do you think this will work?
Thanks
Kind Regards,
Bobby
-
if you're moving to google I don't understand in which way SME is still involved..
anyway, since this looks like a X Y problem (http://xyproblem.info/) case:
- please tell us the whole thing, with all the details
- please tell us about your problem and not your solution
thank you
-
Indeed. Modifying logins to your SME server doesn't make any sense at all.
As Stefano said, please describe EXACTLY what you are doing as I think you are currently trying to fix an issue that does not exist... and will likely make things worse.
-
Bobbyaus said he's using Google's IMAP migration service (see https://support.google.com/a/answer/6003169?hl=en), presumably to move mail from the SME server to Google. Obviously this would require giving the service the credentials of users on the SME machine. Apparently this service requires logins in the form of complete email addresses, rather than simple usernames. He wants to configure his SME server to accept email addresses as IMAP logins, rather than simple usernames. Was that so hard?
-
I was not aware about that tool..
to move email from/to SME via imap I always suggest imapsync, which gave me the full control on what's going on..
I strongly suggest to OP to use imapsync without touching SME as I guess that the editing he's doing will not work (while imapsync will)
anyway, thanks Dan for your clarification :-)
-
Obviously.....
No, not obvious.....
Unfortunately I have no knowledge of that service and the poster didn't really make himself clear on that (he made the assumption we knew what he was talking about) or give us a link to read.....
I have absolutely no idea of the big Gs services, how they function or what is required, hence asking exactly what he was doing..... a couple of links may have helped !
-
With or without any knowledge of Google's services, I think it's obvious that any service or tool that migrates IMAP data from one place to another will need login credentials for both ends, and that's all my "obviously" was attached to. I have no knowledge of that service either, other than what about 15 seconds of web searching found.
-
With or without any knowledge of Google's services, I think it's obvious that any service or tool that migrates IMAP data from one place to another will need login credentials for both ends, ...
And "obviously" that tool would be deficient if it couldn't use the existing authentication format of the source location.
-
I suspect that you just need a CSV file which doesn't have '@old.domain.name' in the Legacy Email ID field.
https://support.google.com/a/answer/6244351
-
Yes, I'd agree with that as well. If it's actually the case that Google's tool only accepts logins in the form of full email addresses, it seems it's rather badly broken.