<?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>Control WebPanel Wiki &#187; Postfix Dedicated IP</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/postfix-dedicated-ip/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Postfix send email from dedicated ip address</title>
		<link>https://wiki.centos-webpanel.com/postfix-send-email-from-dedicated-ip-address</link>
		<comments>https://wiki.centos-webpanel.com/postfix-send-email-from-dedicated-ip-address#comments</comments>
		<pubDate>Tue, 19 Jan 2021 17:55:34 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Postfix Dedicated IP]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1538</guid>
		<description><![CDATA[Create file called sdd_transport_maps.regexp: /@customer1-dom\.tld$/ customer1: /@customer2-dom\.tld$/ customer2: /@customer3-dom\.tld$/ customer3: ..... next ..... In master.cf create special transport called customer1, customer2, customer3….and so on customer1 unix - - n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_helo_name=customer1-dom.tld -o syslog_name=postfix-customer1 customer2 unix - - n - - smtp -o smtp_bind_address=1.1.1.2 -o smtp_helo_name=customer2-dom.tld -o syslog_name=postfix-customer2 customer3 unix - [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Create file called sdd_transport_maps.regexp:</p>
<pre class="brush: plain; title: ; notranslate" title="">/@customer1-dom\.tld$/		customer1:
/@customer2-dom\.tld$/		customer2:
/@customer3-dom\.tld$/		customer3:
..... next .....
</pre>
<p>In master.cf create special transport called customer1, customer2, customer3….and so on</p>
<pre class="brush: plain; title: ; notranslate" title="">customer1  unix -       -       n       -       -       smtp
   -o smtp_bind_address=1.1.1.1
   -o smtp_helo_name=customer1-dom.tld
   -o syslog_name=postfix-customer1

customer2  unix -       -       n       -       -       smtp
   -o smtp_bind_address=1.1.1.2
   -o smtp_helo_name=customer2-dom.tld
   -o syslog_name=postfix-customer2

customer3  unix -       -       n       -       -       smtp
   -o smtp_bind_address=1.1.1.3
   -o smtp_helo_name=customer3-dom.tld
   -o syslog_name=postfix-customer3

..... next .....
</pre>
<p>In main.cf add <strong>sender_dependent_default_transport_maps</strong> line:</p>
<pre class="brush: plain; title: ; notranslate" title="">sender_dependent_default_transport_maps = regexp:/etc/postfix/sdd_transport_maps.regexp
</pre>
<p>Don’t forget to create ip aliasing for each ip address in smtp_bind_address</p>
<p>reload/ restart postfix</p>
<pre class="brush: bash; title: ; notranslate" title=""># service postfix restart
</pre>
<p><strong>to set for server-wide for all clients</strong><br />
You want smtp_bind_address=66.66.66.67 and inet_interfaces=all<br />
or inet_interfaces=eth(whatever) that 66.66.66.67 is on.<br />
and RESTART postfix</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/postfix-send-email-from-dedicated-ip-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
