<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>79240</bug_id>
          <alias>pam.d-mailbase</alias>
          <creation_ts>2005-01-23 11:20 0000</creation_ts>
          <short_desc>net-mail/courier-imap installs /etc/pam.d/ files provided by mailbase</short_desc>
          <delta_ts>2006-08-23 07:04:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>143830</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>wschlich@gentoo.org</reporter>
          <assigned_to>net-mail@gentoo.org</assigned_to>
          <cc>alchemyx@uznam.net.pl</cc>
    
    <cc>awaria@chopin.edu.pl</cc>
    
    <cc>folken@chaostreff.ch</cc>
    
    <cc>griffon26@gentoo.org</cc>
    
    <cc>hhg@gentoo.org</cc>
    
    <cc>iggy@gentoo.org</cc>
    
    <cc>iyosifov@gmail.com</cc>
    
    <cc>lisa@gentoo.org</cc>
    
    <cc>pez@apocalyptech.com</cc>
    
    <cc>port001@gentoo.org</cc>
    
    <cc>rane@gentoo.org</cc>
    
    <cc>robbat2@gentoo.org</cc>
    
    <cc>swtaylor@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-01-23 11:20:17 0000</bug_when>
            <thetext>several IMAP server packages (at least net-mail/uw-imap, net-mail/courier-imap
and net-mail/cyrus-imapd) install the file /etc/pam.d/imap, most of them are
different, some are not. this kind of collision should be prevented. for example,
the IMAP server net-mail/dovecot installs /etc/pam.d/dovecot, thus not colliding
with other IMAP servers&apos; pam files.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-01-23 11:51:00 0000</bug_when>
            <thetext>If the packages don&apos;t have the option to override the pam &apos;facility&apos;, this will involve patching the sources of all those servers...

I don&apos;t see how someone will want to have several IMAP servers. Since there is a virtual/imapd, the collision shouldn&apos;t be possible.

Anyway, maybe I&apos;m missing something... any ideas ?

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-01-23 12:09:40 0000</bug_when>
            <thetext>well, if we don&apos;t want to patch them, then we should prevent them from overwriting
other servers pam files.

I have installed cyrus-imapd, uw-imap and courier-imap side by side, mainly for testing purposed. but that doesn&apos;t matter. the only thing that matters is that
those files collide.

btw: courier-imap provides a way to choose another PAM service.
/etc/courier-imap/imapd:
--8&lt;--
##NAME: AUTHSERVICE:0
#
#  It&apos;s possible to authenticate using a different &apos;service&apos; parameter
#  depending on the connection&apos;s port.  This only works with authentication
#  modules that use the &apos;service&apos; parameter, such as PAM.  Example:
#
#  AUTHSERVICE143=imap
#  AUTHSERVICE993=imaps
--8&lt;--
so we could just change the default there (same goes for all POP3 servers as well!).

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-01-24 06:31:17 0000</bug_when>
            <thetext>Well I expected courier-imap to have an &apos;easy&apos; way to override it. But... what do you suggest for the others ? Patching the sources just to override the pam facility seems like a Bad Thing (TM) for me. ( In case they don&apos;t provide a way to override it of course )

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-01-24 06:55:32 0000</bug_when>
            <thetext>when we don&apos;t want to patch them, we should make sure they either block
each other, or they all don&apos;t install an own /etc/pam.d/imap file
but use a shared one, maybe from a metapackage, like net-mail/mailbase.

same goes for /etc/pam.d/imaps, pop, pop3, pop3s etc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-01-25 06:54:35 0000</bug_when>
            <thetext>Installing a common pam.d/ file looks the better solution to me.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-11 01:57:57 0000</bug_when>
            <thetext>Committed mailbase-0.00-r7 which installs common pam.d files.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-11 06:29:30 0000</bug_when>
            <thetext>Made uw-imap depend on &gt;=net-mail/mailbase-0.00-r8 and removed its pam.d stuff. I&apos;m doing it on cyrus-imapd right now.

courier-imap should follow the same behavior.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-13 08:31:36 0000</bug_when>
            <thetext>net-mail/cyrus-imapd-2.10.0-r1 is on CVS without pam.d stuff but with &gt;=net-mail/mailbase-0.00-r8 dependency.

