Re: [vchkpw] qmail+vpopmail+chkuser problems
I did that, [EMAIL PROTECTED] and thats the error I get, I'm missing something cuz even removing the patch its not storing email somehow. Even tho the mx isn't setup, I do it locally, telnet localhost 25 (which has to my knowledge everything I need to do email) it accepts it, but I dont show it coming up in my new folder under home/vpopmailMaildir. I'm missing something somewhere, lol I may just end up removing everything and just starting anew. Migrating is such a pain most of the time. Its not like I have thousands accounts, its like 5 or 6 max. I haven't actually checked but its not alot. Perhaps I didn't do the mysql migration properly. But I do a select * from vpopmail and it lists all the accounts exactly the same as the primary. Idont get errors adding email accounts either so I'm at a lost. -doug At 06.08 11/09/2005, you wrote: Ok I did run the test like you said, I loged in as root stoped qmail and ran /var/qmail/bin/qmail-smtpd manually and I still get the error 511 sorry, you must specify a domain (#5.1.1 - chkuser). Well, it means you are using a recipients without specifying a domain. It's a chkuser setting, that you may exclude if you don't like. Better you specify a default domain within vpopmail. Anyway, why don't you try a normal complete address like [EMAIL PROTECTED] Tonino Per my previous conversation I did compile UID and GID switching, an below you can see I changed the bit so that it can do this, however; even as root it still doesn't work and I think I'm going to be forced to remove the patch and just go about business like usual. Thanks for all the help tho. -doug At 23.45 09/09/2005, you wrote: Greetings, I'm currently working on moving my mail server to another box. I have copied the database, rcpt files, /home/vpopmail/domains over. with the new qmail setup I have decided to use chkuser 2.0. I'm not recieving any errors adding domains, adding users, or using vuserinfo. qmail starts without any errors however; upon recieving test emails (telent localhost 25) it says that the domains I have added don't exist. I'm using default chkuser_settings.h file except that I enabled debuging and debug stderr. Heres my run command. I am using my mysql patch for tcpserver so you wont see the /home/vpopmail/etc/tcp.smtp file. This works PERFECTLY without chkuser. Before -u was 92 and -g was 91. its not set to vpopmail As chkuser reads qmail/vpopmail control files, if it runs as non privileged user it will never be able to read any control file. You must be sure the running UID/GID may read files. If you log as root and run ./qmail-smtpd directly, you can enter the same commands as you did telnetting, but chkuser will act as root and will read everything. If it works, it means you must use appropriated UID/GID. If you have multiple users, then you must use root as uid (using uid switching for additional security if you are not using TLS). Tonino #!/bin/sh export QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl exec /usr/local/bin/tcpserver -p -R -S -u98 -g98 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2 /var/log/smtpd-debug.log -r-sr-sr-x 1 qmaild nofiles 95620 Sep 9 18:05 /var/qmail/bin/qmail-smtpd
Re: [vchkpw] qmail+vpopmail+chkuser problems
At 23.45 09/09/2005, you wrote: Greetings, I'm currently working on moving my mail server to another box. I have copied the database, rcpt files, /home/vpopmail/domains over. with the new qmail setup I have decided to use chkuser 2.0. I'm not recieving any errors adding domains, adding users, or using vuserinfo. qmail starts without any errors however; upon recieving test emails (telent localhost 25) it says that the domains I have added don't exist. I'm using default chkuser_settings.h file except that I enabled debuging and debug stderr. Heres my run command. I am using my mysql patch for tcpserver so you wont see the /home/vpopmail/etc/tcp.smtp file. This works PERFECTLY without chkuser. Before -u was 92 and -g was 91. its not set to vpopmail As chkuser reads qmail/vpopmail control files, if it runs as non privileged user it will never be able to read any control file. You must be sure the running UID/GID may read files. If you log as root and run ./qmail-smtpd directly, you can enter the same commands as you did telnetting, but chkuser will act as root and will read everything. If it works, it means you must use appropriated UID/GID. If you have multiple users, then you must use root as uid (using uid switching for additional security if you are not using TLS). Tonino #!/bin/sh export QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl exec /usr/local/bin/tcpserver -p -R -S -u98 -g98 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2 /var/log/smtpd-debug.log -r-sr-sr-x 1 qmaild nofiles 95620 Sep 9 18:05 /var/qmail/bin/qmail-smtpd
Re: [vchkpw] qmail+vpopmail+chkuser problems
Ok I did run the test like you said, I loged in as root stoped qmail and ran /var/qmail/bin/qmail-smtpd manually and I still get the error 511 sorry, you must specify a domain (#5.1.1 - chkuser). Per my previous conversation I did compile UID and GID switching, an below you can see I changed the bit so that it can do this, however; even as root it still doesn't work and I think I'm going to be forced to remove the patch and just go about business like usual. Thanks for all the help tho. -doug At 23.45 09/09/2005, you wrote: Greetings, I'm currently working on moving my mail server to another box. I have copied the database, rcpt files, /home/vpopmail/domains over. with the new qmail setup I have decided to use chkuser 2.0. I'm not recieving any errors adding domains, adding users, or using vuserinfo. qmail starts without any errors however; upon recieving test emails (telent localhost 25) it says that the domains I have added don't exist. I'm using default chkuser_settings.h file except that I enabled debuging and debug stderr. Heres my run command. I am using my mysql patch for tcpserver so you wont see the /home/vpopmail/etc/tcp.smtp file. This works PERFECTLY without chkuser. Before -u was 92 and -g was 91. its not set to vpopmail As chkuser reads qmail/vpopmail control files, if it runs as non privileged user it will never be able to read any control file. You must be sure the running UID/GID may read files. If you log as root and run ./qmail-smtpd directly, you can enter the same commands as you did telnetting, but chkuser will act as root and will read everything. If it works, it means you must use appropriated UID/GID. If you have multiple users, then you must use root as uid (using uid switching for additional security if you are not using TLS). Tonino #!/bin/sh export QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl exec /usr/local/bin/tcpserver -p -R -S -u98 -g98 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2 /var/log/smtpd-debug.log -r-sr-sr-x 1 qmaild nofiles 95620 Sep 9 18:05 /var/qmail/bin/qmail-smtpd
[vchkpw] qmail+vpopmail+chkuser problems
Greetings, I'm currently working on moving my mail server to another box. I have copied the database, rcpt files, /home/vpopmail/domains over. with the new qmail setup I have decided to use chkuser 2.0. I'm not recieving any errors adding domains, adding users, or using vuserinfo. qmail starts without any errors however; upon recieving test emails (telent localhost 25) it says that the domains I have added don't exist. I'm using default chkuser_settings.h file except that I enabled debuging and debug stderr. Heres my run command. I am using my mysql patch for tcpserver so you wont see the /home/vpopmail/etc/tcp.smtp file. This works PERFECTLY without chkuser. Before -u was 92 and -g was 91. its not set to vpopmail #!/bin/sh export QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl exec /usr/local/bin/tcpserver -p -R -S -u98 -g98 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2 /var/log/smtpd-debug.log -r-sr-sr-x 1 qmaild nofiles 95620 Sep 9 18:05 /var/qmail/bin/qmail-smtpd