<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="/static/rss.xsl"?>
<!-- name="generator" content="blosxom/2.1.2+dev" -->
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:cc="http://web.resource.org/cc/"
     xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:wfw="http://wellformedweb.org/CommentAPI/" >
  <channel>
    <!-- RSS required -->
    <title>Blogging is futile   </title>
    <!-- <link>http://noone.org/blog</link> -->
    <description>Yet another Blosxom weblog from someone who promised himself to never start blogging - since blogging is futile.</description>

    <!-- RSS optional -->
    <pubDate>Mon, 21 May 2012 13:41:32 +0200</pubDate>
    <lastBuildDate>Mon, 21 May 2012 13:41:32 +0200</lastBuildDate>
    <copyright>&amp;copy; 2005-2008 by Axel Beckert. Content licensed under the Creative Commons NC SA 2.0 DE License. Some rights reserved.</copyright>
    <language>en</language>
    <managingEditor>abe+blog@deuxchevaux.org (Axel Beckert)</managingEditor>
    <webMaster>abe+blog@deuxchevaux.org (Axel Beckert)</webMaster>
    <generator>blosxom/2.1.2+dev</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>42</ttl>
    <image>
        <url>http://noone.org/static/XTaran1.3t.png</url>
        <title>Hackergotchi: Axel "XTaran" Beckert</title>
        <link>http://noone.org/blog</link>
        <width>102</width>
        <height>104</height>
    </image>

    <!-- Dublin Core -->
<!--
    <dc:publisher>Axel Beckert (abe+blog@deuxchevaux.org)</dc:publisher>
    <dc:rights>&copy; 2005-2008 by Axel Beckert. Content licensed under the Creative Commons NC SA 2.0 DE License. Some rights reserved.</dc:rights>
    <dc:language>de</dc:language>
    <dc:language>en</dc:language>
    <dc:title>Blogging is futile   </dc:title>
    <dc:subject>Rants and brain dumps about Debian, the Web, old Hardware, old Citroëns and the daily life of an ETHZ system administrator</dc:subject>
    <dc:description>Yet another Blosxom weblog from someone who promised himself to never start blogging - since blogging is futile.</dc:description>
-->

    <!-- Others -->
    <admin:generatorAgent rdf:resource="http://blosxom.sourceforge.net/" />
    <admin:errorReportsTo rdf:resource="mailto:abe+blog@deuxchevaux.org" />
    <cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/de/">http://creativecommons.org/licenses/by-nc-sa/2.0/de/</cc:license>

  <item>
    <title>automounter vs procmail</title>
    <slash:department>posthamster</slash:department>
    <slash:section>English &amp;raquo; Computer &amp;raquo; Mail</slash:section>
    <link>http://noone.org/blog/English/Computer/Mail/automounter%2520vs%2520procmail.html</link>
    <guid isPermaLink="true">http://noone.org/blog/English/Computer/Mail/automounter%2520vs%2520procmail.html</guid>
    <pubDate>Wed, 07 Dec 2011 00:10:18 +0100</pubDate>
    <author>abe+blog@deuxchevaux.org (Axel Beckert)</author>
    <description>
At work we use &lt;code class=&quot;file&quot;&gt;.procmailrc&lt;/code&gt; files generated
by &lt;a href=&quot;http://www.wagemakers.be/english/programs/cgipaf&quot;
class=&quot;ext&quot; &gt;CGIpaf&lt;/a&gt; to let non-technical users create forwards,
out-of-office mails, etc. and any combination thereof. This also has
the advantage that we can filter out double bounces and spam (which
also prevents us from being listed in spammer blacklists).

&lt;/p&gt;&lt;p&gt;

Unfortunately autofs (seems independent if autofs4 or autofs5 is used)
seems to be unreliable if there are bursts of mount or umount
requests, resulting either in &amp;#8220;File or directory not found&amp;#8221; error
message while trying to access the home directory of a user, or
&amp;#8220;Directory not empty&amp;#8221; error messages if the automounter tries to
remove the mount point after unmounting. In that case a not mounted
directory owned by root is left over.

