<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Racker Hacker &#187; sendmail</title> <atom:link href="http://rackerhacker.com/tag/sendmail/feed/" rel="self" type="application/rss+xml" /><link>http://rackerhacker.com</link> <description>Words of wisdom from a server administrator</description> <lastBuildDate>Wed, 25 Aug 2010 13:03:52 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>SquirrelMail: 127 Can&#039;t execute command</title><link>http://rackerhacker.com/2008/09/08/squirrelmail-127-cant-execute-command/</link> <comments>http://rackerhacker.com/2008/09/08/squirrelmail-127-cant-execute-command/#comments</comments> <pubDate>Mon, 08 Sep 2008 17:16:00 +0000</pubDate> <dc:creator>Major Hayden</dc:creator> <category><![CDATA[Posts]]></category> <category><![CDATA[php]]></category> <category><![CDATA[plesk]]></category> <category><![CDATA[sendmail]]></category> <category><![CDATA[squirrelmail]]></category><guid isPermaLink="false">http://rackerhacker.com/?p=327</guid> <description><![CDATA[I found a Plesk 8.3 server running RHEL 4 last month that was presenting errors when users attempted to send e-mail via SquirrelMail: ERROR: Email delivery error Server replied: 127 Can't execute command '/usr/sbin/sendmail -i -t -fsomeuser@somedomain.com'. The error was appearing because safe_mode was enabled and SquirrelMail was unable to drop e-mails into /usr/sbin/squirrelmail. After [...]]]></description> <content:encoded><![CDATA[<p>I found a Plesk 8.3 server running RHEL 4 last month that was presenting errors when users attempted to send e-mail via SquirrelMail:</p><p><code>ERROR:<br /> Email delivery error<br /> Server replied: 127 Can't execute command '/usr/sbin/sendmail -i -t -fsomeuser@somedomain.com'.</code></p><p>The error was appearing because safe_mode was enabled and SquirrelMail was unable to drop e-mails into /usr/sbin/squirrelmail.  After disabling safe_mode on the server, the users were able to send e-mails via SquirrelMail.</p><p>&copy;2010 <a href="http://rackerhacker.com">Racker Hacker</a>. All Rights Reserved.</p>.]]></content:encoded> <wfw:commentRss>http://rackerhacker.com/2008/09/08/squirrelmail-127-cant-execute-command/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Basic procmail configuration with spamassassin filtering</title><link>http://rackerhacker.com/2008/08/13/basic-procmail-configuration-with-spamassassin-filtering/</link> <comments>http://rackerhacker.com/2008/08/13/basic-procmail-configuration-with-spamassassin-filtering/#comments</comments> <pubDate>Wed, 13 Aug 2008 17:00:48 +0000</pubDate> <dc:creator>Major Hayden</dc:creator> <category><![CDATA[Posts]]></category> <category><![CDATA[postfix]]></category> <category><![CDATA[procmail]]></category> <category><![CDATA[sendmail]]></category> <category><![CDATA[spamassassin]]></category><guid isPermaLink="false">http://rackerhacker.com/?p=326</guid> <description><![CDATA[I've used this extremely basic procmail configuration a million times, and it's a great start for any server configuration. It passes e-mails through spamassassin (if they're smaller than 256KB) and then filters any e-mail marked as spam to /dev/null: LOGFILE=/var/log/procmail.log DROPPRIVS=yes :0fw &#124; /usr/bin/spamc :0 * ^X-Spam-Status: Yes /dev/null Of course, you can make this [...]]]></description> <content:encoded><![CDATA[<p>I've used this extremely basic procmail configuration a million times, and it's a great start for any server configuration.  It passes e-mails through spamassassin (if they're smaller than 256KB) and then filters any e-mail marked as spam to /dev/null:</p><p><code>LOGFILE=/var/log/procmail.log<br /> DROPPRIVS=yes</p><p>:0fw<br /> | /usr/bin/spamc</p><p>:0<br /> * ^X-Spam-Status: Yes<br /> /dev/null</code></p><p>Of course, you can make this much more complicated with some additional customization.</p><p>&copy;2010 <a href="http://rackerhacker.com">Racker Hacker</a>. All Rights Reserved.</p>.]]></content:encoded> <wfw:commentRss>http://rackerhacker.com/2008/08/13/basic-procmail-configuration-with-spamassassin-filtering/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>sendmail: savemail panic</title><link>http://rackerhacker.com/2008/02/18/sendmail-savemail-panic/</link> <comments>http://rackerhacker.com/2008/02/18/sendmail-savemail-panic/#comments</comments> <pubDate>Mon, 18 Feb 2008 18:56:37 +0000</pubDate> <dc:creator>Major Hayden</dc:creator> <category><![CDATA[mail]]></category> <category><![CDATA[sendmail]]></category><guid isPermaLink="false">http://rackerhacker.com/2008/02/18/sendmail-savemail-panic/</guid> <description><![CDATA[If you see a large mail queue and your system's I/O is increasing, you may find messages like these in your syslog: Losing q5/qfg9N5EwE3004499: savemail panic SYSERR(root): savemail: cannot save rejected email anywhere In this situation, there's some reason why sendmail cannot deliver e-mail to the postmaster address. There's a few issues that can create [...]]]></description> <content:encoded><![CDATA[<p>If you see a large mail queue and your system's I/O is increasing, you may find messages like these in your syslog:</p><p><code>Losing q5/qfg9N5EwE3004499: savemail panic<br /> SYSERR(root): savemail: cannot save rejected email anywhere</code></p><p>In this situation, there's some reason why sendmail cannot deliver e-mail to the postmaster address.  There's a few issues that can create this problem:</p><ul><li>Missing postmaster alias in /etc/aliases</li><li>Hard disk is full</li><li>The mail spool for the postmaster has the wrong ownership</li><li>The mbox file for the postmaster is over 2GB and procmail can't deliver the e-mail</li></ul><p>First, correct the situation that is preventing sendmail from delivering the e-mail to the postmaster user.  Then, stop sendmail, clear the e-mail queue, and start sendmail again.</p><p>I found this issue on a Red Hat Enterprise Linux 4 server and then found the solution on <a href="http://www.brandonhutchinson.com/savemail_panic_in_Sendmail.html">Brandon's</a> site.</p><p>&copy;2010 <a href="http://rackerhacker.com">Racker Hacker</a>. All Rights Reserved.</p>.]]></content:encoded> <wfw:commentRss>http://rackerhacker.com/2008/02/18/sendmail-savemail-panic/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching using memcached
Object Caching 345/377 objects using memcached
Content Delivery Network via cdn.rackerhacker.com

Served from: rackerhacker.com @ 2010-09-10 08:52:37 -->