Email account on Linux Centos6.4

Dear Experts,

In the past , I used cpanel to create email account , now I gave up to use Cpanel
so that now I need it to set up email by myself. As we know we can create email account when add user account on linux and email address before @ sign that is as same user account name, and that can be shown at /var/spool/mail, and that I can see all email account I created.

Now I just create new account by root access and adduser and then see the email account in /etc/spool/mail directory Why I ran the command:  sendmail  -bv that showed me " failed to verfiy: No such user"? Do I need to other steps to let my new email account up ?

I have old email account that I can verfiy its existence by sendemail, but I can not
receive any new  email from the old email account when other remote email yahoo account send email to the old email account. And yahoo email box doesn't have
get any mail sending failure return email when send email to the old account.
How I can check what is wrong with the old email account ?

Question-3, Now I use free SquirrelMail, whether I also need   free package from
MailMan. What is different between them mainly? Or you have better suggestion
for free web email tool for email box , creating email account, monitor all email account
on Linux ?

Please advise

LVL 13
Who is Participating?
xtermConnect With a Mentor Commented:
If you have cPanel installed then it likely converted your system to using aliased accounts instead of Unix accounts.  Usually you can find the accounts in /home/<domain user's name>/mail/<domain name/  In that circumstance, you either have to continue to use cPanel to add them, or you can use their API scripter, which is a real pain.  

SquirrelMail is just a Webmail front end for users to read mail, while MailMan is for managing mailing lists to large groups of users.  They are totally different things, and you don't need MailMan.

cPanel works decently well for managing mail if you're not a Unix system administrator by trade.  You might try Webmin which is a lighter version of cPanel.  The problem remains though, it's going to take quite a conversion to go back from cPanel to standard Unix accounts... you may have to add them all manually first, and then switch to standard sendmail.
duncanb7Author Commented:
In other words, my system now look at Cpanel email account I created before
and don't look email account at /var/spool/mail, right ?

That is why I could not sendmail -bv mylogin  (that account at /var/spool/mail) , Right ?

Do you think how I can go back to Unix-account ( leaving out Cpanel email account) ?

Webmin is free or not ?

Yes, correct on all of that.  Your email folders are in the path I mentioned earlier in /home, not in /var/spool/mail - those are only local mail accounts (ie. if you type "mail someuser" where someuser is a Unix account that you added, then the mail will end up in /var/spool/mail, but no Internet mail will go there.

I'm not sure if cPanel has an uninstaller that will set your system back to normal, but you will pretty much need to start over either way.

This is why I never recommend to my clients to install it.
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

yes, Webmin is free.
duncanb7Author Commented:
Just last question before closing this thread

I get one old Cpanel email account, that
I can receive any email now but other old Cpanel email account, could NOT receive any email.

That is because I just put webmaster in httpd.conf  as this

ServerAdmin , Right ?

Could i put it like this

ServerAdmin   ? so that
I could receive email from webmaster@ and email account

both account are at /home/mylogin/mail/mysite/

my part of httpd.conf
    ServerAlias *
   DocumentRoot /home/mylogin/public_html

<Directory /home/mylogin/public_html>
Options  Includes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/ combined
    CustomLog /usr/local/apache/domlogs/ "%{%s}t %I .\n%{%s}t %O ."
    ## User mylogin # Needed for Cpanel::ApacheConf
    UserDir enabled mylogin
    <IfModule !mod_disable_suexec.c>
        <IfModule !mod_ruid2.c>
            SuexecUserGroup mylogin mylogin
    <IfModule mod_ruid2.c>
        RUidGid mylogin mylogin
    ScriptAlias /cgi-bin/ /home/mylogin/public_html/cgi-bin/


Open in new window

No, httpd.conf does not have anything to do with email server configuration - that is for the Apache web server.  The value you put in there is what it puts up on the screen for visitors when they get an error page - then it gives a message that says "please contact and inform them of the error" or something of that nature.
duncanb7Author Commented:
Thanks, I will continue this with new thread and new question

duncanb7Author Commented:
For memo only:

There is other answered & related to Mail in EE thread

For question-2:
The main root cause is by there are two same email name(support) at different website
and at different mail folder, one at, other  at
In Squirrel tools, there is subscrible button to select all mail folder in /home/mylogin/main directory. now it is fixed

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.