Script fixed - Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread Robert Moskowitz
I added a few echos, guessed at what was happening and below you will see a nice little script which shows "useless" parameters in main.cf On 12/24/2012 05:26 AM, mouss wrote: Le 23/12/2012 15:28, Robert Moskowitz a écrit : On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robe

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread Robert Moskowitz
On 12/24/2012 08:24 AM, Robert Moskowitz wrote: On 12/24/2012 05:26 AM, mouss wrote: Le 23/12/2012 15:28, Robert Moskowitz a écrit : On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread Robert Moskowitz
On 12/24/2012 05:26 AM, mouss wrote: Le 23/12/2012 15:28, Robert Moskowitz a écrit : On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read parameter equal value; do default_value=`p

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread mouss
Le 23/12/2012 15:28, Robert Moskowitz a écrit : > > On 12/23/2012 09:20 AM, Noel Jones wrote: >> On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read parameter equal value; do default_value=`postconf -d $parame

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-23 Thread Noel Jones
On 12/23/2012 8:28 AM, Robert Moskowitz wrote: > > On 12/23/2012 09:20 AM, Noel Jones wrote: >> On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read parameter equal value; do default_value=`postconf -d $parame

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-23 Thread Robert Moskowitz
On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read parameter equal value; do default_value=`postconf -d $parameter 2>&1`; if [ "$value" = "$default_value" ]; then

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-23 Thread Noel Jones
On 12/23/2012 7:17 AM, Robert Moskowitz wrote: >> You can chase these with something like: >> >> # postconf -n | while read parameter equal value; do >> default_value=`postconf -d $parameter 2>&1`; >> if [ "$value" = "$default_value" ]; then >> echo "NOTICE: Useless setting

checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-23 Thread Robert Moskowitz
On 12/14/2012 05:01 PM, mouss wrote: # postconf -d shows default settings (builtin defaults). # postconf -n shows "local" settings. that said, some "local" settings may use the same value as the default config, which is mostly useless. on the url you posted, an example is inet_interfaces = all

Solved - Re: How to change modified cf files to postconf commands

2012-12-22 Thread Robert Moskowitz
At least the problem with running the script. Line 1 should not start with a # I assume that is an artifact of how mouss pasted the script into the message thanks On 12/23/2012 12:09 AM, Robert Moskowitz wrote: I have now made it past creating my cert, setting up mysql and installing po

Re: How to change modified cf files to postconf commands

2012-12-22 Thread Robert Moskowitz
I have now made it past creating my cert, setting up mysql and installing postfixadmin. I have even gotten a 'show columns' of all the tables created in setup for postfixadmin. Next is setting up postfix itself, which comes as the default mailer on Centos 6. So as Centos comes with a main.cf

Re: How to change modified cf files to postconf commands

2012-12-15 Thread Benny Pedersen
mouss skrev den 14-12-2012 23:01: you can also consider getting a copy of "the book of postfix". if its ever updated i would like to pay for the next version as a ebook

Re: How to change modified cf files to postconf commands

2012-12-14 Thread mouss
Le 14/12/2012 01:55, Robert Moskowitz a écrit : > > On 12/13/2012 05:47 PM, Noel Jones wrote: >> On 12/13/2012 4:17 PM, Robert Moskowitz wrote: >>> In the totorial: >>> >>> http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer >>> >>> >>> >>> There are modified postfix

Re: How to change modified cf files to postconf commands

2012-12-13 Thread Robert Moskowitz
On 12/13/2012 05:47 PM, Noel Jones wrote: On 12/13/2012 4:17 PM, Robert Moskowitz wrote: In the totorial: http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer There are modified postfix .cf files. I don't want to just use a modified postfix file, I want to user

Re: How to change modified cf files to postconf commands

2012-12-13 Thread Noel Jones
On 12/13/2012 4:17 PM, Robert Moskowitz wrote: > In the totorial: > > http://www.campworld.net/thewiki/pmwiki.php/LinuxServersCentOS/Cent6VirtMailServer > > > There are modified postfix .cf files. I don't want to just use a > modified postfix file, I want to user postconf to do the > modificati