[Exim] How do I ..... ( mailboxes and poping )

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Daniel Free
Date:  
À: debian-user, exim-users
Sujet: [Exim] How do I ..... ( mailboxes and poping )
ok after a couple of replies i realised i probly hadnt supplied enough
info, so heres a whole heap
There is an account on the machine i am installing 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
which is a bad thing as its not my mail


it is currently retrieving the mail using fetchmail
.fetchmailrc is basic at the mo

poll servername
    user xxxxx with password passhere



to set up a test scenario i added addresses mbox01 - 5@??? (a
friends domain i borrowed for a mo) all forwarding to the mailbox
catch@??? (that should explain the addresses in the
headers below) i sent a standard mesage to each of the mbox0# addresses and
then popped the mail for catch@??? with my server that
had the real users mbox01 - 5 on it.
it still dumped it all in my mailbox. : (
this is what happens when i run fetchmail -v


##### console dump ######
aztech:~# fetchmail -v
fetchmail: 5.3.3 querying fizz.earthlight.co.nz (protocol auto) at Mon, 24
Jul 2000 19:05:25 +1200 (NZST)
fetchmail: 5.3.3 querying fizz.earthlight.co.nz (protocol IMAP) at Mon, 24
Jul 2000 19:05:25 +1200 (NZST)
fetchmail: IMAP connection to fizz.earthlight.co.nz failed: Connection refused
fetchmail: 5.3.3 querying fizz.earthlight.co.nz (protocol POP3) at Mon, 24
Jul 2000 19:05:25 +1200 (NZST)
fetchmail: POP3< +OK Cubic Circle's v1.31 1998/05/13 POP3 ready
<117100008aec7b39@fizz>
fetchmail: POP3> USER catch
fetchmail: POP3< +OK catch selected
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Congratulations!
fetchmail: POP3> STAT
fetchmail: POP3< +OK 5 2897
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
5 messages for catch at fizz.earthlight.co.nz (2897 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 5 messages (2897 octets)
fetchmail: POP3< 1 579
fetchmail: POP3< 2 581
fetchmail: POP3< 3 579
fetchmail: POP3< 4 579
fetchmail: POP3< 5 579
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK 579 octets
reading message 1 of 5 (579 octets)
fetchmail: SMTP< 220 aztech ESMTP Exim 3.12 #1 Mon, 24 Jul 2000 19:05:31 +1200
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-aztech Hello root at aztech [127.0.0.1]
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<daniel@???> SIZE=579
fetchmail: SMTP< 250 <daniel@???> is syntactically correct
fetchmail: SMTP> RCPT TO:<root@localhost>
fetchmail: SMTP< 250 <root@localhost> is syntactically correct
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself
#**fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 OK id=13GcIt-0007Pt-00
flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK Message 1 deleted
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< +OK 581 octets

Cut out some stuff to reduce message size (messages 2 3 4 & 5)

fetchmail: POP3> DELE 5
fetchmail: POP3< +OK Message 5 deleted
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Was it as good for you, as it was for me? (clean as a
baby)
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 aztech closing connection
fetchmail: normal termination, status 0
######## end console dump ######

##########now for the headers of the messages that are dumped in my box
instead of the users #########

From daniel@??? Mon Jul 24 19:05:31 2000
Envelope-to: root@localhost
Received: from aztech
([127.0.0.1] helo=localhost ident=root)
by aztech with esmtp (Exim 3.12 #1 (Debian))
id 13GcIt-0007Pt-00
for <root@localhost>; Mon, 24 Jul 2000 19:05:31 +1200
Received: from fizz.earthlight.co.nz
by localhost with POP3 (fetchmail-5.3.3)
for root@localhost (single-drop); Mon, 24 Jul 2000 19:05:31 +1200 (NZST)
Received: by fizz (mbox catch)
(with Cubic Circle's cucipop (v1.31 1998/05/13) Mon Jul 24 19:13:19 2000)
X-From_: daniel@??? Mon Jul 24 13:56:48 2000
Received: from daniel by fizz with local (Exim 3.12 #1 (Debian))
id 13GXU7-0007Rm-00
for <catch@fizz>; Mon, 24 Jul 2000 13:56:47 +1200
To: mbox01@???
Subject: test to mbox01
Message-Id: <E13GXU7-0007Rm-00@fizz>
From: Daniel Free <daniel@???>
Date: Mon, 24 Jul 2000 13:56:47 +1200
01

########## end headers #############

######### headers of the box that collects all the mail before i pop it
###########

  From daniel@??? Mon Jul 24 13:56:48 2000
Envelope-to: catch@fizz
Received: from daniel by fizz with local (Exim 3.12 #1 (Debian))
         id 13GXU7-0007Rm-00
         for <catch@fizz>; Mon, 24 Jul 2000 13:56:47 +1200
To: mbox01@???
Subject: test to mbox01
Message-Id: <E13GXU7-0007Rm-00@fizz>
From: Daniel Free <daniel@???>
Date: Mon, 24 Jul 2000 13:56:47 +1200


01

########### end headers    ############


i think thats about all i could give right now.
ta In Advance
-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-
-=|  Daniel Free                     Earthlight Communications LTD    |=-
-=|  daniel@???    ICQ#    15707938                 |=-
-=|  Cellular # 021 258 3389         HTTP://quake.earthlight.co.nz/   |=-
-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-