<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://iredmail.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Addition/Always accept messages for special aliases - Revision history</title>
		<link>http://iredmail.org/wiki/index.php?title=Addition/Always_accept_messages_for_special_aliases&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5</generator>
		<lastBuildDate>Sat, 25 May 2013 01:45:21 GMT</lastBuildDate>
		<item>
			<title>Maxie ro at 08:45, 15 March 2010</title>
			<link>http://iredmail.org/wiki/index.php?title=Addition/Always_accept_messages_for_special_aliases&amp;diff=127&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:45, 15 March 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 54:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Restart ''postfix'' service and make sure everything is working ok by ''tail''-ing the logs.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Restart ''postfix'' service and make sure everything is working ok by ''tail''-ing the logs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;--[[User:Maxie ro|Maxie ro]] 08:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;43&lt;/del&gt;, 15 March 2010 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;--[[User:Maxie ro|Maxie ro]] 08:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;45&lt;/ins&gt;, 15 March 2010 (UTC)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-25 01:45:21 --&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 15 Mar 2010 08:45:27 GMT</pubDate>			<dc:creator>Maxie ro</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Addition/Always_accept_messages_for_special_aliases</comments>		</item>
		<item>
			<title>Maxie ro at 08:43, 15 March 2010</title>
			<link>http://iredmail.org/wiki/index.php?title=Addition/Always_accept_messages_for_special_aliases&amp;diff=126&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:43, 15 March 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Step 5.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Step 5.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Restart ''postfix'' service and make sure everything is working ok by ''tail''-ing the logs.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Restart ''postfix'' service and make sure everything is working ok by ''tail''-ing the logs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;--[[User:Maxie ro|Maxie ro]] 08:43, 15 March 2010 (UTC)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2013-05-25 01:45:21 --&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 15 Mar 2010 08:43:15 GMT</pubDate>			<dc:creator>Maxie ro</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Addition/Always_accept_messages_for_special_aliases</comments>		</item>
		<item>
			<title>Maxie ro:&amp;#32;moved Addition/Always.Accept.For.Special.Aliases to Addition/Always accept messages for special aliases</title>
			<link>http://iredmail.org/wiki/index.php?title=Addition/Always_accept_messages_for_special_aliases&amp;diff=122&amp;oldid=prev</link>
			<description>&lt;p&gt;moved &lt;a href=&quot;/wiki/index.php?title=Addition/Always.Accept.For.Special.Aliases&quot; class=&quot;mw-redirect&quot; title=&quot;Addition/Always.Accept.For.Special.Aliases&quot;&gt;Addition/Always.Accept.For.Special.Aliases&lt;/a&gt; to &lt;a href=&quot;/wiki/index.php?title=Addition/Always_accept_messages_for_special_aliases&quot; title=&quot;Addition/Always accept messages for special aliases&quot;&gt;Addition/Always accept messages for special aliases&lt;/a&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 08:40, 15 March 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2013-05-25 01:45:21 --&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 15 Mar 2010 08:40:29 GMT</pubDate>			<dc:creator>Maxie ro</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Addition/Always_accept_messages_for_special_aliases</comments>		</item>
		<item>
			<title>Maxie ro:&amp;#32;Created page with '= Mission = (Almost) always receive e-mail messages for postmaster@*, abuse@*, hostmaster@*, webmaster@*.  = Reason = You should always allow to be contacted on the four special …'</title>
			<link>http://iredmail.org/wiki/index.php?title=Addition/Always_accept_messages_for_special_aliases&amp;diff=121&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;= Mission = (Almost) always receive e-mail messages for postmaster@*, abuse@*, hostmaster@*, webmaster@*.  = Reason = You should always allow to be contacted on the four special …&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Mission =&lt;br /&gt;
(Almost) always receive e-mail messages for postmaster@*, abuse@*, hostmaster@*, webmaster@*.&lt;br /&gt;
&lt;br /&gt;
= Reason =&lt;br /&gt;
You should always allow to be contacted on the four special aliases listed above.&lt;br /&gt;
For example, in certain circumstances another postmaster from an external domain would like to contact you about messages coming from his server and considered spam by your local server and not delivered because of a misconfiguration.&lt;br /&gt;
&lt;br /&gt;
= Step-by-step configuration =&lt;br /&gt;
* Requirements:&lt;br /&gt;
** A properly working iRedMail system;&lt;br /&gt;
&lt;br /&gt;
* Note:&lt;br /&gt;
** This article was written with a CentOS-based system in mind. Adapt it for your system.&lt;br /&gt;
&lt;br /&gt;
* Step 1.&lt;br /&gt;
Create the lookup table ''/etc/postfix/accept_special'' with the following contents (a regular text file):&lt;br /&gt;
{{cfg||&amp;lt;pre&amp;gt;&lt;br /&gt;
abuse@ OK&lt;br /&gt;
postmaster@ OK &lt;br /&gt;
webmaster@ OK&lt;br /&gt;
hostmaster@ OK &lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Step 2.&lt;br /&gt;
Compile the above file using ''postmap'', type ''hash'':&lt;br /&gt;
{{cmd|&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /etc/postfix&lt;br /&gt;
postmap hash:accept_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* Step 3.&lt;br /&gt;
Check that the file ''/etc/postfix/accept_special.db'' exists.&lt;br /&gt;
&lt;br /&gt;
* Step 4.&lt;br /&gt;
Edit ''/etc/postfix/main.cf'' and add the ''accept_special.db'' lookup table to ''smtpd_recipient_restrictions'', to a place in the rule chain you see fit for your server:&lt;br /&gt;
{{cfg||&amp;lt;pre&amp;gt;&lt;br /&gt;
smtpd_recipient_restrictions = &lt;br /&gt;
	reject_unknown_sender_domain, &lt;br /&gt;
	reject_unknown_recipient_domain, &lt;br /&gt;
	reject_non_fqdn_sender, &lt;br /&gt;
	reject_non_fqdn_recipient, &lt;br /&gt;
	reject_unlisted_recipient, &lt;br /&gt;
	permit_mynetworks, &lt;br /&gt;
	permit_sasl_authenticated, &lt;br /&gt;
	reject_unauth_destination, &lt;br /&gt;
	check_recipient_access hash:/etc/postfix/accept_special, // &amp;lt;-- For example add it here&lt;br /&gt;
	[...] &lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
* ''Note'':&lt;br /&gt;
** The place where you add it is quite important. For example, I choosed not to add it further above, so I can cut down on the amount of spam I receive on the special aliases. You might want to add it further above or below in the rule chain.&lt;br /&gt;
** For usual iRedMail configuration that's the recommended place to add it.&lt;br /&gt;
&lt;br /&gt;
* Step 5.&lt;br /&gt;
Restart ''postfix'' service and make sure everything is working ok by ''tail''-ing the logs.&lt;/div&gt;</description>
			<pubDate>Mon, 15 Mar 2010 08:38:05 GMT</pubDate>			<dc:creator>Maxie ro</dc:creator>			<comments>http://iredmail.org/wiki/index.php?title=Talk:Addition/Always_accept_messages_for_special_aliases</comments>		</item>
	</channel>
</rss>