Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd December 2010, 21:57
finn finn is offline
HowtoForge Supporter
 
Join Date: Jun 2006
Posts: 25
Thanks: 12
Thanked 1 Time in 1 Post
Default how to change server wide php sendmail_path, when it is coded into each vhost

Hi guys!

I am trying to create a sendmail wrapper as detailed here:
http://www.howtoforge.com/how-to-log...tect-form-spam

But changing the server wide sendmail_path in php.ini has no effect, as in each vhost definition, there is a local override like so:

Code:
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@mydomain.com"
I guess this is created by ISPConfig, so how to I get ISPConfig to reconfigure all vhosts with a custom sendmail_path ?

I'm running ISPConfig 3.0.3, Ubuntu 2.6.31-22-server
Reply With Quote
Sponsored Links
  #2  
Old 4th December 2010, 12:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You could make a backup copy of /usr/sbin/sendmail and then create a symlink from /usr/sbin/sendmail to your sendmail wrapper.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
finn (7th December 2010)
  #3  
Old 7th December 2010, 11:54
finn finn is offline
HowtoForge Supporter
 
Join Date: Jun 2006
Posts: 25
Thanks: 12
Thanked 1 Time in 1 Post
Default

Thanks for that Falko, I guess that's the best way to proceed.
I was hoping that there might be a 'reconfigure vhosts' script which would pick up changes from the php.ini and propagate them to the vhost definitions.
Any plans for that sort of functionality in future?
Reply With Quote
  #4  
Old 8th December 2010, 17:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

AFAIK, such a function is not planned.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
ISPConfig virtual web pages not working mike_phi Installation/Configuration 8 7th May 2008 16:51
cacti problem - graphs have huge gaps Chip Installation/Configuration 7 7th February 2008 23:24


All times are GMT +2. The time now is 04:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.