-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpostfixrelay.xml
More file actions
50 lines (50 loc) · 3.89 KB
/
postfixrelay.xml
File metadata and controls
50 lines (50 loc) · 3.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<Container version="2">
<Name>Postfix-Relay</Name>
<Repository>loganmarchione/docker-postfixrelay:latest</Repository>
<Registry>https://hub.docker.com/r/loganmarchione/docker-postfixrelay</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/130953-support-devzwf-postfix-relay/</Support>
<Project>https://github.com/loganmarchione/docker-postfixrelay</Project>
<Overview>This runs Postfix (as a relay) in Docker.
Most home ISPs block port 25, so outbound emails must be relayed through an external SMTP server (e.g., Gmail).
This container acts as a single collections point for devices needing to send email.
⚠️ Postfix acts as an open relay. As such, this is not meant to be run on the internet, only on a trusted internal network! ⚠️

Requirements
You must already have a account on an external SMTP server (e.g., Gmail, AWS SES, etc...).
Your external SMTP server must be using encryption (i.e., plaintext is not allowed)</Overview>
<Category>Productivity: Network:Other</Category>
<WebUI/>
<TemplateURL/>
<Icon>https://raw.githubusercontent.com/devzwf/unraid-docker-templates/main/images/postfix-logo.gif</Icon>
<ExtraParams>--restart unless-stopped</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled>1668395289</DateInstalled>
<DonateText>Don't donate to me! Instead, please donate the creators of the apps, but if you insist </DonateText>
<DonateLink>https://ko-fi.com/devzwf</DonateLink>
<Requires/>
<Config Name="Data Directory" Target="/var/spool/postfix" Default="" Mode="rw" Description="Used to store Postfix's mail spool" Type="Path" Display="always" Required="true" Mask="false"/>
<Config Name="Postfix SMTP server" Target="25" Default="25" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">25</Config>
<Config Name="Timezone" Target="TZ" Default="America/New_York" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">America/New_York</Config>
<Config Name="Public SMTP" Target="RELAY_HOST" Default="" Mode="" Description="Public SMTP server to use must be using encryption (i.e., plaintext is not allowed)" Type="Variable" Display="always" Required="true" Mask="false"/>
<Config Name="Relay Port" Target="RELAY_PORT" Default="" Mode="" Description="Public SMTP port to use" Type="Variable" Display="always" Required="true" Mask="false"/>
<Config Name="SMTP username" Target="RELAY_USER" Default="" Mode="" Description="Address to login to $RELAY_HOST" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="SMTP password" Target="RELAY_PASS" Default="" Mode="" Description="Password to login to $RELAY_HOST If using Gmail 2FA, you will need to setup an app password" Type="Variable" Display="always" Required="false" Mask="true"/>
<Config Name="Test Email address" Target="TEST_EMAIL" Default="" Mode="" Description="Address to receive test email If not set, test email will not be sent" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="Domain from address" Target="MYORIGIN" Default="" Mode="" Description="Domain of the from address" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="Networks" Target="MYNETWORKS" Default="0.0.0.0/0" Mode="" Description="Networks that Postfix will forward mail for" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="From Address" Target="FROMADDRESS" Default="" Mode="" Description="Changes the email from address" Type="Variable" Display="always" Required="false" Mask="false"/>
<Changes>### 2023.10.03
- add FROMADDRESS variable
### 2022.12.12
- add MYNETWORKS to be compatible with v1.3.0
### 2022.11.14
- Adding support thread
### 2022.11.13
- Initial Release</Changes>
</Container>