Re: [exim] Message size filter based on AUTH

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Haber
Fecha:  
A: exim-users
Asunto: Re: [exim] Message size filter based on AUTH
On Tue, 08 Nov 2005 10:37:39 +0100, Marco De Vitis <starless@???>
wrote:
>I'd need to configure a machine to only relay mail from its LAN to the
>outside through the ISP's SMTP server.
>To be able to send mail, users *must* authenticate, anonymous
>connections must not be accepted.


This can be interpreted in two ways. One of it is the normal way:
Accept everything from local LAN unauthenticated and from the outside
only if authenticated. This can trivially be done by enabling
authentication and putting the local LAN into dc_relay_nets in
/etc/exim/update-exim4.conf.conf.

The other possible interpretation, _never_ accept from the outside and
require authentication from the inside cannot be done without
modifying the rcpt ACL that comes with the Debian exim packages.

>And the connection must use TLS.


That's the default, Debian's exim packages don't have exim advertise
authentication over unencrypted connections.

>There should be a message size limit based on the username received
>during authentication, e.g. user authenticating as "standard" can send
>messages up to 1MB, while user "privileged" can send up to 5MB.


That's something you'll have to do manually in the ACLs as well.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834