Re: [exim] simplest pwcheck hack for freebsd

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Odhiambo G. Washington
Fecha:  
A: Randy Bush
Cc: exim users
Asunto: Re: [exim] simplest pwcheck hack for freebsd
* Randy Bush <randy@???> [20050301 10:44]: wrote:
> i am a freebsd -current and portupgrade used
>
> what is the *simplest* and most maintainable way to include
> pwcheck into exim's portupgrade build?


Hi Randy,

Greetings from Kenya!


PWCHECK is supposed to be deprecated in Exim. See the
/usr/ports/mail/exim/Makefile. However, Oliver has not dropped it
and as such you can use it.

In /usr/local/etc/pkgtools.conf, inside the MAKE_ARGS bracket:

'mail/exim' => 'WITH_PWCHECK=yes'

Such that `portupgrade mail/exim` will always honor the compilation
of PWCHECK support.


However, you can easily switch to SASLAUTH from PWCHECK. In that
case, you will need the following:


In /usr/local/etc/pkgtools.conf:

'mail/exim' => 'WITH_SASLAUTHD=yes"

And the following authenticators:

plain_saslauthd:
  driver             = plaintext
  public_name        = PLAIN
# don't send system passwords over unencrypted connections
# server_advertise_condition = ${if eq{$tls_cipher}{}{0}{1}}
  server_condition   = "${if saslauthd{{$2}{$3}}{1}{0}}"
  server_set_id      = $2
  server_prompts     = :


login_saslauthd:
  driver             = plaintext
  public_name        = LOGIN
# don't send system passwords over unencrypted connections
# server_advertise_condition = ${if eq{$tls_cipher}{}{0}{1}}
  server_prompts     = "Username:: : Password::"
  server_condition   = "${if saslauthd{{$1}{$2}}{1}{0}}"
  server_set_id      = $1




        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash _at_ wananchi _ dot _ com        . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post