sending emails from any other terminal/script to the isp server

Discussion in 'General' started by ptroms, Jun 3, 2021.

  1. ptroms

    ptroms Member

    I having a bit of puzzle recently.
    I have ispconfig runs as the gateway as well. It has two eth cards. The goal is having functionality that allow postfix to send emails form the local IP. I'm having some scripts on the other local workstations that there sending email by ssmtp command, but stop doing. Maybe because mail server has most of the protection such us SPF, DKIM,DMARC. Is any way around it?
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  3. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    To clarify, the local workstations are sending mail to mailboxes which your mail server hosts? Or they are trying to relay mail through your mail server to external domains?
     
  4. ptroms

    ptroms Member

    The first one.
    I just realized that ssmtp command do not support TLSv1 and above. Another words main.cf should have only:
    Code:
     smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
     smtpd_tls_protocols = !SSLv2,!SSLv3
     smtp_tls_protocols = !SSLv2,!SSLv3
    
    problem solved
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    ISPConfig hosts already should look like that by default.
     

Share This Page