Συντάκτης: Ian Zimmerman Ημερομηνία: Προς: exim-users Αντικείμενο: Re: [exim] Change PAM service name
On 2020-09-17 07:55, Yves Goergen wrote:
> That link would work for PAM, but my custom PAM module sends the
> request to a local backend server that does the actual work. And to
> distinguish services (it also handles FTP users which come from
> another table), it uses the service name.
>
> OK, so I'll either set "exim" for Dovecot, or copy the PAM config for
> both and teach my backend server about service aliases.
You can use @include directives in pam configuration files.
So just put most of the configuration in a file like
"/etc/pam.d/common-email" and then include this file in both exim and
dovecot configurations.