welcome email template

knorde

Verified User
Joined
Feb 28, 2004
Messages
46
Hi all,

I want to change the welcome message with the account information for new users.

I found /usr/local/directadmin/data/users/admin/u_welcome.txt

But i want to change de subject and the "from".

I can't find it.

I hope you can help me :)

Greets Kees.
 
I find it in the controle panel itself. (sorry for my bad english i think :P)
Problem solved!

Gr. Kees.
 
Hello, I'm looking for the same thing as knorde was.

I'm in the process of translating everything, have found the a_welcome, r_welcome and u_welcome templates but can not find where to change the subjects. I would like all resellers to have their messages preformated in french with a french subject without having to change it themselves.

Any info on where I could start looking to find the subject template info would be great :)
 
In the reseller control panel, on the "create new user" page, you can update both the message and the subject.

Jeff
 
Yes I know however do I have to login as the reseller and update this for each reseller that I create? This is why I'm looking for the subject template as I have found the message template but not the subject one. It's not difficult to do but does take up some time if you have alot of resellers to setup ... :(
 
I don't know where the subject template is.

You might try creating a subject that won't appear normally, for example, abcdefghijklmn, and then grepping for it in the template directory.

Jeff
 
Thanks this is what I got :

Code:
lnx5002:/usr/local/directadmin/data/templates# grep -rn "Your account for" /usr/local/directadmin/
/usr/local/directadmin/scripts/user_to_reseller.sh:122: echo "subject=Your account for |domain| is now ready for use." >> ${RESELLER_CONF}
/usr/local/directadmin/scripts/fix_da_user.sh:155:add_to_file subject "Your account for \|domain\| is now ready for use." $FILE
/usr/local/directadmin/data/users/user1/reseller.conf:28:subject=Your account for |domain| is now ready for use.
/usr/local/directadmin/data/users/user2/reseller.conf:28:subject=Your account for |domain| is now ready for use.
/usr/local/directadmin/data/users/user3/reseller.conf:28:subject=Your account for |domain| is now ready for use.
Binary file /usr/local/directadmin/dataskq matches
Binary file /usr/local/directadmin/directadmin matches

and

Code:
lnx5002:/usr/local/directadmin/data/templates# grep -rn "abcdefgy" /usr/local/directadmin/
/usr/local/directadmin/data/admin/admin.conf:7:subject_admin=abcdefgy
lnx5002:/usr/local/directadmin/data/templates#

should I see if there is a admin.conf that I should copy to custom?
 
Last edited:
Ok so the admin subject is stored in the admin.conf
the reseller subject is stored in the reseller.conf

Both files are generated automaticaly by directadmin when you create a new reseller or a new admin, but I've found no information where the template used to create these files is stored. No files except the user to reseller script contain this text. And ideas what I should try?
 
I think there's a default script you can create that DirectAdmin will run when a new reseller is created; you can probably create something there to change the text in the reseller's conf file.

And you can probably create a small shell script to edit existing ones if you have the need.

Jeff
 
Back
Top