>* Matt <nuk...@besonet.ch>:
>> >* Matt <nuk...@besonet.ch>:
>> >>   First of all, thank you for reading this! I have the following two 
>> >> goals:
>> >> To a) only allow relaying mail when SASL authenticated, and b) to only
>> >> accept local (virtual) domains in the "MAIL FROM" address when relaying.
>> >
>> >Read into $smtpd_sender_login_maps.
>> >
>> >p@rick
>>
>> Thank you for the fast reply. I've had a look at that but basically every
>> sender has the same allowed domains, which is all of the local (virtual)
>> domains. Is there a way to tell this to postfix without listing every single
>> domain for every single SASL user?
>
>If you take envelope sender restrictions seriously, no.
>It's a job for a script.
>
>p@rick

Ok, thanks. I'll see if I can do something with "check_policy_service" then.

- Matt

Reply via email to