From owner-freebsd-questions Fri Aug 3 12:11: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by hub.freebsd.org (Postfix) with ESMTP id EA41337B403 for ; Fri, 3 Aug 2001 12:10:57 -0700 (PDT) (envelope-from leblanc@mirror-image.net) Received: from muttley.mirrorimage.net (dhcp-07-eng49dc.mirrorimage.net [209.58.140.200]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id PAA14140 for ; Fri, 3 Aug 2001 15:10:56 -0400 Received: (from leblanc@localhost) by muttley.mirrorimage.net (8.11.4/8.11.4) id f73JBAl70703; Fri, 3 Aug 2001 15:11:10 -0400 (EDT) (envelope-from leblanc) Date: Fri, 3 Aug 2001 15:11:10 -0400 From: Louis LeBlanc 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> Reply-To: freebsd-questions@FreeBSD.ORG Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <001301c115c4$bf185220$c604b5d5@srg.ru> <20010731115611.A51335@acadia.ne.mediaone.net> <017d01c11c41$516c7980$c604b5d5@srg.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <017d01c11c41$516c7980$c604b5d5@srg.ru> User-Agent: Mutt/1.3.19i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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