Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: username@mydomain.com where username is actually user login.

share|improve this question

2 Answers 2

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: user1@example.com to be allowed to send messages only to: user1@newdomain.com. Thats it. This user (group of users in future) is not allowed to send messages to example.com domain or anywhere else. –  gib5on Jan 30 '13 at 15:16

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

Your Answer

 
discard

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.