On 08/24/01 12:02 PM, Lawrence Greenfield sat at the `puter and typed:
> Date: Fri, 24 Aug 2001 09:02:00 -0700
> From: Gregory Neil Shapiro <[EMAIL PROTECTED]>
>
> adkinss> Now, why does it work with the old sendmail configuration? It
> adkinss> turns out that the old MC config files for sendmail (the ones you
> adkinss> use to build the sendmail.cf file) did some magic with addresses
> adkinss> before the 'w' flag got processed. Basically, the stuff after the
> adkinss> plus was saved away to the $h macro, and the address was rewritten
> adkinss> to not have the plus stuff in it. When it was time to pass the
> adkinss> message off to "deliver" for email delivery, it would sort of
> adkinss> reinsert the $h contents back into the address, which would make
> adkinss> things work in the end.
>
> I believe you would have that behavior with the new configuration as well
> if you hadn't used FEATURE(`preserve_local_plus_detail').
>
> No, because then when talking to an LMTP delivery agent the +detail is
> dropped entirely.
>
> Larry
Ok, this looks to be the problem I am having. If I am understanding
your statement, Larry, deliver will take a mailbox argument as
presented by sendmail, and send the message of to the lmtp socket.
lmtpd will then ignore that mailbox argument? Why?
Here is what I see in some of my logfiles:
procmail.log:
procmail: Executing
"/usr/local/cyrus/bin/deliver,-q,-m,mediaone,--,leblanc"
procmail: Assigning "LASTFOLDER=/usr/local/cyrus/bin/deliver -q -m
mediaone -- leblanc"
procmail: Notified comsat: "leblanc@:/usr/local/cyrus/bin/deliver -q
-m mediaone -- leblanc"
Subject: test
Folder: /usr/local/cyrus/bin/deliver -q -m mediaone -- leblanc
903
/var/log/maillog:
Sep 16 16:13:19 canada sendmail[37610]: f8GKDJs37610: from=leblanc,
size=633, class=0, nrcpts=1, msgid=<20010916161318.L36122@localhost>,
bodytype=8BITMIME, relay=leblanc@localhost
Sep 16 16:13:19 canada sendmail[37612]: f8GKDJs37610:
to=leblanc+mediaone@localhost, ctladdr=leblanc (500/100), delay=00:00:00,
xdelay=00:00:00, mailer=cyrus, pri=30633, relay=mediaone, dsn=2.0.0, stat=Sent
This looks right to me, but the message winds up in the INBOX. I
can't find any info on lmtpd or the lmtp socket that talks about
delivery to mailboxes using plussed formats. I believe what I am
doing is equivalent to calling
'cat tmp.msg | deliver -q -m mailbox -- userid'
If this is wrong, I'd like to know why.
What do I have to do to keep the functionality intact?
Thanks
Lou
--
Louis LeBlanc [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net ԿԬ
Fog Lamps, n.:
Excessively (often obnoxiously) bright lamps mounted on the fronts
of automobiles; used on dry, clear nights to indicate that the
driver's brain is in a fog. See also "Idiot Lights".