You've already forked postfix-ubuntu
68 lines
1.4 KiB
Markdown
68 lines
1.4 KiB
Markdown
# Postfix for Ubuntu 24.04 Server
|
||
[](#)
|
||
[](#)
|
||
[](#)
|
||
[](./LICENSE)
|
||
|
||
Automated Bash installer for deploying **Postfix** non-interactively on Ubuntu 24.04 Server — ideal when you just need a working mail server and don’t want a screen full of configuration prompts. The script comes with an optional Mailutils installation flag.
|
||
|
||
This is a **production-focused installer**, not a demo.
|
||
|
||
---
|
||
|
||
### Preparing
|
||
|
||
Update your package index before running the installer:
|
||
|
||
```
|
||
sudo apt update -y
|
||
```
|
||
|
||
---
|
||
|
||
### Download the Script
|
||
|
||
Clone the repository from your Git server:
|
||
|
||
```
|
||
git clone https://git.x-files.dk/mail/postfix-ubuntu.git
|
||
```
|
||
|
||
```
|
||
cd postfix-ubuntu
|
||
```
|
||
|
||
### Usage
|
||
|
||
Run the script using the `-m` flag to control whether Mailutils will be installed as well (`yes` or `no`).
|
||
|
||
```
|
||
sudo ./postfixinstall -m <yes|no>
|
||
```
|
||
|
||
### Example
|
||
|
||
Install Postfix **with** Mailutils:
|
||
|
||
```
|
||
sudo ./postfixinstall -m yes
|
||
```
|
||
|
||
Install Postfix **only**:
|
||
|
||
```
|
||
sudo ./postfixinstall -m no
|
||
```
|
||
|
||
---
|
||
|
||
### More Information
|
||
|
||
More guides and documentation can be found on [wiki.x-files.dk](https://wiki.x-files.dk)
|
||
|
||
---
|
||
|
||
### License
|
||
|
||
Licensed under the [MIT License](./LICENSE).
|