Jump to content

Validrcpt entry in hero honda: Difference between revisions

From TetraWiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:


Note:- when we click on Add or DELETE it will automatically reflect the changes in validrcptto.txt and validrcptto.cdb file over the server.
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'''
'''Once you Done enable the httaccess'''
#cd /var/www/html/hh
#cd /var/www/html/hh
#mv htaccess .htaccess
#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

Latest revision as of 14:33, 6 February 2015


Note:- email id should contain small letters

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

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[edit]

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[edit]

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