Results 1 to 7 of 7

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

  1. #1
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,923

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

    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.
    Greetings, Richard.

  2. #2
    Join Date
    Jul 2017
    Location
    Murfreesboro
    Posts
    347
    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 by bdacus01; 07-16-2019 at 11:29 AM.
    Thanks,
    Brent Dacus
    Just a regular guy from Tennessee

    CentOS 7 | DA | CB 2.0 | MariaDB 10.4 | PHP 7.2

    help me...it's HERE or Type "your issue your os directadmin" in google


  3. #3
    Join Date
    Jul 2017
    Location
    Murfreesboro
    Posts
    347
    Code:
    To: email@mycompany.comFrom: accountname <email@mycompany.com>
    Sender: accountname <email@mycompany.com>
    Reply-To: accountname <email@mycompany.com> X-DirectAdmin-Sender: accountname

    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 by bdacus01; 07-16-2019 at 11:36 AM.
    Thanks,
    Brent Dacus
    Just a regular guy from Tennessee

    CentOS 7 | DA | CB 2.0 | MariaDB 10.4 | PHP 7.2

    help me...it's HERE or Type "your issue your os directadmin" in google


  4. #4
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,923
    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.
    Greetings, Richard.

  5. #5
    Join Date
    Jul 2017
    Location
    Murfreesboro
    Posts
    347
    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...
    Thanks,
    Brent Dacus
    Just a regular guy from Tennessee

    CentOS 7 | DA | CB 2.0 | MariaDB 10.4 | PHP 7.2

    help me...it's HERE or Type "your issue your os directadmin" in google


  6. #6
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,923
    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!
    Greetings, Richard.

  7. #7
    Join Date
    Jul 2017
    Location
    Murfreesboro
    Posts
    347
    Yeah.. I like to dig around in the system. I look at every screen and field when I get a new system.

    stay safe..
    Thanks,
    Brent Dacus
    Just a regular guy from Tennessee

    CentOS 7 | DA | CB 2.0 | MariaDB 10.4 | PHP 7.2

    help me...it's HERE or Type "your issue your os directadmin" in google


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •