Re: [exim] Strip domain on SMTP Authentication

Top Page
Delete this message
Reply to this message
Author: Jonathan Vanasco
Date:  
To: E L
CC: exim-users
Subject: Re: [exim] Strip domain on SMTP Authentication

you mean something like (router example)
    ?mail=${quote_ldap:$local_part}\
    or
    ?mail=${quote_ldap:$local_part}@${quote_ldap:$domain}\


or (auth example)
  public_name           = PLAIN
   server_condition = ${if ldapauth \
                         {  
user="mail=${quote_ldap:$2},fqdn=${domain:$2},ou=Email,o=mobwire,dc=redi 
vi,dc=com" \
                           pass="$3" \
                           ldap:/// \
                         } \
                         {yes} fail \
                         }
   server_set_id =$2


or

   public_name           = LOGIN
   server_prompts        = "Username:: : Password::"
   server_condition = ${if ldapauth \
                         {  
user="mail=${quote_ldap:$1},fqdn=${quote_ldap:${domain:$1}},ou=Email,o=m 
obwire,dc=redivi,dc=com" \
                           pass="${quote:$2}" \
                           ldap:/// \
                         } \
                         {yes} fail \
                         }
   server_set_id =$1




On Apr 13, 2005, at 10:35 AM, E L wrote:

> Hello,
>
> I have successfully installed Exim 4.50 on a FreeBSD server. As well
> SMTP authentication using just the username to authenticate.
>
> I need to use username@??? to the SMTP authentication
> mechanism. I know I need the adjust the server_condition, but I'm not
> familiar enough with this.
> Can anyone suggest me how can I perform this ?
>
> Thanks for any help.
> EL
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/