Dear Rajesh,

Please refer to the url mentioned below to solve your problem:

http://wiki.qmailtoaster.org/index.php/Chkuser

Chkuser

>From QMail-Toaster

chkuser configuration is not configurable on the fly. Configuration settings
currently in use are documented at /var/qmail/doc/chkuser_settings.h. 

To tailor your chkuser settings, use the following procedure (provided by
Nick): 

 # rpm -Uvh qmail-toaster*.src.rpm

 # cd /usr/src/redhat/SPECS (assuming you are using CentOS 4)

edit qmail-toaster.spec. find 'sleep 5' (should be line 606). change 5 to
300 (5 seconds to 300 seconds). save. 

 # rpmbuild -bb --with cnt40 qmail-toaster.spec

(use the appropriate --with value for your distro) 

When the build process pauses, open another terminal and edit
/usr/src/redhat/BUILD/qmail-1.03/chkuser_settings.h to your liking. You have
5 minutes (or whatever you changed the sleep parameter to). Save your
changes and wait for the 300 seconds to expire and watch it build. 

Search for 

#define CHKUSER_RCPT_MX    (4th statement from below in the
chkuser_settings.h file)

Modify the line to comment it.

Before change : 

#define CHKUSER_RCPT_MX

After Change :

/* #define CHKUSER_RCPT_MX */

 

Then save the file and let the rpm rebuild

 

 # cd ../RPMS/i386/

 # qmailctl stop

 # rpm -Uvh --replacefiles --replacepkgs qmail-*.rpm

 # qmailctl start

That's the procedure for now. 

 

Regards,

 

Anil Aliyan

 

 

____________________________________________________________________________
________________________________

hi

 

i use squirrelmail

 

when customers send emails to a number of people from webmail then if there
is one address that is wrong the message that is shown is

 

#5.1.1 chkuser - can't find valid MX for rcpt domain

 

however the exact domain name where the problem exists is not shown

 

here i see two ways out

 

a) either i get the exact email id which has the problem, but i am not sure
whether squirrelmail needs to be modified or chkuser --- this would be
ideal.

 

b) the easy way -- disable chkuser MX checks for webmail users so that the
bad email id bounces back after some time. could you please guide me on how
to do this ?

 

thanks

rajesh

 

 

 

 

 

 

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

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: qmailtoaster-list-unsubscr...@qmailtoaster.com

     For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com

Reply via email to