Re: [Exim] Authentication and Relaying

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Toshio Kumagai
Dátum:  
Címzett: Samuel GAUTIER
CC: exim-users
Tárgy: Re: [Exim] Authentication and Relaying
Samuel GAUTIER wrote:
>
> I believed that any authenticated user was automaticaly able to relay to any domain !!! (I use ldap authentication under exim 4)
>
> Is there any ACL to add or other issue ?
>
> SAM
>

Samuel,

    Here's my test ACL.
    You have to write an authenticator section
    to authenticate the senders.


check_recipient:
  accept  hosts = :
  deny    message = illegal character in localpart
          local_parts   = ^.*[@%!/|]
  deny    hosts = +auth_hosts
          message = authentication required
         !authenticated = *
  deny    hosts = +tls_hosts
          message = encryption required
         !encrypted = *
  deny    hosts = +tls_verify_hosts
          message = certificate not verified
         !verify = certificate
  deny    message = unrouteable address
         !verify = recipient
  accept  authenticated = *
  accept  domains = +local_domains
  accept  hosts = +relay_hosts
  deny    message = relay not permitted


--
            *** Save Solaris x86 ***
  Toshio Kumagai    TK2959 / TK127-AP
            Toshio_Kumagai@???, Japan