Next i&apos;m taking care of is qpopper.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-13 08:48:11 0000</bug_when>
            <thetext>qpopper-4.0.5-r2 modified and commited to conform this bug.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-13 15:24:25 0000</bug_when>
            <thetext>great job!
one note -- the package provides the following PAM files:
--8&lt;--
/etc/pam.d/imap
/etc/pam.d/imap4
/etc/pam.d/imap4s
/etc/pam.d/imaps
/etc/pam.d/pop
/etc/pam.d/pop3
/etc/pam.d/pop3d
/etc/pam.d/pops
--8&lt;--
maybe only &apos;imap&apos; and &apos;pop&apos; should be regular files and the others
should be just symlinks to the corresponding &apos;imap&apos;/&apos;pop&apos; file?! like:
--8&lt;--
/etc/pam.d/imap
/etc/pam.d/imap4 -&gt; imap
/etc/pam.d/imap4s -&gt; imap
/etc/pam.d/imaps -&gt; imap
/etc/pam.d/pop
/etc/pam.d/pop3 -&gt; pop
/etc/pam.d/pop3d -&gt; pop
/etc/pam.d/pops -&gt; pop
--8&lt;--</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-13 15:55:02 0000</bug_when>
            <thetext>Thanks!

Mmm... well I can find arguments in favor and against both aproaches and can&apos;t decide :(

Which one do you prefer ? Both seem ok to me and both seem bad in some manner.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-13 23:46:01 0000</bug_when>
            <thetext>please tell me about the disadvantages of either :)
I prefer the symlink solution (if it actually works with PAM) over
the multiple identical file solution.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-14 01:12:49 0000</bug_when>
            <thetext>It&apos;ll work fine with pam. The only drawback I see is that as a *user* I would have expected them to be separate files. Anyway, a postinst message will do it. Don&apos;t you think?

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-14 11:06:04 0000</bug_when>
            <thetext>well, *why* should they be *separate* files? to my understanding, they should all stand for almost the same, so it&apos;s expected behaviour to work the same, and making use of symlinks clarifies this approach.
so when a user wants pop3 and pops to act differently, he/she can still remove the symlink and create a new file with the appropriate content.
I believe it&apos;s more common to have them act the same than to act differently.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-14 12:20:31 0000</bug_when>
            <thetext>Yes... you&apos;re right I don&apos;t know what I was thinking on... changed on CVS:

----8&lt;----
/etc/pam.d/imap
/etc/pam.d/imap4 -&gt; /etc/pam.d/imap
/etc/pam.d/imap4s -&gt; /etc/pam.d/imap
/etc/pam.d/imaps -&gt; /etc/pam.d/imap
/etc/pam.d/pop
/etc/pam.d/pop3 -&gt; /etc/pam.d/pop
/etc/pam.d/pop3s -&gt; /etc/pam.d/pop
/etc/pam.d/pops -&gt; /etc/pam.d/pop
----8&lt;----

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-14 12:25:29 0000</bug_when>
            <thetext>great! thanks! :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-18 14:42:44 0000</bug_when>
            <thetext>vimap already conforms this bug.

Still need to conform this bug:

courier-imap
popa3d
tpop3d

Metadata says you maintain those packages. Thats the reason I CCed you to this bug. mailbase-0.00-r8 is now stable because of a security bug in cyrus-imapd. Please do it ASAP.

Thanks
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-02-19 04:56:17 0000</bug_when>
            <thetext>Currently tpop3d does not install anything in /etc/pam.d. Its default facility
name is &quot;tpop3d&quot;. Should anything be changed?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-19 06:11:57 0000</bug_when>
            <thetext>If you can *easily* make it use a mailbase provided facility it&apos;d be great.

EASILY stands for: No patches, no obscure hacks. Maybe a configure option or something like that.

If it&apos;s not easy, just leave it as it is :P

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-02-19 06:35:17 0000</bug_when>
            <thetext>I could add a default tpop3d.conf that has one line: 
  auth-pam-facility: pop3

But I don&apos;t like this, because the user will still have to add a few other things
to the configuration file before tpop3d can work. I also don&apos;t like providing a 
configuration file that works out of the box because then the configuration will
not be as secure as it can be.

I could make tpop3d depend on mailbase, but then the user would have to notice 
/etc/pam.d/pop3 and add the line I mentioned above to the configuration file
himself.

