User Template/Skeleton
Hi, I want to create more default directory when adding a new user. For example. I need add a new folder under Maildir/Drafts whenever create a new user. How can I add a user by using vadduser automatically create this directory template such as /etc/skel ? Joe
Re[2]: MySQL-3.23.46 & Vpopmail 5.0
Hello Rick, Monday, December 03, 2001, 1:26:51 AM, you wrote: RM> Hi, RM> Have you tried access the database from the command line with your user and RM> password? RM> mysql -u -p mydatabase RM> to see if it's not a access problem to mysql itself? sure. I forgot to write it... it works with no problem. --S.
ldap+squid authentication
thanks a lot! I could now execute ldapsearch with -D option. Can you PLZ help in my ldap authentication for squid! I want to authenticate squid taking givenname and userpassword in my ldif as login name. But could"nt :(( [root@ldap LDAP]# ./squid_ldap_auth -D 'givenname=Larry, o=usm' -b dc=usm,dc=com ldapLarry larryERR # I configured squid as ## authenticate_program /usr/local/squid/bin/squid_ldap_auth ldap.mydomain.com acl ldap proxy_auth REQUIRED http_access allow ldap http_access deny all My slapd.conf ##3 include /usr/local/etc/openldap/schema/core.schemainclude /usr/local/etc/openldap/schema/cosine.schemainclude /usr/local/etc/openldap/schema/inetorgperson.schema database ldbmsuffix "o=usm"suffix "dc=ldap,dc=usm,dc=com"rootdn "cn=Admin,dc=ldap,dc=usm,dc=com"#rootdn "cn=Admin,o=usm"rootdn "givenname=Larry,o=usm"rootpw secretdirectory /usr/local/var/openldap-ldbm/defaultaccess readschemacheck onlastmod on index cn,sn,st pres,eq,su
ldap+squid authentication
Can you PLZ help in my ldap authentication for squid! I want to authenticate squid taking givenname and userpassword in my ldif as login name. But could"nt :(( [root@ldap LDAP]# ./squid_ldap_auth -D 'givenname=Larry, o=usm' -b dc=usm,dc=com ldapLarry larryERR # I configured squid as ## authenticate_program /usr/local/squid/bin/squid_ldap_auth ldap.mydomain.com acl ldap proxy_auth REQUIRED http_access allow ldap http_access deny all My slapd.conf ##3 include /usr/local/etc/openldap/schema/core.schemainclude /usr/local/etc/openldap/schema/cosine.schemainclude /usr/local/etc/openldap/schema/inetorgperson.schema database ldbmsuffix "o=usm"suffix "dc=ldap,dc=usm,dc=com"rootdn "cn=Admin,dc=ldap,dc=usm,dc=com"#rootdn "cn=Admin,o=usm"rootdn "givenname=Larry,o=usm"rootpw secretdirectory /usr/local/var/openldap-ldbm/defaultaccess readschemacheck onlastmod on index cn,sn,st pres,eq,su
RE: No Local domains partial OOPS.. but still no work
Ok... When I do the correct spelling I get an ok... which is good.. but the mail doesn't make it anywhere.. just get's lost... any ideas ? At 05:34 PM 12/2/2001 -0700, you wrote: >Try using proper SMTP syntax. It's RCPT not RCPTO > >Tren. > > > -Original Message- > > From: Dave Lewis [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, December 02, 2001 5:17 PM > > To: [EMAIL PROTECTED] > > Subject: Re: No Local domains > > > > > > At 05:43 PM 12/2/2001 -0500, you wrote: > > > > More to add to this > > > > if I telnet to smtp > > It wont' accept a user to send mail to. but keep in mind.. it works for > > all other virtual domains.. > > > > RCPTO TO :[EMAIL PROTECTED] > > 502 unimplemented (#5.5.1) > > > > > > Any thoughts ??? > > > > > > >I have qmail and vpopmail and courier-imap for checking mail > > (both pop and > > >imap ) > > >working great now.. except that I have one local domain > > > > > >When I remove the domain from the locals file and add it in with > > vadddomain > > >everything seems ok.. files are created it appears in the virtualdomains > > >file and > > >I can access it with qmailadmin.. there are 2 problems though... > > > > > > > > >1) the domain doesn't show up where my other domains are... > > >they are all in /var/spool/mail/domains/ > > > > > >it appears in the vpopmail domain dir > > (/var/spool/mail/popmail/domains/) > > >.. I can't remember how > > >I got the other ones to appear in a different dir ??? any thoughts.. > > > > > > > > >2) more importantly.. I can't receive mail.. mail doesn't seem > > to bounce.. > > >it just disappears. > > >I can logg in and check mail but nothing is there.. nothing get's > > > written to the dirs either.. > > >all this time the other domains are functioning fine.. > > > > > >This is really fustrating.. since I've seen the ease of virtual domains > > >this remaining local domain > > >is a real pain. > > > > > >Can anyone shed some light on this > > > > > > > > >Dave > > > >
Debian Packages
Hi, I have prepared some debian packages for Vpopmail 5.0 and Qmailadmin 1.0. They are available at: deb http://linux.myspinach.org/debian ./ You need to make sure you use ezmlm-idx version 0.53-3.1 and autorespond 2.0 Also the version of qmail in debian 2.2 (stable) doesn't include symbolic links from /var/qmail/bin -> /usr/sbin/ so you need to add these manually or use a later version. These packages should be considered beta but they work fine for me. cheers, Iain. -- public key available at http://www.minihub.org/~iain/iain.asc
RE: No Local domains
Try using proper SMTP syntax. It's RCPT not RCPTO Tren. > -Original Message- > From: Dave Lewis [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 02, 2001 5:17 PM > To: [EMAIL PROTECTED] > Subject: Re: No Local domains > > > At 05:43 PM 12/2/2001 -0500, you wrote: > > More to add to this > > if I telnet to smtp > It wont' accept a user to send mail to. but keep in mind.. it works for > all other virtual domains.. > > RCPTO TO :[EMAIL PROTECTED] > 502 unimplemented (#5.5.1) > > > Any thoughts ??? > > > >I have qmail and vpopmail and courier-imap for checking mail > (both pop and > >imap ) > >working great now.. except that I have one local domain > > > >When I remove the domain from the locals file and add it in with > vadddomain > >everything seems ok.. files are created it appears in the virtualdomains > >file and > >I can access it with qmailadmin.. there are 2 problems though... > > > > > >1) the domain doesn't show up where my other domains are... > >they are all in /var/spool/mail/domains/ > > > >it appears in the vpopmail domain dir > (/var/spool/mail/popmail/domains/) > >.. I can't remember how > >I got the other ones to appear in a different dir ??? any thoughts.. > > > > > >2) more importantly.. I can't receive mail.. mail doesn't seem > to bounce.. > >it just disappears. > >I can logg in and check mail but nothing is there.. nothing get's > > written to the dirs either.. > >all this time the other domains are functioning fine.. > > > >This is really fustrating.. since I've seen the ease of virtual domains > >this remaining local domain > >is a real pain. > > > >Can anyone shed some light on this > > > > > >Dave > >
Re: MySQL-3.23.46 & Vpopmail 5.0
Hi, Have you tried access the database from the command line with your user and password? mysql -u -p mydatabase to see if it's not a access problem to mysql itself? Regards, Rick - Original Message - From: "Sylwester S. Biernacki" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 02, 2001 7:27 PM Subject: MySQL-3.23.46 & Vpopmail 5.0 Hi, It's 1am here and my eyes aching me so much I can't write ;-) I was doing an upgrade of my oldie mysqld version (which doesn't support replication :>) to the "newest" 3.23.46. And after the upgrade I'm getting this message: [root@areion vpopmail-5.0]# telnet 0 110 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. +OK <[EMAIL PROTECTED]> user [EMAIL PROTECTED] +OK pass xxx could not connect to mysql update server -ERR authorization failed Connection closed by foreign host. When I turn off the new version of mysql and start the old version, everything works fine: [root@areion vpopmail]# telnet 0 110 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. +OK <[EMAIL PROTECTED]> user [EMAIL PROTECTED] +OK pass +OK stat +OK 147 595576 quit +OK Connection closed by foreign host. I was testing it on 5.0pre5 so I thought: Maybe I'm stupid, and sth wrong configured in that version. I've downloaded the 5.0 final, and run configure with these parameters: ./configure --prefix=/home/vpopmail --enable-qmaildir=/var/qmail --enable-a [EMAIL PROTECTED] --enable-logging=y --enable-default-domain=obeer.com --enable-mysql=y --enab le-large-site=y --enable-incdir=/usr/local/mysql/include/mysql --enable-libdir=/usr/local/my sql/lib/mysql --enable-libs=mysqlclient --enable-apop=y --enable-roaming-users=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-min utes=15 --enable-auth-logging=y --enable-valias=y --enable-passwd=n --enable-hardquo ta=500 --enable-qmail-ext=y --enable-mysql-replication=n after that I got: vpopmail 5.0 Current settings --- vpopmail directory = /home/vpopmail uid = 499 gid = 499 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = ON --enable-qmail-ext=y roaming users = ON --enable-roaming-users=y tcpserver file = /home/vpopmail/etc/tcp.smtp open_smtp file = /home/vpopmail/etc/open-smtp user quota = 500 -enable-hardquota=500 auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = ON --enable-file-sync=y default auth logging = ON --enable-auth-logging=y mysql logging = OFF --enable-mysql-logging=n default mysql clear passwd = OFF --enable-clear-passwd=n default valias processing = ON --enable-valias=y pop syslog = show successful and failure login attempts --enable-logging=y default domain = obeer.com --enable-default-domain=obeer.com auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz So I looked carrefully the line: mysql replication = OFF --enable-mysql-replication=n default It seems to be good. SO I've modified vmysql.h file: /* Edit to match your set up */ #define MYSQL_UPDATE_SERVER "localhost" #define MYSQL_UPDATE_USER "vpop_auth" #define MYSQL_UPDATE_PASSWD "secretpassword" #define MYSQL_READ_SERVER "" #define MYSQL_READ_USER "" #define MYSQL_READ_PASSWD "" /* End of setup section*/ Than I've compiled it (make; make install-strip), run the new mysql version and gotta the same message: [root@areion vpopmail-5.0]# telnet 0 110 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. +OK <[EMAIL PROTECTED]> user [EMAIL PROTECTED] +OK pass xxx could not connect to mysql update server -ERR authorization failed Connection closed by foreign host. I've looked at all of the config files: [root@areion vpopmail-5.0]# rgrep "#define MYSQL_REPLICATION" * configure:#define MYSQL_REPLICATION $MYSQL_REPLICATION [root@areion vpopmail-5.0]# grep "MYSQL_REPLICATION" config.h /* #undef MYSQL_REPLICATION */ [root@areion vpopmail-5.0]# Everything seems to be OK. So WTF is going on ? I don't know. My OS is Linux, mysql doesn't use my.cnf, replication was there cause I've installed binary version (I've made rpm --rebuild on my linux box and then installed this rpm files). I haven't tried with compiling mysql myself, but I've looked at mail-archive.com and found Ken's words: http://www.mail-archive.com/vchkpw@inter7.com/msg04656.html Good point. This mysql replication stuff should probably get a good READ me file too. Here is what is in the vmysql.h file now: /* Edit to match your set up * * If you are NOT using mysql replication: * Then edit the UPDATE server wit
MySQL-3.23.46 & Vpopmail 5.0
Hi, It's 1am here and my eyes aching me so much I can't write ;-) I was doing an upgrade of my oldie mysqld version (which doesn't support replication :>) to the "newest" 3.23.46. And after the upgrade I'm getting this message: [root@areion vpopmail-5.0]# telnet 0 110 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. +OK <[EMAIL PROTECTED]> user [EMAIL PROTECTED] +OK pass xxx could not connect to mysql update server -ERR authorization failed Connection closed by foreign host. When I turn off the new version of mysql and start the old version, everything works fine: [root@areion vpopmail]# telnet 0 110 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. +OK <[EMAIL PROTECTED]> user [EMAIL PROTECTED] +OK pass +OK stat +OK 147 595576 quit +OK Connection closed by foreign host. I was testing it on 5.0pre5 so I thought: Maybe I'm stupid, and sth wrong configured in that version. I've downloaded the 5.0 final, and run configure with these parameters: ./configure --prefix=/home/vpopmail --enable-qmaildir=/var/qmail [EMAIL PROTECTED] --enable-logging=y --enable-default-domain=obeer.com --enable-mysql=y --enable-large-site=y --enable-incdir=/usr/local/mysql/include/mysql --enable-libdir=/usr/local/mysql/lib/mysql --enable-libs=mysqlclient --enable-apop=y --enable-roaming-users=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=15 --enable-auth-logging=y --enable-valias=y --enable-passwd=n --enable-hardquota=500 --enable-qmail-ext=y --enable-mysql-replication=n after that I got: vpopmail 5.0 Current settings --- vpopmail directory = /home/vpopmail uid = 499 gid = 499 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = ON --enable-qmail-ext=y roaming users = ON --enable-roaming-users=y tcpserver file = /home/vpopmail/etc/tcp.smtp open_smtp file = /home/vpopmail/etc/open-smtp user quota = 500 -enable-hardquota=500 auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = ON --enable-file-sync=y default auth logging = ON --enable-auth-logging=y mysql logging = OFF --enable-mysql-logging=n default mysql clear passwd = OFF --enable-clear-passwd=n default valias processing = ON --enable-valias=y pop syslog = show successful and failure login attempts --enable-logging=y default domain = obeer.com --enable-default-domain=obeer.com auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz So I looked carrefully the line: mysql replication = OFF --enable-mysql-replication=n default It seems to be good. SO I've modified vmysql.h file: /* Edit to match your set up */ #define MYSQL_UPDATE_SERVER "localhost" #define MYSQL_UPDATE_USER "vpop_auth" #define MYSQL_UPDATE_PASSWD "secretpassword" #define MYSQL_READ_SERVER "" #define MYSQL_READ_USER "" #define MYSQL_READ_PASSWD "" /* End of setup section*/ Than I've compiled it (make; make install-strip), run the new mysql version and gotta the same message: [root@areion vpopmail-5.0]# telnet 0 110 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. +OK <[EMAIL PROTECTED]> user [EMAIL PROTECTED] +OK pass xxx could not connect to mysql update server -ERR authorization failed Connection closed by foreign host. I've looked at all of the config files: [root@areion vpopmail-5.0]# rgrep "#define MYSQL_REPLICATION" * configure:#define MYSQL_REPLICATION $MYSQL_REPLICATION [root@areion vpopmail-5.0]# grep "MYSQL_REPLICATION" config.h /* #undef MYSQL_REPLICATION */ [root@areion vpopmail-5.0]# Everything seems to be OK. So WTF is going on ? I don't know. My OS is Linux, mysql doesn't use my.cnf, replication was there cause I've installed binary version (I've made rpm --rebuild on my linux box and then installed this rpm files). I haven't tried with compiling mysql myself, but I've looked at mail-archive.com and found Ken's words: http://www.mail-archive.com/vchkpw@inter7.com/msg04656.html Good point. This mysql replication stuff should probably get a good READ me file too. Here is what is in the vmysql.h file now: /* Edit to match your set up * * If you are NOT using mysql replication: * Then edit the UPDATE server with your mysql authentication * information. The READ server is not used * * If you are using mysql replication: * Set the UPDATE server to be your master * and set the READ server to be your slave * */ This is assuming two types of mysql setups 1) Just one server, like a standard mysql setup. 2) Mysql replication setup with a single master and a local slave. There isn't a
Re: No Local domains
At 05:43 PM 12/2/2001 -0500, you wrote: More to add to this if I telnet to smtp It wont' accept a user to send mail to. but keep in mind.. it works for all other virtual domains.. RCPTO TO :[EMAIL PROTECTED] 502 unimplemented (#5.5.1) Any thoughts ??? >I have qmail and vpopmail and courier-imap for checking mail (both pop and >imap ) >working great now.. except that I have one local domain > >When I remove the domain from the locals file and add it in with vadddomain >everything seems ok.. files are created it appears in the virtualdomains >file and >I can access it with qmailadmin.. there are 2 problems though... > > >1) the domain doesn't show up where my other domains are... >they are all in /var/spool/mail/domains/ > >it appears in the vpopmail domain dir (/var/spool/mail/popmail/domains/) >.. I can't remember how >I got the other ones to appear in a different dir ??? any thoughts.. > > >2) more importantly.. I can't receive mail.. mail doesn't seem to bounce.. >it just disappears. >I can logg in and check mail but nothing is there.. nothing get's > written to the dirs either.. >all this time the other domains are functioning fine.. > >This is really fustrating.. since I've seen the ease of virtual domains >this remaining local domain >is a real pain. > >Can anyone shed some light on this > > >Dave
No Local domains
I have qmail and vpopmail and courier-imap for checking mail (both pop and imap ) working great now.. except that I have one local domain When I remove the domain from the locals file and add it in with vadddomain everything seems ok.. files are created it appears in the virtualdomains file and I can access it with qmailadmin.. there are 2 problems though... 1) the domain doesn't show up where my other domains are... they are all in /var/spool/mail/domains/ it appears in the vpopmail domain dir (/var/spool/mail/popmail/domains/) .. I can't remember how I got the other ones to appear in a different dir ??? any thoughts.. 2) more importantly.. I can't receive mail.. mail doesn't seem to bounce.. it just disappears. I can logg in and check mail but nothing is there.. nothing get's written to the dirs either.. all this time the other domains are functioning fine.. This is really fustrating.. since I've seen the ease of virtual domains this remaining local domain is a real pain. Can anyone shed some light on this Dave
RE: test spam; should be rejected
At 12:17 02/12/01, Tren Blackburn wrote: [ Commenting on my contention that [EMAIL PROTECTED] is the only ezmlm-run list that I get spam from ] >I beg to differ about the sqwebmail list. I've gotten spam from it in >the >past. Also, this discussion has been done before. When inter7 setup >the >list, it wasn't done with that option. When inter7 has time I'm sure >they'll recreate the list with the appropriate options, but I'm >guessing >it's not a small job (though I can't say for sure) It's pretty simple: % ezmlm-make -+u DIR > If you want complete >details, search the archives, but this horse has been beaten to death >already. Sorry, then. I must have missed it. -- All the best (Adéu-siau), Lou Hevly [EMAIL PROTECTED] http://www.visca.com
RE: test spam; should be rejected
I beg to differ about the sqwebmail list. I've gotten spam from it in the past. Also, this discussion has been done before. When inter7 setup the list, it wasn't done with that option. When inter7 has time I'm sure they'll recreate the list with the appropriate options, but I'm guessing it's not a small job (though I can't say for sure) If you want complete details, search the archives, but this horse has been beaten to death already. Regards, Tren. > -Original Message- > From: Lou Hevly [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 02, 2001 3:41 AM > To: vpopmail > Subject: Re: test spam; should be rejected > > > No cc: please; I'm on the list. > > At 11:02 02/12/01, Harry (lists) wrote: > >on 12/2/01 1:56 AM, Lou Hevly at [EMAIL PROTECTED] wrote: > > > > > Is there any reason for allowing spammers to post to this list? > > > >Not sure about the vpopmail list, but this exact same argument just > >finished > >on the qmail list, which is also an open list - and thus spam > >friendly. > > Really, are you sure? Now I'm on best-of-qmail, but I don't remember > ever getting spam when I was on the regular list. Lots of > Outlook-based > clueless virus replies, but these were from subscribers. > > >How much spam were you getting? I have not been noticing any > >significant > >spam on this list. > > *Am* I getting. 3,4,5 a day. Since installing TMDA it's the only spam > I > get, so it's conspicuous. Other ezmlm-run lists I'm on from which I > *never* receive spam are [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] and > [EMAIL PROTECTED] I assume all these lists have the -u option > enabled. > > > > -- > All the best (Adéu-siau), > Lou Hevly > [EMAIL PROTECTED] > http://www.visca.com > >
Re: test spam; should be rejected
No cc: please; I'm on the list. At 11:02 02/12/01, Harry (lists) wrote: >on 12/2/01 1:56 AM, Lou Hevly at [EMAIL PROTECTED] wrote: > > > Is there any reason for allowing spammers to post to this list? > >Not sure about the vpopmail list, but this exact same argument just >finished >on the qmail list, which is also an open list - and thus spam >friendly. Really, are you sure? Now I'm on best-of-qmail, but I don't remember ever getting spam when I was on the regular list. Lots of Outlook-based clueless virus replies, but these were from subscribers. >How much spam were you getting? I have not been noticing any >significant >spam on this list. *Am* I getting. 3,4,5 a day. Since installing TMDA it's the only spam I get, so it's conspicuous. Other ezmlm-run lists I'm on from which I *never* receive spam are [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED] I assume all these lists have the -u option enabled. -- All the best (Adéu-siau), Lou Hevly [EMAIL PROTECTED] http://www.visca.com
Re: test spam; should be rejected
on 12/2/01 1:56 AM, Lou Hevly at [EMAIL PROTECTED] wrote: > Is there any reason for allowing spammers to post to this list? Not sure about the vpopmail list, but this exact same argument just finished on the qmail list, which is also an open list - and thus spam friendly. On the qmail list, the major reasons for the opne configuration were ego-based, and political -- which I sincerely hope is not the case on here. How much spam were you getting? I have not been noticing any significant spam on this list. Harry
Re: test spam; should be rejected
At 10:48 02/12/01, [EMAIL PROTECTED] wrote: >This message should not make it to the list. >-- My apologies for the test message, but now I know why I've been getting so much spam on this list; surprisingly (to me) it is set up without ezmlm's -u option: -u User posts only. ezmlm-make sets up the list so that posts and archive access is restricted to sub- scribers. These are addresses subscribed to the main list, the digest, or added manually to the address database in dir/allow/ which accommodates addresses from e.g. subscribers working from an address other than their subscriber address. Is there any reason for allowing spammers to post to this list? -- All the best (Adéu-siau), Lou Hevly [EMAIL PROTECTED] http://www.visca.com
test spam; should be rejected
This message should not make it to the list. -- All the best (Adéu-siau), Lou Hevly [EMAIL PROTECTED] http://www.visca.com