Re: Postfix message_size_limit

2016-03-20 Thread Wietse Venema
Daniel Wasilewski:
> root@vps1:~# postconf -d | grep size_limit

Wietse:
> Where did you get the "postconf -d" from? If it is from a website
> then I would like to get it fixed.

Daniel Wasilewski:
> I seem it on many forums.
> 
> Last one is on:
> https://www.howtoforge.com/community/threads/postfix-says-message-size-exceeds-fixed-limit.1325/

I can try to fix sites that have recipes, but unfortunately, I don't
have time to monitor every discussion thread.

Wietse


Re: Postfix message_size_limit

2016-03-20 Thread Daniel Wasilewski

I seem it on many forums.

Last one is on:
https://www.howtoforge.com/community/threads/postfix-says-message-size-exceeds-fixed-limit.1325/

But after Christian K. email i look closer and in same subject is 
explanation postconf -n and -d same like in man postfix.


Problem solved.

Best regards
Daniel

On 19/03/16 22:59, Wietse Venema wrote:

root@vps1:~# postconf -d | grep size_limit

Where did you get the "postconf -d" from? If it is from a website
then I would like to get it fixed.

Wietse




Re: Postfix message_size_limit

2016-03-19 Thread Wietse Venema
>root@vps1:~# postconf -d | grep size_limit

Where did you get the "postconf -d" from? If it is from a website
then I would like to get it fixed.

Wietse


Re: Postfix message_size_limit

2016-03-19 Thread Christian Kivalo


Am 19. März 2016 20:22:13 MEZ, schrieb Daniel Wasilewski :
>Hi,
>
>At the beginning it's my first email on mailing list, so if I does
>wrong 
>please forgive me.
>
>Is somebody can explain why postfix still using default values ?
>
>root@vps1:~# postconf -e mailbox_size_limit=0
>root@vps1:~# postconf -e message_size_limit=0
>root@vps1:~# /etc/init.d/postfix restart
>[ ok ] Stopping Postfix Mail Transport Agent: postfix.
>[ ok ] Starting Postfix Mail Transport Agent: postfix.
>root@vps1:~# postconf -d | grep size_limit
>body_checks_size_limit = 51200
>bounce_size_limit = 5
>header_size_limit = 102400
>mailbox_size_limit = 5120
>message_size_limit = 1024
See man postconf.
postconf -d shows postfix default values instead of the actual configured 
values.

>root@vps1:~# postconf -n | grep size_limit
>mailbox_size_limit = 0
>message_size_limit = 0
That are your configured values and should be in use by postfix.
You can check when you connect to port 25, message size is advertised after helo

>root@vps1:~#
>
>Best regards
>Daniel
-- 
Christian