[vchkpw] Deleting Domain
Hello again, Yesterday I deleted a domain and everything got removed from vpopmail but it didn't remove it from the /var/qmail/control files and everytime I try to add the domain again it give me an error saying that the domain already exists. How can I remove this domain by force? -- Nelson D. Guerrero [EMAIL PROTECTED] http://www.linux.org.do/
Re: [vchkpw] Deleting Domain
Remove it by hand in the assign file for qmail. Then do grep in the /var/qmail/control and delete every line with that domain if still there. Good luck, REMO From: Nelson D. Guerrero [EMAIL PROTECTED] Organization: Linux.Org.Do Date: Sat, 8 Feb 2003 07:39:58 -0400 To: [EMAIL PROTECTED] Subject: [vchkpw] Deleting Domain Hello again, Yesterday I deleted a domain and everything got removed from vpopmail but it didn't remove it from the /var/qmail/control files and everytime I try to add the domain again it give me an error saying that the domain already exists. How can I remove this domain by force? -- Nelson D. Guerrero [EMAIL PROTECTED] http://www.linux.org.do/
[vchkpw] qmailadmin - premature end of script header
Hi,I installed qmail and vpopmail successfully on a RH6.0 Box.Aftercompiling qmailadmin-1.0.4 to the virtual directory of a user on this server, like this: ./configure --enable-cgibindir=/home/wsrv001/cgi-bin/ --enable-htmldir=/home/wsrv001/html --with-htmllibdir=/home/wsrv001/html Ich get the "Internal Server Error" messages Apache log file said: "Premature end of script headers: /home/wsrv001/cgi-bin/qmailadmin" How can I get it to run orderly? Regards, Oliver Etzel, t-host.com subject: qmailadmin - premature end of script header
Re: [vchkpw] qmailadmin - premature end of script header
GoodnGo.de (R) Zentrale wrote: Ich get the Internal Server Error messages Apache log file said: Premature end of script headers: /home/wsrv001/cgi-bin/qmailadmin How can I get it to run orderly? Look in your Apache error log to see what the problem is. -- Aj. Systems Administrator / Developer
[vchkpw] mysql-limits
i'm about to compile the latest rev (.16), and was wondering - if i select --enable-mysql-limits=y in configuration, is there anything that needs to be done to convert the existing .qmailadmin-limits? or does the system automatically convert the data during/after installation? and are there any distinct benefits to making this change in an existing mysql-backend environment? Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
[vchkpw] SMTP-Auth doesnt work properly
Hi vchkpw, currently im running qmail+vpopmail+smtp_auth_patch0.31 i call all right i think, but there is a problem the mailclient sends the auth-infos to the server the server sais no authentiacation method found by MD5-cram authentication and when i take normal Auth and sends with wrong passwort, he sais authentication wrong - ok, but i can always send my email - with, without or with wrong authentication qmailversion 1.03 auth-patch 0.31 vpopmail 5.2.1 all is rung ing debian stable 3 and tcpserver smtp-RUN file: exec 21 \ envdir ./env \ sh -c ' case $REMOTENAME in h) H=;; p) H=p;; *) H=H;; esac case $REMOTEINFO in r) R=;; [0-9]*) R=t$REMOTEINFO;; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+-d$DATALIMIT} \ /usr/local/bin/tcpserver \ -vD$H$R \ -l ${LOCALNAME+-l $LOCALNAME} \ ${BACKLOG+-b$BACKLOG} \ ${CONCURRENCY+-c$CONCURRENCY} \ -x /etc/tcp.smtp.cdb \ -- ${IP-0} ${PORT-25} \ /var/qmail/bin/qmail-smtpd \ anydomain.com /bin/vpopmail/bin/vchkpw \ /bin/true' so, what can i do, that he is only accept emails when the pw is the right AND he dont send, when no or a wring auth is given ? please help me! - i get stupid! :) See you Sven -- E-Mail: [EMAIL PROTECTED] ICQ-UIN: #51673963
[vchkpw] telnet port 110 isn´t working
Hello, after installing qmailadmin, I can not telnet port 110 anymore What can I do? Where can I look. Oliver Etzel
[vchkpw] alias and spamd
Hello, My environment is qmail + vpopmail/MySQL + spamassassin + maildrop + qmailadmin. I have a real [EMAIL PROTECTED] which is tagged for spam checking. The .qmail-default contains | /usr/local/bin/maildrop mailfilter file which calls maildrop and in mailfilter, runs through spamd to check for spam then pass it back to vdelivermail to deliver to the proper mailbox. Then I created a [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created which points to mydomain.com/user/Maildir. When an email is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox, completely out of the spam checking task. Shouldn't the .qmail-test file's content be the same as the .qmail-default file? How do you enable alias to behave the same as the account that it's aliased to?
Re: [vchkpw] mysql-limits
There currently is no conversion program. The latest rev (.16) enables the use of the new API to vset, vget and vdel the _limits functions. They allow either file or mysql tables depending on the compiled in version (with the --enable-mysql-limits=y/n). Currently the first (and only) program using the limits API is qmailadmin 1.0.9. The table and row are automatically created when a new domain is added. Rows are deleted when the domain is deleted. Want to write the conversion program? Should be simple. Just one source file that uses the file vget_limits() and the mysql vset_limits() and iterate over the current domains. Possibly remove the old .qmailadmin-limits file as well. Brian i'm about to compile the latest rev (.16), and was wondering - if i select --enable-mysql-limits=y in configuration, is there anything that needs to be done to convert the existing .qmailadmin-limits? or does the system automatically convert the data during/after installation? and are there any distinct benefits to making this change in an existing mysql-backend environment? Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
Re: [vchkpw] mysql-limits
At 01:16 PM 02-08-2003, Brian Kolaci wrote: Want to write the conversion program? Should be simple. Just one source file that uses the file vget_limits() and the mysql vset_limits() and iterate over the current domains. Possibly remove the old .qmailadmin-limits file as well. The extent of my programming skills is shell scripting, unfortunately. Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
[vchkpw] Defines on the command line.
I'm sure I'm about to display my ignorance of C but: Is there a way to override the values find in a .h file from the command line? Specifically, I want to pass along a couple defines to set the MYSQL_MASTER_PASSWD and related fields from vmysql.h without having to edit the vmysql.h file itself. It seems I recall a way to do that. Failing that, I'll just parse the the file in Perl. That just seems a kludgey way to do it. Matt
[vchkpw] Re: telnet port 110 isn´t working
Hello GoodnGo.de, On Saturday, February 8, 2003 at 8:32:17 PM you [GdRZ] wrote (at least in part): after installing qmailadmin, I can not telnet port 110 anymore What can I do? Where can I look. Everywhere and nowhere. See if your POP3 process is still running, if you've installed following LWQ it will likely be a tcpserver process having qmail-pop3d in it's command line arguments. There is _absolutely NO_ relation between qmailadmin and the POP3-daemon, a simple install of qmailadmin don't run any command that could disable the POP3-daemon, respectively kill the listeing tcpserver. -- Best regards Peter Palmreuther MS-Windows - The only Multi-Crashing Environment !
Re: [vchkpw] Re: Defines on the command line.
OK, I attempted to pass them via make: make -DMYSQL_UPDATE_SERVER=\db.simerson.net\ -DMYSQL_UPDATE_USER=\vpopmail\ -DMYSQL_UPDATE_PASSWD=\secret\ -DMYSQL_READ_SERVER=\localhost\ -DMYSQL_READ_USER=\vpopmail\ -DMYSQL_READ_PASSWD=\secret\ but that didn't work. So, I set the CFLAGS environment variable as follows: setenv CFLAGS '-DMYSQL_UPDATE_SERVER=\db.simerson.net\ -DMYSQL_UPDATE_USER=\vpopmail\ -DMYSQL_UPDATE_PASSWD=\secret\ -DMYSQL_READ_SERVER=\localhost\ -DMYSQL_READ_USER=\vpopmail\ -DMYSQL_READ_PASSWD=\secret\' Interestingly enough, the CFLAGS env variable is set properly but configure fails when CFLAGS is set and it tests gcc. If I run configure without CFLAGS set and then set it, and compile via make, then the CFLAGS don't get passed to gcc. So the only way I've been able to set the compiler flags and have them effect is by editing the Makefile. In that case they actually get passed to gcc and it warns about redefining them but the values I pass don't end up overriding the ones in the vmysql.h file as the resulting binaries don't work. The closest thing to a hack I've found is by echo'ing the new values to the bottom of the vmysql.h file. Then I get the expected redefine errors and the resulting binaries work as expected. However, that leaves me no better off than when I started. In order to do it right I still have to parse through the file, dropping the MYSQL_UPDATE_* and MYSQL_READ_* lines. What I really, really want is to override the defined values in vmysql.h without actually altering any files in any way. Maybe it's not possible, but it just seems like it should be. Matt On Saturday, February 8, 2003, at 08:14 PM, Peter Palmreuther wrote: I don't know if there's a way to override the '#define's. A quick test gave me warning: `... redefined So I guess your best bet is to comment out the defines (well knowing it _will not_ compile anymore w/o defining the values on command line) and passing '-D' arguments to the compiler. E.g.: -DMYSQL_UPDATE_SERVER=\localhost\ \ -DMYSQL_UPDATE_USER=\vpopmail\ \ -DMYSQL_UPDATE_PASSWD=\bla\ and so on. The important part is escaping the quotes with '\'. Else they'll be interpreted _before_ defining the value as delimiter to avoid argument splitting by e.g. space characters. The '\' tells the compiler they're not surrounding the value, but they're part of the value. HTH -- Best regards Peter Palmreuther Features should be discovered, not documented.
Re: [vchkpw] Re: telnet port 110 isn´t working
I got a similar problem sometime ago. The problem was due to an incorrect user/group change in some files. - Original Message - From: Peter Palmreuther [EMAIL PROTECTED] To: GoodnGo.de (R) Zentrale in vpop [EMAIL PROTECTED] Sent: Sunday, February 09, 2003 1:18 AM Subject: [vchkpw] Re: telnet port 110 isn´t working Hello GoodnGo.de, On Saturday, February 8, 2003 at 8:32:17 PM you [GdRZ] wrote (at least in part): after installing qmailadmin, I can not telnet port 110 anymore What can I do? Where can I look. Everywhere and nowhere. See if your POP3 process is still running, if you've installed following LWQ it will likely be a tcpserver process having qmail-pop3d in it's command line arguments. There is _absolutely NO_ relation between qmailadmin and the POP3-daemon, a simple install of qmailadmin don't run any command that could disable the POP3-daemon, respectively kill the listeing tcpserver. -- Best regards Peter Palmreuther MS-Windows - The only Multi-Crashing Environment !
[vchkpw] Compile issues
Hi I have previously installed on redhat without any issues. Now I am trying to install vpopmail on debian 3.0 . I get the following error. gcc -g -O2 -Wall -o vchkpw vchkpw.o libvpopmail.a -L/root/mysql/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm/usr/bin/ld: cannot find -lzcollect2: ld returned 1 exit statusmake[2]: *** [vchkpw] Error 1make[2]: Leaving directory `/usr/src/vpopmail-5.2.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/src/vpopmail-5.2.1'make: *** [all-recursive-am] Error 2 Now, I installed the libmysqlclient10-dev package using apt and the includes and libs have been installed on the system. When this failed I downloaded the source for mysql and installed it into /root/mysql (as you can see by the output above) as a temp solution. It seems this did not work either. So if I use the default locations for the libs and incs it fails, and if I use the temp install I made, it fails. Failing at the following line: gcc -g -O2 -Wall -o vchkpw vchkpw.o libvpopmail.a -L/root/mysql/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm/usr/bin/ld: cannot find -lz I am at a loss as to why this is failing. I looked through the makefile and there are alot of references to -lz I was tempted to remove them all, but thought I should find a real answer here. Is anyone able to point me in the right direction? What is the -lz all about (I am a long way from being any kind of programmer...) Regards Brad