Answer the question
In order to leave comments, you need to log in
Is it possible to forward messages one by one to several different addresses?
Hello!
Before me there was such task:
Applications from a site come. There are three managers. It is necessary that these applications come to them one by one.
I.e.
The first application - one, the next manager - the next application. Is it possible to do so?
Answer the question
In order to leave comments, you need to log in
Can. Having written a script that redirects mail :) Its task is to stupidly scoop out a letter from stdin, look at the flag - which manager to send now and feed the saved letter to sendmail (well, or whatever you have as an MTA). And then turn the flag further. I think it would be possible even to do this on / bin / sh, but now I'm reluctant.
it is somehow more logical to do this at the site code level.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question