LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2012, 08:07 AM   #31
newbie14
Member
 
Registered: Sep 2011
Posts: 620

Original Poster
Rep: Reputation: Disabled

Dear unspawn,
Below is the results of both commands you gave me. What does it means by sendmail.postfix? Which is the one is working postfix or sendmail?

Quote:
readlink -f /etc/alternatives/mta
/usr/sbin/sendmail.postfix
[root@localhost bat9000]# rpm -qf
rpm: no arguments given for query
 
Old 05-28-2012, 08:12 AM   #32
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
Even though the package name should be clear from the link I said run 'rpm -qf' on the result like 'rpm -qf /usr/sbin/sendmail.postfix'.
 
Old 05-28-2012, 08:25 AM   #33
newbie14
Member
 
Registered: Sep 2011
Posts: 620

Original Poster
Rep: Reputation: Disabled
Dear unspawn,
Ok I got it now.
Quote:
rpm -qf /usr/sbin/sendmail.postfix
postfix-2.6.6-2.2.el6_1.x86_64
So I am following this link now http://www.cyberciti.biz/tips/howto-...l-address.html. I could this
1.vi /etc/postfix/main.cf
2.smtp_generic_maps = hash:/etc/postfix/generic
3. here I am having problem tom-01@server01.hosting.com tom@domain.com? What is that server does not have a domain name? So what should I do then?
 
Old 05-28-2012, 09:19 AM   #34
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
Quote:
Originally Posted by newbie14 View Post
here I am having problem tom-01@server01.hosting.com tom@domain.com? What is that server does not have a domain name? So what should I do then?
You can mask "root@localhost.localdomain" as a valid local account name. Note where it says "domain.com" you need to change it for a fully qualified domain name. This is the name that the IP address of your server resolves to (and it should have a reverse-resolvable address or PTR as well).

*Having watched your current three threads for some time now I have serious doubts about you running a Linux server. I suggest for the time being you halt Apache, MySQL, PHP, PHPMyAdmin and anything else you have installed like vBB, Wordpress, Joomla, etc, etc or whatever else accessible over the network and start reading the standard documentation Centos comes with especially the installation and administrators guide. At this stage you should not be exposing any services to the network except SSH (which you don't log into as root but as unprivileged user and using pubkey auth).
 
Old 05-28-2012, 09:32 AM   #35
newbie14
Member
 
Registered: Sep 2011
Posts: 620

Original Poster
Rep: Reputation: Disabled
Dear unspawn,
I have been reading the documentation and from there I am testing each of the services and trying to harden it as much as possible with the help from you guys. I understand I am quite new to all this sorry for the inconvenience caused. So that is why I am taking those advices and trying it over one by one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone post a sample aide.conf file here? For AIDE IDS abefroman Linux - Security 9 04-12-2008 09:18 AM
aide.conf example? linuxhippy Linux - Security 12 11-02-2006 05:45 AM
AIDE Probs in HP-Ux opensrc_eng Linux - Security 1 02-12-2004 02:09 PM
Aide Database roorings Linux - Security 2 11-02-2003 04:23 PM
aide cuckoopint Linux - Security 3 04-22-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration