Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] postfix message size?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Wed May 07, 2014 7:11 pm    Post subject: [SOLVED] postfix message size? Reply with quote

I'm trying to change the message size in my postfix setup:

Code:
 # grep message_size_limit /etc/postfix/main.cf
message_size_limit = 20480000
 # /etc/init.d/postfix restart
 * Stopping postfix  ...                                                                                                                  [ ok ]
 * Starting postfix  ...                                                                                                                  [ ok ]
 # postconf -d|grep message_size_limit
message_size_limit = 10240000


It seems like postfix is using a different cf file. There is no /etc/conf.d/postfix. reload does not seem to do anything either;

Code:
# /etc/init.d/postfix reload 
 * Reloading postfix  ...                                                                                                                 [ ok ]
# postconf -d|grep message_size_limit
message_size_limit = 10240000


the /var/log/messages file will say:

Code:
postfix/master[16216]: reload -- version 2.9.5, configuration /etc/postfix


How can I get postfix to read my config file?


Last edited by pgu on Fri May 09, 2014 8:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Wed May 07, 2014 7:21 pm    Post subject: Reply with quote

or is postconf broken?
Back to top
View user's profile Send private message
freke
Guru
Guru


Joined: 23 Jan 2003
Posts: 402
Location: Somewhere in Denmark

PostPosted: Thu May 08, 2014 11:20 am    Post subject: Reply with quote

Code:
postconf -d

shows the default values, whereas
Code:
postconf -n

shows your current/non-default values.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Fri May 09, 2014 8:27 pm    Post subject: Reply with quote

Thanks! For some reason I thought it was -d for dump (must have mixed it with a different program).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum