Re: [Exim] setting drop_cr for the cyrus user only

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: William Thompson
CC: Oliver Eikemeier, exim-users
Subject: Re: [Exim] setting drop_cr for the cyrus user only
On Thu, 24 Apr 2003, William Thompson wrote:

> > > how can I set the drop_cr option (in Exim 4) to true only for the cyrus
> > > user?
> > >
> > > drop_cr = ${if eq{$caller_uid}{60}{true}{false}}
> > >
> > > does not work:
> >
> > >From the docs it looks like drop_cr isn't expanded - you can only set it
> > to true or false.
>
> Also from the docs, you can use -dropcr on the command line. I don't know
> anything about cyrus so I don't know if you can easily add it or not.


Both correct. The drop_cr facility has always been a "quick lash-up" so
that people who are using software that doesn't stick to the normal Unix
line-terminating rules can use Exim directly.

Another possibility, of course, is to make the calling program call some
wrapper script before calling Exim.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.