For now, i have managed to solve it with procmail. I just made rules that search for valid local email addresses in this form:
for\ \<[EMAIL PROTECTED]> Since this 'for' line appears in the headers added by the mail server, it seems to be working quite well, but if fetchmail can come with a simpler (or safer) solution, i'll check it out too. Thanks everyone. Damian El mar, 12-08-2003 a las 08:32, Frankie escribió: > Fetchmail can do this.. > > I have done it before where the mail is recieved by a single account.. > > fetchmail fetches the mail and distributes the mail based on one of the > X-to headers.. > > install fetchmailconf and use that, it has settings for this. > > > rgds > > Franki > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] Behalf Of Damian Gatabria > >Sent: Tuesday, 12 August 2003 5:18 AM > >To: Lista Newbie > >Subject: [newbie] single account, multiple users: > > > > > > > >Hi. wassup? long time no post. > > > >I need some advice again, maybe someone has already been > >where i am now :oP > > > >I'm now working for a small business providing IT, > >support and system administration, and in one of our > >customers, a very small (9 workstations + ex-exchange server) > >company, i've finally installed a Linux server for them. > >It's my first Linux server ever. > >It's doing fine as a Windows domain controller, file and print server > >(all through Samba), internet sharing using iptables for NAT, > >and all the nice crap. It downloads mail with fetchmail and, > >with postfix and vm-pop3d, i made it a nice mail server too, > >providing pop3 access to the clients in the local network. > >OK then, So far so good. > > > >Now, here's the one problem i need to solve: > >We also provide a domain name for them, as well as > >e-mail accounts. My boss wants to be able to use one > >single pop3 account in our main server to hand over the > >mail to this server i made. this is the idea: > > > >the fetchmail on this server is going to fetch mail (really?!) > >from one single pop3 account at our big server at our office. > >In this account, there's mail for every single employee > >of this customer. Yes. All accounts mixed up in a single account. > >Mail from this account has to be processed somehow and > >'splitted' properly, one mailbox per user, each reading his/her > >own messages only. > > > >"No problem!" Said I, being aware of the existance of > >Procmail. In a matter of hours, i googled around and found > >a way to do this. A bit of procmail magic, and It is now working > >properly, except for one thing, which brings me here: > > > >FSCKING "<undisclosed recipients>" HEADERS!! Of course, > >procmail filters messages based on it's headers. But > >how can i filter messages that do not say where they are > >going? Such messages are not being picked up by procmail, > >which is a very serious situation. > > > >On to the real question: Is there another kind of software > >(maybe a replacement for fetchmail?) that can query > >a pop3 server and filter immediately, BEFORE it is sent > >to postfix? > > > >On win32, there's this program called 'igetmail', which > >does exactly that. It fetches mail, processes it and > >after that it forwards messages on to the MTA. Is there > >something like this available for Linux? How does one > >solve this kind of thing? > > > >Thanks for any suggestions... tho i'm not sure > >this is the right place to ask...? > > > >Damian > > > > > > > > > > > > > > ______________________________________________________________________ > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com