From owner-freebsd-isp Sat Mar 4 11:24:28 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id 488D337B864 for ; Sat, 4 Mar 2000 11:24:25 -0800 (PST) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.9.3/8.9.3) with SMTP id NAA83484; Sat, 4 Mar 2000 13:24:17 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <005c01bf860f$3bc10480$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: "Hugh Blandford" Cc: References: Subject: Re: Restricting Access to IMAP Date: Sat, 4 Mar 2000 13:24:16 -0600 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.3825.400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: "Hugh Blandford" > I was wondering if there was a way to make some users access their mail by > POP3 yet allow others access to their mail by IMAP? > > Is there a way to setup Sendmail, Cyrus etc so that if there is a valid > user account by not a Cyrus mailbox the usercould fetch their mail via a > non-Cyrus POP3 server? I use the following in my sendmail.mc file: MAILER(local)dnl MAILER(smtp)dnl define(`CYRUS_MAILER_FLAGS',`SA5@|:/')dnl define(`CYRUS_MAILER_PATH',`/usr/local/cyrus/bin/deliver')dnl define(`CYRUS_MAILER_ARGS',`deliver -e -m $h -- $u')dnl define(`CYRUS_MAILER_MAX',`eval(5*1024*1024)')dnl define(`CYRUS_MAILER_USER',`cyrus:cyrus')dnl define(`CYRUS_BB_MAILER_FLAGS',`S')dnl define(`CYRUS_BB_MAILER_ARGS',`deliver -e -m $u')dnl MAILER(cyrus)dnl define(`confLOCAL_MAILER',`cyrus')dnl LOCAL_RULE_0 R$=N $: $#local $: $1 R$=N < @ $=w . > $: $#local $: $1 Rbb + $+ < @ $=w . > $#cyrusbb $: $1 LOCAL_CONFIG FN /etc/mail/sendmail.cN In sendmail.cN you put the list of users that you don't want sendmail to send to the Cyrus deliver program. Do you currently use the Cyrus POP3 server? If you do, then you will need to set up the non-Cyrus POP3 server and the Mail Clients to use an alternate port. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message