Re: RFC: automatic backup of main.cf/master.cf before edit

2013-01-10 Thread Robert Moskowitz
On 01/10/2013 04:01 PM, Wietse Venema wrote: With the option to edit master.cf will come new opportunities to destroy a configuration. Below is a first design for a "backup before edit" option. If no command is configured, then no backup will be made. If the backup command fails, then the pos

Re: RFC: automatic backup of main.cf/master.cf before edit

2013-01-10 Thread Noel Jones
On 1/10/2013 3:01 PM, Wietse Venema wrote: > With the option to edit master.cf will come new opportunities > to destroy a configuration. > > Below is a first design for a "backup before edit" option. If no > command is configured, then no backup will be made. If the backup > command fails, then

Re: Configurable sender address for recipient verification

2013-01-10 Thread Daniel L. Miller
On 1/10/2013 4:27 PM, Wietse Venema wrote: Daniel L. Miller: On 1/10/2013 3:57 AM, Wietse Venema wrote: Daniel L. Miller: check_recipient_access = hash:/etc/postfix/maps/mailing_lists reject_unverified_recipient, That works. check_sender_access cdb:/etc/postfix/maps/mailing-

Re: RFC: automatic backup of main.cf/master.cf before edit

2013-01-10 Thread Viktor Dukhovni
On Thu, Jan 10, 2013 at 07:23:36PM -0500, Wietse Venema wrote: > The "backup before edit" feature does not work with revision control > systems that error out when the current version is already checked > in. For example, git and hg returns status 1 when a file has not > changed since it was check

Re: Configurable sender address for recipient verification

2013-01-10 Thread Wietse Venema
Daniel L. Miller: > On 1/10/2013 3:57 AM, Wietse Venema wrote: > > Daniel L. Miller: > >>check_recipient_access = hash:/etc/postfix/maps/mailing_lists > >>reject_unverified_recipient, > > That works. > > > >> check_sender_access cdb:/etc/postfix/maps/mailing-list-targets, > >> rejec

Re: RFC: automatic backup of main.cf/master.cf before edit

2013-01-10 Thread Wietse Venema
Viktor Dukhovni: > > postconf_backup_command (default: empty) > > > > Optional external command that the postconf(1) command executes > > before it attempts to modify the main.cf or master.cf file. The > > macro "$file" is replaced by the absolute pathname of the file. > > > > Not

Re: Configurable sender address for recipient verification

2013-01-10 Thread Daniel L. Miller
On 1/10/2013 3:38 PM, Daniel L. Miller wrote: On 1/10/2013 3:57 AM, Wietse Venema wrote: Daniel L. Miller: check_recipient_access = hash:/etc/postfix/maps/mailing_lists reject_unverified_recipient, That works. check_sender_access cdb:/etc/postfix/maps/mailing-list-targets, reje

Re: Configurable sender address for recipient verification

2013-01-10 Thread Daniel L. Miller
On 1/10/2013 3:57 AM, Wietse Venema wrote: Daniel L. Miller: check_recipient_access = hash:/etc/postfix/maps/mailing_lists reject_unverified_recipient, That works. check_sender_access cdb:/etc/postfix/maps/mailing-list-targets, reject_unverified_recipient You changed more than

Re: RFC: automatic backup of main.cf/master.cf before edit

2013-01-10 Thread Viktor Dukhovni
On Thu, Jan 10, 2013 at 04:01:13PM -0500, Wietse Venema wrote: > With the option to edit master.cf will come new opportunities > to destroy a configuration. > > Below is a first design for a "backup before edit" option. If no > command is configured, then no backup will be made. If the backup

RFC: automatic backup of main.cf/master.cf before edit

2013-01-10 Thread Wietse Venema
With the option to edit master.cf will come new opportunities to destroy a configuration. Below is a first design for a "backup before edit" option. If no command is configured, then no backup will be made. If the backup command fails, then the postconf command will not edit the file.

Re: Understanding master.cf pickup daemon parameters

2013-01-10 Thread John Allen
I sympathize with you. i found that one of the best fairly agnostic how-tos is the one by Jeffery Posluns which can be found here or can be reached from the Postfix Docs site. JohnA On 09/01/2013 3:57 PM, R

postfix and cacti (snmp ?)

2013-01-10 Thread mancyb...@gmail.com
Hi All, I've put online a postfix+dovecot+mysql+roundcube server that will grow till serving around 1500 accounts. I've installed the usual cacti graphs, plus the beautiful percona suite for mysql's cacti plus some graphs for iops and iostat. I was lurking around for the best solution to graph

Re: Configurable sender address for recipient verification

2013-01-10 Thread Wietse Venema
Daniel L. Miller: > check_recipient_access = hash:/etc/postfix/maps/mailing_lists > reject_unverified_recipient, That works. > check_sender_access cdb:/etc/postfix/maps/mailing-list-targets, > reject_unverified_recipient You changed more than hash->cdb. Wietse