Exim authentication under FreeBSD

Valeri Galtsev galtsev at kicp.uchicago.edu
Thu Jan 25 15:54:39 UTC 2018



On 01/25/18 08:14, Lena at lena.kiev.ua wrote:
>> From: Frank Leonhardt <frank2 at 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
++++++++++++++++++++++++++++++++++++++++


More information about the freebsd-questions mailing list