Jump to content

Help:Contents: Difference between revisions

From TetraWiki
Created page with " == How to Create email id in Hero Honda(qmail) == ---- '''Go to this location''' #cd /var/qmail/control/ make backup of file validrcptto.txt #cp validrcptto.txt validrcptto...."
 
Line 1: Line 1:


== How to Create email id in Hero Honda(qmail) ==


== How to make entry in validrcpt Hero Honda(qmail) ==
Note:- email id should contain small letters
----
----
'''Go to this location'''
'''Go to this location'''
Line 13: Line 14:
move to the end of file
move to the end of file


enter email_id her
enter email_id here


#email_id@heromotocorp.com
#email_id@heromotocorp.com
Line 35: Line 36:


Note:- To test send email from other domain and watch the logs
Note:- To test send email from other domain and watch the logs
== 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'''
#cd /var/www/html/hh
Now disable the htaccess file
#mv .htaccess htaccess
Now open this Link[http://smtp1.heromotocorp.com/hh]
'''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'''
#cd /var/www/html/hh
#mv htaccess .htaccess

Revision as of 05:52, 18 September 2014


How to make entry in validrcpt Hero Honda(qmail)

Note:- email id should contain small letters


Go to this location

  1. cd /var/qmail/control/

make backup of file validrcptto.txt

  1. cp validrcptto.txt validrcptto.txt.DD.MM.YYYY

Now Open validrcptto.txt file

  1. vi validrcptto.txt

move to the end of file

enter email_id here

  1. email_id@heromotocorp.com

wq! (save the file)

To check entry of email_id

  1. grep email_id@heromotocorp.com validrcptto.txt


Make entry in Validrcptto Database File

run this command

  1. cdbmake-12 validrcptto.cdb validrcptto.tmp < validrcptto.txt

To check entry of email_id in cdb file

  1. 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


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