I think need some help to do that. My WHMCS system is create Cpanel user. When i login as client I'm showing login Webmail, Login Cpanel, change password cpanel and all feature is working fine.
But i want to create email account but i don't add it. How to create email account on cpanel via WHMCS? Any idea.
Adding an email account is a built in feature of the cPanel module in the six theme of WHMCS. If you want to see how to extend this to add additional options or do more control, you can check out this presentation I made for the cPanel Conference:
https://github.com/n8whnp/cPconf-2015/blob/master/cP-Conf-2015-Customizing-WHMCS.pdf
No, You can not create mail account through WHMCS. You need to login your cPanel to create mail account OR Access server through SSH with the root user login details and then create mail account through cPanel script(/scripts/addpop).
You can not create email account directly from WHMCS. You have to log in to cPanel first from direct URL or from client area and then you can create the email account from Email Section.
Also, you can create email account by SSH Access.
Related
I am trying to add a colleague to a GitLab project of the company where I am Maintainer but I have problems adding the user to a project:
I go to my project and select Project information > Members.
In the Invite member tab, under GitLab member or Email address, enter the user name or email address.
I select a role.
And I send it but I get a reply from GitLab that:
The member's email address is not allowed for this project. Check with your administrator.
What should the administrator do?
It seems that the domain of your colleague's email is restricted using Restrict group access by domain feature.
What should the administrator do?
They should go to Settings > General and verify that Restrict membership by email field contains the correct set of domains.
I have github enterprise configured. I use keycloak for authentication.
Sign up/ login flow is like this,
Users click sign in with SAML from github enterprise.
Then they are redirected to keycloak login page.
Where they can choose github.com for signup.
After successful authentication from github.com users are redirected to github
enterprise.
Now a new user has been created in keycloak with username as of github.com username and email as of github.com email.
But in github enterprise, user's username is created by parsing the first part before the # of email id and user's email id is not getting updated in github enterprise user account even though github enterprise is receiving email id from keycloak.
Users get the following notification, saying them to add one email address.
If an user don't add their email, they don't get email for events like organization invitation, password reset.
This not what i want. I also not what the users to manually add email id to their account.
I want get github enterprise user's username and email to be the same as of keycloak.
How can i achieve this ?
We have extracted saml response from keycloak to ghe by inspecting the /consume request in browser network. When SAML response is decoded (using samltool.io), we identified that keycloak is not sending email attribute to ghe.
Github used the following attributes for updating profile information. So keycloak needs to send attribute in variable specified in this field.
We have found that there is some builtin "Mappers" available in client which can be used for sending some specified predetermined attributes to client applications.
Select your client -> Mappers -> Add builtin. Select the required mappers and click Add.
Open x500 Email and set "SAML Attribute Name" to the variable same as the variable name set on github. Provide some Property and Friendly Name.
Now you will get email address in user's account.
I created email inside cpanel. info#jegeachi.com. I do some configuration by googling.But when I try to login it says:
Choose Your Eamil address:
But I want to login as info#jegeachi.com and it should look like a gmail acount. Any idea will be appreciated.
You have two ways (in my opinion):
Buy a Google Apps Account, change your domain's MXs to point to Google Mail Server, login in Google Console and create your email info#jegeachi.com.
Create a free Gmail Account (info.jegeachi#gmail.com for example), login in Gmail, click settings
,
click POP3 and 'Other accounts' and insert your cPanel address (vps.foo.bar), your email and password when prompted
.
With the first way you use Gmail as mail server, in the second one you use Gmail as mail client.
I am using Active Admin in my Rails Application. I have been able to set it up and use default user but I cannot add new User. When I go to Add New Admin User it lets me put in a username but never sends the email to setup a password. How does Active Admin send the default email out of a development configuration to be able to setup a password for my users?
Active Admin, by default, uses Devise for authentication. If you enable :confirmable it'll email that user to verify the creation of their account. You can read details on enabling :confirmable on an existing setup here: https://github.com/plataformatec/devise/wiki/How-To%3a-Add-%3aconfirmable-to-Users
I've 2 distinct webapp:
a CRM webapp which show customer resume to office users
a portal webapp for customer users
my CRM webapp use a combination of LDAPManager and InMemoryManager with a BasicAuthenticationFilter and BasicAuthenticationEntryPoint
my portal use a classic JDBC Manager with a standard UsernamePasswordAuthenticationFilter
Now, I need access transparently to my portal from my CRM webapp.
For example, I work in office on the CRM webapp. A customer call me and ask explanations about what is mentionned in Portal.
I would be possible for office user to access Portal as a customer from a http link in the CRM customer account page.
So I would bypass my LoginUrlAuthenticationEntryPoint and access directly to the customer account.
EDIT after Michael help, I realize that I need to keep a trace of which CRM user access to which portal account :
My questions are :
- should I use PreAuthenticatedManager or RunAsManager?
- do I need declare a 2nd EntryPoint?
- what about AuthenticationFilters?
- Is to possible to recover a user BASIC authenticated from my CRM webapp in my new portal AbstractPreAuthenticatedProcessingFilter ?
I have the following assumption / conclusion from your explanation:
1) The CRM user repository and the portal user repository have different users
2) CRM users should not know portal users passwords
I do not think you need to use RunAsManager.
(When you use RunAsManager it mean you first authenticate as a CRM user in the portal and then replace the authentication by a portal user authentication. I do not think you can authenticate a CRM user against the portal user repository.)
I suggest to create your own “AuthenticateAs” functionality: when a CRM user press on a link in a CRM page of a portal user it will be authenticated in the portal as a portal user without providing a password.
How it works?
1) When a CRM user presses a link the parameter with an encrypted portal user name is added to URL.
2) When the request with an encrypted portal user name access to the portal application, a new created PreAuthenticatedProcessingFilter decrypt the user name and authenticate the user
That’s it :)
Couple of comments:
1) Please use AES-258 algorithm to encrypt / decrypt the user name
2) Please ensure that the key for encrypt / decrypt can not be accessed by HTTTP
3) You can extend AbstractPreAuthenticatedProcessingFilter for your
PreAuthenticatedProcessingFilter
4) I strongly suggest to create two roles in the portal application: USER_WRITE_ROLE and USER_READ_ROLE. When a CRM user access using “AuthenticateAs” authentication - it should get USER_READ_ROLE. When a portal user access using regular authentication - it should get USER_ WRITE_ROLE.
5) You should think how a CRM user will perform the logout for a portal user (otherwise he always will work on the first user). The simplest way I can think about it - PreAuthenticatedProcessingFilter should process each request (even it authenticated) and if it contains the parameter with the user name to clean the portal user session and to perform the new authentication.
Please tell me what you think about the suggestion and tell me if you need any additional clarifications.
Best regards,
Michael
P.S. Added after the question was edited.
The simplest way to track CRM users on the portal is to add the additional encrypted parameter to the URL with the CRM user name