1

Topic: How to set up multiple addresses for one user (incl. for outgoing)?

My users are to have addresses in 3 domains. Using same username (before-@ string), same mailbox, but different domains (after-@ string). I've created all the users in one domain and aliases in another. But this only works for incoming mail, while users must be able to send outgoing messages choosing whatever domain to be specified as sender (and it'd be great to set different default domains for outgoing messages and use the same domain to which an incoming message came if answering a message). How can I achieve this?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to set up multiple addresses for one user (incl. for outgoing)?

Do you mean address rewrite? Reference:
http://www.postfix.org/ADDRESS_REWRITING_README.html

Or Sender Canonical:
http://www.postfix.org/postconf.5.html# … nical_maps

3 (edited by StrangeAttractor 2010-07-12 21:50:22)

Re: How to set up multiple addresses for one user (incl. for outgoing)?

Canonical looks reasonable. Should I set it manually in main.cf? But I don't want to rewrite for everyone. I want some particular users to be seen from outside as of the second domain - minimum, or allow a user to choose what sender address to specify when he writes a message.

4

Re: How to set up multiple addresses for one user (incl. for outgoing)?

StrangeAttractor wrote:

Canonical looks reasonable. Should I set it manually in main.cf?

Yes.