- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using sendmail
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
08-29-2004 02:41 PM
08-29-2004 02:41 PM
Using sendmail
Need assistant to use sendmail.
The way I run as below :
# cat sendmail_msg.txt | sendmail -t
Then I issue mailq, it no error and mailq is empty but I don't received the email.
Rgds.
-Kamarul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 09:35 PM
08-29-2004 09:35 PM
Re: Using sendmail
I suppose you have started Sendmail daemon with -bd options. For testing you can use -bt options to enter in interactive test-mode. You can also use -V option for Verbose mode or -X LogfileName for logging in and out sendmail traffic (See man page).
So sendmail is usually use only like mail server (sendmail -bd). Instead of sendmail -t, prefer using mail or mailx (or interactive elm interface).
See also:
http://docs.hp.com/fr/5187-2222/ch03s08.html
or
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90776/B2355-90776_top.html&con=/hpux/onlinedocs/B2355-90776/00/00/17-con.html&toc=/hpux/onlinedocs/B2355-90776/00/00/17-toc.html&searchterms=sendmail&queryid=20040830-030115
Rgds
JMB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2004 10:20 PM
08-29-2004 10:20 PM
Re: Using sendmail
Try to resolve that as,
are you using hosts: entry on /etc/nsswitch.conf as,
hosts: dns files ..
so that,
it will start to resolve domain name over dns as,
/etc/resolv.conf
domain celcom.com.my
nameserver IP1
nameserver IP2
nslookup celcom.com.my
Is it working fine.
or
nsquery hosts celecom.com.my "dns"
If you resolve these then you will get mail now. I have tested in my domain it is working fine. So the problem is because of domain name resolvation.
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 12:25 AM
08-30-2004 12:25 AM
Re: Using sendmail
And running the sendmail in address-test mode can help too, of course. Also, check out your local mail file for errors, and /var/adm/syslog/mail.log for messages from sendmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 01:48 AM
08-30-2004 01:48 AM
Re: Using sendmail
sendmail -v email_address < message.txt
That generally works for me and the -v option allows you to see the mail server in action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2004 04:43 AM
08-30-2004 04:43 AM
Re: Using sendmail
what does sendmail_msg.txt look like?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 08:18 PM
08-31-2004 08:18 PM
Re: Using sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 09:42 PM
08-31-2004 09:42 PM
Re: Using sendmail
/var/adm/syslog/mail.log
Sunil