Solved

linux mutt  does not send attachment

Posted on 2014-09-23
16
211 Views
Last Modified: 2014-10-05
I am running Linux RH5.00 on a server
I  am using Mutt for outgoing emails sending invoices etc to customers
I have been using Mutt for years without problems for many year
Until I had a hard boot event
All of a sudden mutt is acting strange
I am regular emails without a problem.
I have a problem with attachments
I can not send any attachments above a file size of 2k
If does not produce an error but email does not arrive to its destination
your help is appreciated

thanks
Dory
0
Comment
Question by:dory550
  • 10
  • 5
16 Comments
 
LVL 6

Expert Comment

by:xeroxzerox
ID: 40340800
if you want to attach file .. you must have uuencode installed.
if uuencode installed then just try to send mail from it.
Syntax (uuencode reports.tar.gz reports.tar.gz | mailx -s "My Report" you@abc.com)
If you get any error then share it
Still i'm using heirloom-mailx.It's very easy to manage.you could try it in your R&D box machine.
0
 

Author Comment

by:dory550
ID: 40341243
xeroxzerox
Thanks for responding to my question
We have been using mutt for 5 years now, it is hardcoded into many of our programs and replacing it is  unfortunately not on the table.
I need to know what can cause mutt to have a restriction of 2k maximum per attachment
or how can a hard boot cause mutt to behave like that.
thanks
Dory
0
 
LVL 6

Expert Comment

by:xeroxzerox
ID: 40341285
Hi Dory,

I agree with you,can you send e-mail without attachment.
or run #postconf | grep message_size
0
 

Author Comment

by:dory550
ID: 40341315
xeroxzerox

Sending without an attachment is working fine
thanks
Dory
0
 

Author Comment

by:dory550
ID: 40341322
Is it possible to contact Red-Hat and create a support event (like msft ) and pay for it ?
Thanks
Dory
0
 

Author Comment

by:dory550
ID: 40341328
I checked the Red-hat website but did not find any indication that they do that
Dory
0
 
LVL 6

Expert Comment

by:xeroxzerox
ID: 40341356
It's not a big problem.
which MTA are you using?
have you tried  installing it again?
what is the output of #postconf | grep message_size
0
 

Author Comment

by:dory550
ID: 40341530
xeroxzerox
I followed your instruction and received "command not found" statement
Thanks again
Dory
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 6

Expert Comment

by:xeroxzerox
ID: 40342070
have you tried  installing it again?
0
 
LVL 27

Expert Comment

by:serialband
ID: 40342125
If the postconf command doesn't run for you, then you may not be running postfix.  Just to make sure, did you cut and past xeroxzerox's command without the #

postconf | grep message_size

If you don't have postfix, then are you using sendmail?  Check in sendmail.cf and change the message size

MaxMessageSize=1000000 - this is the maximum message size in bytes; by default there is no limit.
0
 

Author Comment

by:dory550
ID: 40343038
serialband
Thank you for helping out
I did exactly as you instructed (see attached)
But problem did not go away
I any ready for any other suggestion
thanks
Dory
ScreenShot.jpg
0
 

Author Comment

by:dory550
ID: 40343041
xeroxzerox
How do I go about installing it again
I guess you mean MUTT
Thanks
Dory
0
 

Author Comment

by:dory550
ID: 40343049
Serialband
By the way
I did not  find 'MaxMessageSize' entry in sendemail.cf
(maybe it was there but I didn't see it)
So I just added it
Dory
0
 
LVL 6

Accepted Solution

by:
xeroxzerox earned 500 total points
ID: 40343203
it's easy.just do this step
[root@lenovo ~]# rpm -q mutt
mutt-1.5.20-2.20091214hg736b6a.el6.i686
[root@lenovo ~]# rpm -e mutt-1.5.20-2.20091214hg736b6a.el6.i686
[root@lenovo ~]# rpm -q mutt
package mutt is not installed.

For install mutt
[root@lenovo ~]# yum install mutt
0
 

Author Comment

by:dory550
ID: 40343932
xeroxzerox
It is a holiday here today
I will try that tomorrow
Thanks
Dory
0
 

Author Closing Comment

by:dory550
ID: 40361981
xeroxzerox
thank you for your help
Sory
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now