Hi Nik, Thanks for quick reply, yes the postfix version is 2.6 :
[root@posttestbox postfix]# postconf -d mail_version mail_version = 2.6.6 Here is how I tried the suggestion in main.cf : smtpd_relay_restrictions = localonly localonly = check_recipient_access hash:/etc/postfix/localdomains, reject smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders,permit_mynetworks,permit_sasl_authenticated,check_client_access mysql:/etc/postfix/mysql_popbsmtp_access_maps.cf,check_client_access hash:/etc/postfix/relay,reject_unauth_destination smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot But user is still able to send mails outside domain, here is current log happening (from postfix restart): Oct 8 23:38:03 posttestbox postfix/postfix-script[32074]: starting the Postfix mail system Oct 8 23:38:03 posttestbox postfix/master[32075]: daemon started -- version 2.6.6, configuration /etc/postfix Oct 8 23:38:22 posttestbox postfix/pickup[32079]: 7C52E635C6: uid=48 from=<suraj@mymailsystem.local> Oct 8 23:38:22 posttestbox postfix/cleanup[32093]: 7C52E635C6: message-id=<8834f0da5847e89290d0bafe5c9d1668@mymailsystem.local> Oct 8 23:38:22 posttestbox postfix/qmgr[32080]: 7C52E635C6: from=<suraj@mymailsystem.local>, size=557, nrcpt=1 (queue active) Oct 8 23:38:25 posttestbox postfix/smtp[32102]: connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c01::1a]:25: Network is unreachable Oct 8 23:38:27 posttestbox postfix/smtp[32102]: 7C52E635C6: to=<mygmailacco...@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.129.27]:25, delay=5.1, delays=0.15/0.01/3.5/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1381227533 hb3si26717605pac.65 - gsmtp) Oct 8 23:38:27 posttestbox postfix/qmgr[32080]: 7C52E635C6: removed I am trying to use the suggestions in more possible ways but shared current status in case it helps. Thanks -- View this message in context: http://postfix.1071664.n5.nabble.com/restricting-few-users-from-sending-mails-outside-domain-mymailsystem-com-tp61996p62002.html Sent from the Postfix Users mailing list archive at Nabble.com.