diff options
author | Ben Lutgens <blutgens@gentoo.org> | 2001-08-15 22:08:07 +0000 |
---|---|---|
committer | Ben Lutgens <blutgens@gentoo.org> | 2001-08-15 22:08:07 +0000 |
commit | e6b5268273ef8fe7bf7922b9b56f23b9d53c9e9d (patch) | |
tree | f3581a35ed0c1a5ac120866fa536633095f78e3a /net-mail | |
parent | digest-o-rama (diff) | |
download | historical-e6b5268273ef8fe7bf7922b9b56f23b9d53c9e9d.tar.gz historical-e6b5268273ef8fe7bf7922b9b56f23b9d53c9e9d.tar.bz2 historical-e6b5268273ef8fe7bf7922b9b56f23b9d53c9e9d.zip |
Added a file that contains the necessary auth directives. Perhaps I'll
substitute my entire config as well. My config with some system specific
modifications will allow you to setup SMTP AUTH using pam.
I've yet to finalize the TLS configuration but exim is compiled properly to
support it, it's a matter of getting the certificates generated and
tinkering with the /etc/exim/configure file enough to make it work.
I'll get to it eventually so that an admin will be able to emerge the exim
package and get an MTA that supports AUTH via PAM over TLS, with full
anti-virus support via AMAVIS and system_filter.exim as well as a
controlled relay.
Combine this with courier-imapd-tls and you've got an all around
butt-kicking email system.
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/exim/exim-3.32.ebuild | 2 | ||||
-rw-r--r-- | net-mail/exim/files/auth_conf.sub | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/net-mail/exim/exim-3.32.ebuild b/net-mail/exim/exim-3.32.ebuild index b833193b6961..0743ac28fa49 100644 --- a/net-mail/exim/exim-3.32.ebuild +++ b/net-mail/exim/exim-3.32.ebuild @@ -160,6 +160,8 @@ src_install () { insinto /etc/exim doins ${FILESDIR}/system_filter.exim einfo "Read the bottom of /etc/exim/system_filter.exim for usage" + dodoc ${FILESDIR}/auth_conf.sub + einfo "Cat this to the end of your configure for AUTH=PAM support" } pkg_config() { diff --git a/net-mail/exim/files/auth_conf.sub b/net-mail/exim/files/auth_conf.sub new file mode 100644 index 000000000000..7f413d3249e8 --- /dev/null +++ b/net-mail/exim/files/auth_conf.sub @@ -0,0 +1,22 @@ +###################################################################### +# AUTHENTICATION CONFIGURATION # +###################################################################### +# If you're using PAM to authenticate, lifes real simple. +# This plain directive works for nearly everything except windows MUA's the +# login directive will allow you to authenticate your Outlook 2000 and +# outlook express clients. + + + +plain: + driver = plaintext + public_name = PLAIN + server_condition = "${if pam{$2:$3}{1}{0}}" + server_set_id = $2 + +login: + driver = plaintext + public_name = LOGIN + server_prompts = "Username:: : Password::" + server_condition = "${if pam{$1:$2}{1}{0}}" + server_set_id = $1 |