On Wed, Jan 16, 2002 at 10:19:30AM -0500, Scott Russell wrote:
> On Wed, Jan 16, 2002 at 10:00:44AM -0500, Ken Murchison wrote:
> > Scott Russell wrote:
> > > 
> > > On Wed, Jan 16, 2002 at 09:39:49AM -0500, Ken Murchison wrote:
> > > > > I setup a basic vacation script but noticed that sieve send the reply using
> > > > > the domain name of the imap server which is not the same as the domain name
> > > > > on my email address. Ie: sieve sent [EMAIL PROTECTED] instead of
> > > > > [EMAIL PROTECTED] Is this at all configurable with sieve?
> > > >
> > > > This has been fixed in Cyrus 2.1.x.  Whichever address (either envelope
> > > > or :addresses) matches one of those in the headers, is used as the
> > > > sender address for the reply.
> > > 
> > > That's good to hear. For now though I think I'm stuck on 2.0.16 as there was
> > > a lot of pain in getting it running. Once I can get a test server going and
> > > practice migration of data from 2.0.16 over to 2.1.x I'll switch. :)
> > 
> > You should be able to grab the latest Sieve code from CVS and recompile
> > lmtpd, to get this functionality.
>  http://bzimage.raleigh.ibm.com/webcam

Tried to build the sieve stuff from todays CVS tree in with the 2.0.16
release. Here's how it went:

1) Untar a clean cyrus-imap-2.0.16 and move existing sieve directory out.
2) CO todays cyrus-imap from CVS and copy the sieve directory into the
   cyrus-imap-2.0.16 tree
3) Run ./configure 
4) Run make

Here's the out put from make while building lmtpd.c:

make[1]: Entering directory /root/cyrus/cyrus-imapd-2.0.16-1/imap'
gcc -c -I. -I.. -I../sieve -I. -I./../lib -I./../acap -I../acap
-I/usr/include -I./../sieve -I/usr/local/BerkeleyDB.3.2/in
clude -I/usr/local/include -I/usr/local/BerkeleyDB.3.2/include
-DHAVE_CONFIG_H  -g -O2 \
lmtpd.c
lmtpd.c: In function service_init':
lmtpd.c:265: sieve_version' undeclared (first use in this function)
lmtpd.c:265: (Each undeclared identifier is reported only once
lmtpd.c:265: for each function it appears in.)
lmtpd.c: In function send_rejection':
lmtpd.c:534: sieve_version' undeclared (first use in this function)
lmtpd.c: In function send_response':
lmtpd.c:874: sieve_version' undeclared (first use in this function)
make[1]: *** [lmtpd.o] Error 1
make[1]: Leaving directory /root/cyrus/cyrus-imapd-2.0.16-1/imap'
make: *** [all] Error 1

Any hints on doing this? Perl and PHP I know. C code I'm not so good with.

Thanks.

-- 
Regards,
 Scott Russell ([EMAIL PROTECTED])
 Linux Technology Center, System Admin, RHCE.
 T/L 441-9289 / External 919-543-9289
 http://bzimage.raleigh.ibm.com/webcam

Reply via email to