In other words, I like the way it is right now unless someone else has a 
better suggestion.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-19 06:59:56 0000</bug_when>
            <thetext>Ok, so leave it as it is now :P No problem.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-19 09:00:15 0000</bug_when>
            <thetext>well, either add a *sane* and secure-by-default config or add another symlink
to mailbase:

/etc/pam.d/tpop3d -&gt; /etc/pam.d/pop

I like the default config approach better, because it doesn&apos;t pollute the
mailbase package.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-02-19 10:30:57 0000</bug_when>
            <thetext>I agree that adding a tpop3d symlink to mailbase is unacceptable.
However, why would you prefer a default config that overrides tpop3d&apos;s default
facility + an added dependency on mailbase over just leaving things the way they
are now?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-19 11:42:11 0000</bug_when>
            <thetext>consistency. we added those mailbase symlinks in order to have *one*
authoritative pam facility for *all* pop/imap services. I see absolutely
no reason to leave tpop3d (or any other not-yet-adapted pop/imap server)
sit alone in its corner :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-19 12:01:31 0000</bug_when>
            <thetext>The same applies to vm-pop3d. It uses its own facility.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-19 12:37:46 0000</bug_when>
            <thetext>so, can it be changed in a config file or any other way without patching the sources?
I have another idea: we could add the symlinks for tpop3d or vm-pop3d to the
server packages instead of the mailbase package.
explanation:

mailbase:
--8&lt;--
/etc/pam.d/imap
/etc/pam.d/imap4 -&gt; /etc/pam.d/imap
/etc/pam.d/imap4s -&gt; /etc/pam.d/imap
/etc/pam.d/imaps -&gt; /etc/pam.d/imap
/etc/pam.d/pop
/etc/pam.d/pop3 -&gt; /etc/pam.d/pop
/etc/pam.d/pop3s -&gt; /etc/pam.d/pop
/etc/pam.d/pops -&gt; /etc/pam.d/pop
--8&lt;--

tpopd3d:
--8&lt;--
/etc/pam.d/tpop3d -&gt; /etc/pam.d/pop
--8&lt;--

vm-pop3d:
--8&lt;--
/etc/pam.d/vm-pop3d -&gt; /etc/pam.d/pop
--8&lt;--

etc. etc....
much better approach than doing nothing or adding those server specific
symlinks to the mailbase package.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-02-19 16:33:49 0000</bug_when>
            <thetext>Good idea. I like it.

One other thing, what are the pop3/pop3s symlinks used for? For programs that
have a non-unique, hard-coded facility name?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-19 18:19:21 0000</bug_when>
            <thetext>yes, there are some servers using one of those, so the set currently
provided by mailbase is the most common subset of all.
also, the ones with a trailing &apos;s&apos; are used for the SSL secured
versions of imap/pop.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-23 04:21:43 0000</bug_when>
            <thetext>Made vm-pop3d use a symlink to /etc/pam.d/pop rather than installing a new file in vm-pop3d-1.1.6-r1 [ ~ARCH ]. And made it depend on at least mailbase-0.00-r8.

Please maintainers, made popa3d and courier-imap conform this bug ASAP.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-23 05:38:03 0000</bug_when>
            <thetext>Maurice, can you please update the tpop3d ebuild(s)? TIA!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-02-23 07:51:43 0000</bug_when>
            <thetext>I wasn&apos;t aware you were in a hurry. I was going to group it with some other 
changes, but instead I&apos;ll add a symlink to the ebuild and add mailbase as a 
dependency tonight.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-02-23 08:54:37 0000</bug_when>
            <thetext>I&apos;m not in a hurry with tpop3d. I&apos;m in a hurry with popa3d and courier-imap since mailbase-0.00-r8 is now stable [ due to a security fix in cyrus-imap ]; and those packages are likely to collide with mailbase.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-23 10:59:55 0000</bug_when>
            <thetext>oh, sorry, I thought Fernando just missed tpop3d in his comment :-)
so, don&apos;t hurry for tpop3d then.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>port001@gentoo.org</who>
            <bug_when>2005-02-23 15:05:25 0000</bug_when>
            <thetext>Sorry I&apos;m so late in noticing this bug.

