Ok, excuse me. Now I post my postconf -n:
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases,ldap:aliases config_directory = /etc/postfix debug_peer_level = 2 default_destination_concurrency_limit = 50 double_bounce_sender = postmaster forward_path = $home/.forward home_mailbox = Maildir/ inet_interfaces = $myhostname,localhost local_recipient_maps = unix:passwd.byname local_transport = local mail_owner = postfix mydestination = $myhostname, localhost.localdomain, localhost.localdomain, localhost myhostname = hosting.pippo.it mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24 myorigin = $myhostname queue_directory = /var/spool/postfix relayhost = 192.168.1.4 smtpd_restriction_classes = local_only unknown_local_recipient_reject_code = 550 virtual_alias_maps = ldap:aliases virtual_gid_maps = static:1003 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = ldap:domains virtual_mailbox_maps = ldap:mailbox virtual_minimum_uid = 500 virtual_transport = virtual virtual_uid_maps = static:1002 THANKS Gabriele Di Giambelardini wrote: > ok I tried it but not work well. > > [snip] > > smtpd_recipient_restriction = > check_sender_access hash:/etc/postfix/restricted_senders > Please show the output of 'postconf -n' instead of main.cf. and no, don't fix the typo. use: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/restricted_senders > [snip]