[Exim] SMTP AUTH implementation

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Norihisa Washitake
Data:  
Para: exim-users
Asunto: [Exim] SMTP AUTH implementation
Hi,

I've been using exim since it was version 3.22, and
in my exim.conf I wrote:

plain:
   driver = plaintext
   public_name = PLAIN
   server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}} \
      {crypteq{$3}{${extract{2}{:} \
      {${lookup{${local_part:$2}}lsearch{/etc/mail/virtual/${domain:$2}/passwd} \
      {$value}{*:*}}}}}}}{1}{0}}"
   server_set_id = $2


login:
   driver = plaintext
   public_name = LOGIN
   server_prompts = "Username:: : Password::"
   server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
      {crypteq{$2}{${extract{2}{:} \
      {${lookup{${local_part:$1}}lsearch{/etc/mail/virtual/${domain:$1}/passwd} \
      {$value}{*:*}}}}}}}{1}{0}}"
   server_set_id = $1


Users use their full email address (like wassy@???) as their username
and their passwords on authentication. Its local_part and encrypted
passwords are stored in file located at /etc/mail/virtual/$domain/passwd,
like:

> wassy:4JxA/j8.aZ

(here, password is, of course, random.)

It worked fine with Exim 3.22, but does not with Exim 3.33.
3.33 says: "550 relaying to <mail@address> prohibited by administrator"
It seems 3.33 does not do authentication.

Is there a change on implementation around SMTP authentication?
Or, how come this configuration does not work?

# I thought Exim 3.33 configuration file is compatible with
# its older version...

---
Norihisa Washitake <wassy@???>
Chief Engineer, GENS Corp. jp