[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-scanner: Scanned by Inflex & McAffee. 

Yes, I had to do something similar, on a smaller scale.

Assuming that you have your default mailer as cyrus, add something like
the following to your sendmail.m4 file, and rebuild your .cf. Replace
pop_mailer with whatever is apropriate. The two R lines need to go in
before the normal delivery to cyrus, otherwise these will never be
evaluated.

FI/etc/mail/pop-users

LOCAL_RULE_0
R$=I < @ $=w >          $#pop_mailer $: $1
R$=I                    $#pop_mailer $: $1

Then list the user accounts in pop-users, one to a line.

For your number of uses, you will probably need to use a hash database
rather than a text file tho, but I'm not sure of the syntax off the top
of my head :-)

T.

Marco Pirovano wrote:
> 
> Dear Michael and Simon,
> thank you for your answer.
> 
> At 02:47 PM 2/19/01 +0100, you wrote:
> >On Monday, February 19, 2001 12:01:19 PM +0100 Marco Pirovano
> ><[EMAIL PROTECTED]> wrote:
> >+------
> >| Hello,
> >| I have to migrate about 12,000 students from a POP3 view to a IMAP view.
> >| Both POP3 server and IMAP server reside on the same machine.
> >| Now they use Eudora as POP3 client, and in the future they will use a
> >| webmail program, probably IMP.
> >|
> >| I've two big questions:
> >|
> >| 1) For a not short time, we will have both POP3 and IMAP users,
> >|      so how can I configure sendmail to manage this situation ?
> >|      We run sendmail 8.11.2 and procmail 3.15.
> >
> >As cyrus supports both imap and pop3 this isn't really a problem, just use
> >formail and deliver to copy the mail from the usual mailboxes into cyrus,
> >you users can continue using pop3 until the webmail comes online.
> >Configuring sendmail to use deliver or lmtp isn't particularly hard.
> 
> Now, I use fectmail to move mail from /var/mail/user to imap users INBOX
> folders.
> but, I can't use it for a great number of users.
> Is it possible to configure sendmail so, POP3 users mail still goes into
> /var/mail/user
> and IMAP mail goes into INBOX folders ?
> 
> >The
> >biggest problem is the time it takes to convert 12000 mailboxes but I guess
> >that you are planning to do the change this summer when traffic is low.
> 
> Of sure !
> 
> >| 2) Is there a way to convert Eudora mailboxes to IMAP folders ?
> >
> >No idea I'm afraid.
> >
> >/Michael
> >--
> >This space intentionally left non-blank.
> 
> ------------------------------------------------
>   Marco Pirovano
>   Universita' Bocconi
>   Area Sistemi Informatici e Telematici
>   Via Balilla, 18 20136 Milano - Italy
>   E-mail: [EMAIL PROTECTED]
>   Phone: +39 02 5836.3173  Fax: +39 02 5836.3160
> ------------------------------------------------

-- 
-=*=-=*=--=*=-=*=-=*=-
Tristan Ball
System Administrator
Vision Systems
ph 03 9211 7064
-=*=-=*=--=*=-=*=-=*=-

Reply via email to