Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50827 - mailwrapper-0.1 / sendmail-8.12.11-r2 install bad /etc/mailer.conf
Summary: mailwrapper-0.1 / sendmail-8.12.11-r2 install bad /etc/mailer.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 01:37 UTC by Ulrich Müller
Modified: 2005-05-17 10:00 UTC (History)
2 users (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 Ulrich Müller gentoo-dev 2004-05-12 01:37:21 UTC
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.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-09-22 16:01:01 UTC
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 :)
Comment 2 Ulrich Müller gentoo-dev 2004-09-23 06:04:39 UTC
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.
Comment 3 Andrea Barisani (RETIRED) gentoo-dev 2005-05-17 10:00:57 UTC
latest sendmail ebuilds do install /etc/mail/mailer.conf appropriately so I'm
closing this bug.