Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2000 13:24:16 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Hugh Blandford" <hugh@mail.island.net.au>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Restricting Access to IMAP
Message-ID:  <005c01bf860f$3bc10480$8dfee0d1@westbend.net>
References:  <Pine.BSF.3.96.1000305020721.28201B-100000@mail.island.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Hugh Blandford" <hugh@mail.island.net.au>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005c01bf860f$3bc10480$8dfee0d1>