Re: [Exim] SMTP Auth question

Góra strony
Delete this message
Reply to this message
Autor: John Dalbec
Data:  
Dla: will, Exim-Users Mailing List
Temat: Re: [Exim] SMTP Auth question
These expansion items should allow you to do what you want.

${domain:<string>}

The string is interpreted as an RFC 2822 address and the domain is extracted
from it. If the string does not parse successfully, the result is empty.

${local_part:<string>}

The string is interpreted as an RFC 2822 address and the local part is extracted
from it. If the string does not parse successfully, the result is empty.

HTH,
John

BTW 3.35 is quite old. Consider upgrading to Exim 4. Debian packages are
available; check the list archives.

will wrote:

> Hello,
>
> I have SMTP auth working with exim (3.35, debian stable), and it works
> fine. It uses a file with usernames and passwords generated by htpasswd
> at the moment, and is in the form:
>
> test@???:DhPbNVbjvCZBY
>
> I am also using vm-pop3d to serve virtual POP accounts, and this uses a
> htpasswd generated passwd file in the format:
>
> test:DhPbNVbjvCZBY
>
> but in the /mail/testdomain.com/passwd file, rather than a centralised
> passwd file as with the exim passwd file. What I would like to do if
> possible is to make both servers use the same password file in
> /mail/<domainname>/passwd. Is it possible to get exim to take a
> username, test@???, and then look the password for the local
> part up in the /mail/testdomain.com/passwd file (ie. user 'test')?
>
> Many thanks for any suggestions.
>
> Will.
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
>