[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can not deliver to cyrus imapd



On Tuesday 31 January 2006 23:51, Martin Schweizer wrote:
> Hello Amish
It's "Anish"

>
> Am Tue, Jan 31, 2006 at 06:08:08PM -0500 Anish Mistry schrieb:
> > > > > On my two machines (FreeBSD 5.4) I'm not able to compile
> > > > > sendmail with other mailer then the default ones. The hole
> > > > > thread and the details you can see in comp.mail.senmdail
> > > > > (link:
> > > > > http://groups.google.com/group/comp.mail.sendmail/browse_th
> > > > >read /thr
> > > > > ead/a9c1364a7b98be36/0e04b81274290cb3#0e04b81274290cb3 ).
> > > > >
> > > > > My goal is to use sendmail and cyrus impad 2.3. The problem
> > > > > is if I change the mailer in sendmail.mc nothing appears. I
> > > > > also checked sendmail.cf. There are no other mailers the
> > > > > the default ones. I'm very confused about the problem. Any
> > > > > ideas are very welcome.
> > > >
> > > > I'm using cyrus-imapd22 in production on a few servers with
> > > > the base sendmail.  I'm assuming you have cyrus-imapd23 setup
> > > > correctly. # set the sendmail password check method
> > > > touch /usr/local/lib/sasl2/Sendmail.conf
> > > > # add "pwcheck_method: saslauthd" to use sasl database
> > > > # or "pwcheck_method: passwd" for normal login password
> > > > checking # add to /etc/make.conf
> > > > SENDMAIL_CFLAGS+=	-I/usr/local/include -DSASL=2 \
> > > > 			-D_FFR_SMTP_SSL -DSOCKETMAP
> > > > SENDMAIL_LDFLAGS+=-L/usr/local/lib
> > > > SENDMAIL_LDADD+=-lsasl2
> > > > # set box specific .mc file in /etc/make.conf so upgrades
> > > > # don't wipe out our existing settings
> > > > SENDMAIL_MC=/etc/mail/host.mydomain.com.mc
> > > > # build shared sendmail libs
> > > > cd /usr/src/lib/libsm && \
> > > > make cleandir && make depend && make obj && make
> > > > cd /usr/src/lib/libsmutil && \
> > > > make cleandir && make depend && make obj && make
> > > > # now rebuild sendmail in the base
> > > > cd /usr/src/usr.sbin/sendmail && \
> > > > make cleandir && make depend && make obj && make && make
> > > > install
> > >
> > > After make I get always this error:
> > >
> > > make: don't know how to make
> > > /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a.
> > > Stop
> > >
> > > I also tested this hint from a newsgroup:
> > >
> > > "I followed some advice I found on the questi...@xxxxxxxxxx 
> > > email list and after cvsup'ing my src I ran a 'make buildworld'
> > > in /usr/src. After the make buildworld finished I cd'd to
> > > /usr/src/usr.sbin/sendmail/ and did a make install and it
> > > installed just fine."
> > >
> > > ... but I always get the same error. Any ideas?
> >
> > Hmmm..I remember getting this on one of my setups.  I think I
> > eventually just rm -r the sources and /usr/obj and re-cvsuped to
> > the security branch and then did a buildworld/installworld.
>
> ... and I don't run in some other problems if I remove /usr/obj?
/usr/obj should just be your temporary build directory from 
buildworld/buildkernel unless you've done something special.  Make 
sure to "chflags -R noschg /usr/obj/usr"  before rm'ing to remove the 
special flags.

-- 
Anish Mistry

Attachment: pgpJOxvl6YyFq.pgp
Description: PGP signature