<?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>Linux für alle &#187; email</title>
	<atom:link href="http://www.simplylinux.ch/tag/email/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simplylinux.ch</link>
	<description>Jeder kann Linux beherrschen lernen...</description>
	<lastBuildDate>Sat, 19 Nov 2011 17:37:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Spam &#8211; einer weniger&#8230;</title>
		<link>http://www.simplylinux.ch/spam-einer-weniger</link>
		<comments>http://www.simplylinux.ch/spam-einer-weniger#comments</comments>
		<pubDate>Fri, 07 Jan 2011 18:31:27 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Benutzer]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=379</guid>
		<description><![CDATA[Spam ist ja ein bekanntes Problem und ich habe mich noch nicht damit abgefunden, dass ich Spam &#8220;ertragen&#8221; muss. Vor einiger Zeit habe ich auf eine neue Methode gewechselt in welcher ich grundsätzlich immer eine eigene Email Adresse generiere wenn ich eine Email angeben muss. Sollte ich auf www.domain.com eine Email Adresse angeben müssen, dann [...]]]></description>
			<content:encoded><![CDATA[<p>Spam ist ja ein bekanntes Problem und ich habe mich noch nicht damit abgefunden, dass ich Spam &#8220;ertragen&#8221; muss. Vor einiger Zeit habe ich auf eine neue Methode gewechselt in welcher ich grundsätzlich immer eine eigene Email Adresse generiere wenn ich eine Email angeben muss.<br />
<span id="more-379"></span><br />
Sollte ich auf www.domain.com eine Email Adresse angeben müssen, dann generiere ich also eine die folgendermassen aussieht:  www.domain.com@mydomain.com. All diese generierten Email Adressen landen dann im selben Postfach. Das kann mit Postfix und ein paar PHP Skripten einfach bewerkstelligt werden. Ich kann somit einfach neue Email Adressen generieren und bestehende löschen / blockieren.</p>
<p>Inzwischen habe ich auch schon herausgefunden, von wo denn überall meine Email Adresse geleaked wird. Heute hat es wieder einen erwischt. Die Email ist im Source nachfolgend angefügt &#8211; ich habe lediglich meine Empfänger Adresse geändert (sonst wüsste ja jeder welche @mydomain.com ich verwende und könnte dann über andere populäre Seite versuchen mit trotzdem Spam zu zustellen.</p>
<p><code>Return-Path: <info@equity.irs.gov><br />
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on cp.roleplayer.org<br />
X-Spam-Level: **<br />
X-Spam-Status: No, score=2.2 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET<br />
	autolearn=no version=3.2.5<br />
X-Original-To: www.portablefreeware.com@***********************<br />
Delivered-To: web29p1@cp.roleplayer.org<br />
X-Greylist: delayed 1811 seconds by postgrey-1.31 at cp.roleplayer.org; Fri, 07 Jan 2011 18:20:08 CET<br />
Received: from echo.fastwebhosting.net (echo.fastwebhosting.net [91.102.64.134])<br />
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))<br />
	(No client certificate requested)<br />
	by cp.roleplayer.org (Postfix) with ESMTPS id 22E0A7583B1<br />
	for <www.portablefreeware.com@***********************>; Fri,  7 Jan 2011 18:20:07 +0100 (CET)<br />
Received: from echo.fastwebhosting.net (unknown [127.0.0.1])<br />
	by echo.fastwebhosting.net (Postfix) with ESMTP id C7E09401005E;<br />
	Fri,  7 Jan 2011 16:42:06 +0000 (UTC)<br />
Received: by echo.fastwebhosting.net (Postfix, from userid 48)<br />
	id B02DE38718BF; Fri,  7 Jan 2011 16:37:52 +0000 (UTC)<br />
Received: from 41.217.65.11 ([41.217.65.11]) by webmail.dimarxe.gr (Horde<br />
 Framework) with HTTP; Fri, 07 Jan 2011 16:37:44 +0000<br />
Message-ID: <20110107163744.15866wa5csshnj2w@webmail.dimarxe.gr><br />
Date: Fri, 07 Jan 2011 16:37:44 +0000<br />
From: Internal Revenue Service <info@equity.irs.gov><br />
Reply-to: info.center@email.ro<br />
To: undisclosed-recipients:;<br />
Subject: IRS Tax Refund Notification<br />
MIME-Version: 1.0<br />
Content-Type: text/plain;<br />
 charset=ISO-8859-1;<br />
 DelSp="Yes";<br />
 format="flowed"<br />
Content-Disposition: inline<br />
Content-Transfer-Encoding: 7bit<br />
User-Agent: Internet Messaging Program (IMP) H3 (4.3.6)</p>
<p>The government of the United States has ordered the treasury<br />
department of the IRS to issue out a refund of $5010.11 to all home<br />
equity account holders only. This refund is only applicable to EQUITY<br />
LINE OF CREDIT ACCOUNT holders (mortgage not applicable). For your<br />
refund to be processed, please note that your personal information<br />
will be required from you in our next email. To proceed with this<br />
Refund request, reply this message with your Full Name, Address and<br />
Phone number(s) or send your information to info.center@email.ro .<br />
You will be contacted shortly by IRS Refund Officer after sending your<br />
details.</p>
<p>Please note that only candidates with EQUITY LINE OF CREDIT ACCOUNT<br />
are eligible for this refund..</p>
<p>Thank You,<br />
Internal Revenue Service<br />
</code></p>
<p>Natürlich habe ich diese Email schon an Spamcop weitergeleitet. Ich habe übrigens schon mal von portablefreeware eine Spam erhalten, aber auf meine Nachfrage hin habe ich keine Antwort bekommen. Diese Email Adresse ist nun gesperrt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/spam-einer-weniger/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Relay Email von einem Postfix Server</title>
		<link>http://www.simplylinux.ch/relay-email-von-einem-postfix-server</link>
		<comments>http://www.simplylinux.ch/relay-email-von-einem-postfix-server#comments</comments>
		<pubDate>Sat, 22 Aug 2009 06:32:35 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[relay email]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=149</guid>
		<description><![CDATA[Ich habe vor einiger Zeit bei mir auf der Arbeit einen kompletten Mailserver aufgesetzt. Grund war, dass die Mails verschlüsselt bei uns lagern sollen und nicht bei nem ISP der jederzeit Zugriff nehmen kann oder dies bereits aus Marketing gründen tut. Da ich die Kosten möglichst klein halten wollte, habe ich auch weiter die dynamische [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe vor einiger Zeit bei mir auf der Arbeit einen kompletten Mailserver aufgesetzt. Grund war, dass die Mails verschlüsselt bei uns lagern sollen und nicht bei nem ISP der jederzeit Zugriff nehmen kann oder dies bereits aus Marketing gründen tut. Da ich die Kosten möglichst klein halten wollte, habe ich auch weiter die dynamische IP verwendet die Bluewin zur Verfügung stellt. Dank <a href="http://www.everydns.net" target="_blank">everydns.net</a> und einem kleinen Script welches die DNS bei EveryDNS auf dem laufenden hält, hat sich das bewährt. Die einzig grössere Schwierigkeit die ich an sich hatte war der Mail Versand. Viele Mailserver akzeptieren keine Mails von dynamischen IPs, also musste ich die Emails über den ISP (im vorliegenden Fall Bluewin) relayen. Nachfolgend gibts das kleine Howto:</p>
<p><span id="more-149"></span></p>
<h3>1. main.cf anpassen</h3>
<p>Zuerst muss die main.cf geöffnet werden:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>main.cf</pre></div></div>
<p>Und folgendes (am Schluss) einfügen:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">smtp_sasl_auth_enable = <span class="kw2">yes</span>
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = <span class="kw3">hash</span>:<span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>saslpasswd
smtp_always_send_ehlo = <span class="kw2">yes</span>
relayhost = smtp.yourisp.com</pre></div></div>
<p>SASL muss natürlich funktionieren (falls nicht, schaut mal die Howtos bei <a href="http://www.howtoforge.com" target=_blank">http://www.howtoforge.com</a> an, im Speziellen die &#8220;Perfect Howtos&#8221; von falko) und bei realyhost muss natürlich der gewünschte ISP gesetzt werden. Ist für den SMTP Versand noch eine bestimmte Portangabe notwendig, so muss folgendes Format verwendet werden:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">relayhost = <span class="br0">&#91;</span>smtp.yourisp.com<span class="br0">&#93;</span>:PORT</pre></div></div>
<p>Im Konkreten sieht das bei Bluewin folgendermassen aus:</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">relayhost = <span class="br0">&#91;</span>smtpauth.bluewin.ch<span class="br0">&#93;</span>:<span class="nu0">587</span></pre></div></div>
<p>Dann kann die main.cf gespeichert und geschlossen werden.</p>
<h3>2. Die Datei saslpasswd anlegen und editieren</h3>
<p>Anstelle von saslpasswd kann der Datei auch einen anderen Namen gegeben werden. Dann muss dies aber in der main.cf entsprechend angepasst werden (siehe Schritt 1). Angelegt wird die Datei indem wir sie gleich editieren und dann speichern:</p>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>saslpasswd</pre></div></div>
<p>In der Datei dann folgendes einfügen:</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">smtp.yourisp.com     yourlogin:yourpassword</pre></div></div>
<p>Bei der Angabe des SMTP Servers ist der Port nicht anzugeben. Der Loginname und das Passwort müssen von einem Konto bei diesem ISP sein, das existiert um Emails durch diesen ISP zu senden. Dann kann die Datei gespeichert und geschlossen werden.</p>
<h3>3. Hashen der saslpasswd Datei</h3>
<p>Die Datei muss jetzt noch gehashed werden mit postmap:</p>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">postmap <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>saslpasswd</pre></div></div>
<h3>4. Postfix neu starten</h3>
<p>Zu guter letzt muss noch Postfix neu gestartet werden:</p>
<div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span>postfix restart</pre></div></div>
<p>Jetzt schickt Postfix alle ausgehenden Emails über den ISP und Postfix kann jetzt vollumfänglich genutzt werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/relay-email-von-einem-postfix-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

