Bonjour,
Je cherche à installer postfix en mode relay depuis ma VPS vers un serveur SMTP sparkpost.
Voici mon fichier main.cf :
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
mynetworks_style = host
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myorigin = /etc/mailname
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#conf sparkpostmail
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:SMTP_Injection:<MACLE>
relayhost = [smtp.sparkpostmail.com]:587
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt
header_size_limit = 4096000
#fin conf sparkpostmail
Mais le truc c’est que si je regarde dans les log /var/log/mail.err
j’ai ceci :
Aug 31 12:05:44 postfix/master[4385]: fatal: bind 0.0.0.0 port 25: Address already in use
Aug 31 12:05:45 postfix/master[4384]: fatal: daemon initialization failure
Aug 31 12:05:46 postfix/postfix-script[4392]: fatal: mail system startup failed
Par avance, merci de votre aide.