Jump to content

Validrcpt entry in hero honda

From TetraWiki
Revision as of 14:33, 6 February 2015 by Biswajit (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Note:- email id should contain small letters

How to make entry in validrcpt Hero Honda(qmail) by Web Access

To have access of Hero Honda User's email creation Link we have to disable .htaccess file from server

Go to this location

  1. cd /var/www/html/hh

Now disable the htaccess file

  1. mv .htaccess htaccess

Now open this Link[1]

There are Two Options ADD and DELETE

Note:- when we click on Add or DELETE it will automatically reflect the changes in validrcptto.txt and validrcptto.cdb file over the server.


Once you Done enable the httaccess

  1. cd /var/www/html/hh
  2. mv htaccess .htaccess

Word of Caution

Ensure that files

/var/qmail/control/validrcpt.txt 
/var/qmail/control/validrcpt.cdb

are writable by apache users . Means the files should have 777 rights . Else these files will not get updated and the created user will not reflect .


Testing

To check entry of email_id

grep email_id@heromotocorp.com validrcptto.txt

To check entry of email_id in cdb file

strings validrcptto.cdb | grep "emai_id@heromotocorp.com" 

this will show the result

Note:- To test send email from other domain and watch the logs