<?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>Mostly Anything &#187; Postfix</title>
	<atom:link href="http://blog.devnull.ch/tag/postfix/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.devnull.ch</link>
	<description>IT Blog über VMWare, SQL, Storage, Security und mehr.</description>
	<lastBuildDate>Thu, 20 Oct 2011 12:33:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Postfix mit ausgehendem Smarthost mit SMTP Authentication</title>
		<link>http://blog.devnull.ch/2009/05/12/postfix-mit-ausgehendem-smarthost-mit-smtp-authentication/</link>
		<comments>http://blog.devnull.ch/2009/05/12/postfix-mit-ausgehendem-smarthost-mit-smtp-authentication/#comments</comments>
		<pubDate>Tue, 12 May 2009 14:15:43 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Applikationen]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Relay]]></category>
		<category><![CDATA[Smarthost]]></category>
		<category><![CDATA[SMTP Auth]]></category>

		<guid isPermaLink="false">http://blog.devnull.ch/?p=59</guid>
		<description><![CDATA[Nehmen wir an der Postfix eines CentOS Linux Servers soll alle Emails via einen speziellen Host (smarthost.firma.zz) per SMTP mit Authentication (Username: senduser mit dem Passwort supersecret) über den Port 587 verschicken. In /etc/postfix/main.cf fügen wir folgende Zeile hinzu: relayhost = smarthost.firma.zz:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth smtp_sasl_security_options = noanonymous Dann erstellen wir die [...]]]></description>
			<content:encoded><![CDATA[<p>Nehmen wir an der Postfix eines CentOS Linux Servers soll alle Emails via einen speziellen Host (smarthost.firma.zz) per SMTP mit Authentication (Username: senduser mit dem Passwort supersecret) über den Port 587 verschicken.</p>
<p>In /etc/postfix/main.cf fügen wir folgende Zeile hinzu:</p>
<blockquote><p>relayhost = smarthost.firma.zz:587<br />
smtp_sasl_auth_enable = yes<br />
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth<br />
smtp_sasl_security_options = noanonymous</p></blockquote>
<p>Dann erstellen wir die Datein /etc/postfix/smtp_auth mit folgenden Angaben:</p>
<blockquote><p>smarthost.firma.zz       senduser:supersecret</p></blockquote>
<p>Aus der erstellen Datei müssen wir noch eine &#8220;lookup table&#8221; erstellen. Dies geht ganz einfach mit</p>
<blockquote><p>postmap /etc/postfix/smtp_auth</p></blockquote>
<p>Die Datei /etc/postfix/smtp_auth.db wird dadurch erstellt. Wenn wir in Zukunft änderungen an der Datei smtp_auth machen, müssen wir auch den entsprechenden postmap Befehl ausführen. Ansonsten bekommt Postfix die Änderungen nicht mit.</p>
<p>Nun Postfix mit</p>
<blockquote><p>/etc/init.d/postfix reload</p></blockquote>
<p>die neue Konfiguration laden lassen und das wars auch schon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devnull.ch/2009/05/12/postfix-mit-ausgehendem-smarthost-mit-smtp-authentication/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

