[zimbra@mail root]$
head
-1
/opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions
.cf
check_sender_access
hash
:
/opt/zimbra/postfix/conf/restricted_senders
[zimbra@mail root]$ vim
/opt/zimbra/conf/zmconfigd
.cf
SECTION mta DEPENDS amavis
POSTCONF smtpd_restriction_classes local_only
POSTCONF local_only FILE postfix_check_recipient_access.cf
[zimbra@mail root]$
cat
/opt/zimbra/conf/postfix_check_recipient_access
.cf
check_recipient_access
hash
:
/opt/zimbra/postfix/conf/local_domains
, reject
[zimbra@mail root]$
cat
/opt/zimbra/postfix/conf/restricted_senders
weyee@weyeenet.net local_only
[zimbra@mail root]$
cat
/opt/zimbra/postfix/conf/local_domains
weyeenet.net OK
[zimbra@mail root]$ postmap
/opt/zimbra/postfix/conf/restricted_senders
[zimbra@mail root]$ postmap
/opt/zimbra/postfix/conf/local_domains
[zimbra@mail root]$ zmmtactl stop
/postfix-script
: stopping the Postfix mail system
Stopping saslauthd...
done
.
[zimbra@mail root]$ zmmtactl start
Rewriting configuration files...
done
.
Starting saslauthd...
done
.
/postfix-script
: starting the Postfix mail system