about qmail mail delivery directory
I have struggled a lot on this, posted this same question on qmail-ldap list sometime back, but still no clue on to why mails dont end up in /var/qmail/maildirs/user directory. I unchecked the AUTOHOMEDIRMAKE and AUTOMAILDIRMAKE options during qmail-ldap compilation. 1. user:group = vmail:vmail 2. vmail home directory = /var/qmail/maildirs 3. Control files (a) ldapmessagestore = /var/qmail/maildirs (b) defaultdelivery = ./Maildir/ (c) ldapdefaultdotmode = both (d) ldaplocaldelivery = 0 4.Create the maildirs for appropriate users through the command /var/qmail/bin/maildirmake /var/qmail/maildirs/user for i in Trash Drafts Sent; do /var/qmail/bin/maildirmake -f $i user done 5. I am using supervise and tcpserver to run qmail. when i send a mail to any user on the local machine, lets say[EMAIL PROTECTED], or [EMAIL PROTECTED] This mail ends up being stuck in the queuefor that matter all local mails remain in the queue..In the logs for qmail-send, I get a unable to chdir /home/user, no such file or directory error message. My question isI have set up thevmail home directory as /var/qmail/maildirs, then why is qmail looking for /home/user/Maildir ??? How can I get qmail to deliver messagesto /var/qmail/maildirs/user ? I have a sincere request to make...may be many of u guys will shout at me for these questions to be too silly, or becos it has been previously asked, but I have not been able to find the solution for this problem even after so much struggle. Hope u will understandand extend ur help... Regards, Amit
RE: about qmail mail delivery directory
Title: Message Amit, When you createusers in your LDAP directory, make sure you DO NOT set mailMessageStore. For more help, you should post one ldif export and the results of /var/qmail/bin/qmail-showctl Russ -Original Message-From: Amit [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 6:54 AMTo: qmail-ldap@qmail-ldap.orgSubject: about qmail mail delivery directory I have struggled a lot on this, posted this same question on qmail-ldap list sometime back, but still no clue on to why mails dont end up in /var/qmail/maildirs/user directory. I unchecked the AUTOHOMEDIRMAKE and AUTOMAILDIRMAKE options during qmail-ldap compilation. 1. user:group = vmail:vmail 2. vmail home directory = /var/qmail/maildirs 3. Control files (a) ldapmessagestore = /var/qmail/maildirs (b) defaultdelivery = ./Maildir/ (c) ldapdefaultdotmode = both (d) ldaplocaldelivery = 0 4.Create the maildirs for appropriate users through the command /var/qmail/bin/maildirmake /var/qmail/maildirs/user for i in Trash Drafts Sent; do /var/qmail/bin/maildirmake -f $i user done 5. I am using supervise and tcpserver to run qmail. when i send a mail to any user on the local machine, lets say[EMAIL PROTECTED], or [EMAIL PROTECTED] This mail ends up being stuck in the queuefor that matter all local mails remain in the queue..In the logs for qmail-send, I get a unable to chdir /home/user, no such file or directory error message. My question isI have set up thevmail home directory as /var/qmail/maildirs, then why is qmail looking for /home/user/Maildir ??? How can I get qmail to deliver messagesto /var/qmail/maildirs/user ? I have a sincere request to make...may be many of u guys will shout at me for these questions to be too silly, or becos it has been previously asked, but I have not been able to find the solution for this problem even after so much struggle. Hope u will understandand extend ur help... Regards, Amit
Re: virtual domains
Have a look at http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual.html . I think this is what you are searching for. Kristof szerda 22 június 2005 17:39 dátummal Jesus Bernardo Ruiz Flores ezt írta: Is There a way to make qmail-ldap 20050401a work with ip aliasing for the virtual domain part. I'm trying to configure a virtual domains where the users when they conenct throught pop3 don't have ton give the login name in the form [EMAIL PROTECTED] just the username. Please i really need help on this. Jesus
Re: about qmail mail delivery directory
Title: Message Hi Russ/Hardik., Thanx so much for lending a helping ear to my problem..I am posting the outputs of user ldif export, /var/qmail/bin/qmail-showctl, the permissions I have in /var/qmail/control and the log file for /var/qmail/log/qmail-send/current 1. outputs of user Amit's ldif export dn: uid=amit,ou=Users,dc=mydomain,dc=com cn: amit sn: amit uid:amit uidNumber: 1003 gidNumber: 1000 homeDirectory: /home/amit loginShell: /bin/bash gecos: System User description: System User sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 displayName: System User sambaSID:S-1-5-21-1033752373-4158422787-2430110392-3006sambaPrimaryGroupSID:S-1-5-21-1033752373-4158422787-2430110392-3001 sambaLogonScript: amit.cmd objectClass: top objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSAMAccount objectClass: qmailUser mail: [EMAIL PROTECTED] mailHost: mailserver.intranet.mydomain.com accountStatus: active mailMessageStore: /var/qmail/maildirs/amit/ mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] sambaLMPassword: 860CFB1391773F06AAD3B435B51404EEsambaAcctFlags: [U] sambaNTPassword: 6E175C051DAFFC138BD5078A922D2668sambaPwdLastSet: 1119643965 sambaPwdMustChange: 1128197565 userPassword: {CRYPT}vNvW98tPUp7tU 2. /var/qmail/bin/qmail-showctl qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 500. subdirectory split: 23.user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.group ids: 1001, 1002. me: My name is mailserver.intranet.mydomain.com ldapserver: My ldap server is localhost badmailfrom: (Default.) Any MAIL FROM is allowed. badmailfrom-unknown: (Default.) Any MAIL FROM from hosts without PTR is allowed. badrcptto: (Default.) Any RCPT TO is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is mailserver.intranet.mydomain.com. bouncemaxbytes: (Default.) Bounce data limit is 0 bytes. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. custombouncetext: (Default.) No custombouncetext. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is mydomain.com. defaulthost: (Default.) Default host name is mailserver.intranet.mydomain.com. dirmaker: (Default.) Program to create homedirs not defined. doublebouncehost: (Default.) 2B recipient host: mailserver.intranet.mydomain.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is mailserver.intranet.mydomain.com. goodmailaddr: (Default.) No good mail addresses. helohost: (Default.) SMTP client HELO host name is mailserver.intranet.mydomain.com. idhost: (Default.) Message-ID host name is mailserver.intranet.mydomain.com. localiphost: (Default.) Local IP address becomes mailserver.intranet.mydomain.com. locals: Messages for localhost are delivered locally. Messages for mailserver are delivered locally. Messages for intranet.mydomain.com are delivered locally. Messages for mailserver.intranet.mydomain.com are delivered locally. Messages for localhost.mydomain.com are delivered locally.Messages for mailserver.mydomain.com are delivered locally. me: My name is mailserver.intranet.mydomain.com. outgoingip: (Default.) Bind qmail-remote to 0.0.0.0. pbscachesize: (Default.) PBS cachesize is 1048576 bytes. pbsenv: (Default.) No environment variables will be passed. pbsip: (Default.) Bind PBS daemon to 0.0.0.0. pbsport: (Default.) PBS deamon listens on port 2821. pbssecret: (Default.) PBS shared secret is undefined! Uh-oh. pbsservers: (Default.) No PBS servers. pbstimeout: (Default.) PBS entries will be valid for 600 seconds. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is mydomain.com. qmqpcip: (Default.) Bind qmail-qmqpc to 0.0.0.0. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. quotawarning: (Default.) No quotawarning. rbllist: (Default.) No RBL listed. rcpthosts: SMTP clients may send messages to recipients at mydomain.com.SMTP clients may send messages to recipients at intranet.mydomain.com. SMTP clients may send messages to recipients at mailserver.intranet.mydomain.com. SMTP clients may send messages to recipients at localhost. SMTP clients may send messages to recipients at mailserver. SMTP clients may send messages to recipients at localhost.mydomain.com. SMTP clients may send messages to recipients at mailserver.mydomain.com. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. relaymailfrom: (Default.) Relaymailfrom not enabled. smtpgreeting: (Default.) SMTP greeting:
Re: about qmail mail delivery directory
If you set an homeDirectory in ldap qmail will try to send the mail to the homeDirectory and ignore the mailmessageStore. If you plan to use the homeDirectory to another thing but you want to save the mail in mailMessageStore, you must recompile qmail after editing the file who says the name of the atributes that qmail uses (i don't remember the file).2005/6/27, Amit [EMAIL PROTECTED]: Hi Russ/Hardik., Thanx so much for lending a helping ear to my problem..I am posting the outputs of user ldif export, /var/qmail/bin/qmail-showctl, the permissions I have in /var/qmail/control and the log file for /var/qmail/log/qmail-send/current 1. outputs of user Amit's ldif export dn: uid=amit,ou=Users,dc=mydomain,dc=com cn: amit sn: amit uid:amit uidNumber: 1003 gidNumber: 1000 homeDirectory: /home/amit loginShell: /bin/bash gecos: System User description: System User sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 displayName: System User sambaSID:S-1-5-21-1033752373-4158422787-2430110392-3006sambaPrimaryGroupSID:S-1-5-21-1033752373-4158422787-2430110392-3001 sambaLogonScript: amit.cmd objectClass: top objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSAMAccount objectClass: qmailUser mail: [EMAIL PROTECTED] mailHost: mailserver.intranet.mydomain.com accountStatus: active mailMessageStore: /var/qmail/maildirs/amit/ mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED]mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] sambaLMPassword: 860CFB1391773F06AAD3B435B51404EEsambaAcctFlags: [U] sambaNTPassword: 6E175C051DAFFC138BD5078A922D2668sambaPwdLastSet: 1119643965 sambaPwdMustChange: 1128197565 userPassword: {CRYPT}vNvW98tPUp7tU 2. /var/qmail/bin/qmail-showctl qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 500. subdirectory split: 23.user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009.group ids: 1001, 1002. me: My name is mailserver.intranet.mydomain.com ldapserver: My ldap server is localhost badmailfrom: (Default.) Any MAIL FROM is allowed. badmailfrom-unknown: (Default.) Any MAIL FROM from hosts without PTR is allowed. badrcptto: (Default.) Any RCPT TO is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is mailserver.intranet.mydomain.com. bouncemaxbytes: (Default.) Bounce data limit is 0 bytes. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. custombouncetext: (Default.) No custombouncetext. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is mydomain.com. defaulthost: (Default.) Default host name is mailserver.intranet.mydomain.com. dirmaker: (Default.) Program to create homedirs not defined. doublebouncehost: (Default.) 2B recipient host: mailserver.intranet.mydomain.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is mailserver.intranet.mydomain.com. goodmailaddr: (Default.) No good mail addresses. helohost: (Default.) SMTP client HELO host name is mailserver.intranet.mydomain.com. idhost: (Default.) Message-ID host name is mailserver.intranet.mydomain.com. localiphost: (Default.) Local IP address becomes mailserver.intranet.mydomain.com. locals: Messages for localhost are delivered locally. Messages for mailserver are delivered locally. Messages for intranet.mydomain.com are delivered locally. Messages for mailserver.intranet.mydomain.com are delivered locally. Messages for localhost.mydomain.com are delivered locally.Messages for mailserver.mydomain.com are delivered locally. me: My name is mailserver.intranet.mydomain.com. outgoingip: (Default.) Bind qmail-remote to 0.0.0.0. pbscachesize: (Default.) PBS cachesize is 1048576 bytes. pbsenv: (Default.) No environment variables will be passed. pbsip: (Default.) Bind PBS daemon to 0.0.0.0. pbsport: (Default.) PBS deamon listens on port 2821. pbssecret: (Default.) PBS shared secret is undefined! Uh-oh. pbsservers: (Default.) No PBS servers. pbstimeout: (Default.) PBS entries will be valid for 600 seconds. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is mydomain.com. qmqpcip: (Default.) Bind qmail-qmqpc to 0.0.0.0. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. quotawarning: (Default.) No quotawarning. rbllist: (Default.) No RBL listed. rcpthosts: SMTP clients may send messages to recipients at mydomain.com.SMTP clients may send messages to recipients at intranet.mydomain.com. SMTP clients may send messages to recipients at mailserver.intranet.mydomain.com. SMTP clients may send messages to recipients at localhost.
Re: about qmail mail delivery directory
On Mon, Jun 27, 2005 at 08:58:25PM +0530, Amit wrote: MessageHi Russ/Hardik., Thanx so much for lending a helping ear to my problem..I am posting the outputs of user ldif export, /var/qmail/bin/qmail-showctl, the permissions I have in /var/qmail/control and the log file for /var/qmail/log/qmail-send/current 1. outputs of user Amit's ldif export dn: uid=amit,ou=Users,dc=mydomain,dc=com cn: amit sn: amit uid:amit uidNumber: 1003 gidNumber: 1000 homeDirectory: /home/amit ^^ loginShell: /bin/bash gecos: System User description: System User sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 displayName: System User sambaSID:S-1-5-21-1033752373-4158422787-2430110392-3006 sambaPrimaryGroupSID:S-1-5-21-1033752373-4158422787-2430110392-3001 sambaLogonScript: amit.cmd objectClass: top objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSAMAccount objectClass: qmailUser mail: [EMAIL PROTECTED] mailHost: mailserver.intranet.mydomain.com accountStatus: active mailMessageStore: /var/qmail/maildirs/amit/ ^^ mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] sambaLMPassword: 860CFB1391773F06AAD3B435B51404EE sambaAcctFlags: [U] sambaNTPassword: 6E175C051DAFFC138BD5078A922D2668 sambaPwdLastSet: 1119643965 sambaPwdMustChange: 1128197565 userPassword: {CRYPT}vNvW98tPUp7tU QLDAPINSTALL has a nice section about the use of homeDirectory and mailMessageStore: LDAP_MAILSTORE (default: mailMessageStore) and LDAP_HOMEDIR (default: homeDirectory) Path to the maildir/mbox on the mail system is extracted from those fields. If LDAP_HOMEDIR is found this field is used as $HOME, using aliasempty or mailMessagestore if defined as default delivery method. If only LDAP_MAILSTORE is defined this will be used as $HOME and aliasempty as default delivery method. If neither LDAP_MAILSTORE nor LDAP_HOMEDIR is defined, ~alias (qmails alias user homedir) will be used as $HOME and ALIASDEVNULL (defined in qmail-ldap.h) as default delivery method. Also the delivery mode is set to ldap only and forward only (LDAP_DOTMODE and LDAP_MODE). Example: /home/jdoe/ Note: LDAP_MAILSTORE can be written relative in a virtual users environment ldapmailstore will be prefixed to make the path absolute. For more info have a look at the QLDAPNEWS file. If you use homeDirectory in an incompatible way then redefine it in qldap-ldap.h to something not used, like noHomeDirectory. Especially the last line could be of interest. -- :wq Claudio
Re: Question about tcpserver SSL/TLS patch (Updated 20050405!)
Claudio Jeker wrote: On Thu, Jun 23, 2005 at 02:29:11PM -0700, Q L.D. wrote: Hello! I'm just wondering, what exactly where the updates that went into tcpserver patch (to allow SSL/TLS) in 20050405 version? I mean the ucspi-tcp-ssl-20050405.patch. I simply still have several systems running with ucspi-tcp-ssl-20020705.patch and everything seems to be fine. This newer patch is almost 6 times bigger than the older one, so I wanted to see if it would make sense to install it on all machines or some machines are better off with older patch. I did notice at least these changes: 1. manpages - GREAT! No need to get this then http://smarden.org/pape/djb/manpages/ucspi-tcp-0.88-man.tar.gz It seems like Andre added those. Not a bad idea IMO. Yes, I agree. It's a great idea. Very convenient. 2. interesting add-on - disabling Nagle algorithm (TCP_NODELAY) on sockets. I think this is a stock ucspi-tcp feature and the old patch supported the same flags. Oh, you're right. New patch simply added manpage, not the feature itself. 3. Seems like errno.patch has been incorporated into this patch. Also makes me wonder what would be proper sequence as far as applying patches goes - should I apply nobase.patch first, then a_record.patch and then new ucspi-tcp-ssl patch? Uhm, I don't know. What are the nobase.patch and a_record.patch? These are RBL related patches from here - http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ Technically I already figured out that they can be applied in the order I mentioned - nobase.patch first followed by a_record.patch and then the new ucspi-tcp-ssl patch. Maybe these two patches (a_record and nobase) can be simply incorporated into future version of ucspi-tcp-ssl? 4. Seems like it adds some of inetd services - e.g. date, who, finger. Not sure why these were added. Those are stock ucspi-tcp services. I should get more sleep. I didn't notice that what the patch was actually adding is manpages for all this stuff :) 6. Bug fixes in the ssl wrapper. It is possible to stall a connection becasue not all SSL deciphered data is passed on. It looks like this bug is hard to trigger. I see. Probably it's really hard to trigger, because I have never encountered it. But the good thing is that you guys fixed it anyway. 7. Introduce some per IP and per netblock connect limits. Currently there are some bugs in that code that got fixed lately. A new release should be available on the first July. O, cool. That's a feature I can definitely use. I will wait for that new release then. Thanks a lot Claudio Andre!
Re: virtual domains
Hi Kristof, I read the doc at http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual/VIRTUAL.readme And, besides the ip-aliasing feature, is there some other feature that your patch add to qmail-ldap? OR, are there other benefits in having separate basedn's for each virtual domain? Regards, bnegrao - Original Message - From: Kristof Bajnok [EMAIL PROTECTED] To: Jesus Bernardo Ruiz Flores [EMAIL PROTECTED] Cc: Qmail-ldap qmail-ldap@qmail-ldap.org Sent: Monday, June 27, 2005 11:06 AM Subject: Re: virtual domains Have a look at http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual.html . I think this is what you are searching for. Kristof szerda 22 június 2005 17:39 dátummal Jesus Bernardo Ruiz Flores ezt írta: Is There a way to make qmail-ldap 20050401a work with ip aliasing for the virtual domain part. I'm trying to configure a virtual domains where the users when they conenct throught pop3 don't have ton give the login name in the form [EMAIL PROTECTED] just the username. Please i really need help on this. Jesus
qmail-smtpd(8) manpage: qmail-smtpd reads local control file
Hi guys, Reading QLDAPINSTALL I discovered that qmail-smtpd reads ~control/local file. In stock qmail, only qmail-send reads this file. Also, qmail-smtpd can read locals.cdb instead of locals. I'm writing the manpage for qmail-smtpd(8) in http://www.qmail-ldap.org/index.php?title=Man/Man8/qmail-smtpd so I need to describe what does qmail-smtpd read these files for. Based on what I know until now, I'd say: locals List of domain names that the current host receives mail for, one per line. Default: me, if that is supplied; Note: if locals.cdb exists that file is read instead of locals and locals will be ignored. locals.cdb Same function of locals might be used as its substitute. It's read each time qmail-smtpd is executed. See locals.cdb(5) to know how to create it. Is it correct? Thank you, Bruno Negrao Analista de Suporte Engepel Teleinformática LTDA 31 34812311 Belo Horizonte - MG. Brasil
Re: virtual domains
I just patch qmail-ldap with this patch. but i still have to login using [EMAIL PROTECTED] my qmail-pop3d start script is #!/bin/sh env - PATH=/var/qmail_2/bin:/usr/local/bin \ tcpserver -v -R -H -l 0 -c 200 0 pop3 \ /var/qmail/bin/qmail-popup mail.acelerate.org \ /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir 21 Thanks Jesus Kristof Bajnok wrote: Have a look at http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual.html . I think this is what you are searching for. Kristof szerda 22 június 2005 17:39 dátummal Jesus Bernardo Ruiz Flores ezt írta: Is There a way to make qmail-ldap 20050401a work with ip aliasing for the virtual domain part. I'm trying to configure a virtual domains where the users when they conenct throught pop3 don't have ton give the login name in the form [EMAIL PROTECTED] just the username. Please i really need help on this. Jesus
Re: virtual domains
Did you set up the control/ipvirtualbasedn file? bnegrao - Original Message - From: Jesus Bernardo Ruiz Flores [EMAIL PROTECTED] To: Kristof Bajnok [EMAIL PROTECTED]; Qmail-ldap qmail-ldap@qmail-ldap.org Sent: Monday, June 27, 2005 7:23 PM Subject: Re: virtual domains I just patch qmail-ldap with this patch. but i still have to login using [EMAIL PROTECTED] my qmail-pop3d start script is #!/bin/sh env - PATH=/var/qmail_2/bin:/usr/local/bin \ tcpserver -v -R -H -l 0 -c 200 0 pop3 \ /var/qmail/bin/qmail-popup mail.acelerate.org \ /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir 21 Thanks Jesus Kristof Bajnok wrote: Have a look at http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual.html . I think this is what you are searching for. Kristof szerda 22 június 2005 17:39 dátummal Jesus Bernardo Ruiz Flores ezt írta: Is There a way to make qmail-ldap 20050401a work with ip aliasing for the virtual domain part. I'm trying to configure a virtual domains where the users when they conenct throught pop3 don't have ton give the login name in the form [EMAIL PROTECTED] just the username. Please i really need help on this. Jesus
Re: virtual domains
My ipvirtualbasedn is: more /var/qmail_2/control/ipvirtualbasedn 200.105.128.37:ou=acelerate_org,ou=qmail_users,dc=acelerate,dc=org the namedvirtualbasedn is: more /var/qmail_2/control/namedvirtualbasedn acelerate.org:ou=acelerate_org,ou=qmail_users,dc=acelerate,dc=org mail.acelerate.org:ou=acelerate_org,ou=qmail_users,dc=acelerate,dc=org User example: dn: [EMAIL PROTECTED],ou=acelerate_org,ou=qmail_users,dc=acelerate,dc=org cn: Example.tld Admin ou: qmail_users sn: Admin objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: qmailUser Bruno Negrão wrote: Did you set up the control/ipvirtualbasedn file? bnegrao - Original Message - From: Jesus Bernardo Ruiz Flores [EMAIL PROTECTED] To: Kristof Bajnok [EMAIL PROTECTED]; Qmail-ldap qmail-ldap@qmail-ldap.org Sent: Monday, June 27, 2005 7:23 PM Subject: Re: virtual domains I just patch qmail-ldap with this patch. but i still have to login using [EMAIL PROTECTED] my qmail-pop3d start script is #!/bin/sh env - PATH=/var/qmail_2/bin:/usr/local/bin \ tcpserver -v -R -H -l 0 -c 200 0 pop3 \ /var/qmail/bin/qmail-popup mail.acelerate.org \ /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir 21 Thanks Jesus Kristof Bajnok wrote: Have a look at http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual.html . I think this is what you are searching for. Kristof szerda 22 június 2005 17:39 dátummal Jesus Bernardo Ruiz Flores ezt írta: Is There a way to make qmail-ldap 20050401a work with ip aliasing for the virtual domain part. I'm trying to configure a virtual domains where the users when they conenct throught pop3 don't have ton give the login name in the form [EMAIL PROTECTED] just the username. Please i really need help on this. Jesus
Re: virtual domains
User example: dn: [EMAIL PROTECTED],ou=acelerate_org,ou=qmail_users,dc=acelerate,dc=org cn: Example.tld Admin ou: qmail_users sn: Admin objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: qmailUser I cannot see the uid attribute in your LDIF above. Is this LDIF example complete? Aren't you setting the uid attribute in your user entries? bnegrao
requesting new mailing list: qmail-ldap-docs
Hi guys, Don't you think it's a good idea to have a separate mailing list only for documentation-related questions? I believe that if we start discussing documentation issues on this list people not interested in the documentation will feel annoyed... Regards, - Bruno Negrao - Network Manager Engepel Teleinformática. 55-31-34812311 Belo Horizonte, MG, Brazil
Re: requesting new mailing list: qmail-ldap-docs
Andre, If you want to limit the users who can edit the wiki site to registered users, maybe you would like to approve these registered users if they subscribe to qmail-ldap-docs list, or making the subscription to the list part of the registration process. Just an idea... regards, bnegrao - Original Message - From: Bruno Negrão [EMAIL PROTECTED] To: qmail-ldap@qmail-ldap.org Sent: Monday, June 27, 2005 8:46 PM Subject: requesting new mailing list: qmail-ldap-docs Hi guys, Don't you think it's a good idea to have a separate mailing list only for documentation-related questions? I believe that if we start discussing documentation issues on this list people not interested in the documentation will feel annoyed... Regards, - Bruno Negrao - Network Manager Engepel Teleinformática. 55-31-34812311 Belo Horizonte, MG, Brazil
Re: about qmail mail delivery directory
Amit wrote: Hi Russ/Hardik., Thanx so much for lending a helping ear to my problem..I am posting the outputs of user ldif export, /var/qmail/bin/qmail-showctl, the permissions I have in /var/qmail/control and the log file for /var/qmail/log/qmail-send/current Stop top posting please. *1. outputs of user Amit's ldif export* dn: uid=amit,ou=Users,dc=mydomain,dc=com cn: amit sn: amit uid:amit uidNumber: 1003 gidNumber: 1000 homeDirectory: /home/amit loginShell: /bin/bash gecos: System User description: System User sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 displayName: System User sambaSID:S-1-5-21-1033752373-4158422787-2430110392-3006 sambaPrimaryGroupSID:S-1-5-21-1033752373-4158422787-2430110392-3001 sambaLogonScript: amit.cmd objectClass: top objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSAMAccount objectClass: qmailUser mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailHost: mailserver.intranet.mydomain.com accountStatus: active mailMessageStore: /var/qmail/maildirs/amit/ mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] sambaLMPassword: 860CFB1391773F06AAD3B435B51404EE sambaAcctFlags: [U] sambaNTPassword: 6E175C051DAFFC138BD5078A922D2668 sambaPwdLastSet: 1119643965 sambaPwdMustChange: 1128197565 userPassword: {CRYPT}vNvW98tPUp7tU 2. /var/qmail/bin/qmail-showctl qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 500. subdirectory split: 23. user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009. group ids: 1001, 1002. me: My name is mailserver.intranet.mydomain.com ldapserver: My ldap server is localhost badmailfrom: (Default.) Any MAIL FROM is allowed. badmailfrom-unknown: (Default.) Any MAIL FROM from hosts without PTR is allowed. badrcptto: (Default.) Any RCPT TO is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is mailserver.intranet.mydomain.com. bouncemaxbytes: (Default.) Bounce data limit is 0 bytes. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. custombouncetext: (Default.) No custombouncetext. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is mydomain.com. defaulthost: (Default.) Default host name is mailserver.intranet.mydomain.com. dirmaker: (Default.) Program to create homedirs not defined. doublebouncehost: (Default.) 2B recipient host: mailserver.intranet.mydomain.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is mailserver.intranet.mydomain.com. goodmailaddr: (Default.) No good mail addresses. helohost: (Default.) SMTP client HELO host name is mailserver.intranet.mydomain.com. idhost: (Default.) Message-ID host name is mailserver.intranet.mydomain.com. localiphost: (Default.) Local IP address becomes mailserver.intranet.mydomain.com. locals: Messages for localhost are delivered locally. Messages for mailserver are delivered locally. Messages for intranet.mydomain.com are delivered locally. Messages for mailserver.intranet.mydomain.com are delivered locally. Messages for localhost.mydomain.com are delivered locally. Messages for mailserver.mydomain.com are delivered locally. me: My name is mailserver.intranet.mydomain.com. outgoingip: (Default.) Bind qmail-remote to 0.0.0.0. pbscachesize: (Default.) PBS cachesize is 1048576 bytes. pbsenv: (Default.) No environment variables will be passed. pbsip: (Default.) Bind PBS daemon to 0.0.0.0. pbsport: (Default.) PBS deamon listens on port 2821. pbssecret: (Default.) PBS shared secret is undefined! Uh-oh. pbsservers: (Default.) No PBS servers. pbstimeout: (Default.) PBS entries will be valid for 600 seconds. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is mydomain.com. qmqpcip: (Default.) Bind qmail-qmqpc to 0.0.0.0. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. quotawarning: (Default.) No quotawarning. rbllist: (Default.) No RBL listed. rcpthosts: SMTP clients may send messages to recipients at mydomain.com. SMTP clients may send messages to recipients at intranet.mydomain.com. SMTP clients may send messages to recipients at mailserver.intranet.mydomain.com. SMTP clients may send messages to recipients at localhost. SMTP clients may send messages to recipients at mailserver. SMTP clients may send messages to recipients at localhost.mydomain.com. SMTP clients may send messages to
Re: about qmail mail delivery directory
Amit wrote: Hi Russ/Hardik., Thanx so much for lending a helping ear to my problem..I am posting the outputs of user ldif export, /var/qmail/bin/qmail-showctl, the permissions I have in /var/qmail/control and the log file for /var/qmail/log/qmail-send/current *1. outputs of user Amit's ldif export* dn: uid=amit,ou=Users,dc=mydomain,dc=com cn: amit sn: amit uid:amit uidNumber: 1003 gidNumber: 1000 homeDirectory: /home/amit loginShell: /bin/bash gecos: System User description: System User sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 displayName: System User sambaSID:S-1-5-21-1033752373-4158422787-2430110392-3006 sambaPrimaryGroupSID:S-1-5-21-1033752373-4158422787-2430110392-3001 sambaLogonScript: amit.cmd objectClass: top objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSAMAccount objectClass: qmailUser mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailHost: mailserver.intranet.mydomain.com accountStatus: active mailMessageStore: /var/qmail/maildirs/amit/ mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] sambaLMPassword: 860CFB1391773F06AAD3B435B51404EE sambaAcctFlags: [U] sambaNTPassword: 6E175C051DAFFC138BD5078A922D2668 sambaPwdLastSet: 1119643965 sambaPwdMustChange: 1128197565 userPassword: {CRYPT}vNvW98tPUp7tU 2. /var/qmail/bin/qmail-showctl qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 500. subdirectory split: 23. user ids: 1003, 1004, 1005, 0, 1006, 1007, 1008, 1009. group ids: 1001, 1002. me: My name is mailserver.intranet.mydomain.com ldapserver: My ldap server is localhost badmailfrom: (Default.) Any MAIL FROM is allowed. badmailfrom-unknown: (Default.) Any MAIL FROM from hosts without PTR is allowed. badrcptto: (Default.) Any RCPT TO is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is mailserver.intranet.mydomain.com. bouncemaxbytes: (Default.) Bounce data limit is 0 bytes. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. custombouncetext: (Default.) No custombouncetext. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is mydomain.com. defaulthost: (Default.) Default host name is mailserver.intranet.mydomain.com. dirmaker: (Default.) Program to create homedirs not defined. doublebouncehost: (Default.) 2B recipient host: mailserver.intranet.mydomain.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is mailserver.intranet.mydomain.com. goodmailaddr: (Default.) No good mail addresses. helohost: (Default.) SMTP client HELO host name is mailserver.intranet.mydomain.com. idhost: (Default.) Message-ID host name is mailserver.intranet.mydomain.com. localiphost: (Default.) Local IP address becomes mailserver.intranet.mydomain.com. locals: Messages for localhost are delivered locally. Messages for mailserver are delivered locally. Messages for intranet.mydomain.com are delivered locally. Messages for mailserver.intranet.mydomain.com are delivered locally. Messages for localhost.mydomain.com are delivered locally. Messages for mailserver.mydomain.com are delivered locally. me: My name is mailserver.intranet.mydomain.com. outgoingip: (Default.) Bind qmail-remote to 0.0.0.0. pbscachesize: (Default.) PBS cachesize is 1048576 bytes. pbsenv: (Default.) No environment variables will be passed. pbsip: (Default.) Bind PBS daemon to 0.0.0.0. pbsport: (Default.) PBS deamon listens on port 2821. pbssecret: (Default.) PBS shared secret is undefined! Uh-oh. pbsservers: (Default.) No PBS servers. pbstimeout: (Default.) PBS entries will be valid for 600 seconds. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is mydomain.com. qmqpcip: (Default.) Bind qmail-qmqpc to 0.0.0.0. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. quotawarning: (Default.) No quotawarning. rbllist: (Default.) No RBL listed. rcpthosts: SMTP clients may send messages to recipients at mydomain.com. SMTP clients may send messages to recipients at intranet.mydomain.com. SMTP clients may send messages to recipients at mailserver.intranet.mydomain.com. SMTP clients may send messages to recipients at localhost. SMTP clients may send messages to recipients at mailserver. SMTP clients may send messages to recipients at localhost.mydomain.com. SMTP clients may send messages to recipients at
Re: about qmail mail delivery directory
Sameer N Ingole wrote: What are the permissions of dirmaker script? (show us ls -ls output) Correction: What are the permissions of dirmaker script? (show us ls -lh /var/qmail/bin/ output) -- Sameer N. Ingole /**/ The degree of civilization in a society can be judged by entering its prisons. -- F. Dostoyevski /**/