Hi Claudio, "Your problem could be that qmailDotMode is neither "dotonly" > nor "both". > See ~control/ldapdefaultdotmode (default: ldaponly) and qmailDotMode."
I had qmailDotMode set to "both". As you recommended, I set it to dotonly and qmail-local stopped the initial delivery. Thanks a Zillion! -Kent On Fri, 2003-01-03 at 06:03, Claudio Jeker wrote: > On Thu, Jan 02, 2003 at 11:12:51AM -0800, Kent Brake wrote: > > Hi, > > > > After further investigation, I discovered ./Maildir/ is being > > automatically added to the cmd.s array in qmail-local.c (line 1000) , so > > delivery will happen regardless of what exit status the .qmail script > > returns. I unfortunately don't have the C skills to hack this out. Can > > anyone make a suggestion of how this might be fixed? A good > > recommendation for a book on C programing for someone with a Perl > > background would also be appreciated. > > > > Here is an example of what I'm trying to fix > > > > My .qmail file I'm using to test with. > > webserver:/var/qmail/maildirs/dwalliance.com/test6 # cat .qmail > > | /var/qmail/maildirs/dwalliance.com/test6/exit99.sh > > ./Maildir/ > > > > Currently: > > qmail-local will deliver to ./Maildir/ then it will run > > /var/qmail/maildirs/dwalliance.com/test6/exit99.sh > > it will then exit since this script returns a 99 exit code. > > > > Fixed > > qmail-local FIRST runs > > /var/qmail/maildirs/dwalliance.com/test6/exit99.sh > > and then will deliver to ./Maildir/ if exit status is NOT 99. > > > > qmail-local already runs exit99 befor the maildir delivery. Trust me I use > this heavily. Your problem could be that qmailDotMode is neither "dotonly" > nor "both". > See ~control/ldapdefaultdotmode (default: ldaponly) and qmailDotMode. -- Kent Brake <[EMAIL PROTECTED]>
