From: D. Stussy on 27 Mar 2010 02:22 "Andrzej Adam Filip" <anfi(a)onet.eu> wrote in message news:3stlt834bj+A3P(a)brandon.huge.strangled.net... > DM <nospam(a)nospam.net> wrote: > > we expected that, when the ldap server fails, sendmail would return a > > 4xx TEMPFAIL at the SMTP dialog, but unfortunately it returns "User > > Unknown" ! > > > > So, I use "tempfail" in the FEATURE ldap_routing : > > FEATURE(`ldap_routing',null,`ldap -1 -T<TMPF> -v mailRoutingAddress -k > > (&(|(objectClass=uPerson)(objectClass=uService)(objectClass=uEtuPerson))(|( mailLocalAddress=%0) > > (mail=%0)))',`bounce',,`tempfail') > > > > > > but it seems that the tempfail has no effect : > > > > Mar 23 10:56:02 smtp03 sm-mta[21846]: o2N9qrZ0021846: SYSERR(root): > > ldap_init/ldap_bind failed to pcpdm.univ-lille1.fr in map ldapmra: > > Unknown error 325 > > Mar 23 10:56:02 smtp03 sm-mta[21846]: o2N9qrZ0021846: > > <vadid-address(a)univ-lille1.fr>... User unknown > > > > Could you help me ? > > I think you have "miss placed" tempfail argument > It should be *SIXTH* not *FIFTH* argument. By my count, it is the sixth argument. The feature name is the first.
From: Andrzej Adam Filip on 27 Mar 2010 06:42 "D. Stussy" <spam+newsgroups(a)bde-arc.ampr.org> wrote: > "Andrzej Adam Filip" <anfi(a)onet.eu> wrote in message > news:3stlt834bj+A3P(a)brandon.huge.strangled.net... >> DM <nospam(a)nospam.net> wrote: >> > we expected that, when the ldap server fails, sendmail would return a >> > 4xx TEMPFAIL at the SMTP dialog, but unfortunately it returns "User >> > Unknown" ! >> > >> > So, I use "tempfail" in the FEATURE ldap_routing : >> > FEATURE(`ldap_routing',null,`ldap -1 -T<TMPF> -v mailRoutingAddress -k >> > > (&(|(objectClass=uPerson)(objectClass=uService)(objectClass=uEtuPerson))(|( > mailLocalAddress=%0) >> > (mail=%0)))',`bounce',,`tempfail') >> > >> > >> > but it seems that the tempfail has no effect : >> > >> > Mar 23 10:56:02 smtp03 sm-mta[21846]: o2N9qrZ0021846: SYSERR(root): >> > ldap_init/ldap_bind failed to pcpdm.univ-lille1.fr in map ldapmra: >> > Unknown error 325 >> > Mar 23 10:56:02 smtp03 sm-mta[21846]: o2N9qrZ0021846: >> > <vadid-address(a)univ-lille1.fr>... User unknown >> > >> > Could you help me ? >> >> I think you have "miss placed" tempfail argument >> It should be *SIXTH* not *FIFTH* argument. > > By my count, it is the sixth argument. The feature name is the first. In my count "feature name" was argument zero. More detailed version: news:fcs14ocgnv+A3Q(a)gloria.huge.strangled.net -- Open-Sendmail: http://open-sendmail.sourceforge.net/ There's nothing remarkable about it. All one has to do is hit the right keys at the right time and the instrument plays itself. -- J. S. Bach
From: DM on 31 Mar 2010 10:45
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Andrzej Adam Filip a écrit : <blockquote cite="mid:fcs14ocgnv+A3Q(a)gloria.huge.strangled.net" type="cite"> <pre wrap="">Andrzej Adam Filip <a class="moz-txt-link-rfc2396E" href="mailto:anfi(a)onet.eu"><anfi(a)onet.eu></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">DM <a class="moz-txt-link-rfc2396E" href="mailto:nospam(a)nospam.net"><nospam(a)nospam.net></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">we expected that, when the ldap server fails, sendmail would return a 4xx TEMPFAIL at the SMTP dialog, but unfortunately it returns "User Unknown" ! So, I use "tempfail" in the FEATURE ldap_routing : FEATURE(`ldap_routing',null,`ldap -1 -T<TMPF> -v mailRoutingAddress -k (&(|(objectClass=uPerson)(objectClass=uService)(objectClass=uEtuPerson))(|(mailLocalAddress=%0) (mail=%0)))',`bounce',,`tempfail') but it seems that the tempfail has no effect : Mar 23 10:56:02 smtp03 sm-mta[21846]: o2N9qrZ0021846: SYSERR(root): ldap_init/ldap_bind failed to pcpdm.univ-lille1.fr in map ldapmra: Unknown error 325 Mar 23 10:56:02 smtp03 sm-mta[21846]: o2N9qrZ0021846: <a class="moz-txt-link-rfc2396E" href="mailto:vadid-address(a)univ-lille1.fr"><vadid-address(a)univ-lille1.fr></a>... User unknown Could you help me ? </pre> </blockquote> <pre wrap="">I think you have "miss placed" tempfail argument It should be *SIXTH* not *FIFTH* argument. P.S. Thank you for debug "hint" in another part of the thread. I has shown me "the light" ;-) </pre> </blockquote> <pre wrap=""><!----> To be very precise: Instead of using FEATURE(`ldap_routing',null,`ldap ...',`bounce',,`tempfail') I suggested using FEATURE(`ldap_routing',null,`ldap ...',`bounce',`',`',`tempfail') <quote src="cf/README" version="sendmail-8.14.3"> FEATURE(`ldap_routing', <mailHost>, <mailRoutingAddress>, <bounce>, <detail>, <nodomain>, <tempfail>) </quote> </pre> </blockquote> <br> Thanks very much, it's running correctly with :<br> FEATURE(`ldpap_routing',`null',`ldap ....',`bounce',`',`',`tempfail')dnl<br> <br> Regards<br> Dominique </body> </html> |