<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for groogsblog</title>
	<atom:link href="http://gregmaclellan.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregmaclellan.com/blog</link>
	<description>stuff about anything</description>
	<pubDate>Thu, 21 Aug 2008 19:12:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on Sendmail Wrapper by Jeffrey Huckaby</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-2521</link>
		<dc:creator>Jeffrey Huckaby</dc:creator>
		<pubDate>Wed, 25 Apr 2007 21:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-2521</guid>
		<description>I've attempted to use various wrapper scripts to help with tracking down spam, but have found most too slow or cpu intensive to implement in busy environments.

Does any one have performance notes on this wrapper?  

What I would like to see is a way to override the mail function in PHP and auto-include some additional headers.  On many shared hosting environments, such as Plesk, Ensim or cPanel based systems, you can add some settings within apache on a per site basis.  Perhaps some way to use php admin flags or apache's own environment variables could be useful.

For example, if I were to set an apache env variable to have the site's admin user name could this be logged or otherwise inserted into the email using your script?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve attempted to use various wrapper scripts to help with tracking down spam, but have found most too slow or cpu intensive to implement in busy environments.</p>
<p>Does any one have performance notes on this wrapper?  </p>
<p>What I would like to see is a way to override the mail function in PHP and auto-include some additional headers.  On many shared hosting environments, such as Plesk, Ensim or cPanel based systems, you can add some settings within apache on a per site basis.  Perhaps some way to use php admin flags or apache&#8217;s own environment variables could be useful.</p>
<p>For example, if I were to set an apache env variable to have the site&#8217;s admin user name could this be logged or otherwise inserted into the email using your script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Martin</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-2398</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 23 Apr 2007 15:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-2398</guid>
		<description>update - with $PWD

#!/bin/sh
logfile=/var/log/wrapperlog
(date; echo " &#124; $# &#124; $PWD &#124; $@") &#62;&#62; $logfile
exec /usr/lib/sendmail "$@"</description>
		<content:encoded><![CDATA[<p>update - with $PWD</p>
<p>#!/bin/sh<br />
logfile=/var/log/wrapperlog<br />
(date; echo &#8221; | $# | $PWD | $@&#8221;) &gt;&gt; $logfile<br />
exec /usr/lib/sendmail &#8220;$@&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Martin</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-2395</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 23 Apr 2007 14:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-2395</guid>
		<description>I have trouble running this script; maybe because phpinfo() shows php is compiled with --disable-cli

Is there a useful alternative using Perl?

I found a simple shellscript that (should) drop number of params and all parameters given to a logfile and pipe to sendmail:

#!/bin/sh
logfile=/var/log/wrapperlog
(date; echo " &#124; $# &#124; $@") &#62;&#62; $logfile
exec /usr/lib/sendmail "$@"</description>
		<content:encoded><![CDATA[<p>I have trouble running this script; maybe because phpinfo() shows php is compiled with &#8211;disable-cli</p>
<p>Is there a useful alternative using Perl?</p>
<p>I found a simple shellscript that (should) drop number of params and all parameters given to a logfile and pipe to sendmail:</p>
<p>#!/bin/sh<br />
logfile=/var/log/wrapperlog<br />
(date; echo &#8221; | $# | $@&#8221;) &gt;&gt; $logfile<br />
exec /usr/lib/sendmail &#8220;$@&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter by Charlie Amherst</title>
		<link>http://gregmaclellan.com/blog/codeigniter/#comment-2334</link>
		<dc:creator>Charlie Amherst</dc:creator>
		<pubDate>Sat, 21 Apr 2007 19:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/codeigniter/#comment-2334</guid>
		<description>*applauds*</description>
		<content:encoded><![CDATA[<p>*applauds*</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Ed Bellamy</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-2324</link>
		<dc:creator>Ed Bellamy</dc:creator>
		<pubDate>Sat, 21 Apr 2007 09:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-2324</guid>
		<description>Also - every time I submit a form, I get 500Mb in my error log. I've tried with register_globals =On and Off</description>
		<content:encoded><![CDATA[<p>Also - every time I submit a form, I get 500Mb in my error log. I&#8217;ve tried with register_globals =On and Off</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Martin</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-2312</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Fri, 20 Apr 2007 23:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-2312</guid>
		<description>Cool script. I have trouble running it under Suse 10.1 (PHP5) Maybe its the safemode=on. I will investigate...
Two lines drop warnings; $ENV["PWD"] and $data are not initialized.(line 25 and 35 or so)</description>
		<content:encoded><![CDATA[<p>Cool script. I have trouble running it under Suse 10.1 (PHP5) Maybe its the safemode=on. I will investigate&#8230;<br />
Two lines drop warnings; $ENV["PWD"] and $data are not initialized.(line 25 and 35 or so)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Ed Bellamy</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-2308</link>
		<dc:creator>Ed Bellamy</dc:creator>
		<pubDate>Fri, 20 Apr 2007 22:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-2308</guid>
		<description>My installation (PHP4, FC3) delays form processing confirmation, but doesn't log to the folder /var/log/phpmail

Any ideas?</description>
		<content:encoded><![CDATA[<p>My installation (PHP4, FC3) delays form processing confirmation, but doesn&#8217;t log to the folder /var/log/phpmail</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Two Days to LNP by Matt Simpson</title>
		<link>http://gregmaclellan.com/blog/two-days-to-lnp/#comment-2287</link>
		<dc:creator>Matt Simpson</dc:creator>
		<pubDate>Fri, 20 Apr 2007 16:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/two-days-to-lnp/#comment-2287</guid>
		<description>Yeah I agree, LNP is is fantastic. Is it totally portable in Canada though? Can I change my cell phone number over to a VOiP phone? My VOiP number to a cell phone?</description>
		<content:encoded><![CDATA[<p>Yeah I agree, LNP is is fantastic. Is it totally portable in Canada though? Can I change my cell phone number over to a VOiP phone? My VOiP number to a cell phone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Francesco</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-1850</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Fri, 13 Apr 2007 11:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-1850</guid>
		<description>Sorry again. ;)
19a20,26
&#62; if($argc &#62; 1)
&#62; {
&#62;     for($i = 1; $i &#60; $argc; $i++)
&#62;     {
&#62;         $sendmail .= " " . $argv[$i];
&#62;     }
&#62; }</description>
		<content:encoded><![CDATA[<p>Sorry again. ;)<br />
19a20,26<br />
&gt; if($argc &gt; 1)<br />
&gt; {<br />
&gt;     for($i = 1; $i &lt; $argc; $i++)<br />
&gt;     {<br />
&gt;         $sendmail .= &#8221; &#8221; . $argv[$i];<br />
&gt;     }<br />
&gt; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sendmail Wrapper by Francesco</title>
		<link>http://gregmaclellan.com/blog/sendmail-wrapper/#comment-1849</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Fri, 13 Apr 2007 11:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://gregmaclellan.com/blog/?p=18#comment-1849</guid>
		<description>Sorry, the right code is:
&lt;code&gt;
19a20,26
&#62; if($argc &#62; 1)
&#62; {
&#62;     for($i = 1; $i      {
&#62;         $sendmail .= " " . $argv[$i];
&#62;     }
&#62; }
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, the right code is:<br />
<code><br />
19a20,26<br />
&gt; if($argc &gt; 1)<br />
&gt; {<br />
&gt;     for($i = 1; $i      {<br />
&gt;         $sendmail .= " " . $argv[$i];<br />
&gt;     }<br />
&gt; }<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