&lt;/p&gt;&lt;p&gt;

In the end both cases lead to procmail behaving as if that user does
not have a &lt;code class=&quot;file&quot;&gt;.procmailrc&lt;/code&gt; &amp;#8211; which looks like
sporadically lost mails to those who forward all mails. (The mails
then can be found in the local default INBOX for that user.)

&lt;/p&gt;&lt;p&gt;

Additionally there are similar issues when the NFS servers are not
available.

&lt;/p&gt;&lt;p&gt;

The most effective countermeasure we found so far was adding tests to
the global &lt;code class=&quot;file&quot; &gt;/etc/procmailrc&lt;/code&gt; to check if the
user&amp;#8217;s home directory exists and belongs to the correct user:

&lt;/p&gt;&lt;pre&gt;
&amp;#35; -----------------
&amp;#35; Global procmailrc
&amp;#35; -----------------

&amp;#35; For debugging, turn off if everything works well
VERBOSE=1
LOGFILE=/var/log/procmail.log

&amp;#35; This only works with bourne shells, $SHELL defaults to the user&apos;s
&amp;#35; login shell. And by experience dash seems not work, so we use &lt;a href=&quot;http://www.gnu.org/software/bash/&quot; class=&quot;ext&quot;&gt;bash&lt;/a&gt;.
OLDSHELL=$SHELL
SHELL=/bin/bash

&amp;#35; temporary failure (see EX_TEMPFAIL in /usr/include/sysexits.h) if
&amp;#35; $LOGNAME is not set for some reason. (Just to be sure our paths
&amp;#35; later on are not senseless.
:0
* ? test -z &quot;$LOGNAME&quot;
{
    LOG=&quot;Expected variable LOGNAME not set. &quot;
    EXITCODE=75
    :0
    /dev/null
}

&amp;#35; temporary failure (see EX_TEMPFAIL in /usr/include/sysexits.h) if
&amp;#35; $HOME is not readable. ~$LOGNAME does not seem to work, so this uses
&amp;#35; a hard wired /home/.
:0
* ? test ! -r /home/$LOGNAME
{
    LOG=&quot;Home of user $LOGNAME not readable: /home/$LOGNAME &quot;
    EXITCODE=75
    :0
    /dev/null
}

&amp;#35; temporary failure (see EX_TEMPFAIL in /usr/include/sysexits.h) if
&amp;#35; $HOME has wrong owner. ~$LOGNAME does not seem to work, so this uses
&amp;#35; a hard wired /home/.
:0
* ? test ! -O /home/$LOGNAME
{
    LOG=&quot;Home of user $LOGNAME has wrong owner: /home/$LOGNAME &quot;
    EXITCODE=75
    :0
    /dev/null
}

[&amp;hellip;]
&lt;/pre&gt;&lt;p&gt;

If you want to store a copy of these mails for debugging purposes on
every delivery attempt, replace &lt;code class=&quot;file&quot; &gt;/dev/null&lt;/code&gt;
with some Maildir or mbox only accessible for root.

&lt;/p&gt;&lt;p&gt;

One small but important part was to explicitly declare bash as shell
for executing the tests, otherwise mails for users with &lt;a href=&quot;http://www.tcsh.org/&quot; class=&quot;ext&quot;&gt;tcsh&lt;/a&gt; or &lt;a href=&quot;http://www.zsh.org/&quot; class=&quot;ext&quot;&gt;zsh&lt;/a&gt; as
login shell filled up the mail queue and never get delivered (if the
SHELL variable never gets fixed).

&lt;/p&gt;&lt;p&gt;

Only drawback so far: This leads to more lagging e-mail on e-mail
bursts also for those users who have no &lt;code class=&quot;file&quot;
&gt;.procmailrc&lt;/code&gt; &amp;#8211; because procmail can&amp;#8217;t check if there&amp;#8217;s really
no &lt;code class=&quot;file&quot;&gt;.procmailrc&lt;/code&gt;.

&lt;/p&gt;&lt;p&gt;

