Hmmm ok, I've gotten much closer... Actually, I got vacation to properly respond... but I'm not really happy with what is going on yet... mainly because I'm still seeing 2 return paths but things at least work right...
Part of my problem is that somehow on my machine, under my sendmail config files I have a mailer/cyrus.m4 When I specified MAILER(cyrus) it was pulling in a bunch of definitions from there... In my sendmail .mc file, I had my own definition for the cyrus mailer, but the others were getting dumped in there too, and my guess is that sendmail was taking the first one... Here is the relevant part of my generated sendmail.cf... the last Mcyrus is mine, the others were just added from the cyrus.m4 file Well, I'm still getting multiple return paths, but they are just copies of each other... Still, I dont like having 2 of them, and this concerns me... Example Headers: Return-Path: <[EMAIL PROTECTED]> X-Sieve: cmu-sieve 2.0 Return-Path: <[EMAIL PROTECTED]> Received: from elucidations.net ([64.9.213.129]) From: "Mike Grommet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: blah I'm happy its working, don't get me wrong, I've working on this for way too long, but isnt the fact that I have to return paths a Really Bad Thing(tm) ? Any ideas where its coming from? Understanding is a good thing, yes? ------------------------------------------------------------------- Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/, T=X-Unix/X-Unix/X-Unix, A=smrsh -c $u ################################################## ### Cyrus Mailer specification ### ################################################## ##### $Id: cyrus.m4,v 8.23 2001/11/12 23:11:34 ca Exp $ (Carnegie Mellon) ##### Mcyrus, P=/usr/cyrus/bin/deliver, F=lsDFMnPqAh5@/:|, S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix, A=deliver -e -m $h -- $u Mcyrusbb, P=/usr/cyrus/bin/deliver, F=lsDFMnPu, S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix, A=deliver -e -m $u 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 ----- Original Message ----- From: "Mike Grommet" <[EMAIL PROTECTED]> To: "Michael Bacon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 12:24 AM Subject: Re: Vacation not working, seeing 2 return paths in headers > 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? > > > > > > > > > > > > > > > > > >