|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: RE: How do I see what's in a .db file
From: Mario Laniel (lanielm
ccgsjc.com)Date: Tue Jun 20 2000 - 12:15:54 CDT
- Next message: Wietse Venema: "Re: Preventing email abuse"
- Previous message: Andy Dills: "Re: dnscache"
- In reply to: Mailing List Account: "RE: How do I see what's in a .db file ( typo)"
- Next in thread: Mailing List Account: "RE: How do I see what's in a .db file"
- Next in thread: Bennett Todd: "Re: How do I see what's in a .db file"
- Reply: Mario Laniel: "RE: How do I see what's in a .db file"
- Reply: Mailing List Account: "RE: How do I see what's in a .db file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've got the db_dump, but it does not show me what is actually in the file.
-----Original Message-----
From: owner-postfix-users
postfix.org
[mailto:owner-postfix-users
postfix.org]On Behalf Of Mailing List
Account
Sent: Tuesday, June 20, 2000 7:04 AM
To: postfix-users
postfix.org
Subject: RE: How do I see what's in a .db file ( typo)
At 11:19 AM 6/20/00, Mario Laniel wrote:
>transport entry, I'm not sure I gor it right. Is there a way to look at the
>.db file and since were on the subject, what is the right syntax to create
>one of those.
In my /usr/bin is a program called db_dump (which was installed as part of
RedHat's glibc-2.1.3.2 package)
Here is a script I use to prompt me for the correct syntax when I forget it:
#!/bin/bash
if [ "$1" = "" ]
then
echo usage: db-dump /full/path/to/db
exit 0
fi
/usr/bin/db_dump -p $1
This is a RedHat 6.1 box -- YMMV on other OS's
Creation syntax:
In relation to postfix, I just use the postmap or postalias command,
whichever is appropriate to the format of the file. I actually have a
script that runs all the remaps each time I do an update:
#!/bin/bash
cd /etc/postfix
/usr/sbin/postalias aliases
/usr/sbin/postalias listar-program
/usr/sbin/postalias listar
/usr/sbin/postmap virtusertable
/usr/sbin/postmap access
Best,
Scott Temaat, President/CEO
SOHOWeb Technologies, LLC (http://www.sohoweb.net)
Sales/Admin: 888-421-SOHO Customer Service: 888-421-7981
Now Available: Web Presence services custom-fitted to your small business
needs and budget. No more one size fits all! Details at
http://www.smallbizhost.net
- Next message: Wietse Venema: "Re: Preventing email abuse"
- Previous message: Andy Dills: "Re: dnscache"
- In reply to: Mailing List Account: "RE: How do I see what's in a .db file ( typo)"
- Next in thread: Mailing List Account: "RE: How do I see what's in a .db file"
- Next in thread: Bennett Todd: "Re: How do I see what's in a .db file"
- Reply: Mario Laniel: "RE: How do I see what's in a .db file"
- Reply: Mailing List Account: "RE: How do I see what's in a .db file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]