Extensive procmail documentation can be found online at the &lt;a
class=&quot;ext&quot; href=&quot;http://pm-doc.sourceforge.net/doc/&quot; &gt;Procmail
Documentation Project&lt;/a&gt; as well as in the man pages procmail(1),
procmailrc(5) and procmailex(5).</description>
    <comments>http://noone.org/blog/English/Computer/Mail/automounter%2520vs%2520procmail.futile#comments</comments>
    <slash:comments>0</slash:comments>
    <dc:language>en</dc:language>
    <category domain="http://noone.org/blog/tags/autofs">autofs</category>
<category domain="http://noone.org/blog/tags/autofs4">autofs4</category>
<category domain="http://noone.org/blog/tags/autofs5">autofs5</category>
<category domain="http://noone.org/blog/tags/automounter">automounter</category>
<category domain="http://noone.org/blog/tags/bash">bash</category>
<category domain="http://noone.org/blog/tags/CGIpaf">CGIpaf</category>
<category domain="http://noone.org/blog/tags/E%2DMail">E-Mail</category>
<category domain="http://noone.org/blog/tags/forward">forward</category>
<category domain="http://noone.org/blog/tags/ISG">ISG</category>
<category domain="http://noone.org/blog/tags/out%2Dof%2Doffice">out-of-office</category>
<category domain="http://noone.org/blog/tags/Postfix">Postfix</category>
<category domain="http://noone.org/blog/tags/procmail">procmail</category>
<category domain="http://noone.org/blog/tags/procmailrc">procmailrc</category>
<category domain="http://noone.org/blog/tags/Sysadmin">Sysadmin</category>
<category domain="http://noone.org/blog/tags/tcsh">tcsh</category>
<category domain="http://noone.org/blog/tags/zsh">zsh</category>

  </item>
  <item>
    <title>Spam in SMTP not via SMTP</title>
    <slash:department>Spam-of-the-Day</slash:department>
    <slash:section>English &amp;raquo; Computer &amp;raquo; Mail</slash:section>
    <link>http://noone.org/blog/English/Computer/Mail/Spam%2520in%2520SMTP%2520not%2520via%2520SMTP.html</link>
    <guid isPermaLink="true">http://noone.org/blog/English/Computer/Mail/Spam%2520in%2520SMTP%2520not%2520via%2520SMTP.html</guid>
    <pubDate>Wed, 18 Nov 2009 18:53:53 +0100</pubDate>
    <author>abe+blog@deuxchevaux.org (Axel Beckert)</author>
    <description>
