- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx truncate msg ...
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
04-24-2007 05:05 AM
04-24-2007 05:05 AM
I use mailx to send normal text msg. to my company's mail system.
the syntax is like this:
mailx -s "notification mail" xieg@dor.state.fl.us < plain_text_file
this has been working OK for long time. But recently, when the text file grown over 300K (in size), received contents be truncated in the middle.
why this happens ?? is this a sendmail configuration issue can resolved by changing configuration to allow large mail going ?? Or any other way to resolve this problem ??
Thanks very much in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 05:18 AM
04-24-2007 05:18 AM
Re: mailx truncate msg ...
Check sendmail.cf. It does have somewhat human readable text about size limiations but the default is usually 2 MB.
More likely the messag is being trucated by the receiving system.
Also check the file /var/adm/syslog/mail.log for messages. If sendmail chopped the file, it will say so.
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
04-24-2007 05:54 AM
04-24-2007 05:54 AM
Re: mailx truncate msg ...
also, did a test send a much more longer (larger) plain text mail from outside internet (yahoo.com) mail system to our company's mail system. Delivered OK (not a single line missed).
In our Unix box under /etc/mail, there are 2 configuration files: sendmail.cf and Sendmail.cf, don't know which one should be the right one. But check both of them, not find and also don't know which part should be changed. they are all more then 2000 lines long. search the work "size" only find one parameter "MaxMessageSize" may related but it is talking about incoming msg. but not out going msg.
any idea ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 05:59 AM
04-24-2007 05:59 AM
Re: mailx truncate msg ...
Make sure that your mail client is not filtering out part of the message. The way Outlook strips newlines comes to mind...
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 06:04 AM
04-24-2007 06:04 AM
Re: mailx truncate msg ...
but we are not using outlook.
we are using Novel's GroupWise as our company's email system.
this script is actually working OK for long time.
I have a script run on the Unix box to auto-report all Oracle DB's tablespace fullness status. As the tablespace getting longer and longer, the report is longer and longer also. So, it is a size issue but not a filtering issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 06:11 AM
04-24-2007 06:11 AM
Re: mailx truncate msg ...
set feedback off;
column TS_Name format a12 truncated;
column Total_Space format 999,990.00;
column Used_Space format 999,990.00;
column Free_Space format 999,990.00;
column %Utilization format 90.00;
SELECT to_date(sysdate) "Date",
Total.name "TS_Name",
total_space "Total_Space",
nvl(Total_Space-Free_Space, 0) "Used_Space",
nvl(Free_space, 0) "Free_Space",
nvl(100*((Total_Space-Free_Space)/Total_Space), 0) "%Utilization"
FROM
(select tablespace_name, sum(bytes/1024/1024) Free_Space
from sys.dba_free_space
group by tablespace_name
) Free,
(select b.name, sum(bytes/1024/1024) Total_Space
from sys.v_$datafile a, sys.v_$tablespace B
where a.ts# = b.ts#
group by b.name
) Total
WHERE Free.Tablespace_Name(+) = Total.name
ORDER by "%Utilization" desc
spool /tmp/tsutil.out;
/
spool off;
exit;
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 06:36 AM
04-24-2007 06:36 AM
Re: mailx truncate msg ...
_reliable_ system, you might be able to
decide whether the problem is with the sender
or the receiver. Always having the
"company's mail system" in the test limits
the usefulness of the test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 06:47 AM
04-24-2007 06:47 AM
Re: mailx truncate msg ...
But this still not worked here.
I have cut/pasted Spex's script into my script and run it. the results is same -- successfully finished in Unix box but mailx truncated the results in the middle.
It looks like the problem is on Unix (sender) side but don't know how to fix it.
Also did this test -- mailx a plain text file under $ORACLE_HOME/doc, which is very large, it trucated. However, if I cut/paste this large file to my Yahoo.com email and then send from Yahoo.com to my company's mail system, every bit received 100% complete.
?????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 07:26 AM
04-24-2007 07:26 AM
Re: mailx truncate msg ...
uuencode did worked!
every bit received.
However -- when open the attached file, the whole file becomes a SINGLE LINE. thus make it impossible to read.
this is not my day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 07:32 AM
04-24-2007 07:32 AM
Re: mailx truncate msg ...
# ux2dos txt_file > winfile
# uuencode winfile winfile | mailx -m -s "notification mail" xieg@dor.state.fl.us
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 07:34 AM
04-24-2007 07:34 AM
Re: mailx truncate msg ...
only "." on it where the message was
truncated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 07:43 AM
04-24-2007 07:43 AM
Re: mailx truncate msg ...
Appreciated.
I'll start assign points to all of you replied me.
Thank you all very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 07:48 AM
04-24-2007 07:48 AM
Re: mailx truncate msg ...
Sandman made this thread a period.
Thanks all.
Sincerely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 07:51 AM
04-24-2007 07:51 AM
Re: mailx truncate msg ...
~cheers