Hi , * <[EMAIL PROTECTED]> wrote from a remote bunker : > > >I use getmail. I set up a getmail+qmail+serialmail >combo for a > >client of us, > >runs perfectly fine and no problems for almost a year >now. > > All mail comes to the [EMAIL PROTECTED] > I collect the mails into our intranet mail server. From there it > has to go to [EMAIL PROTECTED], > [EMAIL PROTECTED] ....
Simple.. > so how to do the filtering part ? My doubt is how is it possible > to identify, which mail has to go to which local recepients ? I > found that this can be done by making the 'Subject' as the > intranet recepient's mailbox and filtering with procmail. Here it goes..A sample getmailrc.. [default] verbose = 1 readall = 1 delete = 1 message_log = /var/log/getmail.log timeout = 240 [Company Mails] server = company.domain.com port = 110 readall = 1 delete = 1 username = companymail password = xxxxxxx postmaster = /var/spool/mail/postmaster local = ^[EMAIL PROTECTED],~emp1/Mail local = ^[EMAIL PROTECTED],~emp2/Mail -- Above , the local directives specify where to store the users mails. for ex the mails destined to [EMAIL PROTECTED] is stored in Mail mailbox file in his home directory. Read the documents at http://www.qcc.ca/~charlesc/software/getmail-2.0/ for more information. HTH dushyanth -- Neo: Jujitsu? I'm going to learn Jujitsu?... Holy shit. Tank: Hey Mikey, I think he likes it. How about some more? Neo: Hell yes. Hell yeah http://symonds.net/~dushy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
