Subject: Re: set up of sendmail.cf to use cyrus-imap
To: Uwe Lienig <Uwe.Lienig@fif.mw.htw-dresden.de>
From: Chris Cameron <chris@onemind.com>
List: netbsd-users
Date: 08/20/2002 09:29:09
This is the entries I have in my .mc file (I am using cyrus as well).
divert(0)dnl
VERSIONID(`@(#)onemind.mc 8.7 (Berkeley) 5/19/1998')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
define(`confCOPY_ERRORS_TO',`postmaster')
define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
define(`confTO_IDENT',`0')
dnl setting cyrus as the trusted user will make it easier to pass
dnl Sendmail's safefile checks. however, it means that someone with the
dnl "cyrus" password could easily become root.
dnl define(`confTRUSTED_USER',`cyrus')
define(`confLOCAL_MAILER', `cyrus')
FEATURE(`use_cw_file')
FEATURE(`relay_entire_domain')
FEATURE(`nocanonify')
FEATURE(`always_add_domain')
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
MAILER(`local')
MAILER(`smtp')
MAILER_DEFINITIONS
Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
A=FILE /var/imap/socket/lmtp
LOCAL_RULE_0
Rbb + $+ < @ $=w . > $#cyrus $: + $1
afaik, you cannot get away from lmtp with cyrus 2.
Hope this helps!
-Chris
--
Chris Cameron <mailto:chris@onemind.com>
OneMind Inc. <http://www.onemind.com>
phone 519.652.2504 - fax 519.652.0945
strategic marketing design
----- Original Message -----
From: "Uwe Lienig" <Uwe.Lienig@fif.mw.htw-dresden.de>
To: "Chris Cameron" <chris@onemind.com>
Sent: Tuesday, August 20, 2002 9:22 AM
Subject: Re: set up of sendmail.cf to use cyrus-imap
> Chris Cameron wrote:
> >
> > What version of cyrus are you running?
> >
> > The configuration used for for version 1.xx changed with version 2.xx.
>
> This is the message sent from the cyrus-imapd server when connected from a
> telnet session at port 143
>
> * OK myname Cyrus IMAP4 v2.0.16 server ready
>
> But I think the point is: there is no mailer entry in rule 0 for sendmail
that
> resolves to the cyrus delivery agent.
>
> So this would be a sendmail config problem!
>
> Thanks for your hint.
>
> Anybody out there who is using cyrus-imap on a NetBSD box. Whats your
> sendmail.cf like?
>
> >
> > -Chris
> > --
> > Chris Cameron <mailto:chris@onemind.com>
> > OneMind Inc. <http://www.onemind.com>
> > phone 519.652.2504 - fax 519.652.0945
> > strategic marketing design
>
> TIA
>
> --
> Uwe Lienig | fon: (+49 351) 462 2780 |
mailto:uwe.lienig@fif.mw.htw-dresden.de
> | fax: (+49 351) 462 3476 | http://www.fif.mw.htw-dresden.de
> HTW Dresden | parcels: Gutzkowstr. 22 | letters: PF 12 07 01
> -FiF- | 01069 Dresden | 01008 Dresden
>