popa3d does not install an /etc/pam.d/imap, only /etc/pam.d/popa3d.

Would you now like popa3d to identify itself to pam as &quot;pop3&quot;, not install /etc/pam.d/popa3d and depend on &gt;=mailbase-0.00-r8? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2005-02-23 22:14:43 0000</bug_when>
            <thetext>the simplest thing would be to make popa3d
install /etc/pam.d/popa3d as a symlink
to /etc/pam.d/pop, just like we did with
vm-pop3d.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>port001@gentoo.org</who>
            <bug_when>2005-02-24 09:32:01 0000</bug_when>
            <thetext>popa3d fixed in CVS. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-03-03 06:01:24 0000</bug_when>
            <thetext>Still need courier-imap to conform this bug in order to avoid shilly bug reports.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-03-04 11:05:18 0000</bug_when>
            <thetext>FYI: tpop3d done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-03-05 10:47:12 0000</bug_when>
            <thetext>Thanks Maurice. Also changing summary to fit current state of bug.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>folken@chaostreff.ch</who>
            <bug_when>2005-03-08 09:37:31 0000</bug_when>
            <thetext>&gt;&gt;&gt; emerge (12 of 85) net-mail/mailbase-0.00-r8 to /
 * Checking for possible file collisions...
 * //etc/pam.d/pop3 exists and wasn&apos;t provided by mailbase
 * //etc/pam.d/imap exists and wasn&apos;t provided by mailbase

Just happend while upgrading. Those belong to courier-imap, but you allready know. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bfg-dev@blenning.no</who>
            <bug_when>2005-03-12 17:00:11 0000</bug_when>
            <thetext>You should add a more informative message, I just got the following message.

* //etc/pam.d/pop3 exists and wasn&apos;t provided by mailbase
* //etc/pam.d/imap exists and wasn&apos;t provided by mailbase

I figured there was some kind of collision with courier-imap, but I didn&apos;t know what caused the mailbase package to be installed. There should be a message like:

