MessageSizeMax in postfix service

(Pierre Bourdin) #1

Hi --all

I have one problem and don’t find solution on G00gle.

I’m sending attached file on mails, using Thunderbird.
I’ve set default value max size to 10000000 octets.

That’s what i’m trying :

dd if=/dev/zero of=filetest bs=7500000 count=1
1+0 enregistrements lus
1+0 enregistrements écrits
7500000 octets (7,5 MB) copiés, 0,0112787 s, 665 MB/s

I’m attaching this file on mail, and i’ve got this error :

The size of the message you are trying to send exceeds the global size limit (10000000 bytes) of the server. The message was not sent; reduce the message size and try again.

What’s wrong on my way?

db configuration show postfix | grep Message

Thanks for advance :wink:

(Alessio Fattorini) #2

Take a look at this and consider MIME Expansion bloat

7500000*1,37 = 10275000 which is > 10000000
How it looks like?

(Pierre Bourdin) #3

That’s it. I’ve learn one more thing today… Thanks for your patience.

(Alessio Fattorini) #4

You’re welcome, happy to help :wink: