Mohd Ghalib Akhtar | 1 Jan 2008 05:43
Picon
Favicon

2008

HAPPY NEW YEAR
H ours of happy times with friends and family
A bundant time for relaxation
P rosperity
P lenty of love when you need it the most
Y outhful excitement at lifes simple pleasures

N ights of restful slumber (you know - dont' worry be happy)
E verything you need
W ishing you love and light

Y ears and years of good health
E njoyment and mirth
A angels to watch over you
R embrances of a happy years!

I wish you the best of everything.. . That you so well deserve
 
 
Rgds
ghalib
9899868681

DELETE button is history. Unlimited mail storage is just a click away.
satish patel | 7 Jan 2008 09:56
Picon
Favicon

catch-all account per domain

Dear All

                 I have setup qmail-ldap and i need catch-all account per domain like whatever <at> example.com   user is whatever xyz, abc but the domain name is example.com mails goes to catchall <at> example.com single account i dont know how much users in example.com domain but every mails come for * <at> example.com -->  goes to---> catchall <at> example.com ( hard account )  how to setup this thing

is it possible through ~/alias directory or dot-qmail file


$ cat ~/satish/url.txt                                                     

http://www.linuxbug.org
_____________________________________________________________________________________________________

Forgot the famous last words? Access your message archive online. Click here.
Frank Clements | 8 Jan 2008 22:41
Favicon

qmail-ldap control patch

I'm curious if anyone is using the control patch in a clustered setup, and
if so have you changed the tree layout at all?

The default configuration is one cn for each host.  In a clustered setup
with 50+ servers each sharing some common info there is a lot duplicated
entries.  Has anyone considered an option to store shared data in a common
portion of the tree? 

From the patch:
+The 'cn=' entry is the FQDN  (Fully Qualified Domain Name, ie the full
+hostname+domainname)  of the  host qmail  is running  on. We  sort the
+entries under each 'cn=<FQDN>,<controldn>'  in our database so that we
+can  have multiple configurations  for multiple  qmail servers  in the
+same database under the same branch.

Maybe something like instead:

   dn: cn=clusterinfo,ou=qmailldap,o=org,c=us
   cn: clusterinfo
   objectClass: top
   objectClass: qmailControl
   locals: domain.com
   locals: example.com
   rcpthosts: domain.com
   rcpthosts: example.com
   dirMaker: /usr/local/bin/mkhome
   ldapBaseDN: ou=users,o=org,c=us

   dn: cn=mail1.domain.com,ou=qmailldap,o=org,c=us
   objectClass: top
   objectClass: qmailControl
   clusterDN: cn=clusterinfo,ou=qmailldap,o=org,c=us
   ....

I understand this would require a schema change and all.  The clusterDN
would be present in hosts that are members of the qmail cluster.  Otherwise
the entry for that mail server simply has the normal control entries.

I could be way off with this, so please correct me if I'm insane!  ;)

Frank Clements

Attachment (smime.p7s): application/x-pkcs7-signature, 3534 bytes
Turbo Fredriksson | 10 Jan 2008 14:21

Re: qmail-ldap control patch

Quoting "Frank Clements" <fclements <at> inetu.net>:

> The default configuration is one cn for each host.  In a clustered setup
> with 50+ servers each sharing some common info there is a lot duplicated
> entries.  Has anyone considered an option to store shared data in a common
> portion of the tree? 

I have not, but it's a extreamly good idea.

> I understand this would require a schema change and all.  The clusterDN
> would be present in hosts that are members of the qmail cluster.  Otherwise
> the entry for that mail server simply has the normal control entries.
>
> I could be way off with this, so please correct me if I'm insane!  ;)

The schema change is the simple part. It would take 20 seconds to do :).

The code change is a little more difficult (not much, but with error
checks etc it's a little more complicated).

One question (to all that is interessted in this idea/patch): If a
value exists both in the FQDN object and in the clusterinfo object,
which takes precedence?

First thought would be the FQDN value, which means that the code would
have to get the 'clusterDN' attribute first, load all that information
and THEN continue with the FQDN object... But do anyone have any other
opinion?

This idea is a good one even outside the Qmail-LDAP/Controls patch.
In this case, the clusterinfo object/DN would be a directory within
the control directory (and have be synced in any fasion needed).

Frank Clements | 11 Jan 2008 15:01
Favicon

RE: qmail-ldap control patch

With regard to which entry taking preference.  I would say the more specific
(the fqdn entry) would take priority over any clusterconfig container.
There may be those obscure cases where one host out of a cluster of hosts
handles a few extra domains.  Maybe it would be better to attempt to merge
them?  That just seems like it might get ugly.

-Frank

-----Original Message-----
From: Turbo Fredriksson [mailto:turbo <at> pumba] On Behalf Of Turbo Fredriksson
Sent: Thursday, January 10, 2008 8:22 AM
To: qmail-ldap <at> qmail-ldap.org
Subject: Re: qmail-ldap control patch

Quoting "Frank Clements" <fclements <at> inetu.net>:

> The default configuration is one cn for each host.  In a clustered setup
> with 50+ servers each sharing some common info there is a lot duplicated
> entries.  Has anyone considered an option to store shared data in a common
> portion of the tree? 

I have not, but it's a extreamly good idea.

> I understand this would require a schema change and all.  The clusterDN
> would be present in hosts that are members of the qmail cluster.
Otherwise
> the entry for that mail server simply has the normal control entries.
>
> I could be way off with this, so please correct me if I'm insane!  ;)

The schema change is the simple part. It would take 20 seconds to do :).

The code change is a little more difficult (not much, but with error
checks etc it's a little more complicated).

One question (to all that is interessted in this idea/patch): If a
value exists both in the FQDN object and in the clusterinfo object,
which takes precedence?

First thought would be the FQDN value, which means that the code would
have to get the 'clusterDN' attribute first, load all that information
and THEN continue with the FQDN object... But do anyone have any other
opinion?

This idea is a good one even outside the Qmail-LDAP/Controls patch.
In this case, the clusterinfo object/DN would be a directory within
the control directory (and have be synced in any fasion needed).

Attachment (smime.p7s): application/x-pkcs7-signature, 3534 bytes
Igor MILOVANOVIC | 12 Jan 2008 19:53
Picon

strange basedn in ldaplookup

Hi, all!

I have installed and set up qmail-ldap-control patch(es) successfully
and communication with ldap is going god, but the strangest string is
added to ldapbasedn, witch have right dn in the ldap database.

I have compiled qmail-1.03 with qmail-ldap-1.03-20060201.patch and
qmail-ldap-1.03-20060201-controls20060327 "by book" and as LDAP server
I am using Fedora Directory Server 1.0.4.

Qmail is running in virtual debian etch (using openVZ) and FDS is in
another virtual environment. On qmail host I have installed ldap
libraries to be able to compile qmail.
Both these are running on my Pentium4 laptop.

The basedn is returned by function call in qldap.c as I can remember.
Any help? Thanks in advance

Bellow is output of qmail-ldaplookup commmand:
(Note the last part "dc=baZZl1ZZZZZZZ!ZailCon" that should be just "dc=ba".)

root <at> mail1:/var/qmail/bin# ./qmail-ldaplookup -d 4 -m f13o <at> l.pletisan.rs.ba
Searching LDAP for:
  (&(objectClass=qmailUser)(|
(mail=f13o <at> l.pletisan.rs.ba)(mailAlternateAddress=f13o <at> l.pletisan.rs.ba)))
  below dn: ou=People,dc=pletisan,dc=rs,dc=baZZl1ZZZZZZZ!ZailCon) <at> Z
qmail-ldaplookup: fatal: qldap_filter: no such object

--

-- 
Igor Milovanović
http://www.linkedin.com/in/igormilovanovic

http://www.flickr.com/photos/f13o
http://f13o.blogspot.com/

"The greatest inefficiencies come from solving problems you will never
have." -- Rasmus Lerdorf
Allysson Steve Mota Lacerda | 23 Jan 2008 14:45
Picon

Re: [OT] Anti-SPAM alternatives

Does anyone used a SPF patch with Qmail-LDAP?

Is there any conflict with LDAP patch?

--
Allysson Steve Mota Lacerda
Administrador de Redes
http://www.stevelacerda.net
Mikkel Kruse Johnsen | 24 Jan 2008 12:38
Picon

Re: [OT] Anti-SPAM alternatives

Hi Allysson

I use SPF with LDAP and it works fine. I have attached the patch (Not sure it will apply, because I have other patches)

/Mikkel

-----Original Message-----
From: Allysson Steve Mota Lacerda <stevelacerda <at> gmail.com>
To: qmail-ldap <at> qmail-ldap.org
Subject: Re: [OT] Anti-SPAM alternatives
Date: Wed, 23 Jan 2008 11:45:51 -0200

Does anyone used a SPF patch with Qmail-LDAP?

Is there any conflict with LDAP patch?


--
Allysson Steve Mota Lacerda
Administrador de Redes
http://www.stevelacerda.net
Med Venlig Hilsen / Kind Regards


Mikkel Kruse Johnsen
Adm.Dir.

Linet
Ørholmgade 6 st tv
Copenhagen N 2200 Denmark
Work: +45 21287793
Mobile: +45 21287793
Email: mikkel <at> linet.dk
IM: mikkel <at> linet.dk (MSN)
Professional Profile
Healthcare


Network Consultant

Gmane