Re: Programatically changing posfix aliases ?

From: Joshua J. Kugler (no email)
Date: Tue Apr 03 2007 - 14:22:41 EDT

  • Next message: Victor Duchovni: "Re: Duplicate email between two users"

    On Monday 02 April 2007 23:44, Mark Watts wrote:
    > > On 2-Apr-07, at 1:25 PM, Victor Duchovni wrote:
    > > > On Mon, Apr 02, 2007 at 12:28:45PM +0000, Mark Watts wrote:
    > > >> Is there a way to programmatically add or modify the postfix
    > > >> aliases database,
    > > >> in a similar way to using "postconf -e" edits main.cf ?
    > > >
    > > > Use an SQL database.
    > >
    > > Or LDAP? Speaking of which, do you have an on which you would prefer?
    > > I am finding LDAP to be a big learning curve, but it seems that once
    > > you do that, it is easier to make work with a wide varity of
    > > programs, than an SQL db, which I guess is the point.
    >
    > Both of these are a overkill for my requirements.
    > I need to change the "root" alias on 130 systems to forward mail off-box.
    > I already have a mechanism to run commands on all boxes, I just wanted
    > something simple to change this one alias.

    sed?

    j

    -- 
    Joshua Kugler                           
    Lead System Admin -- Senior Programmer
    http://www.eeinternet.com
    PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
    PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111
    

  • Next message: Victor Duchovni: "Re: Duplicate email between two users"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD