RE: [Exim] Checking a POP box with multiple users (more info…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Thomas Mohaupt
Päiväys:  
Vastaanottaja: Daniel Free
Kopio: exim-users
Aihe: RE: [Exim] Checking a POP box with multiple users (more info)
> There is an account on the machine i am install for every user, however
> there is only one box on the pop server (not mine in any way) that stores
> the mail for all the name/addresses untill i pop them onto my server.
>
>
> i want it to go like this
> all addresses --> single mailbox --> myserver --> seperate mailboxes for
> each user
>
> at the moment it goes
> all addresses --> single mailbox --> myserver --> my mailbox
>
> it is currently retrieving the mail using fetchmail
>
> .fetchmailrc is basic at the mo
>
> poll servername
>          user xxxxx with password passhere


Sorry about the late response, I have a delay between receive and read
exim-list mails :-(

I suggest you have to use procmail.
change your .fetchmailrc to:
<snip>
poll POPSERVER proto POP3 user USER pass PASSWD is root fetchall mda
"/usr/bin/procmail -d %T"
<snap>

and create .procmailrc
<snip>
LOGFILE=/var/log/procmail
:0
*^TOfoo
!foo

:0
*^TObar
!bar

...

:0
*^TO.
!postmaster
<snap>

See also
http://www.ii.com/internet/robots/procmail/qs/
http://www.tuxedo.org/~esr/fetchmail/fetchmail-FAQ.html

ThoMo