* Неворотин Вадим <nevoro...@gmail.com>:

> I need to allow to send mails throw my Postfix SMTP server only for
> users from mynetwork with valid SMTP authentication. But I can't
> understand how to combine two permissions in smtp_recipient_restriction
> options: permit_mynetworks and permit_sasl_authenticated.

You need restriction classes for that :)

> smtp_recipient_restriction =
>   permit_mynetworks
>   permit_sasl_authenticated

smtpd_recipient_restriction =
   check_client_access hash:/etc/postfix/mynetworks
   reject
   
in  /etc/postfix/mynetworks you have:
10.0.0.1      permit_sasl_authenticated

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de
            

Reply via email to