Re: [exim] using port 587 for submission?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: hw
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] using port 587 for submission?


Am 03.09.2015 um 14:40 schrieb Jeremy Harris:
> On 03/09/15 12:07, hw wrote:
>> starting with the example configuration, what do I need to do to set up
>> exim for relaying messages from MUAs which should be allowed to connect
>> from the internet and from the LAN to the mail server on the LAN?
>>
>> It seems to me that the example configuration already has some things in
>> place for this, and that I need to somehow make it so that the MUAs can
>> authenticate themselves. Of course, the connections should be encrypted.
>>
>> I haven't found a guide to this yet. What are best practises to do
>> this? A pointer to a good documentation about this, and any hints,
>> would be greatly appreciated.
>
> http://exim.org/exim-html-current/doc/html/spec_html/ch-smtp_authentication.html
>
> section 3 "Authentication on an Exim server"


Thanks --- I'm currently looking at it and got so far to be able to try
it out:


begin authenticators

PLAIN:
  driver                     = plaintext
  server_set_id              = $auth2
  server_prompts             = :
  server_condition           = ${if pam{$2:$3}{1}{0}}
  server_advertise_condition = ${if def:tls_cipher }



When I try to send an email over port 587, I'm getting entries in exims
log file like:


PLAIN authenticator failed for [fqdn] [<IP>]: 535 Incorrect
authentication data (set_id=[<username>]


Now I'm trying to figure out what's wrong. The user does exist as a
local user, and I'm using the right password. What might I be missing?