Fábio Gomes | 2 Jan 2003 14:46
Picon

qmail-ldap + smtp-auth

Hi all,

   I'm using smtp-auth patch hosted in 'Life with qmail-ldap' machine 
(http://www.lifewithqmail.org/ldap/patches/smtp-auth/).

   The latest patch is dated from 2002-05. Is this patch mantained for 
another person and hosted in another machine?

   Claudio and Andre: Are you intended to merge this patch in a future 
qmail-ldap release?

Are there any similar patch available for qmail-ldap?

Thank you all,
Fábio Gomes

--

-- 
 <at> _{2**2..6*6}=split//,"áiGsDDbooe  eoin m-IsvveoF Tenlmt";print 
values%_,"\n"

Henning Brauer | 2 Jan 2003 17:07
Picon
Favicon

Re: qmail-ldap + smtp-auth

On Thu, Jan 02, 2003 at 01:46:58PM +0000, Fábio Gomes wrote:
>   The latest patch is dated from 2002-05. Is this patch mantained for 
> another person and hosted in another machine?

well I was too lazy to build new patches, it should still apply fine.

--

-- 
Henning Brauer, BS Web Services, http://bsws.de
hb <at> bsws.de - henning <at> openbsd.org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Fábio Gomes | 2 Jan 2003 15:23
Picon

Re: qmail-ldap + smtp-auth

Henning Brauer wrote:
> On Thu, Jan 02, 2003 at 01:46:58PM +0000, Fábio Gomes wrote:
> 
>>  The latest patch is dated from 2002-05. Is this patch mantained for 
>>another person and hosted in another machine?
> 
> 
> well I was too lazy to build new patches, it should still apply fine.
> 
> 

Oh Henning,

   I didnt know that this patch is your "son" =]

   Yes, the patch still working. But including this patch in qmail-ldap 
should be nice.

   Ty,
   Fábio Gomes
--

-- 
 <at> _{2**2..6*6}=split//,"áiGsDDbooe  eoin m-IsvveoF Tenlmt";print 
values%_,"\n"

Henning Brauer | 2 Jan 2003 17:27
Picon
Favicon

Re: qmail-ldap + smtp-auth

On Thu, Jan 02, 2003 at 02:23:30PM +0000, Fábio Gomes wrote:
>   Yes, the patch still working. But including this patch in qmail-ldap 
> should be nice.

well it could use some work, but still, used widely and not really worse
than e. g. the included SSL stuff... 

--

-- 
Henning Brauer, BS Web Services, http://bsws.de
hb <at> bsws.de - henning <at> openbsd.org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Kent Brake | 2 Jan 2003 20:12

Re: .qmail exit codes not working

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.

Thanks in advance for any help,

-Kent
(Continue reading)

Claudio Jeker | 3 Jan 2003 14:54

Re: qmail-reply and mailing lists

On Tue, Dec 31, 2002 at 09:36:22AM -0600, Brian Clark wrote:
> Hello,
> 
> Does the qmail-reply program recognize mailing lists and *not* send a 
> reply to those? For example, mail received from this list contains the 
> message header "Mailing-List:"  Mail received from Mailman v.2.x mailing 
> lists contains message headers like "X-BeenThere:", "X-Mailman-Version:" 
> and "List-Id:". Sourceforge.net uses Mailman and I subscribe to a few 
> lists there. I imagine a few others do as well.
> 
> Someone (Claudio?) recently mentioned he was rewriting qmail-reply to 
> work with content types. Does this mean that this functionality is 
> coming if it isn't there?
> 

Yes, I'm working on it.
At the moment qmail-reply ignores following senders:
        static char *(junkignore[]) = {
                /* don't reply to bots */
                "-request",
                "daemon",
                "-daemon",
                "uucp",
                "mailer-daemon",
                "mailer",
                /* don't bother admins */
                "postmaster",
                "root",
                /* from vacation(1) */
                "-relay",
(Continue reading)

Claudio Jeker | 3 Jan 2003 15:03

Re: .qmail exit codes not working

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
(Continue reading)

Kent Brake | 3 Jan 2003 17:54

Re: .qmail exit codes not working

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
(Continue reading)

Jose Celestino | 3 Jan 2003 19:32
Picon
Gravatar

LDAP_DOTMODE

Hi.

Can anyone tell me what happens if I have LDAP_DOTMODE to 'both' and in
the .qmail I have some "|script" that returns 111?

Won't this provoke a (delivery) loop-until-queuelifetime-ends?

--

-- 
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc
----------------------------------------------------------------
"Don't summarize. Don't abbreviate. Don't interpret." -- djb

Henning Brauer | 3 Jan 2003 21:02
Picon
Favicon

Re: LDAP_DOTMODE

On Fri, Jan 03, 2003 at 06:32:42PM +0000, Jose Celestino wrote:
> Hi.
> 
> Can anyone tell me what happens if I have LDAP_DOTMODE to 'both' and in
> the .qmail I have some "|script" that returns 111?
> 
> Won't this provoke a (delivery) loop-until-queuelifetime-ends?

I cannot see your problems with dotmode both and .qmail deliveries,
including program deliveries and delievery chains that depend on the exist
values, I use that heavily.

--

-- 
Henning Brauer, BS Web Services, http://bsws.de
hb <at> bsws.de - henning <at> openbsd.org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)


Gmane