Solved

Email account on Linux Centos6.4

Posted on 2013-11-26
8
811 Views
Last Modified: 2013-11-26
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.

Question-1
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 mylogin@mysite.com that showed me " failed to verfiy: No such user"? Do I need to other steps to let my new email account up ?

Question-2
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

Duncan
0
Comment
Question by:duncanb7
  • 4
  • 4
8 Comments
 
LVL 19

Accepted Solution

by:
xterm earned 500 total points
ID: 39679026
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.
0
 
LVL 13

Author Comment

by:duncanb7
ID: 39679131
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 ?

Duncan
0
 
LVL 19

Expert Comment

by:xterm
ID: 39679148
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.
0
 
LVL 19

Expert Comment

by:xterm
ID: 39679151
yes, Webmin is free.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 13

Author Comment

by:duncanb7
ID: 39679211
Just last question before closing this thread

I get one old Cpanel email account, webmaster@mysite.com that
I can receive any email now but other old Cpanel email account,
support@mysite.com could NOT receive any email.

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

ServerAdmin webmaster@mysite.com , Right ?

Could i put it like this

ServerAdmin webmaster@mysite.com support@mysite.com   ? so that
I could receive email from webmaster@ and support@mysite.com email account


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

my part of httpd.conf
=================
<VirtualHost 110.1.103.68:89>
    ServerName mysite.com
    ServerAlias *.mysite.com
   DocumentRoot /home/mylogin/public_html

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

ServerAdmin webmaster@mysite.com
UseCanonicalName Off
    CustomLog /usr/local/apache/domlogs/mysite.com combined
    CustomLog /usr/local/apache/domlogs/mysite.com-bytes_log "%{%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>
    </IfModule>
    <IfModule mod_ruid2.c>
        RUidGid mylogin mylogin
    </IfModule>
    ScriptAlias /cgi-bin/ /home/mylogin/public_html/cgi-bin/

</VirtualHost>

Open in new window

0
 
LVL 19

Expert Comment

by:xterm
ID: 39679370
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 foo@bar.com and inform them of the error" or something of that nature.
0
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 39679387
Thanks, I will continue this with new thread and new question

Duncan
0
 
LVL 13

Author Comment

by:duncanb7
ID: 39679706
For memo only:

There is other answered & related to Mail in EE thread
http://www.experts-exchange.com/OS/Linux/Q_28304559.html#a39679380

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 mysite.com, other  at  mysite2.com
In Squirrel tools, there is subscrible button to select all mail folder in /home/mylogin/main directory. now it is fixed

Duncan
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Easy CSR creation in Exchange 2007,2010 and 2013
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now