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

Postfix + PHP Mailer - Change User

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by LloydD, Aug 31, 2012.

  1. LloydD

    LloydD Basic Pleskian

    19
    60%
    Joined:
    Jul 18, 2010
    Messages:
    92
    Likes Received:
    0
    Location:
    Suffolk, UK
  2. Faris Raouf

    Faris Raouf Silver Pleskian Plesk Guru

    31
    30%
    Joined:
    Mar 15, 2009
    Messages:
    667
    Likes Received:
    17
    You can change this in php.ini on a global scale. Just look for the commented section about email.

    I've had some success in changing if for individual domains using vhost.conf with mod_php but it should deflinitely work using the php settings tab when using php in fastcgi mode.
     
  3. LloydD

    LloydD Basic Pleskian

    19
    60%
    Joined:
    Jul 18, 2010
    Messages:
    92
    Likes Received:
    0
    Location:
    Suffolk, UK
    Hmm, no that didn't work.
    It changed it in php info but the CreLoaded mailer ignored it.
    I think it must be this CRELoaded "sendmail" setup.
    I will look it to it some more over the weekend.
     
    Last edited: Aug 31, 2012
  4. Faris Raouf

    Faris Raouf Silver Pleskian Plesk Guru

    31
    30%
    Joined:
    Mar 15, 2009
    Messages:
    667
    Likes Received:
    17
    Sorry to hear it didn't work :-(
     
  5. burnleyvic

    burnleyvic Regular Pleskian

    17
    85%
    Joined:
    Nov 9, 2011
    Messages:
    174
    Likes Received:
    1
    You should rather fix the php mailer script instead, it's broken. See http://php.net/manual/en/function.mail.php - you can use the 5th parameter to specify the envelope sender address.
     
Loading...