Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to configure Postfix to restrict outgoing e-mail per user so that he/she can ONLY send e-mails to one specific e-mail address?

For example: where username is actually user login.

share|improve this question

Your best bet here is a policy service such as postfwd or policyd; postfix does not natively have very good 1:1 rules.

share|improve this answer
yeap... thanks... i did a little digging and i think its doable.. policyd has strange documentation :/ when i come up with solution ill post it here – gib5on Feb 1 '13 at 8:33

It does look as if it is possible, the following documentation from the postfix website will give you a nudge in the right direction

Postfix sending restrictions

share|improve this answer
yea... i've been there but still can't find solution.. to put it more simple.. i need some kind of restriction or mapping per single user. For example: to be allowed to send messages only to: Thats it. This user (group of users in future) is not allowed to send messages to domain or anywhere else. – gib5on Jan 30 '13 at 15:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.