- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx service not running
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 09:31 PM
тАО08-09-2007 09:31 PM
mailx service not running
mails are not comming to HP-UX server so mailx service is not running . below is the error reported....
hash map "generics": unsafe map file /etc/mail/genericstable.db: World writable directory
hash map "mailertable": unsafe map file /etc/mail/mailertable.db: World writable directory
hash map "Alias0": unsafe map file /etc/mail/aliases.db: World writable directory
dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 09:38 PM
тАО08-09-2007 09:38 PM
Re: mailx service not running
Sendmail often gets blamed for many problems that are actually the
result of other problems, such as overly permissive modes on
directories.
For this reason, sendmail checks the modes on system directories and
files to determine if they can be trusted. For sendmail to run without
complaining, you MUST execute the following command:
chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/
mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/
mqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 10:30 PM
тАО08-09-2007 10:30 PM
Re: mailx service not running
You need to change the permission of those db files.
The reason for this is that if a directory is world writable then any user has
the capability of changing the permissions or directories and files below this
directory. They could create or edit an existing security file anywhere below
this world writable directory and redirect a user's mail.
You can modify these safety checks by editing sendmail.cf file.
In sendmail 8.8.6 and below:
---------------------------
O UnsafeGroupWrites=false
The HPUX 8.8.6 release notes in ITRC document RN110007A, and the O'Reilly book,
sendmail, describe the UnsafeGroupWrites option in more detail.
In sendmail 8.9.3 and above:
---------------------------
O DontBlameSendmail=ForwardFileInGroupWritableDirPath
After fixing the above file system permissions, please stop/restart sendmail
#killsm
#/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2007 10:32 PM
тАО08-09-2007 10:32 PM
Re: mailx service not running
mailx is not a service.
It is a binary that uses the sendmail service.
The problem is with sendmail.
Permissions on the /etc/mail directory files is to open. Only root should have write access or a spammer could re-direct your server into a spam relay.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 01:17 AM
тАО08-10-2007 01:17 AM
Re: mailx service not running
-Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 01:31 AM
тАО08-10-2007 01:31 AM
Re: mailx service not running
i have changed the directry permission for /etc
and /etc/mail now its not giving any further error but still mail are not going.
which is the configuration file for sendmail and how to check which smtpserver it is using
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 03:26 AM
тАО08-10-2007 03:26 AM
Re: mailx service not running
/etc/mail/sendmail.cf is the Sendmail configuration file. Within that file, look for the DS directive which specifies the SMTP server you would like it to use.
Also, check the /var/adm/syslog/mail.log file for errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2007 07:13 AM
тАО08-11-2007 07:13 AM
Re: mailx service not running
sendmail -v -d7.99 -d38.99 yourmail@yourdomain.com < /dev/null
It should give you what you are lacking and a simple understanding should solve it.
Also,
do a ps -ef|grep mail and look for something like
sendmail: accepting connections on port 25
if you want to restart sendmail at any point of time:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start