1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PLESK-cfg files individual by each user

Discussion in 'Plesk for Linux - 8.x and Older' started by unlock, Aug 15, 2007.

  1. unlock

    unlock Guest


    i have a PLESK 8.2 installed on FreeBSD 6.1.
    After creation new account, plesk generates user conf like:
    I want to ask PLESK, what it need to put a new string in this file (not defaults) like:

    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -php-sender-domain.ru@domain.com"

    It can`t be placed on main config, becouse i need use an individual mail address for each domain.

    So, after creation, i need to put this line to new user config automatically.
    How i can do it? Any ideas?
  2. breun

    breun Golden Pleskian

    Jun 28, 2005
    Likes Received:
    If you want to add or override any domain's settings you have to create a file called vhost.conf in the domain's conf dir and run websrvmng to have Plesk include an Include statement for that vhost.conf file (use vhost_ssl.conf for https). (Search the forums for more info on vhost.conf, I have been telling this story one time too many now.)

    If you want to create the file automatically you can put it in the skeleton. You can use the variable @domain_name@ in the file in the skeleton and Plesk will replace that with the domain's real name when a domain is created.