0

In a sendmail configuration, I can selectively inhibit alias expansion using a backslash as in

foo:        \foo, bar@example.com
foo-only:   \foo

The idea here being that email sent to foo will be delivered to foo and also copied to bar, but email to foo-only will only be delivered to foo.

Can I mimic this with postfix $virtual_alias_maps?

copper.hat
  • 155
  • 1
  • 8
  • 1
    I didn't see anything obvious for postfix after a quick spin through `aliases`, `virtual` and `tcp_map`... – thrig Sep 13 '15 at 19:10
  • 1
    Either you edit the header with header_checks, or just make it the other way round: `foo: foo-only bar@example.com`. – sebix Sep 19 '15 at 11:36

0 Answers0