Override email from in DirectAdmin

DirectAdmin sometimes has an unwanted default email from when using a web form. There are 2 possible solutions:

  • Use an SMTP connector/plugin and configure it to use localhost
  • Override the EMAIL tag in the php fpm setting
    1. Go to Custom HTTPD Configurations
    2. Open the "php-fpm.conf" from the affected website/account
    3. InsideĀ php-fpm Global |CUSTOM1|
    4. Add the override, for example |?EMAIL=john.doe@example.com|
    5. Make sure to apply on all php versions
    6. Hit the save button


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 6327