Let DA system send from email address instead from linux account on account creation

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
At this moment, on account creation, Directadmin is sending mails to customers including the linux accountname.

Like:
From: user1 <service@mycompany.com>

so the correct from email address is used, but in mail clients like Outlook, the linux accountname (in this case user1) is visible, which gives a strange impression to the user.

I've talked about this here:
https://forum.directadmin.com/showthread.php?t=58168

and this is an example on how messages on account creation are being send:
Code:
Return-Path: <diradmin@server.servername.nl>
Delivered-To: email@mycompany.com
Received: from server.servername.nl
	by server.servername.nl with LMTP
	id wP8lHyJTIl1oDQAAHpO1Kg
	(envelope-from <diradmin@server.servername.nl>)
	for <email@mycompany.com>; Sun, 07 Jul 2019 22:16:34 +0200
Return-path: <diradmin@server.servername.nl>
Envelope-to: email@mycompany.com
Delivery-date: Sun, 07 Jul 2019 22:16:34 +0200
Received: from diradmin by server.servername.nl with local (Exim 4.92)
	(envelope-from <diradmin@server.servername.nl>)
	id 1hkDaM-0001jm-6A
	for email@mycompany.com; Sun, 07 Jul 2019 22:16:34 +0200
To: email@mycompany.com
From: accountname <email@mycompany.com>
Sender: accountname <email@mycompany.com>
Reply-To: accountname <email@mycompany.com>
X-DirectAdmin-Sender: accountname
Looks to me, it would be more professional (and less confusing to users) when the linux accountname is not used but only the email address.

This is only happening when creating an account manually.

When creating via API, my company name is used. When Softaculous for example is used, my company name is used too instead of the linux accountname. This can be set up.

It would be nice if in Directadmin too a name to be used could be configured, for admins as well as for resellers.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
551
Location
Murfreesboro
Hey Richard
Are you looking to "send" mail out with a certain Name?

Isn't that in Show User Data > Account info . Name. Test below.

Screen Shot 2019-07-16 at 13.18.40.pngScreen Shot 2019-07-16 at 13.16.10.png
 
Last edited:

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
551
Location
Murfreesboro
Code:
[COLOR=#3E3E3E]To: email@mycompany.com[/COLOR]From: accountname <email@mycompany.com>
Sender: accountname <email@mycompany.com>
Reply-To: accountname <email@mycompany.com> [COLOR=#3E3E3E]X-DirectAdmin-Sender: accountname[/COLOR]

Code:
From: Brent Dacus <tech@test.com>
Sender: Brent Dacus <tech@test.com>
Reply-To: Brent Dacus <tech@test.com>
X-DirectAdmin-Sender: admin
Only one it doesn't change is X-directadmin
 
Last edited:

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
Thank you very much!

Indeed under "view users data" but you have to be logged in as admin to change this. That's why I did not see it before.
So I can change it for my users as reseller but not for myself.

So I would like to keep the feature request so that it can be made that resellers can change this themselves.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
551
Location
Murfreesboro
Oh true. You have to be admin. You would have to contact the Hosting company you resell for so they could set your Name to whatever you like currently. I assumed you were the owner of the box. Glad a New Kid could help...
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
I'm not the owner, but luckily I have admin access because I do the maintenance of the servers.

Indeed nice that you found it out that quickly! :)
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
551
Location
Murfreesboro
Yeah.. I like to dig around in the system. I look at every screen and field when I get a new system.

stay safe..
 
Top