How to change email address from which Directadmin sends emails

da tips

If you want DirectAdmin to send emails from admin@domain.com instead of admin@hostname.domain.com. Here is how you can do it.

Enhanced Skin

First of all connect to DirectAdmin as admin. Then:

  • Click “List Administrators” if you want to change email for an admin, or click “List Resellers” if you want to change email for a reseller.
  • Select an user and click on its name, e.g. admin.
  • Click the right button with “admin\’s User Data” for the admin.
  • Scroll the page down to the its middle and find a row with “E-Mail
  • Change the email address and click “Save E-mail” button.

Here you can see a picture on how it should look like in the Enhanced skin of the panel:

Change Admin E-mail in Directadmin with Enhanced Skin

That\’s it.

Evolution Skin

First of all connect to DirectAdmin as admin. Then:

  • Select “Account Manager” option in the top menu
  • Then click/tap “List Administrators” in the dropped menu
  • Select an user by a click/tap on it\’s name.
  • Then a button “ACTIONS” -> “Show User Data
  • Go to an “Account Info” tab
  • Find “E-mail”, change it and click/tap “Save E-Mail”

Here you can see a picture on how it should look like in the Evolution skin of the panel:

Change Admin E-mail Address in Directadmin with Evlolution Skin

That\’s it

Using SSH

A user\’s email is stored in a line email= of user.conf and ticket.conf. For admin it will be:

/usr/local/directadmin/data/users/poralix/admin/user.conf

To change do the following (as root in SSH):

cd /usr/local/directadmin/data/users/admin/
vi user.conf

Find a line beginning with email= and change it, save the file.

Do the same with ticket.conf.

That\’s it.

 

Source

4.7/5 - (187 bình chọn)
Để lại một bình luận

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *