- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail keeping mails in queue
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
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
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-14-2005 07:50 PM
06-14-2005 07:50 PM
sendmail keeping mails in queue
I have some application sending mails to local host.I need to keep this in mailqueus only no need to send or relay these mails for some time. any idea??
Regards,
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 08:31 PM
06-14-2005 08:31 PM
Re: sendmail keeping mails in queue
Look at configuring your application not to send mails.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 08:59 PM
06-14-2005 08:59 PM
Re: sendmail keeping mails in queue
If you are sending mails to root@localhost, aren't these going to the root mail account on the Unix server instead of being sent/relayed?
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 09:20 PM
06-14-2005 09:20 PM
Re: sendmail keeping mails in queue
Yes it is. Any idea how can I keep those mails in queue send to other than localhost?? since root@localhost is working EMS won't have any problems.
At the moment I modified DS macro to non existing host, so mails remain in queue as hostname lookup failure.
Any good way of doing it??
Regards,
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 12:49 AM
06-15-2005 12:49 AM
Re: sendmail keeping mails in queue
'root: /path-to-file' in aliases database so the mails for root is appended to that file instead of sending to its actual mailbox. For reading these mails u can simply append this file to ur mailbox file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 01:02 AM
06-15-2005 01:02 AM
Re: sendmail keeping mails in queue
sendmail -v -q
This will process the queue in verbose mode and give you a clue why the mail is not moving.
Most common cuases:
1) Bad host resolution. For full internet resolution you need to set /etc/nsswitch.conf to dns and make sure the machine gets valid host resolution answers from the name servers in /etc/resolv.conf
2) Relay issues. To avoid host resolution issues, many set the DS directive in sendmail.cf If you do that you must restart the sendmail daemon:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
The DS directive must point to a valid sendmail server that permits, explicity the host with the DS directive to relay mail.
The error message from the sendmail -v -q command will be instructive as to what the next step should be.
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
06-15-2005 01:06 AM
06-15-2005 01:06 AM
Re: sendmail keeping mails in queue
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 09:57 PM
06-15-2005 09:57 PM
Re: sendmail keeping mails in queue
I could achieve this by modifying DS(smart relay)macro to unknown host, Which keeps all mails to queue.
I am not happy with my solution, any good thoughts??
Anoop