- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx
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
01-21-2004 05:20 AM
01-21-2004 05:20 AM
Is there any why with unix of tracking that email, verify whether it went out or not? Or does that have to be done on the exchange side?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 05:23 AM
01-21-2004 05:23 AM
Re: mailx
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 05:27 AM
01-21-2004 05:27 AM
SolutionYou can run diagnistics with sendmail'
sendmail -v -d8.99 -d38.99 someone@some.net
type text
.
You will get full diagnostics on screen.
sendmail and mailx both use the sendmail daemon to exchange messages.
If its passed on to exchange okay, you'll see that. If not, look at the relay settings on the Exchange Server.
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
01-21-2004 06:58 AM
01-21-2004 06:58 AM
Re: mailx
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:08 AM
01-21-2004 07:08 AM
Re: mailx
If the mail is truly going "outside your company" (some depends on your config), then AFAIK Exchange will only tell you it if passed to the next mail host, not whether it was delivered. (But maybe that wasn't your concern and some mailers/mail can be configured to tell you if/when something lands.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:09 PM
01-21-2004 07:09 PM
Re: mailx
If the message is send you will find it there.
Place a grep on the e-mail adres for example and whenever you will find a line with 'stat=Sent' the message is gone.
Also in this line you will find the status of the host the message has been send to.
example:
Jan 22 05:31:45 hp3 sendmail[7522]: FAA07522: from=root, size=259, class=0, pri=
30259, nrcpts=1, msgid=<200401220431.FAA07522@source.foo.com>, relay=root@l
ocalhost
sendmail has accepted the message from mailx, send to unixbeheer@dest.foo.com by root, on the localhost.
Jan 22 05:31:45 hp3 sendmail[7524]: FAA07522: to=unixbeheer@dest.foo.com, ctladdr
=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=relay, relay=exchange.foo.com [10.100.1.4], stat=Sent (2.6.0 <200401220431.FAA07522@source.foo.com> )
Queued mail for delivery
Sendmail relayed the message to exchange.foo.com.
Stat=sent, answered by sendmail, and exchange.foo.com replied with a status message 'Queued mail for delivery'
So, send the message to the user and wait till you see stat=sent for that message.
Kl@@s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:16 PM
01-21-2004 07:16 PM
Re: mailx
It is not entirely clear (to me) what you would like to know.
If you want to verify, if the message left your company succesfully, this can/needs_to be verified on every host the message was handled on, inside your company. hp-ux's mail.log will tell you which host it has delivered it too. Then you look on the next host, in it's log area for mail, and so on. On MS Exchange, I am not sure where to look, but according to M.Vening (above) it should be possible.
If you want to know if the message was received by the intended receipient, one has to set a delivery or read notification. mailx(1) is NOT capable to set such a notification. You need a smarter mail client for that. I am unaware of a commandline mailclient (elm/mailx/mail/mutt) that can set delivery acknowledgements. If you need it, you need to write more or less your own mailclient, add the necessary headerlines youself in your message, and spool it into sendmail directly.
HTH
Kasper
HP support engineer for sendmail, OpenMail, OVO/u