Skip to content

Commit f52fcf9

Browse files
fix(tuto): postfix
1 parent 8dba3f6 commit f52fcf9

File tree

1 file changed

+12
-11
lines changed
  • tutorials/setup-postfix-ubuntu-bionic

1 file changed

+12
-11
lines changed

tutorials/setup-postfix-ubuntu-bionic/index.mdx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ categories:
99
- instances
1010
tags: security DKIM Rspamd MariaDB Roundcube dmarc
1111
dates:
12-
validation: 2024-10-15
12+
validation: 2025-05-07
1313
posted: 2020-06-04
1414
---
1515

@@ -25,7 +25,7 @@ You learn also how to install a Roundcube webmail interface to be able to read y
2525
- A Scaleway account logged into the [console](https://console.scaleway.com)
2626
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2727
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
28-
- An [Instance](/instances/how-to/create-an-instance/) running Ubuntu Bionic Beaver or later
28+
- An [Instance](/instances/how-to/create-an-instance/) running Ubuntu 24.04 or later
2929
- A [domain or subdomain](/domains-and-dns/quickstart/) configured to point to the IP address of your Instance
3030
- Enabled the [SMTP ports](/instances/how-to/send-emails-from-your-instance/) to send emails from your Instance
3131

@@ -55,7 +55,7 @@ You learn also how to install a Roundcube webmail interface to be able to read y
5555

5656
1. Install the required packages:
5757
```bash
58-
apt install nginx mariadb-server php8.1-fpm php8.1-cli php8.1-imap php8.1-json php8.1-mysql php8.1-opcache php8.1-mbstring php8.1-readline php8.1-intl -y
58+
apt install nginx mariadb-server php-fpm php-cli php-imap php-json php-mysql php-opcache php-mbstring php-readline php-intl -y
5959
```
6060

6161
2. Secure the MariaDB installation:
@@ -69,12 +69,15 @@ You learn also how to install a Roundcube webmail interface to be able to read y
6969

7070
## Install and configure PostfixAdmin
7171

72-
1. Download and extract PostfixAdmin:
72+
1. Download and extract PostfixAdmin.
7373
```bash
74-
wget https://github.com/postfixadmin/postfixadmin/archive/refs/tags/postfixadmin-3.3.13.tar.gz
75-
tar xzf PostfixAdmin*.tar.gz
76-
mv postfixadmin-*/ /var/www/postfixadmin
74+
wget -O postfixadmin.tgz https://github.com/postfixadmin/postfixadmin/archive/postfixadmin-3.3.15.tar.gz
75+
tar -zxvf postfixadmin.tgz
76+
mv postfixadmin-postfixadmin-3.3.15/ /var/www/postfixadmin
7777
```
78+
<Message type="note">
79+
In this tutorial we are using version 3.3.15. Refer to the official [PostFixAdmin repository](https://github.com/postfixadmin/postfixadmin) to check the latest stable version.
80+
</Message>
7881

7982
2. Set the correct file permissions:
8083
```bash
@@ -145,7 +148,7 @@ You learn also how to install a Roundcube webmail interface to be able to read y
145148
}
146149
147150
location ~ \.php$ {
148-
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
151+
fastcgi_pass unix:/run/php/php*-fpm.sock;
149152
fastcgi_index index.php;
150153
include fastcgi_params;
151154
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
@@ -273,9 +276,7 @@ You learn also how to install a Roundcube webmail interface to be able to read y
273276

274277
3. Download and install Roundcube:
275278
```bash
276-
wget
277-
278-
https://github.com/roundcube/roundcubemail/releases/download/1.6.1/roundcubemail-1.6.1-complete.tar.gz
279+
wget https://github.com/roundcube/roundcubemail/releases/download/1.6.1/roundcubemail-1.6.1-complete.tar.gz
279280
tar xzf roundcubemail-1.6.1-complete.tar.gz
280281
mv roundcubemail-1.6.1 /var/www/webmail
281282
chown -R www-data: /var/www/webmail

0 commit comments

Comments
 (0)