While examining the mail queue after a big mail server migration, I
found the following reason for a bounce (hostnames replaced according
to &lt;a href=&quot;http://noone.org/rfc2606-ignorant/&quot;&gt;RFC2606&lt;/a&gt;):

&lt;/p&gt;&lt;pre&gt;
550-5.1.1 - 
550-5.1.1 -
550-5.1.1 TO LEARN WHY YOUR EMAIL WAS REJECTED PLEASE GO HERE: 
550-5.1.1 - 
550-5.1.1 http://www.example.com/answers/dWtsb3R0b3NAdWtsb3R0ZXJ5LmNvLnVrPgA=AAA=/
550-5.1.1 - 
550-5.1.1 Cheap, Reliable Webhosting
550-5.1.1 http://www.example.com/a/hostgator/
550-5.1.1 -
550-5.1.1 Round-Trip Flights under $200 from Priceline!
550-5.1.1 http://www.example.com/a/pricelinertf/
550-5.1.1 -
550-5.1.1 Free Skype-to-Skype calls on your mobile
550-5.1.1 http://www.example.com/a/skype/
550-5.1.1 -
550 5.1.1 -
&lt;/pre&gt;&lt;p&gt;

What&amp;#8217;s next? Advertisements in &lt;acronym title=&quot;Hot Tits Transport Pr0nocol (Ulrich Schwarz)&quot;&gt;HTTP&lt;/acronym&gt; headers? Oh, I forgot, they already
exist and are called &amp;#8220;referrer spam&amp;#8221;.</description>
    <comments>http://noone.org/blog/English/Computer/Mail/Spam%2520in%2520SMTP%2520not%2520via%2520SMTP.futile#comments</comments>
    <slash:comments>0</slash:comments>
    <dc:language>en</dc:language>
    <category domain="http://noone.org/blog/tags/SMTP">SMTP</category>
<category domain="http://noone.org/blog/tags/SOTD">SOTD</category>
<category domain="http://noone.org/blog/tags/Spam">Spam</category>

  </item>
  <item>
    <title>e-mail.is-not-s.ms</title>
    <slash:department>tit-for-tat</slash:department>
    <slash:section>English &amp;raquo; Computer &amp;raquo; Mail</slash:section>
    <link>http://noone.org/blog/English/Computer/Mail/e-mail.is-not-s.ms.html</link>
    <guid isPermaLink="true">http://noone.org/blog/English/Computer/Mail/e-mail.is-not-s.ms.html</guid>
    <pubDate>Wed, 12 Nov 2008 20:35:58 +0100</pubDate>
    <author>abe+blog@deuxchevaux.org (Axel Beckert)</author>
    <description>
When I first read &lt;a href=&quot;http://two.sentenc.es/&quot; class=&quot;ext&quot;
&gt;http://two.sentenc.es/&lt;/a&gt; in (if I remember correctly) &lt;a href=&quot;http://madduck.net/&quot; class=&quot;ext&quot;&gt;madduck&lt;/a&gt;&amp;#8217;s
signature, I thought something like &amp;#8220;This can&amp;#8217;t be! Why are people
castrating themself?&amp;#8221;

&lt;/p&gt;&lt;p&gt;

Although I really understand that the inventor &lt;a class=&quot;ext&quot;
href=&quot;http://www.mikeindustries.com/blog/archive/2007/07/fight-email-overload-with-sentences&quot;
&gt;has good reasons&lt;/a&gt; for such a personal policy, I notice how much
time I waste by trying to fit all the information I want to transmit
in the 160 characters a short messages allows &amp;#8212; or, even worse,
into the 140 characters &lt;a href=&quot;http://openmicroblogging.org/&quot; class=&quot;ext&quot;&gt;microblogging&lt;/a&gt; services like &lt;a class=&quot;ext&quot;
href=&quot;http://identi.ca/&quot; &gt;identi.ca&lt;/a&gt; or &lt;a class=&quot;ext&quot;
href=&quot;http://twitter.com/&quot; &gt;Twitter&lt;/a&gt; allow.

&lt;/p&gt;&lt;p&gt;

So I had to oppose something to this, but even to only reach the
coolness level of the domain &amp;#8220;sentenc.es&amp;#8221; is hard, you probably can&amp;#8217;t
top it at all. For luck, I&amp;#8217;m not alone and &lt;a href=&quot;http://www.semmel.ch/&quot; class=&quot;ext&quot;&gt;Venty&lt;/a&gt; had the right idea
for a hostname which has at least some geeky niveau.

&lt;/p&gt;&lt;p&gt;

So here it is, our pleading for e-mails as long and detailed as
necessary:

&lt;/p&gt;&lt;p align=&quot;center&quot; style=&quot;text-align: center; font-size: 200%;&quot;&gt;

&lt;a href=&quot;http://e-mail.is-not-s.ms/&quot;&gt;http://e-mail.is-not-s.ms/&lt;/a&gt;

&lt;/p&gt;&lt;p&gt;

A German version will be available soon at &lt;a
href=&quot;http://e-mail.ist-nicht-s.ms/&quot;
&gt;http://e-mail.ist-nicht-s.ms/&lt;/a&gt;.

&lt;/p&gt;&lt;p&gt;

Feel free to add either &lt;acronym title=&quot;Uniform Resource Locator&quot;&gt;URL&lt;/acronym&gt; to your e-mail signature. :-)

&lt;/p&gt;&lt;p&gt;

Oh, and thanks to the Government of Montserrat which allows strangers
to &lt;a href=&quot;http://www.ms/names.htm&quot; class=&quot;ext&quot;&gt;register .ms
domains&lt;/a&gt; without any hassles. :-)

