* Nikolaos Milas <nmi...@noa.gr>:
> Quick question:
> 
> Is there a way to create some client restrictions based on the
> SASL-auth username of the client? Or this is only achievable via a
> policy server, like postfwd?
> 
> For example, I would like to have restrictions of the form: "Only
> clients authenticated with the SASL-auth username 'secretary' or
> 'chief' will be allowed to submit mail to the recipient address
> allst...@example.com."
> 
> I know we can set restrictions based on the IP address of the
> client, but what about the SASL-auth username?

$ man 5 postconf | less +/^smtpd_sender_login_maps
$ man 5 postconf | less +/^reject_sender_login_mismatch
$ man 5 postconf | less +/^reject_authenticated_sender_login_mismatch
$ man 5 postconf | less +/^reject_unauthenticated_sender_login_mismatch

p@rick

-- 
[*] sys4 AG
 
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich
 

Reply via email to