Exim authentication under FreeBSD

Vincent Hoffman-Kazlauskas vince at unsane.co.uk
Thu Jan 25 15:28:48 UTC 2018

On 25/01/2018 14:32, Frank Leonhardt wrote:
> On 2018-01-25 14: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.
>> 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
> Thanks. This exact method is actually in the Exim documentation, but as
> you state, the port no longer exists.

I dont use exim on freebsd but
suggests you could use it with cyrus-sasl-authd which is an option in
the port has that as an option in "make config" but not selected by default.
Another option the port has is dovecot auth if you run dovecot imap/pop3
I use the dovecot sasl with postfix happily, but as I said I've not
tried exim.

Hope some of thats helpful


> Regards, Frank.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list