0

Is it possible to set a global sieve filter to redirect mail to specific mailbox within receiving domain. I understand I can simply point out where I want mail to go in a filter like bounce@example.com. But, I don't want mail from all domains end up in that one mailbox.

Example of what I want to achieve: Email for contact@example.com with subject "Not delivered" be redirected to bounce@example.com. There are many domains on server, and each one has it's own bounce@ mailbox.

James S.
  • 67
  • 2
  • 11

1 Answers1

0

For Postfix, which I assume is what you want you want from the tag (same option in Sendmail too) you would want to use the luser_relay option specifying a local account.

Andrew Schulman
  • 8,811
  • 21
  • 32
  • 47
ryan
  • 1
  • Not sure I understand.. From what I see luser_relay is a catchall mailbox that can be set up in postfix configuration? If I were to use a catchall for my purpose, how would I specify it in a sieve script? What I need would work similar to this: require ["copy", "fileinto"]; if header :contains "Subject" "tiger" { redirect :copy "other@*.com"; fileinto "Messages"; } Where *.com is a domain that received an email originally. – James S. Jun 16 '14 at 01:27