&lt;/p&gt;&lt;h4&gt;Update / &lt;acronym title=&quot;Frequently asked questions &amp;mdash; and often also the appropriate answers (German: Häufig gestellte Fragen &amp;mdash; und oft auch die Antworten dazu)&quot;&gt;FAQ&lt;/acronym&gt;&lt;/h4&gt;&lt;p&gt;

Seems to be necessary to make a few things clear&amp;#8230;

&lt;/p&gt;&lt;ol&gt;

&lt;li&gt;No, I do not think that everyone using two.sentenc.es has neither
style nor knows anything about grammar or punctuation. What I say is
that the site two.sentenc.es itself with its comparision to short
messages (and especially without reading &lt;a class=&quot;ext&quot;
href=&quot;http://www.mikeindustries.com/blog/archive/2007/07/fight-email-overload-with-sentences&quot;
&gt;the author&amp;#8217;s blog post about the site&amp;#8217;s background&lt;/a&gt;) indirectly
suggests to drop grammar, punctuation and style by cramming all
information into a limit number of characters as often done with short
messages or microblogging. And the limitation in senctences leads to
tapeworm sentences which I try to avoid since they&amp;#8217;re considered bad
style, too.&lt;/li&gt;

&lt;li&gt;And yes, it&amp;#8217;s consciously written and designed to be the opposite
of two.sentenc.es &amp;#8212; even the colors &lt;strike&gt;and the font&lt;/strike&gt;
&amp;#8212; and therefore is of course very close to the original. See it as
it parody or satire if the closeness makes you angry.&lt;/li&gt;

&lt;li&gt;And no, I currently don&amp;#8217;t care if the site makes less sense if you
don&amp;#8217;t know two.sentenc.es &amp;#8212; people usually can follow hyperlinks on
websites.&lt;/li&gt;

&lt;li&gt;We weren&amp;#8217;t the first ones who &lt;a class=&quot;ext&quot;
href=&quot;http://everything2.com/e2node/e-mail%2520is%2520not%2520SMS&quot;&gt;noticed
that e-mail is not &lt;acronym title=&quot;Short Message Service&quot;&gt;SMS&lt;/acronym&gt;&lt;/a&gt;. An example of the problem described above
from 2001.&lt;/li&gt;

&lt;/ol&gt;&lt;p&gt;</description>
    <comments>http://noone.org/blog/English/Computer/Mail/e-mail.is-not-s.ms.futile#comments</comments>
    <slash:comments>4</slash:comments>
    <dc:language>en</dc:language>
    <category domain="http://noone.org/blog/tags/domain">domain</category>
<category domain="http://noone.org/blog/tags/e%2Dmail">e-mail</category>
<category domain="http://noone.org/blog/tags/embperl">embperl</category>
<category domain="http://noone.org/blog/tags/grammar">grammar</category>
<category domain="http://noone.org/blog/tags/identi.ca">identi.ca</category>
<category domain="http://noone.org/blog/tags/is%2Dnot%2Dsms">is-not-sms</category>
<category domain="http://noone.org/blog/tags/language">language</category>
<category domain="http://noone.org/blog/tags/madduck">madduck</category>
<category domain="http://noone.org/blog/tags/microblogging">microblogging</category>
<category domain="http://noone.org/blog/tags/montserrat">montserrat</category>
<category domain="http://noone.org/blog/tags/Other%20Blogs">Other Blogs</category>
<category domain="http://noone.org/blog/tags/parody">parody</category>
<category domain="http://noone.org/blog/tags/personal%20policy">personal policy</category>
<category domain="http://noone.org/blog/tags/philosophy">philosophy</category>
<category domain="http://noone.org/blog/tags/rant">rant</category>
<category domain="http://noone.org/blog/tags/satire">satire</category>
<category domain="http://noone.org/blog/tags/SMS">SMS</category>
<category domain="http://noone.org/blog/tags/style">style</category>
<category domain="http://noone.org/blog/tags/ventilator">ventilator</category>
<category domain="http://noone.org/blog/tags/WTF">WTF</category>

  </item>
    <link>http://noone.org/blog/English/Computer/Mail</link>
  </channel>
</rss>

