Hello,
est-ce que ssmtp ne suffirait pas dans ton cas?
/etc/ssmtp/ssmtp.conf
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# The person who gets all mail for userids < 10
root=postmaster
# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and you mailhub is so named.
mailhub=172.17.3.46
# Where will the mail seem to come from?
rewriteDomain=macompanie.com
# The full hostname
hostname=172.17.0.46
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES
# ssmtp`ne ferait-il pas l'affaire?
Posté par Djax . En réponse au message Sendmail et SMTP distant. Évalué à 2.
est-ce que ssmtp ne suffirait pas dans ton cas?