madmac wrote:
Hi eric
So on the link below, it says we can change things if we dont like them
eg:
*CHKUSER_RCPTFORMAT_STRING* 2.0.5 defined "511 sorry, recipient address has invalid format (#5.1.1 - chkuser)\r\n" Error handled by chkuser and emitted by qmail-smtpd as error response. You may *change it , if you don't like it*

Where do we disable this , and do we need to recompile chkuser when changed.

What you've referred to (CHKUSER_RCPTFORMAT_STRING) is the text of a message. Disabling the check is different than changing the message associated with the error.

You can change the behavior of chkuser in any of 3 places:
1) chkuser.h file, which is the source code. This requires a rebuild and reinstall of the qmail-toaster package. Follow instructions on the wiki to do this. 2) tcp.smtp file, changes can be applied selectively by sender's ip address. Add an environment variable for the setting(s) you want to change. 3) supervise run file, which will apply the change globally (smtp and/or submission). Add an environment variable, same as #2.

HTH.

Thanks

Eric Shubert wrote:
Michael Colvin wrote:
Is it easily possible to disable the chkuser functionality in the toaster?
I want to use it, for obvious reasons, but need to do some account
verification for domains I filter spam for, before implementing chkuser.


Michael J. Colvin
NorCal Internet Services
www.norcalisp.com

See http://www.interazioni.it/opensource/chkuser/documentation/chkuser_settings.html You should be able to change settings by adding corresponding variables to your tcp.smtp file. You could also add desired variables to the /var/qmail/supervise/smtp/run (or submission/run) file to implement them on a global basis.


---------------------------------------------------------------------------------


--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to