On Thu, May 13, 2004 at 03:59:33PM +0200, Marco Benetton wrote:
>
>
> -----Messaggio originale-----
> > Da: Claudio Jeker [mailto:[EMAIL PROTECTED]
> > Inviato: giovedi 13 maggio 2004 15.26
> > A: [EMAIL PROTECTED]
> > Oggetto: Re: user devnull
> >
> >
> > On Thu, May 13, 2004 at 03:20:29PM +0200, Marco Benetton wrote:
> > > Hi all
> > >
> > > I am trying a method or best to use the customer devnull for
> > redirect all
> > > the undesired mail.
> > > I would want that the mail that it comes addressed to
> > [EMAIL PROTECTED]
> > > comes trashed and that it does not come saved on nobody directory.
> > > With the normal version of the qmail and with qmail-ldap I did
> > not use like
> > > shell /bin/false.
> > > It's possible to make the same with qmail-ldap.
> > >
> >
> > There are plenty of sollutions.
> >
> > Make a ~alias/.qmail-devnull with just a "#" in it.
> > For a ldap sollution just make a ldaponly account with
> > nolocal,noforward,noprogram delivery mode.
> >
> > --
> > :wq Claudio
> >
>
> Claudio, I have setup my devnull account with your suggestion:
> nolocal,noforward,noprogram delivery mode; but this is the my smtp response:
>
> Hi. This is the qmail-send program at cedlinux.primario.it.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> LDAP attribute is not given but mandatory. (#5.3.5)
>
>
This works for me:
dn: uid=devnull,ou=regress,o=qmail-ldap
objectClass: top
objectClass: qmailUser
objectClass: person
mail: [EMAIL PROTECTED]
uid: devnull
mailMessageStore: /var/qmail/alias
userPassword: {CRYPT}*
sn: devnull
cn: devnull
deliveryMode: noforward
deliveryMode: nolocal
deliveryMode: noprogram
...
starting delivery 58: msg 9639 to local [EMAIL PROTECTED]
delivery 58: success: did_0+0+0/
...
This time the correct thread :)
--
:wq Claudio