How to create an email account/address in Linux terminal? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to create an email account under Linux* in the terminal? I've been looking to see if it is possible to generate email account dynamically for user registration purposes with my website.
I've found lots of valuable resources on stack overflow and elsewhere regarding sending and receiving email, but none in regard to actually creating an account.

To answer your question, it is possible to create an email account/address via the command line on a Linux/Unix system.
The first step is to create a user account on that system for the user in question. There are different ways to do this. I found this guide, The Ultimate Guide to Create Users in Linux/Unix, to be one of the better overviews.
The next step requires understanding that email on Linux systems is often handled by two different systems/commands.
First is sending email. This is done quite often via sendmail. If a user can execute sendmail, then they can send mail via smtp to the world. This overly simplifies things, but it provides enough to get you started.
Receiving mail on the system and its delivery to users depends on the mail system and protocols being used. If you are using postfix, then the following article shows how to setup an email account.
My answer assumes you are not using LDAP or another directory service to maintain users.
This question probably belongs over in serverfault. I couldn't find an exact match to it over there, so I answered it here and flagged it to be moved.

Related

Windows 10 automatically creating new profile upon restart [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am not sure if this is really the problem but it seems that Windows 10 is automatically creating a new profile for me with the same credentials every time I restart my computer. I can still log on with my old credentials but some apps like Slack and Dropbox aren't there anymore and needs to be re-downloaded, MS Outlook is requiring me to set up my profile from start with nothing synced, etc. etc. It's treating me like a new user with each login. I am super frustrated.
Thanks.
There is not enough information for sure knowing what is happening. But from my previous experiences, I could assume that what you are seeing is, Windows login you into a temporary profile. This happens when there is something corrupted on your original profile, and windows log you into the last know working profile. After logout, nothing is saved.
Sometimes it is possible to recover the profile, but sometimes it could be impossible. Wherever is the case it is better backup anything that is possible in case that you need to delete and create a new one.
Google for windows temporary profile recovery as they are many techniques depending of the cause. Here are a couple of samples:
https://answers.microsoft.com/en-us/windows/forum/windows_7-security/you-have-been-logged-in-with-a-temporary-profile/20ed22a5-8338-4578-84bc-f0a8e77aa15d
https://winaero.com/blog/windows-10-youve-been-signed-in-with-a-temporary-profile/
I too have the same problem..This problem nos called Temporary Profile Login. You can just follow this YouTube Video Fix Temporary Profile Login Error in Windows 10
If you like reading go read this article FIX Temporary Profile on Windows 10
I hope I have answered this question.

Forward amazon feedback to personal email [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I was wondering around to find if its possible or not.
But,
I want to forward the feedbacks that i received on orders by our customers (buyers)
to my personal email account.
Actually,
When a buyers places a feedback to an orders, I just want that feedback to be forwarded to my personal email address.
I was looking at the amazon forum, but didn't get any response.
Also, I am trying to find the solution on google, but noting helped me.
Please help me and tell me if its possible or not.
Thanks,
Assuming your using MWS (per your previous posts)
Forwarding the data to your personal email can be done, but probably not how you expect.
For the MWS API there is no facility to communicating to anyone outside of MWS. In order to take whatever information you want and forward it to the appropriate parties you will need to leverage whatever programming language you're using to send the email via code.
i.e for Java check out JavaMail, for C# look at this post and for php check out the mail API.
The key with working with MWS is knowing that the MWS API is specific to only MWS. Any additional functionality needs to be included by the implementer. So essentially it is up to you to parse the feedback report, extract the required data and email it to the interested parties.
Hope that helps.

Protection against Screenshot Keyloggers [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I was thinking of creating an on-screen keyboard to protect against keyloggers. The main problem is that I have found that there is a category of keloggers, called screenshot key loggers, which are able to take screenshots of the screen every time the mouse button is clicked.
For this reason, I feel that my approach of creating an on-screen keyboard does not protect against this category of keyloggers. Is there a way of coding the application which does not allow screenshots to be taken, or else alerts the user if these are being taken without his permission?
Edit
I am assuming that only the user is present in the room. Therefore, I am not trying to protect against other users from taking photos with their digital cameras. I only want to protect against screenshot keyloggers.
This is an issue that Trusted Computing can potentially address, but not on any system you'd likely be trying to deploy this for. Beyond screenshots, remember that if a device or piece of code can have local access, screenshots are one way to take that data. Another way would be to take that data passing through memory or other avenues of processing through the system. It's a very hard thing to prevent entirely.
If you are that paranoid so that you cannot trust the computer you are working on, I would highly advise introducing "factor" in the authentication.
"Google Authenticator" is an open-source "two-factor" security system (like a software version of an RSA token). It means a user would have to have it running on their smartphone, but it means if one does NOT have the phone, even if they have successfully sniffed the username and password, they cannot log-in. Google "Google Authenticator".
Other 2-factor methods involve sending one-time login codes to ones' cell phone (which again must be held), using a hardware-token key, or a list of one-time-only passwords.
I actually created an Apache-specific port of this if you want to use it: https://code.google.com/p/google-authenticator-apache-module/

Simplest, cheapest way to set up SMTP server on Linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In the past I have tried following this guide for setting up a mail server on Ubuntu (going with Postfix, Dovecot, and Squirrelmail) and have been unsuccessful. I seemed to have been doing everything right, but the mail was not going through.
Anyway, it's been a while, and I would like to start over from scratch. What is the simplest, cheapest (preferably free if I already have a domain name + server) way I can set up an SMTP server on Linux?
My end goal is to be able to send simple, short emails to my cell phone (from the command line) as reminders. That's all I really need.
sudo apt-get install mailutils
Then set up a gmail account and use that to send email with it. Works really easily. I've done this for seeing who's logged in to my minecraft server so my son can jump in when his friend goes on line: http://dymitruk.com/blog/2012/07/20/scripting-for-fun/
If you had errors like "relay access denied", then this indicates, that your e-mail provider needs some sort of authentication. That's nothing you can fix by using a different mailer.
You must configure the credentials for your mailer properly. My e-mail provider expects a user/password authentication. For my configuration (exim), this is configured on one line in a file /etc/exim4/passwd.client separated by colons:
mail-relay-host:user-name:password
You might also look over at https://serverfault.com/, https://unix.stackexchange.com/ or https://superuser.com/, see e.g. https://unix.stackexchange.com/q/1449/26493

how to move messages from one Gmail account to another [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to create a backup of a Gmail account into another Gmail account. There could be many reasons why would someone like to do this, but in my case my Gmail account got full but instead of deleting messages would like to archive them in another account.
I was thinking about using POP3 / all / fetch from another account, but I would like to keep the folder structure and POP3 destroys it.
As far as I know IMAP would be the best way to keep the folder structure, but when I tried it with Thunderbird, it could not reliable copy messages from one IMAP to another IMAP.
Are there any script or software (preferably running on Windows, but I can run Virtualbox), what would mirror an IMAP account to another one reliably?
Gmail itself can do that, as in associating an account with another and automatically grabbing the emails from one account to the other.
Go to 'Mail Settings' --> 'Accounts and Import' tab. You should see:
Import mail and contacts: Import from Yahoo!, Hotmail, AOL or other webmail or POP3 accounts.
which does that exactly. You can choose whether to leave the emails on the other account or not. And I think that's all you need.
The corresponding gmail help page
So, using a Google Apps account won't do that. What you can do is backup your mails locally somewhere and upload/restore them to the new account later.
I think Gmail backup fits you. Please take a look at its features and notice its flaws(ie can't handle labels that use characters other than [a-zA-Z0-9]) and also see this question related to having a Google Apps account.
Other than that, there is Gmail keeper that was made for Google Apps email users, as the site states. You may want to take a look at that.

Resources