Maximal multiplicative properties of partitions