Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62670 - MTAs should work with mailwrapper (/usr/sbin/sendmail issue)
Summary: MTAs should work with mailwrapper (/usr/sbin/sendmail issue)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 73486
  Show dependency tree
 
Reported: 2004-09-02 17:41 UTC by Andrej Kacian (RETIRED)
Modified: 2004-12-05 14:48 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 Andrej Kacian (RETIRED) gentoo-dev 2004-09-02 17:41:01 UTC
If mailwrapper is to be of any use, all MTAs that install /usr/sbin/sendmail should install /usr/sbin/sendmail.packagename instead. I've written an example ebuild (http://dev.gentoo.org/~ticho/esmtp-0.5.0.ebuild) with message in pkg_postinst() which can be replicated to every MTA that needs to support mailwrapper.

Currently, postfix and esmtp (which I am about to add in portage) come into my mind. Does anyone know of other? I'm sure there are more, including sendmail itself.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2004-09-02 17:53:00 UTC
Oh yes, and these MTAs need to RDEPEND on mailwrapper. I suggest >=mailwrapper-0.2, since location of mailer.conf has changed since 0.1, which IMHO should be removed from portage, as 0.2 is marked stable on all archs.
Comment 2 Tuan Van (RETIRED) gentoo-dev 2004-09-02 20:02:03 UTC
from postfix stable ebuild.
<snip>
        if use mailwrapper
        then
                mv "${D}/usr/sbin/sendmail" "${D}/usr/sbin/sendmail.postfix"
</snip>
so postfix should be ok.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2004-09-02 23:37:17 UTC
My apologies, I overlooked that. But, how will a new user know about this feature? I for one didn't know anything about mailwrapper up until now.

Shouldn't a warning be issued in case mailwrapper flag is not set AND there is already a MTA installed? MTAs blocking each other (!virtual/mta in DEPEND) is not a good idea for small MTAs, since for example esmtp can nicely be used along with Postfix (my case).
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2004-09-02 23:44:19 UTC
Nevermind, I found the !mailwrapper? ( virtual/mta ) in postfix. I shouldn't be staring at all those tiny letters so early in the morning. Closing this, sorry for bothering. :)