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
11-20-2000 09:00 AM
11-20-2000 09:00 AM
I configured the same configuration on another server and it receives it as an attachment. Why is this?
mailx -s "Subject" xxx@xxx.com < file
thx
steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 09:10 AM
11-20-2000 09:10 AM
Re: sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 09:12 AM
11-20-2000 09:12 AM
SolutionAlso try mailx -m username@hp.com < filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 09:14 AM
11-20-2000 09:14 AM
Re: sendmail
Run the command
sendmail -d0.1
to find out.
You can trap the messages you are sending by editing your sendmail.cf file so that the DeliveryMode line becomes
O DeliveryMode=queue
Stop/restart sendmail and run your mailx command again.
This will stop messages from being processed immediately, you can then move them from /usr/spool/mqueue to another directory.
Each message is made up of 2 parts, a qf and df file. The qf file is the header, the df file is the body. Make sure you have both files.
If you do this on both the working and problem machine, you will be able to determine the differences between the 2 messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 09:30 AM
11-20-2000 09:30 AM
Re: sendmail
To answer your question, if you look at the headers of the two messages you receive, the one that comes as an attachment will have a content type something like:
Content-Type: text/plain; charset=X-roman8
the one that appears "normally" will have a content type of:
Content-Type: text/plain; charset=us-ascii
when exchange gets a message with a charset of us-ascii it is able to display it normally... otherwise, it appears as an attachment!
to fix it, on the machine that generates attachments, issue the following command:
# echo "charset=us-ascii" >> /usr/share/lib/mailx.rc
for system-wide
or
# echo "charset=us-ascii" >> $HOME/.mailrc
for a single user
to a man on mailx and search for mailrc (and also charset) for more information
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 09:52 AM
11-20-2000 09:52 AM
Re: sendmail
#sendmail -bs
You should see something like this:Sendmail 8.9.3 (PHNE_18979)/8.9.3; Mon, 20 Nov 200
0 12:52:05 -0500 (EST)
(control C to escape)
The 8.9.3 after the / is the version .cf file.
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 10:13 AM
11-20-2000 10:13 AM
Re: sendmail
You can read the detail at the below url, but to sum it up I would be willing to bet you have PHNE_15835 loaded on the one box. This server gives you MIME capability.
We use it send reports as true attachments (as opposed to within the body of the message) and incorporated the syntax with our production jobstreams. You may want to review the details:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=05fc44ed089266ab79/screen=ckiDisplayDocument?docId=200000048789276
JUST AS AN FYI....to folks who do like this option. Make sure you don't by mistake download and configure PHNE_20505, because it will conflict with the MIME patch and you have to go back and remove it and reinstall the MIME (PHNE_15835) patch.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 10:21 AM
11-20-2000 10:21 AM
Re: sendmail
-m did eliminated the problem.