Home Download News FAQ / Knowledge Base Screenshots Documentation Support Site map
philosophical imaginary
Table of Contents

How do i track down or follow mesages or users?

Checking whether a mail is deliverable

citadel offers you the sendcommand program, to do single api calls to it. One of these api calls is QDIR You could use it to test whether an email would be deliverable on this host. for example (called as root)

sendcommand "QDIR someuser@yourcitadel.org"

would check if someuser exists. (Note: the mail.aliases file isn't examined here for.)

Testing host based authentication

If you have chosen not to use citadels internal accounting, citadel forks an extra deamon on start check whether an password is right on the system or not (it needs root privileges for that, and thus starts this before dropping the privileges). You can however check this with the citadels chkpw program (you have to be root… ) Given /etc/passwd contains a line like that:

someuser:x:1000:100:Some User,,,:/home/someuser:/bin/bash

(where 1000 is the UID, and 100 is the GID) chkpw would be called like that:

root:~# /usr/lib/citadel-server/chkpw

 ** host auth mode test utility **

Starting chkpwd daemon for host authentication mode
Username: <you enter "someuser">
     uid: 1000
Username: <you enter "someuser">
     uid: 1000
<hit CTRL+C to stop it>

Hence it is not able to retrieve the UID you need to look for that. If password validation fails you need to trace this. This applies to ldap authentication too, since its done via pam.

Copyright © 1987-2014 Uncensored Communications Group. All rights reserved.     Login (site admin)