Changing "Return-Path"

Discussion in 'Server Operation' started by trcinc1, Dec 26, 2006.

  1. trcinc1

    trcinc1 New Member HowtoForge Supporter

    I am trying out PHPList for newsletters (could not find Mailgust) and am having trouble with the Return-Path. (Using FC5-64bit with ISPConfig and several sites)

    I'm looking for some help on where I can make changes.

    Here is what I see on my current Return-Path's:

    Logwatch emails - Return-Path: <[email protected]>

    Denyhosts - Return-Path: <[email protected]>

    Normal email from a domain on ISPConfig - Return-Path: <[email protected]>

    Using PHPLIST(mass-email) - Return-Path: <[email protected]>

    I've read about possible changing the sendmail arguments (-f [email protected]) in php.ini.

    Here is my php.ini files:
    /etc/php.ini =
    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    sendmail_path = /usr/sbin/sendmail -t -i

    /root/ispconfig/php/php.ini =
    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ;sendmail_path =

    Is it as simple as changing the aruments?

    Thanks, Dave
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can change the arguments in the php.ini, but this will set the return path for all emails sent trough PHP.

    Better change the return path by setting the correct email header in your PHPLIST software. I dont know this special mailing software, but I guess that they provide a configuration setting for this.
     
  3. trcinc1

    trcinc1 New Member HowtoForge Supporter

    Perfect. Got it working. I should have just asked "would this effect all emails" like you answered me in your first sentence.

    Thanks again,

    Dave
     

Share This Page