Smarthost for one maildomain

Discussion in 'Installation/Configuration' started by vistree, Jun 12, 2014.

  1. vistree

    vistree Member HowtoForge Supporter

    I would like to send mails from some domains via a smarthost (TLS encrypted with authentication), and the rest via the actual (ISPConfig- ) Server.
    How can I realize this with ISPConfig? Or do I have to configure this "manually" with postfix...?
    Cheers,
    Kai
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to configure that manually in postfix, the smarthost settings under System > server config > mail in ispconfig will forward all outgoing traffic to a smarthost.
     
  3. vistree

    vistree Member HowtoForge Supporter

    Hi Till, thank you for your reply. So I will append the following to /etc/postfix/main.cf
    ######
    sender_dependent_relayhost_maps=hash:/etc/postfix/relay_hosts
    smtp_sasl_password_maps=hash:/etc/postfix/relay_passwords
    smtp_sasl_auth_enable=yes
    smtp_tls_security_level=may
    smtp_sasl_security_options = noanonymous
    ######

    One additional question: is the main.cf update safe / could this be overriden when I change settings in ispconfig itself???
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ispconfig updates may change main.cf, but only some lines and not the whole file.
     

Share This Page