Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265399

Summary: net-mail/mailbase: provide /etc/pam.d/smtp
Product: Gentoo Linux Reporter: Jung Tae-young <master>
Component: [OLD] UnspecifiedAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: bertrand, eras, grobian, net-mail+disabled, vapier, williamh
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Jung Tae-young 2009-04-08 06:08:48 UTC
Yesterday I installed a new system with gentoo linux.

I choose exim + dovecot, but smtp-auth makes problem. I tracked the logs and I found what was the probelm. After copying /etc/pam.d/pop3 to /etc/pam.d/smtp, smtp-auth trouble was gone.

Is there any reason that /etc/pam.d/smtp is not included in mailbase?

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-08 18:23:23 UTC
(In reply to comment #0)
> Is there any reason that /etc/pam.d/smtp is not included in mailbase?

I'd say because it's provided by MTAs like postfix:

# qfile -Cv /etc/pam.d/smtp
mail-mta/postfix-2.5.5 (/etc/pam.d/smtp)

Let's see what mailbase maintainers think about this.
Comment 2 Jung Tae-young 2009-04-08 18:37:23 UTC
Then this bug is the bug of exim ebuild.

# epm -ql exim | grep smtp

Then this wass the bug of exim ebuild. 

Since we need this file if we use mta and every mta has dependency on mailbase, I think /etc/pam.d/smtp should be installed by mailbase not by particular mta.
Comment 3 SpanKY gentoo-dev 2021-09-15 15:00:21 UTC
postfix just does:
  pamd_mimic_system smtp auth account

is there any other mta that installs /etc/pam.d/smtp ?  if not, having mailbase do it prob makes sense.
Comment 4 Fabian Groffen gentoo-dev 2021-09-15 16:42:56 UTC
exim does:
        pamd_mimic system-auth exim auth account

I guess that could be rewritten as:
   pamd_mimic_system exim auth account

e.g. (system-auth,) auth and account are common.