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.

I'm desperately trying to get Postfix to 'rewrite' the MAIL FROM envelope so that it's always in the form of: authenticated-user@$mydomain

I've been playing with the smtpd_sender_login_maps and smtpd_sender_restrictions options but these don't seem to provide anyway of forcing a certain value, merely accepting or rejecting the given value.

How can achieve this?

Thanks.

share|improve this question

1 Answer 1

You probably want to use the generic maps feature. Take a look at:

http://www.postfix.org/SOHO_README.html

http://www.postfix.org/ADDRESS_REWRITING_README.html

share|improve this answer

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.