From owner-freebsd-questions@freebsd.org Thu Jan 25 15:28:48 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56686EB5A99 for ; Thu, 25 Jan 2018 15:28:48 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vm.unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id CF9458212D for ; Thu, 25 Jan 2018 15:28:47 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from Vincents-MacBook-Pro-2.local (unknown [81.174.148.213]) by vm.unsane.co.uk (Postfix) with ESMTPSA id ED6F730015 for ; Thu, 25 Jan 2018 15:28:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=unsane.co.uk; s=251017; t=1516894127; bh=m7QI17M/BFjzl7zQg205akOMqtHSwdO9aY3usCD3Asg=; h=Subject:To:References:From:Date:In-Reply-To; b=ATXWxfsnOy2Iu5xE1MJqAhFC3BMyG1Z1nLK2bnJtDKKG08VbYUbMk1Hus/yISGUat aDfyk9dV6HMLr2W7n+wyquZLT2TfZCwpaLUC7xUVcILoDxci3Br/fnD73fJhwIPJbB XYojPpaz/UDD+s2e6pn5VFVC4ZELKLbuFE00dlxc= Subject: Re: Exim authentication under FreeBSD To: freebsd-questions@freebsd.org References: <20180125141451.GB919@lena.kiev> <525396fb1902007fb9d1733b1afd441c@roundcube.fjl.org.uk> From: Vincent Hoffman-Kazlauskas Message-ID: Date: Thu, 25 Jan 2018 15:28:46 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <525396fb1902007fb9d1733b1afd441c@roundcube.fjl.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 15:28:48 -0000 On 25/01/2018 14:32, Frank Leonhardt wrote: > On 2018-01-25 14:14, Lena@lena.kiev.ua wrote: >>> From: Frank Leonhardt >>> >>> 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 https://github.com/Exim/exim/wiki/AuthenticatedSmtpUsingSaslauthd 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 https://wiki.dovecot.org/HowTo/EximAndDovecotSASL I use the dovecot sasl with postfix happily, but as I said I've not tried exim. Hope some of thats helpful Vince > > Regards, Frank. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"