Prev: Sendmail and Cyrus-imapd using plus formatted addresses
Next: Issue with libmilter/sm_gethost.c, subroutine freehostent() [Follow-up]
From: John Nemeth on 18 Jun 2010 16:05 okie (welchjh(a)gmail.com) wrote: : On Jun 18, 9:22=A0am, bon...(a)host122.r-bonomi.com (Robert Bonomi) wrote: : > In article <ed780cfa-b4f9-4a1f-9c5a-86aa95f89...(a)5g2000yqz.googlegroups.c= : om>, : > : > okie =A0<welc...(a)gmail.com> wrote: : > >When sendmail talks to a upstream MTA, and that MTA rejects the email : > >based on user unknown, sendmail successfully sends an NDR to our : > >originator : > : > >Is it possible to include the rejected address in the subject line of : > >that NDR? : > : > *ANYTHING* is possible, if you're willing to spend the time/effort. :) : > : > You _have_ the source-code for Sendmail, you can tweak it to do whatever : > you want it to. : Right not the direction I want to go. : > : > If you mean, 'is there a .cf (or .mc) file setting that will do this', th= : e : > answer is "No." : That is what I am asking : > : > Trying to do this -inside- sendmail, itself, is -messy-. : > : > A much simpler way would be to use 'procmail' as the local delivery agent= : , : > if you're not doing so already, and then brew up a recipie to recognize : > *your* (locally-generted) NDR messages, pipe the message through a script : > that does the rewrite, and then pipe to formail. : This box is a hub, no mail lives here, does what you mean still apply? The NDR does not go through an LDA (procmail or otherwise), so no it doesn't apply. In fact an NDR would not go through an LDA unless it was destined for the same box.
From: D. Stussy on 18 Jun 2010 15:08 "okie" <welchjh(a)gmail.com> wrote in message news:f84886d5-0b7a-4008-b2b1-e99241e4e49c(a)k39g2000yqb.googlegroups.com... My question is with out much difficutly can [the bad address] be placed in the subject line. ----------- Not without modifying the sendmail source.
From: okie on 18 Jun 2010 16:52
On Jun 18, 2:08 pm, "D. Stussy" <spam+newsgro...(a)bde-arc.ampr.org> wrote: > "okie" <welc...(a)gmail.com> wrote in message > > news:f84886d5-0b7a-4008-b2b1-e99241e4e49c(a)k39g2000yqb.googlegroups.com... > My question is with out much difficutly can [the bad address] > be placed in the subject line. > ----------- > > Not without modifying the sendmail source. Thanks to all for your help I appreciate it. J |