Re: [vchkpw] vadddomain failure
On Wednesday 22 October 2003 23:38, Thomas Ledet wrote: /home/vpopmail/bin (or where ever your vpopmail home dir is) and do ./vadddomain..so like below... the vpopmail homedir is /var/vpopmail #./vadddmomain testdmomain.com 123test I get the exact same result and I don't really see what diffence it should make You're right, and it shouldn't. Have you tried running strace ? # strace ./vadddomain testdomain.com 123test this might give us a little more information about what is going wrong. the error message, which you get, only occurs when vpopmail has trouble accessing /var/qmail/control/locals (or whereever your qmail directory may be), so maybe this file doesn't exist, or vpopmail can't access it for some reason. -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] maildrop
On Wednesday 22 October 2003 20:42, Alexander Bruns wrote: Hi, where Do I find Informations about getting maildrop work with vpopmail? I put a .mailfilter in the users homedirectory to /home/vpopmail/domains/mydomaind.local/username/.mailfilter and a /home/vpopmail/domains/mydomaind.local/username/.qmail with only one line in it: | /usr/local/bin/maildrop /usr/local/bin/maildrop:_Unable_to_create_a_dot-lock./ have you tried changing the .qmail line to | /usr/local/bin/maildrop /home/vpopmail/domains/mydomaind.local/ username/.mailfilter ? from the maildrop man page: If /etc/maildroprc does not exist, or its mail delivery instructions do not completely dispose of this message, maildrop then reads the mail delivery instructions from $HOME/.mailfilter. which would, afaik be: /home/vpopmail/domains/mydomaind.local and not /home/vpopmail/domains/mydomaind.local/username if your unsure, just create a .qmail-test file in your ~vpopmail/domains/mydomaind.local reading: | env /tmp/qmail-env then send a mail to [EMAIL PROTECTED] and check the /tmp/qmail-env file for the HOME variable -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
RE: [vchkpw] per mailbox virus scan + spamassasssin
Oh instaling spamassassin is very easy if you have CPAN installed You might want to try these steps. Get CPAN if you don't have http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz If you are using Linux 2.4.xx, you might need to set these environment variable export LANG=C export CFLAGS=-O3 After installing CPAN, you might want to run CPAN for the first time # perl -MCPAN -e shell[as root] After which type o conf prerequisites_policy ask install Mail::SpamAssassin There should be some Yes/No question to be answered Enjoy Cheers, Neo -Original Message- From: Björn Hahnefeld [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 4:17 PM To: 'Neo Wee Teck' Subject: AW: [vchkpw] per mailbox virus scan + spamassasssin Do you have tipps for installing spamassassin for me? -Ursprüngliche Nachricht- Von: Neo Wee Teck [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 10:08 An: [EMAIL PROTECTED] Betreff: [vchkpw] per mailbox virus scan + spamassasssin Hi, I am struggling to set a configuration to allow per mailbox setting to enable virus scan and spam filtering. Setting in .qmail-default will enable for the whole domain. Any help? Cheers Neo
RE: [vchkpw] per mailbox virus scan + spamassasssin
No. It's not all You will have to choose between the standalone spamassassin and the demonized one (spamd/spamc). I preferred the demonized (More efficient) I tried out with spamd/spamc using .qmail-default Instead of | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox you might have (In a single line) | /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox This should enable spam filtering domain-wide Correct me if I'm wrong somewhere. :) Cheers, Neo -Original Message- From: Björn Hahnefeld [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 4:54 PM To: 'Neo Wee Teck' Subject: AW: [vchkpw] per mailbox virus scan + spamassasssin Is that all? And it works then together with qmail, vpopmail etc. without any other options? -Ursprüngliche Nachricht- Von: Neo Wee Teck [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 10:50 An: [EMAIL PROTECTED] Betreff: RE: [vchkpw] per mailbox virus scan + spamassasssin Oh instaling spamassassin is very easy if you have CPAN installed You might want to try these steps. Get CPAN if you don't have http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz If you are using Linux 2.4.xx, you might need to set these environment variable export LANG=C export CFLAGS=-O3 After installing CPAN, you might want to run CPAN for the first time # perl -MCPAN -e shell[as root] After which type o conf prerequisites_policy ask install Mail::SpamAssassin There should be some Yes/No question to be answered Enjoy Cheers, Neo -Original Message- From: Björn Hahnefeld [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 4:17 PM To: 'Neo Wee Teck' Subject: AW: [vchkpw] per mailbox virus scan + spamassasssin Do you have tipps for installing spamassassin for me? -Ursprüngliche Nachricht- Von: Neo Wee Teck [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 10:08 An: [EMAIL PROTECTED] Betreff: [vchkpw] per mailbox virus scan + spamassasssin Hi, I am struggling to set a configuration to allow per mailbox setting to enable virus scan and spam filtering. Setting in .qmail-default will enable for the whole domain. Any help? Cheers Neo
RE: [vchkpw] per mailbox virus scan + spamassasssin
Your path for spamd/spamc might be different from mine ;) It is either /usr/bin or /usr/local/bin -Original Message- From: Neo Wee Teck [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 5:07 PM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] per mailbox virus scan + spamassasssin No. It's not all You will have to choose between the standalone spamassassin and the demonized one (spamd/spamc). I preferred the demonized (More efficient) I tried out with spamd/spamc using .qmail-default Instead of | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox you might have (In a single line) | /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox This should enable spam filtering domain-wide Correct me if I'm wrong somewhere. :) Cheers, Neo -Original Message- From: Björn Hahnefeld [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 4:54 PM To: 'Neo Wee Teck' Subject: AW: [vchkpw] per mailbox virus scan + spamassasssin Is that all? And it works then together with qmail, vpopmail etc. without any other options? -Ursprüngliche Nachricht- Von: Neo Wee Teck [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 10:50 An: [EMAIL PROTECTED] Betreff: RE: [vchkpw] per mailbox virus scan + spamassasssin Oh instaling spamassassin is very easy if you have CPAN installed You might want to try these steps. Get CPAN if you don't have http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz If you are using Linux 2.4.xx, you might need to set these environment variable export LANG=C export CFLAGS=-O3 After installing CPAN, you might want to run CPAN for the first time # perl -MCPAN -e shell[as root] After which type o conf prerequisites_policy ask install Mail::SpamAssassin There should be some Yes/No question to be answered Enjoy Cheers, Neo -Original Message- From: Björn Hahnefeld [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 4:17 PM To: 'Neo Wee Teck' Subject: AW: [vchkpw] per mailbox virus scan + spamassasssin Do you have tipps for installing spamassassin for me? -Ursprüngliche Nachricht- Von: Neo Wee Teck [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 10:08 An: [EMAIL PROTECTED] Betreff: [vchkpw] per mailbox virus scan + spamassasssin Hi, I am struggling to set a configuration to allow per mailbox setting to enable virus scan and spam filtering. Setting in .qmail-default will enable for the whole domain. Any help? Cheers Neo
[vchkpw] Vpopmail with ldap
Hi, I'm trying to use vpopmail-5.3.29 with ldap, I have made some modifications on vldap.h: --- vldap.h.origMon Oct 20 15:59:57 2003 +++ vldap.h Thu Oct 23 11:21:01 2003 @@ -33,13 +33,13 @@ #define VLDAP_SERVER localhost #define VLDAP_PORT LDAP_PORT #define VLDAP_USER cn=Manager, o=vpop -#define VLDAP_PASSWORD proba +#define VLDAP_PASSWORD * #define MAX_BUFF 500 #ifdef OLD_VLDAP #define VLDAP_BASEDN ou=Subs, o=vpop #else - #define VLDAP_BASEDN ou=%s, o=vpop + #define VLDAP_BASEDN o=vpop #endif static char *vldap_attrs[] = { Now it's working with openldap server (openldap-server-2.0.27) on FreeBSD 5.1-RELEASE, but I am getting an error when adding frist domain: # ./vadddomain dominio.com.br Please enter password for postmaster: enter password again: Error: (vadduser) can't read domain limits ^^ This domain was added in ldap base: # ldapsearch -D cn=Manager,o=vpop -b o=vpop version: 2 # # filter: (objectclass=*) # requesting: ALL # # vpop dn: o=vpop objectClass: Organization o: vpop # dominio.com.br, vpop dn: ou=dominio.com.br,o=vpop ou: dominio.com.br objectClass: organizationalUnit # search result search: 2 result: 0 Success # numResponses: 3 # numEntries: 2 What's happening? Thanks, Paulo.
Re: [vchkpw] Vpopmail with ldap
Paulo Fragoso: Error: (vadduser) can't read domain limits ^^ If you searched the archives you would have seen a discussion beginning on tuesday for exactly your problem. Juergen
[vchkpw] maildrop problem
Hi, maildrop works just fine with vpopmail! Mails are delivered to the Maildirs and spam-mails are delivered to the Maildir/.Spam folder. but if the mailbox goes over quota, the following happens: if maildrop is compiled with --enable-use-dotlock=0 \ --enable-maildirquota no bounce is send to the sender of the mail which is too big for the full mailbox, but the mail is delivered to /var/spool/mail/vpopmail in the mbox-format In the Logfile /var/log/maillog I get: Oct 23 17:39:48 mail qmail: 1066923588.399511 delivery 43930: success: maildrop:_maildir_over_quota./did_0+0+1/ if maildrop is compiled with --enable-use-dotlock=1 \ --enable-lockext-def=.lock \ --enable-maildirquota NO mail is delvered to /var/spool/mail/vpopmail and no bounce is resend to the sender. in the Logfile /var/log/maillog I get: Oct 23 17:31:27 mail qmail: 1066923087.502439 delivery 43879: deferral: maildrop:_maildir_over_quota.//usr/local/bin/maildrop:_Unable_to_create_a_dot-lock./ I use qmail-1.03, vpopmail 5.21, maildrop 1.6.2, qmail-scanner-1.16 (spamassassin is invoked by qmail-scanner) for this domain domain.test.local, my .qmail-default looks like this: # 8 Schnipp 8 # | /usr/local/bin/maildrop /home/vpopmail/domains/domain.test.local/mailfilter # 8 Schnapp 8 # my /home/vpopmail/domains/domain.test.local/mailfilter looks like this: # 8 Schnipp 8 # SHELL=/bin/sh import EXT import HOST VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] logfile mailfilter.log if ( $VHOME eq ) { log log ERROR: VHOME isn't set! to $VPOP } else { # Make sure the quota file is in place. # Vpopmail does not create it by default. # Vpopmail also removes it when you change the quota. `test -s $VHOME/Maildir/maildirsize` if ( $RETURNCODE == 1 ) { `/home/vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED] `test -s $VHOME/Maildir/maildirsize` if ( $RETURNCODE == 0 ) { `/bin/chown vpopmail:vchkpw $VHOME/Maildir/maildirsize` `/bin/chmod 640 $VHOME/Maildir/maildirsize` } } if (/^X-Spam-Flag: *YES/) { `test -d $VHOME/Maildir/.Spam` if( $RETURNCODE == 1) { `maildirmake -f Spam $VHOME/Maildir` } exception { to $VHOME/Maildir/.Spam/ } } # default delivery exception { to $VHOME/Maildir/ } } # 8 Schnapp 8 # Where is my failure? Thanks Alexander Bruns
[vchkpw] suggestions on vmoddomains
Title: suggestions on vmoddomains Hi guys here is my command Running vpopmail v .5.3.29 vmoddomlimits -P 200 me.com Failed to vget_limits Thanks, Remo
[vchkpw] Solution to can't read domain limits and failed to vget_limits errors with 5.3.29
Create a file called vlimits.default in ~vpopmail/etc/. You can use the attached file if you'd like. vlimits.default Description: Binary data -- Tom Collins - [EMAIL PROTECTED] Note: The Tom Logic offices will be closed October 23 to November 18. QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] Problems with 5.3.29
Another problem with 5.3.29 is related to POP authentications. It may only affect people who are running with --enable-roaming-users. I need to know ASAP if anyone on the lists is running WITHOUT enable-roaming-users support in 5.3.29 and still having problems with APOP authentication. If you're running 5.3.29 WITHOUT enable-roaming-users and POP seems to be working fine, please let me know. It will allow me to focus on where the problem might be. I am leaving for a 26-day trip to Australia in about 7 hours, so there's a good chance I won't be able to fix this soon. If someone else has time NOW to work on the problem, I'd surely appreciate it. Get a patch to me and I'll build a 5.3.30 release and post it to SourceForge. -- Tom Collins - [EMAIL PROTECTED] Note: The Tom Logic offices will be closed October 23 to November 18. QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Solution to can't read domain limits and failed to vget_limits errors with 5.3.29
torsdagen den 23 oktober 2003 19.35 skrev Tom Collins: Create a file called vlimits.default in ~vpopmail/etc/. You can use the attached file if you'd like. Nice!. I hope that file makes into the vpopmail distribution. Thanks Tom. Cheers.
[vchkpw] domain quotas..
Hello, I've been trying to figure out how to get domain quota's working. I'm wondering if anyone else does them. Do I need to zero out the users quota in order for domain quota's to work? If there are docs and I'm missing them somene please let me know. Thanks in advance. -- Brian Adriance Memorial Library
Re: [vchkpw] Solution to can't read domain limits and failed to vget_limits errors with 5.3.29
Oden Eriksson wrote: torsdagen den 23 oktober 2003 19.35 skrev Tom Collins: Create a file called vlimits.default in ~vpopmail/etc/. You can use the attached file if you'd like. Nice!. I hope that file makes into the vpopmail distribution. Thanks Tom. Cheers. File will be added in the next release :)
Re: [vchkpw] Vpopmail with ldap
Paulo Fragoso wrote: Hi, I'm trying to use vpopmail-5.3.29 with ldap, I have made some modifications on vldap.h: --- vldap.h.origMon Oct 20 15:59:57 2003 +++ vldap.h Thu Oct 23 11:21:01 2003 @@ -33,13 +33,13 @@ #define VLDAP_SERVER localhost #define VLDAP_PORT LDAP_PORT #define VLDAP_USER cn=Manager, o=vpop -#define VLDAP_PASSWORD proba +#define VLDAP_PASSWORD * #define MAX_BUFF 500 #ifdef OLD_VLDAP #define VLDAP_BASEDN ou=Subs, o=vpop #else - #define VLDAP_BASEDN ou=%s, o=vpop + #define VLDAP_BASEDN o=vpop #endif static char *vldap_attrs[] = { Now it's working with openldap server (openldap-server-2.0.27) on FreeBSD 5.1-RELEASE, but I am getting an error when adding frist domain: # ./vadddomain dominio.com.br Please enter password for postmaster: enter password again: Error: (vadduser) can't read domain limits ^^ This domain was added in ldap base: # ldapsearch -D cn=Manager,o=vpop -b o=vpop version: 2 # # filter: (objectclass=*) # requesting: ALL # # vpop dn: o=vpop objectClass: Organization o: vpop # dominio.com.br, vpop dn: ou=dominio.com.br,o=vpop ou: dominio.com.br objectClass: organizationalUnit # search result search: 2 result: 0 Success # numResponses: 3 # numEntries: 2 What's happening? Thanks, Paulo. Please read the archives. This is because in ~vpopmail/etc there is no vlimits.default. PLease read archives for samples for this file :)
[vchkpw] password generation - vpopmail table - pw_passwd
Hello list, I have vpopmail -with-mysql installation. In which way passwords are storedin the vpopmail table under pw_passwd? How can I generate such passwords from commandline? Regs, Oliver Etzel
Re: [vchkpw] domain quotas..
On Thursday 23 October 2003 20:48, B. Cook wrote: Hello, I've been trying to figure out how to get domain quota's working. I'm wondering if anyone else does them. Do I need to zero out the users quota in order for domain quota's to work? no. vlimits support domain quotas. the setting is: first check if domain quotas have reached its limit, then check for user quotas. you will need to use the development version, as there is no vlimit support in the stable tree. this has been covered in the mailing list before, so i suggest next time you read the archives. -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] suggestions on vmoddomains
On Thursday 23 October 2003 18:37, Remo Mattei wrote: Hi guys here is my command Running vpopmail v .5.3.29 vmoddomlimits -P 200 me.com Failed to vget_limits yeah. this has been posted before: you have to create a vlimits.default file in ~vpopmail/etc/ if you run the cvs version you can also do vmoddomlimits -V -P 200 to set the default value for the max amount of pop accounts to 200 for all domains. -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
[vchkpw] Re: [toaster] password generation - vpopmail table - pw_passwd
On Thursday, October 23, 2003, at 03:47 PM, GoodnGo.de ((R)) Zentrale wrote: How can I generate such passwords from commandline? Use the vpasswd program (installed to ~vpopmail/bin/). -- Tom Collins - [EMAIL PROTECTED] Note: The Tom Logic offices will be closed October 23 to November 18. QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/