Hello, script in exim WHM...
the script that I need is that automatically then forwards, the emails received and sent by the company. By applying certain rules,
The idea is that each supervisor to be able to see all emails sent and received from their person in charge
and that the manager can see everything except if the mail is for owners.
i canot put @ so i replace with -
I have to put a script in exim WHM that all sent and received e-mails arrive at [login to view URL], except if the mail comes or goes toward [login to view URL] or [login to view URL], to avoid duplication, or if you [login to view URL] or [login to view URL] this included to: CC: or Bcc:
if ("$h_to:, $h_cc:, $h_bcc" contains "[login to view URL]")
then
unseen deliver "[login to view URL]"
endif
if $sender_address: contains "[login to view URL]"
then
unseen deliver "[login to view URL]"
endif
We need that everything that we receive and everything you send to reach [login to view URL] except if [login to view URL] this included or is the one who receives it.
we need certain emails back everything sent and received to [login to view URL] because it is necessary that the supervisors have to follow, but that [login to view URL] do not send copies to [login to view URL]
i have a list of 3 emails that I do not want to make a copy to [login to view URL] of everything sent or received
Thanks