chkuser 2.0 FAQ - General questions

This page contains questions and answers relative to how chkuser works, settings, etc..

Questions and answers


Which domains are checked by chkuser?

chkuser handles all domains who are in rcpthosts (or morercpthosts) and inside virtualdomains.

If the domain is only inside rcpthosts (or morercpthosts), no checking is done.

So, if you are a backup MX domains, and want just to accept messages for some domains without checking any recipient, be sure your domain is in rcpthosts but not in virtualhosts (and create an entry in smtproutes if you need so).

How to disable SENDER checking for my private authorized senders?

Enable (uncomment) the following define, and set it to RELAYCLIENT.

#define CHKUSER_SENDER_NOCHECK_VARIABLE "RELAYCLIENT"

Thanks to Alex Pleiner for this tip.

How to disable chkuser for my private authorized senders?

Enable (uncomment) the following define, and set it to whatever value.

#define CHKUSER_DISABLE_VARIABLE "CHKUSER_DISABLE_VARIABLE"

How can I create a "submission port"?

chkuser feature CHKUSER_EXTRA_MUSTAUTH_VARIABLE can force qmail-smtpd to accept only messages from authenticated users (it happens when RELAYCLIENT is set).

In order to enable this feature, you must run qmail-smtpd on 587 port, and qmail-smtpd must be compiled with the following define set:

#define CHKUSER_EXTRA_MUSTAUTH_VARIABLE "CHKUSER_MUSTAUTH"

At run time, when CHKUSER_MUSTAUTH is defined, only authenticated messages are accepted.

   
© 2005 Realizzato da Inter@zioni