- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to start mail process (daemon)?
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
тАО06-13-2005 02:41 PM
тАО06-13-2005 02:41 PM
how to start mail process (daemon)?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 04:07 PM
тАО06-13-2005 04:07 PM
Re: how to start mail process (daemon)?
# ps -ef |grep mail to see if send mail is running.
to stop and start the sendmail deamon:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
HTH - points will be good if it does help.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 06:08 PM
тАО06-13-2005 06:08 PM
Re: how to start mail process (daemon)?
make sure the sendmail server is enable, unless u r running on a queue, i.e. "sendmail -q".
check:
# vi /etc/rc.config.d/mailservs
SENDMAIL_SERVER=1
to enable daemon
to stop and start:
# /sbin/init.d/sendmail stop
or
# killsm
# /sbin/init.d/sendmail start
regards.
(p.s. please remember to assign points.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 07:17 PM
тАО06-13-2005 07:17 PM
Re: how to start mail process (daemon)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 07:18 PM
тАО06-13-2005 07:18 PM
Re: how to start mail process (daemon)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 08:21 PM
тАО06-13-2005 08:21 PM
Re: how to start mail process (daemon)?
To test that the sendmail transport is working, try using the following from the Unix host (press Return at the end of each line):
sendmail -v -t
To:you@yourdomain.com
Subject:Test this out
hello
.
Alter you@yourdomain.com to whatever you have as a valid internal mail address.
The fullstop (.) tells sendmail you have finished. Sendmail should then attempt to deliver your mail and output is logged to your terminal. If this fails, include the text in your next reply on this forum.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 08:37 PM
тАО06-13-2005 08:37 PM
Re: how to start mail process (daemon)?
# ps -ef | grep sendmail
Restart it as,
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
You can test that mail as,
# sendmail -v root@localhost
test
ok
ctr+d
It will display message with test and ok.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2005 01:43 AM
тАО06-14-2005 01:43 AM
Re: how to start mail process (daemon)?
As an additon to other replies you can find
very interesting answers below the link;
http://www4.itrc.hp.com/service/james/search.do?rn=25&source=7000&searchcategory=ALL&from=forums&hpl=1&todo=search&origin=0&wpa=forums1.itrc.hp.com%3A80&searchcriteria=allwords&esc=europe-support.external.hp.com&searchtext=send+mail&chkServStor=on&presort=rank
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2005 01:51 AM
тАО06-14-2005 01:51 AM
Re: how to start mail process (daemon)?
To have the mail process running, check the file in /etc/rc.config.d/mailsrvs to ensure that SENDMAIL_SERVER=1. Start the daemon with /usr/lib/sendmail -bd -q15m. (Background daemon - check queue every 15min). Or start with '/sbin/init.d/sendmail start'.
Assuming a default config this will start the mail process to receive mail. Sending mail does not require the sendmail daemon running.
If you are not sending mail out, check the /var/adm/syslog/mail.log file and see what the error is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2005 03:00 AM
тАО06-14-2005 03:00 AM
Re: how to start mail process (daemon)?
I check the etc/rc.config.d/mailservs file, SENDMAIL_SERVER=0
But when I did a test senmail using "sendmail -v -t", it send out the email fine.
I have a script running to send out email and that doesn't seem work properly, I double check the script and never been modified in anyway, it was working fine.
My question here is how do I clean out mail quene, thats the only thing it may cause this, (i guess).?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2005 03:15 AM
тАО06-14-2005 03:15 AM
Re: how to start mail process (daemon)?
I hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2005 06:38 AM
тАО06-14-2005 06:38 AM
Re: how to start mail process (daemon)?
The sendmail daemon is for receiving mail.
Check the /var/adm/syslog/mail.log as to what the error is for the mail you are having trouble with.
To clean the mailqueue, /sbin/init.d/sendmail stop, cd /var/spool/mqueue, remove the files from within this directory.
Again, the sendmail daemon does not need to be running to send mail out. The /var/adm/syslog/mail.log file will have clues as to why a specific mail did not go out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2005 09:08 PM
тАО06-14-2005 09:08 PM
Re: how to start mail process (daemon)?
If you are still looking for help, what mail command is your script using (can you attach the script?). 'sendmail -v -t' will obviously check operation to an external account, is this the same account that your script is sending to?
All the best - Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 01:00 AM
тАО06-15-2005 01:00 AM
Re: how to start mail process (daemon)?
How u r sending the mails from the script, using mailx or mail or sendmail . To whom u r sending the mails , external or internal users.