Autor: Vibhav Data: A: exim-users Assumpte: [Exim] [Can i do Mail Spliting with Exim]
Dear List
Currently, i face a problem , the scenario is like this...
I use Debian woody with the following
Exim
Fetchmail
Procmail
My setup is like this...
The above Debian machine (fetchmail) to pull mails from remote Mail Server.
remote server has virtual email ids.. and those maisl fall in a common
account as /common_pop /
the fetchmail pulls the mail from remote mail server (/common_pop/) to
local debian machine)
at the time when the mail is pulled, i use PROCMAIL to split the mails
of common_pop to individual mailboxes based to To field....
if the To field = regina@???
the mail will go to regina mailbox locally (/var/spool/mail/regina)
if the To field = vpai@???
the mail will go to vpai mailbox locally (/var/spool/mail/vpai)
The above scenarios work properly...
but when a mail in the common_pop account has to many mail addresses in
the To field , e.g.
regina@???,vpai@???,sysadmin@???
the mail goes to the first maibox with 3 copies of the same mail.
in my case....
when there are many recipients in the To field , all mails goes to
regina mailbox in localserver.linuxlocal.com.
But i want respective local mailboxes like regina, vpai, sysadmin.
The Procmail list says mail routing should be done by MTA and procmail
cannot do...
Then how will i do it with Exim , as exim is my MTA....