When using mailwrapper flag posfix and sendmail still have conflicting files which are detected by collision-protect portage feature. Discussion about this has been going on at bug #97268. I'm opening a new one for the sake of clarity. These are the affected files: existing file /usr/bin/rmail is not owned by this package existing file /usr/share/man/man1/newaliases.1.gz is not owned by this package existing file /usr/share/man/man1/mailq.1.gz is not owned by this package existing file /usr/share/man/man5/aliases.5.gz is not owned by this package Reproducible: Always Steps to Reproduce: 1. USE="mailwrapper" emerge sendmail 2. USE="mailwrapper" emerge postfix 3.
I've just talked to slarti about this, and we decided to have manpages installed as f.e. mailq-postfix.1.gz, mailq-sendmail.1.gz, and let mailq.1.gz be a symlink to the correct manpage. The symlink would be controlled by mailer-config (or mailer eselect module). This way, abovementioned collision is solved, user always gets correct manpage, and as an added bonus, manpages for any installed MTA are available via f.e. `man newaliases-sendmail`. I'm hopefully going to have a look at this during the weekend. Any suggestions/improvements?
mailer-config-0.2 implements manpages handling, as suggested above. Handled manpages currently are: sendmail.1 - postfix, esmtp sendmail.8 - sendmail newaliases.1 - postfix, esmtp, sendmail mailq.1 - postfix, esmtp, sendmail aliases.5 - postfix, sendmail By saying f.e. `man newaliases`, you will get manpage belonging to currently selected profile/MTA, or "No manual entry for ...", if that MTA doesn't provide such manpage. As for other MTAs: I have the mailer-config-aware ebuild ready (bug #97657), I'm waiting for exim maintainers' opinion. Exim only installs one manpage - exim.1 I'll have a look at the rest sometime soon.
Looks like /usr/bin/rmail also needs to be handled, as it is provided by postfix, sendmail and exim (so far I've figured).
/usr/bin/rmail is also provided by courier, as well as rmail.1 manpage
Can somebody put some updates on this. It has been one year and some pointers to where to start to help would be cool.
no more mailer-config in portage