Re: [Exim] relaying only for authenticated users

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: rgr
CC: exim-users
Subject: Re: [Exim] relaying only for authenticated users
Rob Ristroph wrote:

>         Let me give some background on what I've tried so far:

>
>         -- I noticed the authenticators section in the configuration
>            that came with debian, and so I make a
>            "*:username:cryptedpass" entry in


               ^^????
               "username:cryptedpass" should be enough.


>            /etc/exim4/passwd.clients, but in testing exim refused to
>            relay from outside my network and when I type something
>            like "AUTH PLAIN" into a test smtp session ( started using
>            the command "exim4 -d -bh 1.2.3.4" ) it says "503 AUTH
>            command used when not advertised"


Have you used "EHLO abc.tld" before the AUTH command? exim will not
accept AUTH commands, if they were not advertised, after EHLO.

>         -- If I try to send without using the AUTH, it says relay not
>            allowed


And that's good :)

>         I can post my config file if necessary, but what I'd really
>         like is some link to a config file that is pretty close to
>         what I want to do, and then I can work from it.  I have read


I bet the debian-config is complete when it comes to this.

Nico