Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:mail:postfixrelay [2013-08-18 00:24] root created |
tutorial:mail:postfixrelay [2018-06-03 14:10] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ====== | + | ====== |
- | **Problem:** | + | ===== Problem |
* I use postfix as a backup for my Exchange. I want postfix to only accept mail for recipients which exist in Exchange. | * I use postfix as a backup for my Exchange. I want postfix to only accept mail for recipients which exist in Exchange. | ||
- | **Requirements:** | + | ===== Requirements |
* I assume you followed my first tutorial [[tutorial: | * I assume you followed my first tutorial [[tutorial: | ||
* Existing postfix installation (mine is on debian) | * Existing postfix installation (mine is on debian) | ||
Line 13: | Line 13: | ||
---- | ---- | ||
- | **Step ~~#~~** | + | ===== Step 1 ===== |
+ | |||
+ | |||
* Create the following PowerShell script on your Exchange server: | * Create the following PowerShell script on your Exchange server: | ||
* < | * < | ||
Line 25: | Line 28: | ||
{[string]:: | {[string]:: | ||
</ | </ | ||
- | * Run the script and save the output to a file like this: < | + | * Run the script and save the output to a file like this: '' |
---- | ---- | ||
- | **Step ~~#~~** | + | ===== Step 2 ===== |
* Connect to yout server running postfix | * Connect to yout server running postfix | ||
* Upload the scriptoutput to / | * Upload the scriptoutput to / | ||
Line 38: | Line 41: | ||
</ | </ | ||
* Reload or restart postfix | * Reload or restart postfix | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Step 3+ ===== | ||
+ | * If your addresses change (added new or removed some) you have to repeat step 1 and 2 |