- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx hang when someone try to send an email
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
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
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
тАО12-18-2002 03:10 PM
тАО12-18-2002 03:10 PM
thank you...and it is urgent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 03:14 PM
тАО12-18-2002 03:14 PM
Re: mailx hang when someone try to send an email
I would take a look at your /var/adm/syslog/mail.log file. It might give you a clue about what is happening. If you are relaying your mail from your Unix box to some other mail server, the mail.log might tell you what the problem is.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 03:19 PM
тАО12-18-2002 03:19 PM
Re: mailx hang when someone try to send an email
delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Dec 18 18:00:07 sjkdch03 sendmail[16238]: SAA16238: from=root, size=474, class=0
, pri=30474, nrcpts=1, msgid=<200212182300.SAA16238@sjkdch03.cna.com>, relay=roo
t@localhost
Dec 18 18:00:08 sjkdch03 sendmail[16289]: SAA16238: to=fnsw, ctladdr=root (0/3),
delay=00:00:01, xdelay=00:00:00, mailer=local, stat=Sent
---
i took a look at the mail log, but unable to understand what it said...or where the problem might lie...could you plese help me to analyus this...i haven't use this featur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 03:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 03:33 PM
тАО12-18-2002 03:33 PM
Re: mailx hang when someone try to send an email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 03:38 PM
тАО12-18-2002 03:38 PM
Re: mailx hang when someone try to send an email
# cat myfile | mailx -s "testmail" username@mydomain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 04:08 PM
тАО12-18-2002 04:08 PM
Re: mailx hang when someone try to send an email
sendmail -bi and sendmail -bd?
and it is still doesn[t work?? did i do soemthing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 04:12 PM
тАО12-18-2002 04:12 PM
Re: mailx hang when someone try to send an email
by doing the following
ps -ef | grep sendmail
kill -9 the process
sendmail -bi
cat myfile | mailx -s "ld"
user@mydomai
i still didn't see any mail in my mail folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 04:19 PM
тАО12-18-2002 04:19 PM
Re: mailx hang when someone try to send an email
sendmail -bi (check the aliases file)
sendmail -bd (starts the sendmail background process)
You might like to try it this way.
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
# mailq (check to see what is in the mail queue to be sent)
If there is nothing, try sending the test message again.
# cat myfile | mailx -s "testmail" username@mydomain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 07:52 AM
тАО12-19-2002 07:52 AM
Re: mailx hang when someone try to send an email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:30 AM
тАО12-19-2002 08:30 AM
Re: mailx hang when someone try to send an email
name@domain.
however, if i tried to use within the users i could do that...how do i fix it so i can send it out to people??/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 08:41 AM
тАО12-19-2002 08:41 AM
Re: mailx hang when someone try to send an email
1) check nsswitch.conf on your box. If you don't have DNS first, you will have a hard time getting mail on and off the box, even if sendmail is running
2) Try mailq after attempted send. It shows what is queued and not able to get off your box.
Note that the nsswitch.conf change will break openspool badly and cause Omniback problems with certain versions.
Also if you use a smtp relay to get mail off your network, to Exchange or the net, there are mail latency problems with Symantec's gateway server v 2.5 If its not on the latest patch, certain Unix email will not get off the box.
Steve
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
тАО12-19-2002 09:07 AM
тАО12-19-2002 09:07 AM
Re: mailx hang when someone try to send an email
they didn't end their file with a period.
Thanks for helping me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2002 09:15 AM
тАО12-19-2002 09:15 AM
Re: mailx hang when someone try to send an email
First, for mailx to send a message, sendmail does not have to be running: mailx will fire up an instance of sendmail to handle the message. Second, the log entries show that sendmail delivered the message. If this is not a tricked up configuration in some fashion, the "mailer=local" should mean that the message was delivered to the local mbox formatted inbox for the user in /var/mail. So that would be /var/mail/fnsw for the log examples. The mbox can be read using a Mail User Agent like elm when logged in as fnsw. Alternatively, root could read it via "elm -f /var/mail/fnsw".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2002 07:17 AM
тАО12-20-2002 07:17 AM