----- Forwarded message from Sven Hartge <s...@svenhartge.de> ----- Date: Fri, 13 May 2016 15:41:53 +0200 From: Sven Hartge <s...@svenhartge.de> To: debian-user@lists.debian.org Subject: Re: mutt attachment error User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (Linux/4.3.0-1-amd64 (x86_64)) tinews.pl/1.1.39
Haines Brown <hai...@histomat.net> wrote: > I'm still having no luck increasing maximum attachment size. > I create file: /etc/exim4/exim4.conf.localmacros > I leave it default permissions: -rw-r--r-- 1 root root > It has a single line: MESSAGE_SIZE_LIMIT = 200M > followed by CR. > And I restart exim: # invoke-rc.d exim4 reload > But: > # exim -bP | grep size > bounce_return_size_limit = 100K > header_line_maxsize = 0 > header_maxsize = 1048576 > message_size_limit = 50M Please post the first 20 lines of /var/lib/exim4/config.autogenerated. Please also do a "ls -al /var/lib/exim4/" and "stat /var/lib/exim4/config.autogenerated" and post the results. Just in case, my exim4.conf.localmacros file now has MESSAGE_SIZE_LIMIT = 200M ######################### #### but did not help. The first 20 lines of config.autogenerated not so easy to copy because of long lines, but this is what I get: > ESC[?1049hESC[1;34rESC[mESC(BESC[4lESC[?7hESC[?25hESC=ESC=ESC=ESC \ > [39;49mESC[39;49mESC[mESC(BESC[HESC[2JESC[0;7mESC(B > GNU nano 2.2.6 File: > /var/lib/exim4/config.autogenerated ESC[3;1HESC[mESC(B#########^MESC[4d# > WARNING WARNING WARNING^MESC[5d# WARNING WARNING WARNING^MESC[6d# > WARNING WARNING WARNING^MESC[7d# WARNING WARNING WARNING^MESC[8d# > WARNING WARNING WARNING^MESC[9d# This file was generated dynamically > from^MESC[10d# split config files in the /etc/exim4/conf.d/ > directory.^MESC[11d# The config files are supplemented with package > installation/configuration^MESC[12d# settings managed by debconf. This > data is stored in^MESC[13d# > /etc/exim4/update-exim4.conf.conf^MESC[14d# Any changes you make here > will be lost.^MESC[15d# See > /usr/share/doc/exim4-base/README.Debian.gz and > update-exim4.conf(8)^MESC[16d# for instructions of > customization.^MESC[17d# WARNING WARNING > WARNING^MESC[18d# WARNING WARNING WARNING^MESC[19d# WARNING WARNING > WARNING^MESC[20d# WARNING WARNING WARNING^MESC[21d# WARNING WARNING > WARNING^MESC[22d#########^MESC[24dexim_path = > /usr/sbin/exim4^MESC[26d.ifndef CONFDIR ^MESC[27dCONFDIR = > /etc/exim4^MESC[28d.endif^MESC[30dUPEX4CmacrosUPEX4C = > 1^MESC[31d##############################################ESC[32;16HESC[0;7mESC(B[ > > Read 899 lines (Warning: No write permission) ]^MESC[33d^GESC[mESC(B Get > Help ESC[0;7mESC(B^OESC[mESC(B WriteOut ESC[0;7mESC(B^RESC[mESC(B > Read File ESC[0;7mESC(B^YESC[mESC(B Prev Page ESC[0;7mESC(B^KESC[mESC(B > Cut Text ESC[0;7mESC(B^CESC[m > C(B Cur Pos^MESC[34dESC[0;7mESC(B^XESC[mESC(B > ExitESC[14GESC[0;7mESC(B^JESC[m > ESC(B Justify ESC[0;7mESC(B^WESC[mESC(B Where Is ESC[0;7mESC(B^VESC[mESC(B > Next > Page ESC[0;7mESC(B^UESC[mESC(B UnCut TextESC[0;7mESC(B^TESC[mESC(B To Spell^M > ^MESC[27dCONFDIR = > /etc/exim4^MESC[28d.endif^MESC[30dUPEX4CmacrosUPEX4C = > 1^MESC[31d##############################################ESC[32;16HESC[0;7mESC(B[ > I didn't understand the reference here to split configuration. I checked my exim configuration, and much to my surprise it was split. This is probably the problem, and now I have to figure out how to increase attachment size with a split configuration. # ls -al /var/lib/exim4 total 36 drwxr-xr-x 2 root root 4096 May 13 11:39 . drwxr-xr-x 60 root root 4096 Mar 6 13:50 .. -rw-r--r-- 1 root root 4 Nov 20 2014 berkeleydbvers.txt -rw-r--r-- 1 root Debian-exim 23963 May 13 11:39 config.autogenerated # stat /var/lib/exim4/config.autogenerated File: `config.autogenerated' Size: 23963 Blocks: 48 IO Block: 4096 regular file Device: 817h/2071d Inode: 1707426 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 109/Debian-exim) Access: 2016-05-13 11:39:33.053442563 -0400 Modify: 2016-05-13 11:39:27.837516528 -0400 Change: 2016-05-13 11:39:32.945444094 -0400 Birth: - Haines