Date: Fri, 3 Aug 2001 20:42:38 +0400 From: "Alex Markov" <redrat@crpi.ru> To: <freebsd-questions@FreeBSD.ORG> Cc: <leblanc+freebsd@acadia.ne.mediaone.net> Subject: Re: Sendmail + Cyrus: please, i need your help! Message-ID: <017d01c11c41$516c7980$c604b5d5@srg.ru> References: <001301c115c4$bf185220$c604b5d5@srg.ru> <20010731115611.A51335@acadia.ne.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0140_01C11C5C.D5927A00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit ----- Original Message ----- From: "Louis LeBlanc" <leblanc+freebsd@acadia.ne.mediaone.net> To: <freebsd-questions@FreeBSD.ORG>; <freebsd-questions@FreeBSD.ORG> Sent: Tuesday, July 31, 2001 7:56 PM Subject: Re: Sendmail + Cyrus: please, i need your help! > Hey Alex. I am working on getting Cyrus on FreeBSD myself, and I > think I have some of these hurdles covered. Glad to hear it! It's really encourage me! ;-) > 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. I am using 2.0.15 for one month, and never met this problem. But i am planning to reinstall the whole server, thus, i will get a 2.0.16 anyway. > 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. 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. > > 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. 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... > > 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. 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? 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"! Maybe you can give me any clue? Just in case, my config file in attachment. > > 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. Yes, i know about it, and i used it already in my searches. Thanks in advance! -- Alexey Markov. ------=_NextPart_000_0140_01C11C5C.D5927A00 Content-Type: application/octet-stream; name="ns.mc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ns.mc" divert(0) VERSIONID(`crpi.ru') OSTYPE(bsd4.4) DOMAIN(generic) FEATURE(access_db, `hash -o /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(nocanonify) FEATURE(always_add_domain) FEATURE(nouucp, `nospecial') TRUST_AUTH_MECH(`PLAIN LOGIN DIGEST-MD5 CRAM-MD5') define(`confAUTH_MECHANISMS', `PLAIN LOGIN DIGEST-MD5 CRAM-MD5') define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLFile') dnl define(`confTRUSTED_USER', `cyrus') define(`confBIND_OPTS', `-DNSRCH -DEFNAMES') define(`confTO_IDENT', `0'); define(`confCACERT', `/etc/ssl/cacert.pem') define(`confCACERT_PATH', `/etc/ssl/') define(`confSERVER_CERT', `/etc/ssl/newcert.pem') define(`confSERVER_KEY', `/etc/ssl/newreq.pem') define(`confCW_FILE', `-o /etc/mail/local-host-names') define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') define(`confDEF_CHAR_SET', `koi8-r') define(`confLOCAL_MAILER', `cyrus') define(`LUSER_RELAY', `local:postmaster') 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 /arc/cyrus/conf/socket/lmtp LOCAL_RULE_0 Rbb + $+ < @ $=w . > $#cyrus $: + $1 ------=_NextPart_000_0140_01C11C5C.D5927A00-- 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?017d01c11c41$516c7980$c604b5d5>