This package provides a common entry point for configuration files belonging to various imap-servers. And is provided to fix the problems in Bug 79240 (http://bugs.gentoo.org/show_bug.cgi?id=79240)

This could even be given in the description. I couldn&apos;t deciphre &quot;MTA layout package&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-04-03 06:08:10 0000</bug_when>
            <thetext>Created an attachment (id=55183)
courier-imap-pam.d-mailbase.diff

Little patch to remove pam.d files if net-mail/mailbase-0.00-r8 or later is
present.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-04-21 04:49:49 0000</bug_when>
            <thetext>*** Bug 89907 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lisa@gentoo.org</who>
            <bug_when>2005-05-04 09:15:28 0000</bug_when>
            <thetext>What is the status of this bug? (especially since I am encountering it...)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-05-04 09:21:46 0000</bug_when>
            <thetext>Well... actually the patch I proposed or a similar one should be applied to courier-imap. It is up to robbat2. I can do it if he wants.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2005-05-13 03:13:06 0000</bug_when>
            <thetext>any progress on this? this still bombs out my install! :-/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iggy@gentoo.org</who>
            <bug_when>2005-05-20 04:53:42 0000</bug_when>
            <thetext>Courier (seeing as how it includes courier-imap) is also affected. I&apos;ll fix it
this weekend if I can&apos;t get ahold of swtaylor to fix it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hunter.cook@tranquility.net</who>
            <bug_when>2005-05-31 07:56:29 0000</bug_when>
            <thetext>Hey guys. Sorry if I&apos;m terribly uninformed. But shouldn&apos;t mailbase just use
normal config-protected files (._cfg0000_pop) instead of dying when files other
than those it provides exist? In my case, I&apos;m using PAM to authenticate against
MySQL, so I&apos;ve got /etc/pam.d/pop and /etc/pam.d/imap files that are
non-standard. So, every time there&apos;s an upgrade to mailbase, my emerge -uDv
world fails and I have to move those files someplace and move them back after
the install. It&apos;s not like this really ruins my day or anything, but it&apos;s a
hassle, and I don&apos;t see any reason why mailbase shouldn&apos;t treat config files in
/etc/ the same way every other ebuild does. It just seems to me that etc-update
is here for exactly this purpose. Again I apologize if I&apos;m missing something big.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ferdy@gentoo.org</who>
            <bug_when>2005-05-31 08:46:42 0000</bug_when>
            <thetext>(In reply to comment #48)
&gt; Hey guys. Sorry if I&apos;m terribly uninformed. But shouldn&apos;t mailbase just use
&gt; normal config-protected files (._cfg0000_pop) instead of dying when files other
&gt; than those it provides exist? In my case, I&apos;m using PAM to authenticate against
&gt; MySQL, so I&apos;ve got /etc/pam.d/pop and /etc/pam.d/imap files that are
&gt; non-standard. So, every time there&apos;s an upgrade to mailbase, my emerge -uDv
&gt; world fails and I have to move those files someplace and move them back after
&gt; the install. It&apos;s not like this really ruins my day or anything, but it&apos;s a
&gt; hassle, and I don&apos;t see any reason why mailbase shouldn&apos;t treat config files in
&gt; /etc/ the same way every other ebuild does. It just seems to me that etc-update
&gt; is here for exactly this purpose. Again I apologize if I&apos;m missing something big.


Just set your first line as:

# Provided by mailbase (dont remove this line!)

And you won&apos;t have problems anymore... once courier-imap works as expected this
check will be removed.

Cheers,
Ferdy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2005-05-31 14:58:38 0000</bug_when>
            <thetext>fixed in CVS.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>awaria@chopin.edu.pl</who>
            <bug_when>2006-05-06 06:33:11 0000</bug_when>
            <thetext>Hi, I installed courier-imap today, and the bug is still there -- the ebuild tried to overwrite my mailbase-provided /etc/pam.d/{pop3,imap} files. Why is this bug closed? Please reopen the bug.

Antoni
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rane@gentoo.org</who>
            <bug_when>2006-05-06 06:43:06 0000</bug_when>
            <thetext>Same here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wschlich@gentoo.org</who>
            <bug_when>2006-05-21 13:44:41 0000</bug_when>
            <thetext>What&apos;s the status here?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>awaria@chopin.edu.pl</who>
            <bug_when>2006-05-23 09:58:15 0000</bug_when>
            <thetext>(In reply to comment #53)

&gt; What&apos;s the status here?

Dunno. Bug is there. Anyone fix it, please?

[a]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-08-14 00:53:18 0000</bug_when>
            <thetext>This is fixed in &gt;=4.0.1-r2. See Bug 143830 for stabilization.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-08-23 07:04:03 0000</bug_when>
            <thetext>4.0.4 stable now, closing.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55183</attachid>
            <date>2005-04-03 06:08 0000</date>
            <desc>courier-imap-pam.d-mailbase.diff</desc>
            <filename>courier-imap-pam.d-mailbase.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvdXJpZXItaW1hcC00LjAuMS1yMS5lYnVpbGQub2xkCTIwMDUtMDQtMDMgMTQ6NDQ6MjIu
MDAwMDAwMDAwICswMjAwCisrKyBjb3VyaWVyLWltYXAtNC4wLjEtcjEuZWJ1aWxkCTIwMDUtMDQt
MDMgMTQ6NTY6NDYuMDAwMDAwMDAwICswMjAwCkBAIC0xOTYsNiArMTk2LDExIEBACiAJZG9kaXIg
L3Zhci9saWIvY291cmllci1pbWFwIC9ldGMvcGFtLmQKIAltYWtlIGluc3RhbGwgREVTVERJUj0k
e0R9IHx8IGRpZQogCisJIyBUaGVzZSBhcmUgcHJvdmlkZWQgYnkgbWFpbGJhc2UgKGJ1ZyAjNzky
NDApCisJaWYgaGFzX3ZlcnNpb24gJz49bmV0LW1haWwvbWFpbGJhc2UtMC4wMC1yOCcgOyB0aGVu
CisJCXJtICR7RH0vZXRjL3BhbS5kL3tpbWFwLHBvcDN9CisJZmkKKwogCSMgYXZvaWQgbmFtZSBj
b2xsaXNpb25zIGluIC91c3Ivc2JpbiB3cnQgaW1hcGQgYW5kIHBvcDNkCiAJY2QgJHtEfS91c3Iv
c2JpbgogCWxvY2FsIG5hbWUK
</data>        

          </attachment>
    </bug>

</bugzilla>