- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to send large files -- 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
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
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
тАО07-06-2008 10:17 PM
тАО07-06-2008 10:17 PM
Unable to send large files -- mailx
I am unable to send large files using mailx. There is no problem sending file sizes of 1-2 KB. But nothing more than that goes through.
thanks in advance
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2008 10:28 PM
тАО07-06-2008 10:28 PM
Re: Unable to send large files -- mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2008 10:36 PM
тАО07-06-2008 10:36 PM
Re: Unable to send large files -- mailx
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2008 11:02 PM
тАО07-06-2008 11:02 PM
Re: Unable to send large files -- mailx
sendmail -v -d9.99 -d38.99 email_user < /tmp/file_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2008 11:13 PM
тАО07-06-2008 11:13 PM
Re: Unable to send large files -- mailx
To yourself on the local machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 01:49 AM
тАО07-07-2008 01:49 AM
Re: Unable to send large files -- mailx
Exactly what command you used.
Check the /var/adm/syslog/mail.log file for any messages.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 01:50 AM
тАО07-07-2008 01:50 AM
Re: Unable to send large files -- mailx
sendmail itself which is the default MTA for HP-UX does have some limits on attached filesize.
I believe this is done to prevent spammers from taking down an entire machine by clogging its /var directory with attachments.
The default limit is I believe 2 MB, although you can increase that by changing sendmail.cf or using sendmail macro compiles (much more human readable).
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
тАО07-07-2008 03:46 AM
тАО07-07-2008 03:46 AM
Re: Unable to send large files -- mailx
Sorry about the delay..here is the output
[rosob01a]/tmp $ sendmail -v -d9.99 -d38.99 sanjay.nayak@hp.com seq_map_parse(aliases.files, )
getauthinfo: root@localhost
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
wrong pass (pass = 0, rebuildable = 1)
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
map_init(host:resolve, NULL, 0)
host:resolve NULL: valid
map_init(sequence:aliases.files, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(implicit:Alias0, /etc/mail/aliases, 1)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(switch:aliases, aliases, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(dequote:dequote, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(host:resolve, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
host_map_lookup(hp.com) => getcanonname(hp.com), trying dns
getcanonname(hp.com), found
hp.com
sanjay.nayak@hp.com... queued
closemaps: closing aliases.files (NULL)
closemaps: closing Alias0 (/etc/mail/aliases)
impl_map_close(Alias0, /etc/mail/aliases, 12a3)
db_map_close(Alias0, /etc/mail/aliases, 12a3)
closemaps: closing host (NULL)
closemaps: closing aliases (aliases)
closemaps: closing dequote (NULL)
closemaps: closing resolve (NULL)
[rosob01a]/tmp $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 03:47 AM
тАО07-07-2008 03:47 AM
Re: Unable to send large files -- mailx
Yes i am trying to send the email to myself
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 03:52 AM
тАО07-07-2008 03:52 AM
Re: Unable to send large files -- mailx
Here is the relevant output from the log. As you could see the smaller files go fine. It is only the larger files that get stuck
Jul 7 04:36:46 rosob01a sendmail[21002]: EAA20999: to=omniadmin@hpbs4170.boi.hp.com, ctladdr=root (0/3), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, relay=hpbs4170.boi.hp.com. [15.8.38.203], stat=Sent (2.0.0 m67Bbke13289 Message accepted for delivery)
Jul 7 04:36:46 rosob01a sendmail[21002]: EAA20999: done
Jul 7 04:44:49 rosob01a sendmail[21616]: EAA21616: from=choudhmi, size=42430, class=0, pri=72430, nrcpts=1, msgid=<200807071144.EAA21616@rosob01a.rose.hp.com>, relay=root@localhost
Jul 7 04:44:49 rosob01a sendmail[21616]: EAA21616: to=sanjay.nayak@hp.com, delay=00:00:00, mailer=esmtp, stat=queued
[rosob01a]adm/syslog $ mailq
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 04:35 AM
тАО07-07-2008 04:35 AM
Re: Unable to send large files -- mailx
uuencode file filename |mailx -s "uuencode" sanjaynaik@hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 05:22 AM
тАО07-07-2008 05:22 AM
Re: Unable to send large files -- mailx
But not to HP-UX on your local machine. It seems you sent it around the world. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 05:25 AM
тАО07-07-2008 05:25 AM
Re: Unable to send large files -- mailx
I meant yes i am trying to send the file from the machine to my mailbox. Do tell me if that is not clear.
thankyou
sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2008 05:33 AM
тАО07-07-2008 05:33 AM
Re: Unable to send large files -- mailx
I was suggesting you only send the mail on a short hop (back to the same machine), only through HP-UX to see where the limits are.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 03:38 AM
тАО07-10-2008 03:38 AM
Re: Unable to send large files -- mailx
Try this
ux2dos /path_to/some_file | uuencode some_file.txt | mailx -m -s "MAIL FROM Someone" someone@somewhere.com
Regards
Sanjeev