Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 15:11:10 -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:  <20010803151107.A70593@acadia.ne.mediaone.net>
In-Reply-To: <017d01c11c41$516c7980$c604b5d5@srg.ru>
References:  <001301c115c4$bf185220$c604b5d5@srg.ru> <20010731115611.A51335@acadia.ne.mediaone.net> <017d01c11c41$516c7980$c604b5d5@srg.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, getting a little long here, so I'm gonna trim this to a point
where I can keep my train of thought:

On 08/03/01 08:42 PM, Alex Markov sat at the `puter and typed:

> 
> Thanks a lot for this advice! I was very nearly to write such file
> myself... Now i can simply merge cyrusv2.mc with freebsd.mc to get
> my config file! But some of specialities still remain unclear to me.

One thing that may help is to find a sample cyrus.mc file in the cf
directory.  It will have most of the basic sendmail -> cyrus deliver
specs.  Make intelligent translations to something like what I gave
you before (adding and subtracting for other features, of course) and
you should be able to get pretty close.

> In fact, i want to make Cyrus the only local mailer for all types
> of users - "real" (in /etc/passwd) and "virtual" (in sasl.db), in
> order to avoid of using of mail.local for "real" users. I think,
> it's not so hard...

Yes, I'd actually like to get rid of sasl and just make cyrus go to
the unix passwds, but . . .  Not really important enough to spend the
time right now.

> > 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.
> 
> Mea culpa! Actually i wrote configuration for my new server from
> memory, and made this silly mistake! :-(
> 
> The right option is define(`LUSER_RELAY', `local:postmaster'), indeed!
> 
> But anyway, this option still not works for me... :-(((
> All mail with misspelled addresses go back to senders, not to
> postmaster. Maybe, due to another silly mistake of mine? :-/
> Or Cyrus dosn't support this feature in principle?

Try including /usr/share/sendmail/cf/m4/proto.m4.  Try this syntax:
include(`/usr/share/sendmail/cf/m4/proto.m4')
This file uses the LUSER definition.  If you are not getting errors,
but mail still just bounces, you might not have this included.
 
> Another strange thing - with shared folders: i have such folder as
> "common" in Cyrus, and have alias in /etc/mail/aliases for "bb+common".
> If a send mail to alias, it delivers successfully, but if i send
> it to "bb+common", it returns back with error "550 5.1.1 User unknown"!

Sorry, I do have some stuff to allow bb folders in my configs, but I
haven't gotten 'round to getting it up.  Not much call for it with
just me and the wife on my server.  If we needed a bb to communicate,
somthin must be wrong :)
Have you created the common folder as user.common?  Just a guess, but
for a bb, you want it to be a valid email address same as any other.
Unless I'm mistaken (and I could be) the primary difference is that
the bb is readable and writable by all, and administrated by cyrus(or
whatever on your system).  Like I said, I haven't set it up yet.  If I
get time (I think I've heard that before :) I'll try it again soon for
family bb stuff to keep the remote relatives in touch.


> Maybe you can give me any clue? Just in case, my config file in attachment.

I sincerely hope I have.  Good luck, and if you don't mind, when you
get the bb working right, post any obscure details, caveats, etc.

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

innovate, v.:
  To annoy people.


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?20010803151107.A70593>