It's work! thanks a lot!
2012/8/15 Brian Evans - Postfix List <grkni...@scent-team.com>: > On 8/15/2012 6:41 AM, Sense Zeng wrote: >> postfix version: 2.9.3-2 >> system: ubuntu 12.04 >> >> postfix is configure as a smarthost >> How can I permit some localuser send mail in shell (run sendmail) and >> deny other users? > Please refer to 'man 5 postconf' and search for authorized_submit_users > or http://www.postfix.org/postconf.5.html#authorized_submit_users > > The documentation is your friend. > > Brian