Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167733

Re: mutt attachment error

From Haines Brown <haines@histomat.net>
Newsgroups linux.debian.user
Subject Re: mutt attachment error
Date 2016-05-11 17:20 +0200
Message-ID <rxE5A-2n7-13@gated-at.bofh.it> (permalink)
References <rxhsm-4N0-15@gated-at.bofh.it> <rxhLI-517-21@gated-at.bofh.it> <rxi55-5hY-25@gated-at.bofh.it> <rxios-5TU-73@gated-at.bofh.it> <rxk6T-7xI-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 10, 2016 at 07:58:36PM +0200, Sven Hartge wrote:
> Brian <ad44@cityscape.co.uk> wrote:
> > On Tue 10 May 2016 at 17:43:03 +0200, Sven Hartge wrote:
> >> David Wright <deblis@lionunicorn.co.uk> wrote:
> >> > On Tue 10 May 2016 at 11:07:47 (-0400), Haines Brown wrote:
> 
> >>>> I tried to use mutt to send someone a zip file of about 50 Mb and got
> >>>> the error: "Error sending message, child exited 1 (). Could not send
> >>>> message."
> >>>> 
> >>>> I assumed the attachment was too large and so went to
> >>>> /etc/exim4/conf.d/main/02*/ and altered the configuration to be:
> >>>> 
> >>>>   # Message size limit. The default (used when MESSAGE_SIZE_LIMIT
> >>>>   # is unset) is 50 MB
> >>>>   .ifdef MESSAGE_SIZE_LIMIT
> >>>>   # message_size_limit = MESSAGE_SIZE_LIMIT # I commented this line
> >>>>   message_size_limit = 200 MB               # I added this line
> >>>>   .endif
> >>>> 
> >>>> I restarted exim, but it had no effect. 
>  
> >>> Isn't the Debian way to put
>  
> >>> MESSAGE_SIZE_LIMIT=foo
>  
> >>> into /etc/exim4/update-exim4.conf.conf and then run
> >>> # dpkg-reconfigure exim4-config
> >> 
> >> No, that won't work. You cannot just put stuff into
> >> /etc/exim4/update-exim4.conf.conf and hope it will make it into the
> >> configuration.
> 
> > Didn't spot that; exim's .confs can be confusing.
> 
> The file /etc/exim4/update-exim4.conf.conf is the configuration file for
> the configuration generator, not Exim4 itself.
> 
> > What file is used for non-split configuration?
> 
> Have a look at /usr/share/doc/exim4/README.Debian.gz, Section 2.1.3
> "Using Exim Macros to control the configuration"
> 
> Everything is documented there and the following sections, on how to
> expand or override the configuration system provided by the Exim4
> maintainers.
> 
> Grüße,
> Sven.

Sven, your recommendation much appreciated, but didn't altogether
clear up the situation.

I took a look at /usr/share/doc/exim4/README.Debian.gz and found that to
use a macro to change a default configuration value I need to define the
new value in a local configuration file. I have a non-split
configuration, and so it seems I must create a
/etc/exim4/exim4.conf.localmacros file.

The document says that if present this file is read before the
exim4.conf.template file. I don't understand. Wouldn't reading the
template file subsequently to it just overwrite my custom value with
the default value?

In this localmacros file it seems that I simply need the line
MESSAGE_SIZE_LIMIT=200MB to redefine maximum message size from the
default 50 MB to 200MB. I'm unsure of the syntax here. Is "MB"
acceptable? Need it be separated from the number by a space? The
document seems to say that for answers to such questions I should read
the Exim Specification 6.4. It does not tell me where this specification
is to be found.

Another point of confusion is that MESSAGE_SIZE_LIMIT is referred to as
a macro, but in context it seems more just a variable. To set a custom
value, do I have to write an entire macro from scratch, which seems
implied by the text, or merely set the value of a variable, which is
implied by the example?

I apologize for these elementary questions.

Haines Brown

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mutt attachment error Haines Brown <haines@histomat.net> - 2016-05-10 17:10 +0200
  Re: mutt attachment error David Wright <deblis@lionunicorn.co.uk> - 2016-05-10 17:30 +0200
    Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-10 17:50 +0200
    Re: mutt attachment error Sven Hartge <sven@svenhartge.de> - 2016-05-10 17:50 +0200
      Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-10 18:10 +0200
        Re: mutt attachment error Sven Hartge <sven@svenhartge.de> - 2016-05-10 20:00 +0200
          Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-10 20:50 +0200
          Re: mutt attachment error Haines Brown <haines@histomat.net> - 2016-05-11 17:20 +0200
            Re: mutt attachment error Sven Hartge <sven@svenhartge.de> - 2016-05-11 18:20 +0200
              Re: mutt attachment error <tomas@tuxteam.de> - 2016-05-11 18:30 +0200
                Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-11 19:40 +0200
            Re: mutt attachment error Joe <joe@jretrading.com> - 2016-05-11 19:00 +0200
        Re: mutt attachment error Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-05-10 21:30 +0200
          Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-10 21:50 +0200
            Re: mutt attachment error Mark Fletcher <mark27q1@gmail.com> - 2016-05-10 23:50 +0200
      Re: mutt attachment error David Wright <deblis@lionunicorn.co.uk> - 2016-05-11 22:00 +0200
        Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-12 12:40 +0200
          Exim and hostname --fqdn, was Re: mutt attachment error David Wright <deblis@lionunicorn.co.uk> - 2016-05-12 17:20 +0200
            Re: Exim and hostname --fqdn, was Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-12 21:40 +0200
              Re: Exim and hostname --fqdn, was Re: mutt attachment error David Wright <deblis@lionunicorn.co.uk> - 2016-05-17 19:40 +0200
                Re: Exim and hostname --fqdn, was Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-18 01:10 +0200
  Re: mutt attachment error Sven Hartge <sven@svenhartge.de> - 2016-05-10 20:10 +0200
    Re: mutt attachment error Haines Brown <haines@histomat.net> - 2016-05-13 13:20 +0200
      Re: mutt attachment error David Wright <deblis@lionunicorn.co.uk> - 2016-05-13 15:40 +0200
        Re: mutt attachment error Sven Hartge <sven@svenhartge.de> - 2016-05-13 15:50 +0200
      Re: mutt attachment error Sven Hartge <sven@svenhartge.de> - 2016-05-13 15:50 +0200
      Re: mutt attachment error Ron Leach <ronleach@tesco.net> - 2016-05-13 19:10 +0200
      Re: mutt attachment error Brian <ad44@cityscape.co.uk> - 2016-05-13 19:10 +0200

csiph-web