2

Say I want users A and B to receive each other's mail under Postfix. Is there a way to set this up as root? My first approach hasn't worked. Namely, under /etc/aliases, the following:

A: A, B
B: B, A

causes an understandable forwarding loop.

Thanks in advance for your help.

1
  • 2
    If you're using IMAP and both users are on the same IMAP server, it might be cleaner to have each user subscribe to the other's mail boxes, rather than muck through mail forwarding.
    – cjc
    Sep 15, 2012 at 15:08

1 Answer 1

2

Give user A and B a different login : C and D.

Then configure A and B to be aliases for both C and D.

To make it clear : A and B wont be real nor virtual users anymore, just aliases.

C and D will both recieve all mails.

Don't disclose C and D and configure their mail client with [email protected] and [email protected] as their main mail adress : Try to make sure no legitimate mail is written directly to C and D.

Is it what you are trying to achieve?

1
  • Thanks, that does it. I was hoping there would be a cleaner approach. It is disappointing that Postfix can't understand the original syntax... Thanks again. Sep 16, 2012 at 0:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .