Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 17:55:47 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Brandon Fosdick" <bfoz@glue.umd.edu>
Cc:        <ports@FreeBSD.ORG>
Subject:   Re: Cyrus Troubles
Message-ID:  <001201bfbf89$e0141320$8dfee0d1@westbend.net>
References:  <Pine.BSF.4.20.0005151626380.51698-100000@mail.wolves.k12.mo.us> <00ee01bfbecc$b4e55f00$8dfee0d1@westbend.net> <3920B74C.1C658583@glue.umd.edu> <000001bfbef4$1fd7d780$8dfee0d1@westbend.net> <392171E6.6FF040BC@glue.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Brandon Fosdick" <bfoz@glue.umd.edu>
> "Scot W. Hetzel" wrote:
> > You have no defered / error message in the sendmail log.
>
> Good call. :) Don't know why I didn't think to look there. How do I tell
> sendmail to find deliver in /usr/local/cyrus/bin?
>
You need to define CYRUS_MAILER_PATH in your sendmail *.mc file.

I use the following in the *.mc file:

dnl This stuff actually makes Cyrus work as the local mailer
dnl The flags A5@/:| are standard
dnl w: look up users in passwd file - enables .forward processing.
dnl S: always run deliver as the cyrus user

dnl The mXz flags are there to enable LMTP support with the -l flag on
deliver.
dnl If you wish to use single-message-store on 1.6.22 uncomment this entry
dnl (remove dnl) and comment then next entry (add dnl).
dnl define(`CYRUS_MAILER_FLAGS', `SA5@|:/wmXz')dnl
dnl define(`CYRUS_MAILER_ARGS', `deliver -l -e')dnl

dnl This is the normal way of delivering mail, If you wish to use
define(`CYRUS_MAILER_FLAGS',`SA5@|:/w')dnl
define(`CYRUS_MAILER_ARGS',`deliver -e -m $h -- $u')dnl

define(`CYRUS_MAILER_PATH',`/usr/local/cyrus/bin/deliver')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

LOCAL_RULE_0
R$=N$:                          $#local $: $1
R$=N < @ $=w . >$:      $#local $: $1
Rbb + $+ < @ $=w . >   $#cyrusbb $: $1

LOCAL_CONFIG
FN /etc/mail/sendmail.cN


NOTE: sendmail.cN is a list of users that don't need their messages stored
on the IMAP server (i.e. root ).

Scot



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201bfbf89$e0141320$8dfee0d1>