Next Previous Contents

6.1 Checking your db

To check if authpostfix can write in your db, just:

  # export AUTHENTICATED=someuser@domain
  # export TCPREMOTEIP=:ffff::127.0.0.1
  # export LOGINDB=type:nameofdb
and manually run authpostfix with something like ./authpostfix. You should see nothing on the screen and have the prompt right back. If everything worked right, you should check the database to see if an entry for 127.0.0.1 has been added.

You may then cleanup the same db waiting a minute (or using 0) and executing /usr/sbin/authcleanup 1 type:nameofdb.

Again, you should see no output and it should immediately return. Check the db if everything went ok.

Once these tests have been made, any eventual error should be looked up in the configuration parameters.


Next Previous Contents