.qmail-default Problem
Hi, I have setup qmail with vpopmail. Everyting works. We have users on more machines all with [EMAIL PROTECTED] I have setup qmail for a few user on a server (1). The users can send and receive e-mail to all other domains with no problems. Only when they try to send to [EMAIL PROTECTED] (this user is not on the local computer (1) ), they get an error- no user because of "bounce-no-mailbox" in .qmail-default I have: "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" What do I have to put instead of "bounce-no-mailbox" to get all mail sent to the nonlocal domain1.dom users, to be sent to server2 ? Andrei
.qmail-default (Pls help!!)
Is there any alternative to how vpopmail use '.qmail-default' for virtual domains? It creates a /home/vpopmail/domains//.qmail-default with: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox Is there any way I can make qmail-lspawn look at the virtual user table for that domain before it calls vdelivermail??? Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry
Smtp and Inetd
Hi all,,my current inetd line is as follows..smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd I am trying to incorporate the roaming feature for the smtp users. I have used the enable, and do have tcpserver compiled. Could someone guide me with how to change my current inetd line to incorporate this feature...thanks--Corey __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
Smtp and Inetd
Hi all,,my current inetd line is as follows..smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd I am trying to incorporate the roaming feature for the smtp users. I have used the enable, and do have tcpserver compiled. Could someone guide me with how to change my current inetd line to incorporate this feature...thanks--Corey __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/
Re: vpopmail-4.9.2
Einar Bordewich wrote: > > > If you want: --enable-default-domain=domain.com > > > > try : --enable-default-domain=domain.comm > > > > Worked for me ;) Fixed but not yet posted. in vpopmail.c in vset_default_domain Change: scopy(domain,DEFAULT_DOMAIN, i); To: scopy(domain,DEFAULT_DOMAIN, i+1); Ken Jones
vpopmail mirror?
I can't download vpopmail no matter what it seems. The connection to www.vpopmail.cx dies a terrible slow death whenever I try to access it. Is there a mirror, or could someone send me a link or an email attachment of it? I would appreciate it much. Thanks. - Ant -- ___ __ ____ _ _ _ _ / __)( )( ) /__\( \/ )( ___) ( \( )( ___)(_ _) \__ \ )(__)( /(__)\\ / )__)) ( )__) )( (___/(__)(__)(__)\/ ()()(_)\_)() (__) I'm sorry my Karma ran over your Dogma.
Re: aack child crashes
Bryan Orthner wrote: > > I am having a problem which is baffling me. I am trying to retrieve mail > from vpopmail and am getting sporadic messages: > -ERR Aack child crashed. > Generally, if I recheck the pop mail a second time, the access succeeds, so > I know the passwords are not the problem. I have noticed that the problem > is much more common with Eudora clients than with Outlook Express clients, > but both have occasionally had problems. Any thoughts? > > My system is Mandrake Linux 7 with qmail 1.03, daemontools 0.70, ucspi-tcp > 0.84, and vpopmail 4.9. I configured vpopmail with the following line: > > ./configure --enable-default-domain=rongenet.sk.ca > --enable-relay-clear-minutes=180 --enable-roaming-users=y > --enable-tcpserver-file=/etc/tcp.smtp --enable-logging=e > > My init script for qmail - POP is as follows: > > #!/bin/sh > exec /usr/local/bin/tcpserver -c 100 -H -R -l gandalf.rongenet.sk.ca -u > 1001 -g 508 0 pop3 \ >/var/qmail/bin/qmail-popup rongenet.sk.ca \ >/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir > > I have verified that the locations are correct in config.h for all programs > and files. > > Help! > > Bryan Orthner > Technical Coordinator, > Keewatin Career Development Corp. Try changing a shell to the vpopmail user su - vpopmail then running tcprules to compile /etc/tcp.smp file. It is probably crashing when it exec's tcprules Ken Jones
Re: vpasswd got cruppted
fan wrote: > > My vpasswd got cruppted.Why and how to do? > I hove 5M users in single domains > I used qmail1.03+vpopmail4.9+cdb+sqwebmail 1) Hope you have a backup 2) Install vpopmail 4.9.3 when it is released in the next couple days. It has new code by Eric Peters that locks the vpasswd file so it won't get corrupted. Ken Jones
Re: how to assign directory?
truename wrote: > > hi! all: > > i have a big network, i help save my messages to NFS , > > can i /home/vpopmail/bin/vadduser users , i may assign user to > > NFS directory? > > ./vadduser -d {user directory} username password . > > sqwebmail+vpopmail+NFS can work ? > > thanks! No. That will not work. I suggest ./vadduser user@domain password Then you mount /home/vpopmail/domains on your NFS machine. Ken Jones
Re: ERR ... Help needed ........ pls....
> Jerome Macaranas wrote: > > > Im using Red Hat Linux. > Vpopmail > Qmail > Mysql > checkpassword ^ NO! use vchkpw program in ~vpopmail/bin directory. Modify your pop server start up line to use /home/vpopmail/bin/vchkpw instead of checkpassword Ken Jones > > I typed this to test my Vpopmail > > telnet localhost 110 > then. > > user [EMAIL PROTECTED] > -> ok.. > pass test > -> --ERR authorization failed > Connection closed by foreign host. > > I already tried to use.. > > user test%test.com > > doesnt work. > > > What have I done wrong? > > Thanks in advance...
Re: vpopmail and smtpd run script
Pierrot Driguez wrote: > > Hi all, > > 1- in the /var/qmail/supervise/qmail-smtpd/run script as follow : > > exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver > -v -R -x /etc/tcp.smtp.cdb -u525 -g525 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 > > Do we have to set the UID and GID for qmaild & nofiles > or vpopmail & vchkpw ? It won't matter. The docs say to use qmaild uid/gid > > 2- Ken, in one of your install docs I read you said that when adding > a domain with vadddomain xxx.yy > the /var/qmail/control/locals file was modified. > I see nothing has been changed in that. > Is that normal ? As a sanity check vadddomain will check /var/qmail/locals to make sure the domain isn't in there. And if it is in there, it will remove it. So if it wasn't there, locals won't be modified. It's normal. Ken
Re: problem!
> "J.M. Roth" wrote: > > Hi guys! > Look at this setup: > [root@cents /home/vpopmail/domains/acel.lu]# llm > total 21k > drwx-- 5 vpopmail vchkpw 1.0k Sep 1 17:32 . > drwx-- 43 vpopmail vchkpw 2.0k Sep 1 16:07 .. > -rw--- 1 vpopmail vchkpw 34 Sep 1 16:08 .dir-control > -rw--- 1 vpopmail vchkpw 19 Sep 1 16:09 .qmail-burman > -rw--- 1 vpopmail vchkpw174 Sep 1 16:16 .qmail-contact > -rw--- 1 vpopmail vchkpw 21 Sep 1 16:10 .qmail-dura > -rw--- 1 vpopmail vchkpw 23 Sep 1 16:09 .qmail-fries > -rw--- 1 vpopmail vchkpw 21 Sep 1 16:09 .qmail-hirtz > -rw--- 1 vpopmail vchkpw 15 Sep 1 16:09 .qmail-koenig > -rw--- 1 vpopmail vchkpw 26 Sep 1 16:10 .qmail-kurtisi > -rw--- 1 vpopmail vchkpw 15 Sep 1 16:10 .qmail-malane > -rw--- 1 vpopmail vchkpw 30 Sep 1 16:10 .qmail-polfer > -rw--- 1 vpopmail vchkpw 17 Sep 1 16:10 .qmail-reuter > -rw--- 1 vpopmail vchkpw 0 Sep 1 16:07 .vpasswd.lock > drwx-- 3 vpopmail vchkpw 1.0k Sep 1 16:08 block > drwx-- 3 vpopmail vchkpw 1.0k Sep 1 16:08 kerschen > drwx-- 3 vpopmail vchkpw 1.0k Sep 1 16:07 postmaster > -rw--- 1 vpopmail vchkpw249 Sep 1 16:08 vpasswd > -rw--- 1 vpopmail vchkpw 2.3k Sep 1 16:08 vpasswd.cdb > > [root@cents /home/vpopmail/domains/acel.lu]# cd block > [root@cents /home/vpopmail/domains/acel.lu/block]# llm > total 3.0k > drwx-- 3 vpopmail vchkpw 1.0k Sep 1 16:08 . > drwx-- 5 vpopmail vchkpw 1.0k Sep 1 17:32 .. > drwx-- 5 vpopmail vchkpw 1.0k Sep 1 16:08 Maildir > > [root@cents /home/vpopmail/domains/acel.lu/block]# cd Maildir/ > [root@cents /home/vpopmail/domains/acel.lu/block/Maildir]# llm > total 6.0k > drwx-- 5 vpopmail vchkpw 1.0k Sep 1 16:08 . > drwx-- 3 vpopmail vchkpw 1.0k Sep 1 16:08 .. > drwx-- 2 vpopmail vchkpw 1.0k Sep 1 16:08 cur > drwx-- 2 vpopmail vchkpw 1.0k Sep 1 16:08 new > -rw--- 1 vpopmail vchkpw 15 Sep 1 16:08 sqwebmail-pass > drwx-- 2 vpopmail vchkpw 1.0k Sep 1 16:08 tmp > > [root@cents /home/vpopmail/domains/acel.lu/block/Maildir]# > > > /var/qmail/users/assign contains the line > +acel.lu-:acel.lu:538:515:/home/vpopmail/domains/acel.lu:-:: > /var/qmail/control/virtualdomains contains this: > acel.lu:acel.lu > Now, when I send mail to [EMAIL PROTECTED] the following appears in the > log: > 967822786.320142 info msg 46208: bytes 1449 from <[EMAIL PROTECTED]> qp > 10718 uid 502 > 967822786.321317 starting delivery 15073: msg 46208 to local > [EMAIL PROTECTED] > 967822786.321348 status: local 1/10 remote 0/20 > 967822786.326289 delivery 15073: failure: > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > 967822786.326542 status: local 0/10 remote 0/20 > 967822786.330691 bounce msg 46208 qp 10720 > Never had these problems before! Could be your .qmail-default file is messed up. > > > > > Another question: can I mix several forwards and local deliveries in 1 > dot-qmail file? > f.e. .qmail-default > | vdelivermail blabla > &someguy@somewhere > &someotherguy@somewhere > | vdelivermail blabla2 In the .qmail-default file, only use vdelivermail once. If you want to also send the email to a vpopmail user, put in the full path to thier maildir, like /home/vpopmail/domains/iip.lu/blablah2/Maildir/ > > etc. > > Thanks for your help! > > Regards, > > J.M.Roth >
Re: [Fwd: qmail-lspawn looks for local user?]
By local users I assume you are talking about users in /etc/passwd. For pop authentication, vchkpw will authenticate against /etc/passwd For email delivery, vpopmail is not involved. qmail will look up the user in /etc/passwd Ken Jones [EMAIL PROTECTED] wrote: > > Anyone here help me? > > How does qmail+vpopmail looks for localusers? > > > Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] > GCSNethttp://www.gcsnet.com.br/ > > Se você não encontra > o sentido das coisas > é porque este não > se encontra, se cria. >Antoine Saint-Exupéry > > > > Subject: Re: qmail-lspawn looks for local user? > Date: Fri, 01 Sep 2000 15:28:51 -0300 > From: Daniel Augusto Fernandes <[EMAIL PROTECTED]> > Organization: GCSNet > To: [EMAIL PROTECTED] > References: <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ><[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > > I don't know if it will help but I'm sending my strace -f on qmail-send > and qmail-lspawn! > > > Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] > GCSNethttp://www.gcsnet.com.br/ > > Se você não encontra > o sentido das coisas > é porque este não > se encontra, se cria. >Antoine Saint-Exupéry > > Daniel Augusto Fernandes wrote: > > > > Daniel Augusto Fernandes wrote: > > > > > > Dave Sill wrote: > > > > > > > > [EMAIL PROTECTED] wrote: > > > > > > > > >And if the if it's a virtual domain account? It could not be able to set > > > > >to the user ID, does it look if the recipient mail user actually > > > > >exists? > > > > > > > > Again, the PIC's answer this question. Specifically > > > > /var/qmail/doc/PIC.local2virt. And, again, yes, qmail-lspawn verifies > > > > the virtual domain account. > > > > > > > > > > Ok... Sorry that! > > > It's just because I'm not at my office right now! > > > > > > As soon as I get there I'll look at the PIC's... > > > > > > > I've looked the PIC.local2virt. > > Question: When a virtual domain is assigned to an user like that: > > +epostal.com.br-:epostal.com.br:3367:503:/home/vpopmail/domains/epostal.com.br:-:: > > > > What happens? > > > > Does it setuid and chdir to that user home, look for .qmail-user? > > What if it finds .qmail-default (as in my case)? > > > > I have the folowing .qmail: > > | preline maildrop -d "$EXT@$HOST" > > > > How could qmail-lspawn know where I have my virtual users info? Like > > /home/vpopmail/domains/*/vpasswd. > > > > I'm a little lost yet... > > :o( > > > open("lock/trigger", O_RDONLY|O_NONBLOCK) = 8 > open("todo", O_RDONLY) = 9 > open("todo/731459", O_RDONLY|O_NONBLOCK) = 10 > open("info/13/731459", O_WRONLY|O_CREAT|O_EXCL, 0644) = 11 > open("local/13/731459", O_WRONLY|O_CREAT|O_EXCL, 0644) = 12 > open("local/13/731459", O_RDONLY|O_NONBLOCK) = 10 > open("info/13/731459", O_RDONLY|O_NONBLOCK) = 11 > open("lock/trigger", O_RDONLY|O_NONBLOCK) = 8 > open("todo", O_RDONLY) = 9 > [pid 4897] chdir("/var/qmail") = 0 > [pid 4897] chdir("/home/vpopmail/domains/epostal.com.br") = 0 > [pid 4897] execve("bin/qmail-local", ["bin/qmail-local", "--", "epostal.com.br", >"/home/vpopmail/domains/epostal.c"..., "epostal.com.br-ksjfd", "-", "ksjfd", >"epostal.com.br", "[EMAIL PROTECTED]", "| preline maildrop -d \"$EXT@$HO"...], [/* >1 var */]) = 0 > [pid 4898] execve("/bin/sh", ["/bin/sh", "-c", " maildrop -d \"$EXT@$HOST\""], [/* >19 vars */]) = 0 > open("13/731459", O_RDONLY|O_NONBLOCK) = 2 > [pid 4897] open("users/cdb", O_RDONLY|O_NONBLOCK) = 5 > [pid 4897] open("/etc/ld.so.cache", O_RDONLY) = 3 > [pid 4897] open("/lib/libc.so.5", O_RDONLY) = 3 > [pid 4897] open(".qmail-ksjfd", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or >directory) > [pid 4897] open(".qmail-default", O_RDONLY|O_NONBLOCK) = 3 > [pid 4898] open("/etc/ld.so.cache", O_RDONLY) = 3 > [pid 4898] open("/lib/libtermcap.so.2", O_RDONLY) = 3 > [pid 4898] open("/lib/libc.so.5", O_RDONLY) = 3 > [pid 4898] open("/etc/passwd", O_RDONLY) = 3 > [pid 4898] open("..", O_RDONLY)= 3 > [pid 4898] open("../..", O_RDONLY) = 3 > [pid 4898] open("../../..", O_RDONLY) = 3 > [pid 4898] open("../../../..", O_RDONLY) = 3 > [pid 4898] open("/etc/ld.so.cache", O_RDONLY) = 3 > [pid 4898] op
Re: Error: User's directory already exists?
fan wrote: > > I use vpopmail-4.9.2 ver.when i add a new user it is say: > "Error: User's directory already exists?" > Please help/ Well, does the directory already exist? Ken Jones
Re: relay table
Daniel Augusto Fernandes wrote: > > Hi people, > > I've converted my authentication mode to mysql. It worked perfectly. > > What is the 'relay' table which was created some time after vpopmail is > up? If you configured vpopmail with --enable-roaming-users=y then the relay table holds the temporary IP's of authenticated pop users. Ken Jones
mysql and cdb authentication
I want to migrate my domains from cdb to mysql authentication. I compiled vpopmail 4.8.7 with: ./configure \ --enable-roaming-users=y \ --enable-tcpserver-file=/etc/tcp.smtp \ --enable-relay-clear-minutes=30 \ --enable-logging=y \ --enable-hardquota=1500 \ --enable-mysql=y \ --enable-sqlincdir=/usr/include/mysql \ --enable-sqllibdir=/usr/lib/mysql I changed vmysql.h to use "domains" as the default database, and I left "vpopmail" as the default table name. Once installed, I can't check my mail on any cdb domain. Where did I go wrong?
Re: Some questions :)
Dimitri SZAJMAN wrote: > > Hi ! > > Please : > > How to do : [EMAIL PROTECTED] goes to a POP and a forward : [EMAIL PROTECTED] ? echo "" > .qmail-xx echo "&[EMAIL PROTECTED]" >> .qmail-xx > If I modify that by hand will it do a mess with qmailadmin ? It should work. > How can I save a domain configuration with vpopmail in order to prevent any > bad command ? cp -r domains/xx.com /tmp ? Sure > Will qmailadmin be ok ? Does it > have checksums or dirsums ? No Ken Jones
mysql and cdb authentication
I want to migrate my domains from cdb to mysql authentication. I compiled vpopmail 4.8.7 with: ./configure \ --enable-roaming-users=y \ --enable-tcpserver-file=/etc/tcp.smtp \ --enable-relay-clear-minutes=30 \ --enable-logging=y \ --enable-hardquota=1500 \ --enable-mysql=y \ --enable-sqlincdir=/usr/include/mysql \ --enable-sqllibdir=/usr/lib/mysql I changed vmysql.h to use "domains" as the default database, and I left "vpopmail" as the default table name. Once installed, I can't check my mail on any cdb domain. Where did I go wrong?
Re: .qmail-default (Pls help!!)
Daniel Augusto Fernandes wrote: > > Is there any alternative to how vpopmail use '.qmail-default' for > virtual domains? > > It creates a /home/vpopmail/domains//.qmail-default with: > | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > Is there any way I can make qmail-lspawn look at the virtual user table > for that domain before it calls vdelivermail??? Only if you hack qmail-lspawn. But you probably would want to hack qmail-local, since qmail-lspawn just exec's qmail-locals to do the deliveries ;] I recommend not hacking qmail-local. Why would you want qmail-local to have virtual user table code ? Ken Jones
Re: .qmail-default Problem
"Gologan, Andrei" wrote: > > Hi, > > I have setup qmail with vpopmail. Everyting works. > We have users on more machines all with [EMAIL PROTECTED] > > I have setup qmail for a few user on a server (1). The users can send and > receive e-mail to all other domains with no problems. Only when they try to > send to [EMAIL PROTECTED] (this user is not on the local computer (1) ), they > get an error- no user because of "bounce-no-mailbox" > > in .qmail-default I have: > > "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" > > What do I have to put instead of "bounce-no-mailbox" to get all mail sent to > the nonlocal domain1.dom users, to be sent to server2 ? > > Andrei I am confused. You want email that is send to domain1.com users to be sent to server2? Ken Jones
Re: Smtp and Inetd
"Corey J. Briere" wrote: > > Hi all,,my current inetd line is as follows..smtp stream tcp nowait > qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd > > I am trying to incorporate the roaming feature for the smtp users. I > have used the enable, and do have tcpserver compiled. Could someone > guide me with how to change my current inetd line to incorporate this > feature...thanks--Corey > > __ > Do You Yahoo!? > Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ Check out http://www.inter7.com/qmail/vpopmail.html tcpserver is a replacement for running pop under inetd. So run tcpserver as a standalone line and remove the pop line from inetd Ken
Re: vpopmail mirror?
"Anthony R. J. Ball" wrote: > > I can't download vpopmail no matter what it seems. > The connection to www.vpopmail.cx dies a terrible slow > death whenever I try to access it. Is there a mirror, > or could someone send me a link or an email attachment > of it? I would appreciate it much. Thanks. > - Ant Looks like www.vpopmail.cx is having problems. I've udpated the web pages to point to our machines instead of the mirror. Is anyone interested in being a mirror site? Ken
Re: mysql and cdb authentication
Greg Kopp wrote: > > I want to migrate my domains from cdb to mysql authentication. > > I compiled vpopmail 4.8.7 with: > > ./configure \ > --enable-roaming-users=y \ > --enable-tcpserver-file=/etc/tcp.smtp \ > --enable-relay-clear-minutes=30 \ > --enable-logging=y \ > --enable-hardquota=1500 \ > --enable-mysql=y \ > --enable-sqlincdir=/usr/include/mysql \ > --enable-sqllibdir=/usr/lib/mysql > > I changed vmysql.h to use "domains" as the default database, and I left > "vpopmail" as the default table name. > > Once installed, I can't check my mail on any cdb domain. > > Where did I go wrong? You'll need to convert your vpasswd files into mysql. Use the following command: ./vconvert -c -s That will convert every virtual domain. I recommend moving one domain and testing it. ./vconvert -c -s domainname Ken
Re: .qmail-default (Pls help!!)
Ken Jones wrote: > > Daniel Augusto Fernandes wrote: > > > > Is there any alternative to how vpopmail use '.qmail-default' for > > virtual domains? > > > > It creates a /home/vpopmail/domains//.qmail-default with: > > | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox > > > > Is there any way I can make qmail-lspawn look at the virtual user table > > for that domain before it calls vdelivermail??? > > Only if you hack qmail-lspawn. But you probably would want to > hack qmail-local, since qmail-lspawn just exec's qmail-locals > to do the deliveries ;] Which one look for the existence of a local user? > > I recommend not hacking qmail-local. Why would you want qmail-local > to have virtual user table code ? Thanks for asking! Cause I want to use maildrop as my delivery agent instead of vdelivermail. I want filtering features with quota support for virtual users. And I get a lot of msgs not beeing delivered because it suppose the user really exist. I believe that's why vdelivermail has its 'bounce-no-mailbox'. Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry
RE: mysql and cdb authentication
I did that and it stil fails, now it's failing on both. If I recompile vpopmail without mysql, it works again > -Original Message- > From: kbo [mailto:kbo]On Behalf Of Ken Jones > Sent: Tuesday, September 05, 2000 3:19 PM > To: Greg Kopp > Cc: [EMAIL PROTECTED] > Subject: Re: mysql and cdb authentication > > > Greg Kopp wrote: > > > > I want to migrate my domains from cdb to mysql authentication. > > > > I compiled vpopmail 4.8.7 with: > > > > ./configure \ > > --enable-roaming-users=y \ > > --enable-tcpserver-file=/etc/tcp.smtp \ > > --enable-relay-clear-minutes=30 \ > > --enable-logging=y \ > > --enable-hardquota=1500 \ > > --enable-mysql=y \ > > --enable-sqlincdir=/usr/include/mysql \ > > --enable-sqllibdir=/usr/lib/mysql > > > > I changed vmysql.h to use "domains" as the default database, and I left > > "vpopmail" as the default table name. > > > > Once installed, I can't check my mail on any cdb domain. > > > > Where did I go wrong? > > You'll need to convert your vpasswd files into mysql. Use the > following command: > > ./vconvert -c -s > > That will convert every virtual domain. I recommend moving > one domain and testing it. > > ./vconvert -c -s domainname > > Ken > >
RE: mysql and cdb authentication
Well, I tried this again, three more times, thinking it was something I did along the way. I recompiled, tried to convert just my domain (gregkopp.com), but the maillog is now full of: Sep 5 17:22:06 voyager vpopmail[28051]: vchkpw: No virt found [EMAIL PROTECTED]:111.222.333.444 [I changed the mail address and IP address for security reasons] No matter who is trying to check mail, be it my converted cdb domain or a domain that is still in cdb. Any ideas? > -Original Message- > From: kbo [mailto:kbo]On Behalf Of Ken Jones > Sent: Tuesday, September 05, 2000 3:19 PM > To: Greg Kopp > Cc: [EMAIL PROTECTED] > Subject: Re: mysql and cdb authentication > > > Greg Kopp wrote: > > > > I want to migrate my domains from cdb to mysql authentication. > > > > I compiled vpopmail 4.8.7 with: > > > > ./configure \ > > --enable-roaming-users=y \ > > --enable-tcpserver-file=/etc/tcp.smtp \ > > --enable-relay-clear-minutes=30 \ > > --enable-logging=y \ > > --enable-hardquota=1500 \ > > --enable-mysql=y \ > > --enable-sqlincdir=/usr/include/mysql \ > > --enable-sqllibdir=/usr/lib/mysql > > > > I changed vmysql.h to use "domains" as the default database, and I left > > "vpopmail" as the default table name. > > > > Once installed, I can't check my mail on any cdb domain. > > > > Where did I go wrong? > > You'll need to convert your vpasswd files into mysql. Use the > following command: > > ./vconvert -c -s > > That will convert every virtual domain. I recommend moving > one domain and testing it. > > ./vconvert -c -s domainname > > Ken > >
morercpthosts being eaten
Hi, Something is eating at my morerctphosts file. Entries are randomly (it seems) disappearing. Has anyone seen anything like this before? Or anyone know of anything that could be doing this? I'm running qmail 1.03, vpopmail 4.8.9 and qmailadmin 0.30 on SuSE 6.4 (Linux kernel 2.2.13). If you need any more information about the setup, just ask. Regards Joel Michael System Administrator http://www.diggy.com.au Tel: +61 7 3367 3555 Fax: +61 7 3367 3544 mailto:[EMAIL PROTECTED] __ This e-mail contains information that represents the views and opinions of the author and therefore does not necessarily reflect those of Diggy Internet Sevices. If you have received this email in error, please forward back to sender and then delete and destroy from your computer. ___
Re: morercpthosts being eaten
Joel Michael wrote: > > Hi, > Something is eating at my morerctphosts file. Entries are randomly (it > seems) disappearing. Has anyone seen anything like this before? Or > anyone know of anything that could be doing this? I'm running qmail > 1.03, vpopmail 4.8.9 and qmailadmin 0.30 on SuSE 6.4 (Linux kernel > 2.2.13). If you need any more information about the setup, just ask. I can give you insight into the vpopmail library processing that affects morerctphosts file and it's associated morercpthosts.cdb file. The vpopmail library tries to encapsulate the following processing: "Rule of thumb for large sites: Put your 50 most commonly used domains into rcpthosts, and the rest into morercpthosts." - from qmail-smtpd manual page When vadddomain is run, it counts the entries in rcpthosts file. If there are more than 20 it places the domain in morercpthosts. "You must run qmail-newmrh whenever morercpthosts changes." - from qmail-smtpd manual page The above processing is also encapsulated into the vpopmail library. So when vadddomain modifies morercpthosts it also execs qmail-newmrh. The reverse is true of vdeldomain call. It will remove the domain from rcpthosts or morercpthosts. If it removes it from morercpthosts it will exec qmail-newrh. I'm not sure how the above information fits into the problem you are observing. One thing I have noticed with vpopmail and the files. It is possible to confuse vpopmail library with strange entries in these files. If it's a new system, you might get by with cleaning out all the files and starting fresh. Ken Jones
Re: morercpthosts being eaten
- Original Message - From: "Ken Jones" <[EMAIL PROTECTED]> To: "Joel Michael" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 06, 2000 9:27 AM Subject: Re: morercpthosts being eaten > One thing I have noticed with vpopmail and the files. > It is possible to confuse vpopmail library with strange > entries in these files. If it's a new system, you might > get by with cleaning out all the files and starting fresh. > > Ken Jones > Well, I've decided to write a perl script to check the contents of the virtual domain directory to what's in rcpthosts and morerctphosts, and call that from crontab every night. If you want, I'll post it to you (and to the list if there's enough demand) for people to use for a sanity checking routine.
AW: .qmail-default Problem
Yes , I have some users on server1 with domain1, and there are other users on server2 also with domain1. I want all e-mail that is sent to users that are not on server1, to be sent to server 2, so they all get their e-mails Andrei Gologan >> > > > I have setup qmail with vpopmail. Everyting works. > > We have users on more machines all with [EMAIL PROTECTED] > > > > I have setup qmail for a few user on a server (1). The > users can send and > > receive e-mail to all other domains with no problems. Only > when they try to > > send to [EMAIL PROTECTED] (this user is not on the local > computer (1) ), they > > get an error- no user because of "bounce-no-mailbox" > > > > in .qmail-default I have: > > > > "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" > > > > What do I have to put instead of "bounce-no-mailbox" to get > all mail sent to > > the nonlocal domain1.dom users, to be sent to server2 ? > > > > Andrei > > I am confused. > > You want email that is send to domain1.com users to be sent > to server2? > > Ken Jones >