After installation of net-mail/mailwrapper-0.1 and net-mail/sendmail-8.12.11-r2, the configuration in /etc/mailer.conf will point to postfix and not to sendmail. Possible solution: /etc/mailer.conf should _not_ be installed by mailwrapper, but by the ebuild of the MTA (sendmail, postfix, etc.). Reproducible: Always Steps to Reproduce: 1. Install mailwrapper and sendmail 2. 3. Actual Results: /etc/mailer.conf is configured for /usr/sbin/sendmail.postfix (which is not installed). Expected Results: Should be configured for /usr/sbin/sendmail.sendmail.
Another solution would be to inform user (ewarn or einfo) that he needs to configure mailer.conf appropriately. If we're going to let every MTA install its /etc/mail/mailer.conf, it should only contain only minimum of lines and it should be installed as fe. /etc/mail/mailer.conf.sendmail. mailer.conf file could then be a mere symlink to one of these files, and we could have some sort of switcher script, just like opengl-update for GL libs. My 2 cents here :)
I agree. Since meanwhile a "mailwrapper" useflag has been introduced (see bug 48652), users only get mailwrapper if they explicitly ask for it. An information message might therefore be sufficient.
latest sendmail ebuilds do install /etc/mail/mailer.conf appropriately so I'm closing this bug.