Ignore:
Timestamp:
05/18/10 18:08:12 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Update mailNotify to use new table notify to decide who to spam
with notices on various events. See #2.

  • existing notification calls updated. Still need to move calls into IPDB.pm's subs
  • IPDB.pm and MyIPDB.pm updated with new semiglobal vars for org name, SMTP host, domain. Will add others as needed so MyIPDB.pm can be moved to /etc/ipdb/ (see #17).

Internal allocation types will need to be rearranged somewhat to
make full use of the flexibility possible. See #20.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/MyIPDB.pm

    r320 r416  
    1919} # end connectDB_My()
    2020
     21# Set some globals declared in IPDB.pm.  Most of these only affect mailNotify().
     22# Note that while you *can* leave these at defaults, it's probably a Really Bad Idea.
     23#$IPDB::orgname = "Bob's Big Bonaza";
     24#$IPDB::smtphost = '127.0.0.1';
     25#$IPDB::domain = 'bob.com';
     26
    2127# Keep Perl from complaining.
    22281;
Note: See TracChangeset for help on using the changeset viewer.