Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 09:54:31 -0600
From:      Valeri Galtsev <galtsev@kicp.uchicago.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Exim authentication under FreeBSD
Message-ID:  <817aa206-27bf-f46a-fb27-72943aa42d8e@kicp.uchicago.edu>
In-Reply-To: <20180125141451.GB919@lena.kiev>
References:  <mailman.110.1516881602.62670.freebsd-questions@freebsd.org> <20180125141451.GB919@lena.kiev>

next in thread | previous in thread | raw e-mail | index | archive | help


On 01/25/18 08:14, Lena@lena.kiev.ua wrote:
>> From: Frank Leonhardt <frank2@fjl.co.uk>
>>
>> How do people do outgoing SMTP user-account authentication using Exim?
>>
>> I'm talking about traditional user accounts (/etc/passwd) here, not
>> glorious LDAP or SQL database virtual users. If you've not come across
>> this little problem-ette, Exim does not ever run as root and therefore
>> can't check /etc/master.passwd like sendmail/saslauthd can.

Do you run IMAP/POP server? If yes, which one?

> 
> I run a POP3 server (port mail/popa3d) on the same machine
> and use obsolete removed port security/pam_pop3 with Exim's
> server_condition = ${if pam{
> and /etc/pam.d/exim :
> 
> auth required /usr/local/lib/pam_pop3.so hostname=localhost info pwprompt=Password: timeout=5
> account required pam_permit.so

My case, alas, is not exactly as yours. I run postfix (not exim) and 
dovecot, and I use dovecot's ability to authenticate against passwd 
files (I do no authentication on port 25, and do no relay on port 25, 
but SSL encrypted port 465 relays for authenticated users).

Valeri

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?817aa206-27bf-f46a-fb27-72943aa42d8e>