Need a generic way to install Postfix...
We sell Linux servers and we must find a way to install Postfix so that it will always be able to send emails. The problem is that we don't know in advance if our customer's internet connection is provided by an ISP or if it's a direct link. So we do not know if the "General type of mail configuration" should be "Internet Site" or "remote..." (i forgot the other one but it's the one that implies an SMTP address that we would then provide.)
We need this cause the server we sell are using mdadm and S.M.A.R.T to send emails when they detect issues with the install hard drives.
How can we do this ?