Bingo.  Sounds pretty darn close...

I'm not sure how to go about setting sendmail to use lmtp exclusively...

I tried something like this in my .mc file, coming from an example I found
in the 2.1.1 version (which I'm not running, but anyway), just a snippet...

MAILER_DEFINITIONS
Mcyrus,         P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
                S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
                A=FILE /var/imap/socket/lmtp

LOCAL_RULE_0
Rbb + $+ < @ $=w . >    $#cyrus $: + $1


No luck...  The dastardly double return paths still exist...







----- Original Message -----
From: "Michael Bacon" <[EMAIL PROTECTED]>
To: "Mike Grommet" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 11:09 PM
Subject: Re: Vacation not working, seeing 2 return paths in headers


> Here's a guess:  You're using the old sendmail cyrus configure which
> delivers mail by calling the "deliver" binary as the mailer.  In the
mailer
> definition in the cf file, you've specified to sendmail the option to add
a
> return-path header to the message before delivery.  And the name of your
> machine is "sammonsmail" and the cyrus user there is "cyrus."
>
> About right?
>
> It's possible to get things right with the "deliver" command, but if
you're
> using Sendmail 8.12.2, there's no need.  In that case, you really probably
> want to configure sendmail to do all delivery directly to the cyrus socket
> usign LMTP.  (somewhere in the cyrus build -- I forget where -- there's
> instructions on how to do this.)  This will get rid of the double
> return-path header, as well as supply the return-path to sieve in a way
> that it can interperet, which will allow it to send out a response
message.
>
> Michael
>
> --On Tuesday, February 26, 2002 7:08 PM -0600 Mike Grommet
> <[EMAIL PROTECTED]> wrote:
>
> > Relevant details:
> > Sendmail 8.12.2
> > Cyrus Imap 2.0.16
> >
> > As I've posted in the past, I'm having some "fun" trying to
> > get vacation working in Cyrus 2.0.16
> >
> > Cyrus recieves and delivers mail properly, I'm not seeing any problems
> > there
> >
> > What I've uncovered, through the help of several individuals is that
other
> > sieve scripts such as
> > fileinto's and redirects work fine...
> >
> > Reject scripts and vacation scripts do not.
> >
> >
> > Looking at a mail processed and delivered by cyrus, I see this:  Please
> > note _two_ Return-Paths
> >
> >
> >
> > Return-Path: cyrus@sammonsmail
> > X-Sieve: cmu-sieve 2.0
> > Return-Path: <[EMAIL PROTECTED]>
> > Message-ID: <63D030BCBB85D411B79C00B0D03E60E486AA30@EX-AUS-01>
> > From: "Grommet, Mike" <[EMAIL PROTECTED]>
> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> > Subject: test test again
> > Date: Tue, 26 Feb 2002 13:04:47 -0800
> > MIME-Version: 1.0
> > X-Mailer: Internet Mail Service (5.5.2653.19)
> > Content-Type: multipart/alternative;
> >      boundary="----_=_NextPart_001_01C1BF09.392AED50"
> > X-Archived: msg.XXU9Pah5@tippecanoe
> >
> >
> >
> >
> > I dont understand all the particulars, but I understand these scripts to
> > depend on return path information..
> >
> > When someone sends mail to an account that a vacation script is enabled
> > on, a bounce message like this is created and sent to root:
> >
> > ------------------- MESSAGE --------------------
> > Return-Path: <>
> > Received: (from cyrus@localhost)
> >  by sammonsmail.elucidations.net (8.12.2/8.11.6) id g1P6FAJ9032756
> >  for cyrus@unspecified-domain; Mon, 25 Feb 2002 01:15:10 -0500
> > Message-ID: <cmu-sieve-32755-1014617710-0@sammonsmail>
> > Date: Mon, 25 Feb 2002 01:15:10 -0500
> > X-Sieve: cmu-sieve 2.0
> > From: <[EMAIL PROTECTED]>
> > To: <cyrus@unspecified-domain>
> > Subject: Re: test
> > In-Reply-To: <[EMAIL PROTECTED]>
> > Auto-Submitted: auto-replied (vacation)
> >
> > Autogenerated Message:
> > On vacation for the next 100 years!!! AND I MEAN IT!!!  Yeah!!!!!!!!
> > ----------------------------------------------------------
> >
> >
> > I believe this must be linked to the double return path above, but I'm
not
> > sure where its coming from, or what to do about it.
> >
> > Thoughts please?
> >
> >
> >
> >
>
>


Reply via email to