Annexes:ConfPostfix : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Contenu remplacé par « Ici nous vous proposerons deux approches de la configuration pour l'envoi de mails, si jamais vous avez vos méthodes en interne de les changer pas. C'est deux configu... »)
(Balise : Remplacé)
m (Installation de Postfix)
Ligne 4 : Ligne 4 :
  
 
==Installation de Postfix==
 
==Installation de Postfix==
 +
===Cas de la machine dbSQWare===
 +
Si vous avez choisi d'utiliser la vmsqwarebox ou suivi notre guide d'installation d'un socle dbSQWare vous avez déjà Postfix installé.
 +
Une mise à jour suffira :
 +
<pre>
 +
dbsqware@vmsqwarebox:/home/dbsqware $ sudo dnf update
 +
</pre>
  
 +
===Cas d'un serveur linux===
 +
D'un système linux à l'autre l'installation peut varier ici nous prenons une machine Rocky Linux 9
 +
 +
<pre>
 +
[admin@RockyLinux9 ~]#  sudo dnf update
 +
 +
[admin@RockyLinux9 ~]#  sudo dnf install postfix
 +
Last metadata expiration check: 0:16:31 ago on Thu 06 Jun 2024 03:29:07 AM EDT.
 +
Dependencies resolved.
 +
===========================================================================================================================================================================================================
 +
Package                                        Architecture                                  Version                                              Repository                                        Size
 +
===========================================================================================================================================================================================================
 +
Installing:
 +
postfix                                        x86_64                                        2:3.5.9-24.el9                                        appstream                                        1.4 M
 +
 +
Transaction Summary
 +
===========================================================================================================================================================================================================
 +
Install  1 Package
 +
 +
Total download size: 1.4 M
 +
Installed size: 4.4 M
 +
Is this ok [y/N]:y
 +
Downloading Packages:
 +
postfix-3.5.9-24.el9.x86_64.rpm                                                                                                                                            3.6 MB/s | 1.4 MB    00:00
 +
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 +
Total                                                                                                                                                                      2.1 MB/s | 1.4 MB    00:00
 +
Running transaction check
 +
Transaction check succeeded.
 +
Running transaction test
 +
Transaction test succeeded.
 +
Running transaction
 +
  Preparing        :                                                                                                                                                                                  1/1
 +
  Running scriptlet: postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                    1/1
 +
  Installing      : postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                    1/1
 +
  Running scriptlet: postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                    1/1
 +
  Verifying        : postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                    1/1
 +
 +
Installed:
 +
  postfix-2:3.5.9-24.el9.x86_64
 +
 +
Complete!
 +
</pre>
 +
 +
===Cas de la machine Windows avec Cygwin===
  
 
==Configuration de Postfix==
 
==Configuration de Postfix==

Version du 6 juin 2024 à 09:46

Ici nous vous proposerons deux approches de la configuration pour l'envoi de mails, si jamais vous avez vos méthodes en interne de les changer pas. C'est deux configurations utiliseront Postfix pour l'envoi de mails
'Site principal Postfix'.

Installation de Postfix

Cas de la machine dbSQWare

Si vous avez choisi d'utiliser la vmsqwarebox ou suivi notre guide d'installation d'un socle dbSQWare vous avez déjà Postfix installé. Une mise à jour suffira :

dbsqware@vmsqwarebox:/home/dbsqware $ sudo dnf update

Cas d'un serveur linux

D'un système linux à l'autre l'installation peut varier ici nous prenons une machine Rocky Linux 9

[admin@RockyLinux9 ~]#  sudo dnf update

[admin@RockyLinux9 ~]#  sudo dnf install postfix
Last metadata expiration check: 0:16:31 ago on Thu 06 Jun 2024 03:29:07 AM EDT.
Dependencies resolved.
===========================================================================================================================================================================================================
 Package                                        Architecture                                  Version                                               Repository                                        Size
===========================================================================================================================================================================================================
Installing:
 postfix                                        x86_64                                        2:3.5.9-24.el9                                        appstream                                        1.4 M

Transaction Summary
===========================================================================================================================================================================================================
Install  1 Package

Total download size: 1.4 M
Installed size: 4.4 M
Is this ok [y/N]:y
Downloading Packages:
postfix-3.5.9-24.el9.x86_64.rpm                                                                                                                                            3.6 MB/s | 1.4 MB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                      2.1 MB/s | 1.4 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                   1/1
  Running scriptlet: postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                     1/1
  Installing       : postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                     1/1
  Running scriptlet: postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                     1/1
  Verifying        : postfix-2:3.5.9-24.el9.x86_64                                                                                                                                                     1/1

Installed:
  postfix-2:3.5.9-24.el9.x86_64

Complete!

Cas de la machine Windows avec Cygwin

Configuration de Postfix

Solution 1

Solution 2

Configuration du relais interne

Configuration des clients du relais