Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97589 - mailer-config tracker bug
Summary: mailer-config tracker bug
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 02:03 UTC by Andrea Barisani (RETIRED)
Modified: 2011-04-29 14:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Barisani (RETIRED) gentoo-dev 2005-07-01 02:03:10 UTC
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.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-07-01 02:58:20 UTC
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?
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-07-04 07:49:15 UTC
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.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-07-04 15:55:46 UTC
Looks like /usr/bin/rmail also needs to be handled, as it is provided by
postfix, sendmail and exim (so far I've figured).
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2005-07-10 18:50:07 UTC
/usr/bin/rmail is also provided by courier, as well as rmail.1 manpage
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-07-17 09:45:36 UTC
Can somebody put some updates on this. It has been one year and some pointers to where to start to help would be cool.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-04-29 14:01:00 UTC
no more mailer-config in portage