Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 11:56:13 -0400
From:      Louis LeBlanc <leblanc+freebsd@acadia.ne.mediaone.net>
To:        freebsd-questions@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail + Cyrus: please, i need your help!
Message-ID:  <20010731115611.A51335@acadia.ne.mediaone.net>
In-Reply-To: <001301c115c4$bf185220$c604b5d5@srg.ru>
References:  <001301c115c4$bf185220$c604b5d5@srg.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Alex.  I am working on getting Cyrus on FreeBSD myself, and I
think I have some of these hurdles covered.

As for Cyrus 2.0.15, watch out, they seem to be having a 'signalled to
death by 11' problem of some sort.  I think 2.0.16 was just released,
maybe they fixed it.  As for the cyrus mailer file, don't use it.
Look in the build section of the cyrus-imap port
(/usr/ports/mail/cyrus-imap/work/cyrus-<version>/)  you will find a
replacement mailer mc file called cyrusv2.mc.  Put that into your
/usr/share/sendmail/cf/mailer file and use the following:

MAILER(cyrusv2)

This will contain the correct parameters.

Read on for a couple other thoughts.



On 07/26/01 03:18 PM, Alex Markov sat at the `puter and typed:
> Hello, FreeBSD community!
> 
> First of all: excuse my English (especially grammar)! ;-)
> I havn't language practice for some years...
> 
> I have FreeBSD 4.3-RELEASE as SMTP&IMAP server for our office,
> with Cyrus 2.0.15 + SASL 1.5.24 on it. Although all my troubles
> with SSL/TLS is gone, i still have some questions, so i need
> your advice!
> 
> 1. I have only one user (except root) in /etc/passwd, and i
>    want to store all mail for this user in cyrus mailbox
>    instead of /var/mail/username.
> 
>    I know, it's possible to assign mailer in sendmail.cf
>    for whole domain. Can i set certain mailer for single
>    user?

You might want to check with either the cyrus mailing list or with
sendmail.  I think it is more sendmail specific though, and I suspect
it isn't really possible - I could be wrong so don't let me stop you
from asking.

> 2. If i put "define(`confLOCAL_MAILER', `cyrus')" in sendmail.cf,
>    then "define(`confLUSER_RELAY', `local:postmaster')" stops to
>    work (i mean, that all messages with incorrect addresses going
>    back to sender instead of postmaster).

confLUSER_RELAY is not a valid define parameter.  The only thing I
found in /usr/share/sendmail/cf/README is a DOMAIN spec called
LUSER_RELAY.  Search on that key or DOMAIN in the file for details.
 
>    Also, sendmail starts to blame on sender addresses without domain
>    (for example - in cron messages), so i was forced to add
>    "FEATURE(always_add_domain)" in sendmail.cf.

I use that too.  Better to keep it.

> 3. In /usr/share/sendmail/cf/mailer/cyrus.m4 "deliver" has "-e" option,
>    which dosn't defined in deliver manual. Is it 1.6.x heritage or
>    something important?

see above.  Use the cyrusv2.mc - but make sure you read the docs
first.  I haven't used it because of the signaling bug (I dropped back
to 1.6.24 - worked for the last 2 1/2 years, so . . .)

> 4. I think, that next question asked here too often, but anyway:
>    is it possible to route all mail for certain address to top-level
>    cyrus mailbox? For example, i have "office" (not "user.office"!)
>    mailbox (with "p" right for "anonymous") and i want all mail to
>    office@domain.com go in it.

I don't think so.  I know you couldn't with 1.6.x, so unless they
changed the namespace design, I doubt it.  There is supposed to be a
namespace related release in the next few months, I think - soon
anyway, but I don't know the specifics of the changes.
 
>    My own maillists & Inet searches was unsuccessful. Maybe, someone
>    can give me good advice or point me at suitable documentation?

The cyrus website has details of support forums.  Unfortunately that
is pretty much limited to the mailing list: info-cyrus@andrew.cmu.edu.
They also have an anonymous imap server to get the archives from.  I
don't remember the servername exactly, but I know you can find it at
the cyrus website.

HTH
L
-- 
Louis LeBlanc       leblanc@acadia.ne.mediaone.net
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net                 ԿԬ

Correspondence Corollary:
  An experiment may be considered a success if no more than half
  your data must be discarded to obtain correspondence with your theory.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010731115611.A51335>