Ohh GREAT Noel! that sorted the issue out .. I was using roundcube to test this but once you specified that its using sendmail instead of smtp it clicked the right button, roundcube by default uses available mta and do not look for smtp auth. I have adjusted roundcube to go for smtp and it worked like charm. For other users references, this is the final conf which worked for me as expected :
main.cf : 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_restriction_classes = localonly localonly = check_recipient_access hash:/etc/postfix/localdomains, reject smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot Roundcube main.inc.php : $rcmail_config['smtp_server'] = 'tls://%h'; $rcmail_config['smtp_port'] = 25; $rcmail_config['smtp_user'] = '%u'; $rcmail_config['smtp_pass'] = '%p'; Thanks guys! Now I just need to find the button for "marked as solved" :) -- View this message in context: http://postfix.1071664.n5.nabble.com/restricting-few-users-from-sending-mails-outside-domain-mymailsystem-com-tp61996p62018.html Sent from the Postfix Users mailing list archive at Nabble.com.