<?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>Screenage &#187; Mail</title>
	<atom:link href="http://www.screenage.de/blog/category/mail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.screenage.de/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Aug 2010 09:24:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>my package of the day: listadmin &#8211; moderate mailman mailing lists from the console</title>
		<link>http://www.screenage.de/blog/2008/06/06/my-package-of-the-day-listadmin-moderate-mailman-mailing-lists-from-the-console/</link>
		<comments>http://www.screenage.de/blog/2008/06/06/my-package-of-the-day-listadmin-moderate-mailman-mailing-lists-from-the-console/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 18:50:01 +0000</pubDate>
		<dc:creator>ccm</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[CommandLine]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[PackeOfTheDay]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.screenage.de/blog/2008/06/06/my-package-of-the-day-listadmin-moderate-mailman-mailing-lists-from-the-console/</guid>
		<description><![CDATA[Are you involved in moderating Mailman mailing lists? Then maybe you know the pain: As you try to stop spammers flooding you list you hold messages from unknown senders back for review. Or you have a moderated mailing list that &#8230; <a href="http://www.screenage.de/blog/2008/06/06/my-package-of-the-day-listadmin-moderate-mailman-mailing-lists-from-the-console/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Are you involved in moderating <a href="http://www.list.org/">Mailman</a> mailing lists? Then maybe you know the pain: As you try to stop spammers flooding you list you hold messages from unknown senders back for review. Or you have a moderated mailing list that only allows postings explicitly published. However. In most cases you get mails from Mailman telling you that there are messages you have to moderate. The common way is to enter the web interface, enter your password, read the messages and discard/reject/allow them.</p>
<p>This workflow is easy but it can really get on your nerves as the web stuff is somehow time consuming. Therefore from time to time you get lazy on moderating&#8230;</p>
<p>Well, there is light at the end of the tunnel and one cannot repeat this hint often enough: The package &#8220;<a href="http://freshmeat.net/projects/listadmin/">listadmin</a>&#8221; provides a powerful console tool for moderating mailman mailing lists. As Debian/Ubuntu user you just have to install it via &#8220;aptitude install listadmin&#8221; on the console or via Synaptic. You just have to write an .ini file with the configuration (admin url, credentials). The files looks like this:</p>
<pre>adminurl https://hostname.tld/mailman/admindb/{list}
default skip
log ~/.listadmin.log
password secret
mailinglist1@hostname.tld
mailinglist2@hostname.tld</pre>
<p>So we just give an url with a placeholder named &#8220;{list}&#8221;. This way we can moderate multiple lists with fewer lines of configuration. Now let&#8217;s see how listadmin behaves when checking existing mailing lists (in this case our Berlin based Ubuntu mailing lists):</p>
<p><img src="http://www.screenage.de/blog/uploads/bildschirmfoto-damokleslilith-listadmin.png" alt="bildschirmfoto-damokleslilith-listadmin.png" /></p>
<p>Nothing to do &#8211; no messages to moderate in this case. But hey &#8211; we just got an incoming request. Let&#8217;s rerun listadmin and check:</p>
<p><img src="http://www.screenage.de/blog/uploads/bildschirmfoto-damokleslilith-listadmin-1.png" alt="bildschirmfoto-damokleslilith-listadmin-1.png" /></p>
<p>A spammer tried to hit our list. We now can decide wether to Approve, Reject or Discard the message. If it&#8217;s spam you want to discard as this just deletes the message. When you want to provide feedback to the user, you have to reject and are able to enter a reason. Of you course you also can examine the full body of the message or just skip it and keep for the next session. In our case &#8220;d&#8221; was entered for deleting the spam and the request was submitted. If you are fast the session will not take more than 10 seconds &#8211; try this with the web interface!</p>
<p>So though it&#8217;s age and the ajax web 2.0 shiny wysiwyg plinkplonk alternatives Mailman provides you with nice wrappers for moderating larger amounts of mails within seconds. If you stick to a community you will probably sooner or later be asked to moderate a mailing list. Now you can say: &#8220;No problem. I have a command line tool for this&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.screenage.de/blog/2008/06/06/my-package-of-the-day-listadmin-moderate-mailman-mailing-lists-from-the-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using postfix for secure tests with live data</title>
		<link>http://www.screenage.de/blog/2008/03/03/using-postfix-for-secure-tests-with-live-data/</link>
		<comments>http://www.screenage.de/blog/2008/03/03/using-postfix-for-secure-tests-with-live-data/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 15:38:33 +0000</pubDate>
		<dc:creator>ccm</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.screenage.de/blog/2008/03/03/using-postfix-for-secure-tests-with-live-data/</guid>
		<description><![CDATA[During web development and quality assurance you sometimes want to test an application with live data (e.g. a web shop test instance with live customer sql data). As your application implements mail functionality you have to make sure that no &#8230; <a href="http://www.screenage.de/blog/2008/03/03/using-postfix-for-secure-tests-with-live-data/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>During web development and quality assurance you sometimes want to test an application with live data (e.g. a web shop test instance with live customer sql data). As your application implements mail functionality you have to make sure that no mail on the test server is sent to a real user but you probably want to be able to send mails to developers and receive all other outgoing test mails in a catch-all account. An easy Postfix tweak for this is using a pcre regular expression virtual map.</p>
<p>So our goal is: All outgoing mails to a specific domain should be delivered normally (e.g. your company domain) while all other outgoing mails should be delivered to one specific catch-all mailbox.</p>
<p>Actually this task can be resolved by adding not more than three lines of configuration code in two files.</p>
<p>1. in /etc/postfix/main.cf add</p>
<pre lang="Perl">virtual_alias_maps = pcre:/etc/postfix/virtual.pcre</pre>
<p>2. the new /etc/postfix/virtual.pcre should look like</p>
<pre lang="Perl">/(.+)@yourowndomain\.tld$/ ${1}@yourowndomain.tld
/(.+)@(.+)/ catchoutgoing@yourowndomain.tld</pre>
<p>After having restarted postfix you are already done.</p>
<p>Please note, a ${0} instead of ${1}@yourowndomain.tld did not work for me, so this a tiny workaround which does not look beautiful but really does it&#8217;s job.</p>
<p>p.s.: A really nice (but somehow old looking) tool for developing and testing regular expressions is &#8220;<a href="http://billposer.org/Software/redet.html">redet</a>&#8220;, a &#8220;regular expression development and execution tool&#8221; which knows nearly every important regex syntax depending on the tools you have installed. You&#8217;ll find redet in your Debian/Ubuntu repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.screenage.de/blog/2008/03/03/using-postfix-for-secure-tests-with-live-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
