[vchkpw] Re: [vpopmail-devel] [vchkpw] Updated vdelivermail available for review
Tom, Our team has tested the patched vdelivermail and posted the results at SourceForge's web site. The results are also attached to this message. Let us know your comments. Regards, Juliano Simões Gerente de Tecnologia Axios Tecnologia e Serviços http://www.axios.com.br [EMAIL PROTECTED] +55 41 2141-1800 - Original Message - From: Tom Collins [EMAIL PROTECTED] To: vpopmail list vchkpw@inter7.com; [EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 10:22 PM Subject: [vpopmail-devel] [vchkpw] Updated vdelivermail available for review I've finally uploaded my new vdelivermail code to a patch on SourceForge: http://sourceforge.net/tracker/index.php? func=detailaid=1119741group_id=85937atid=577800 It is not intended to be used on machines that handle real world email. I have uploaded it for others to review and test on development servers. It has had limited testing (I confirmed that it was checking quotas, updating maildirsize files, and delivering mail properly). Please provide feedback on any testing you do, to let me know what you confirmed as working, and whether anything didn't work as expected. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/ Comments on vdelivermail 5.4.9 + SF patch #1119741 -- 1. Basically, re-written vdelivermail worked as expected and the problem of delivering messages to non-existent accounts when the domain has an over quota catchall was fixed! --- 2. After applying the patch, messages delivered to over quota catchalls resulted in deferrals, leaving them in the Qmail queue. Before the patch, the standard behavior was to bounce the message with a failure notice. We prefer the latter, so we suggest to change the following in vdelivermail.c: FROM: vexiterr (EXIT_DEFER, user is over quota); TO: vexiterr (EXIT_BOUNCE, user is over quota); ON: process_valias(), lines 275, 303 check_forward_deliver(), line 723 checkuser(), line 922 usernotfound(), line 983 --- 3. Over quota bounce messages are repeating on line: Hi. This is the qmail-send program at dcontrol01. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: user is over quota user is over quota This is due to overlapping calls from function vexiterr() -- added by the patch -- and deliver_mail() (line 563). --- 4. Over quota bounce messages for catchall accounts also need some review: Hi. This is the qmail-send program at dcontrol01. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: user does not exist, but will deliver to /var/vpopmail/domains/c/test.com.br/user2/ user is over quota user is over quota A possible solution in this case includes a change in function usernotfound(), inserting: printf (user does not exist, but will deliver to %s\n, bounce); after deliver_mail() tests.
[vchkpw] vdelivermail and overquota catchalls
Hi all, I wonder if someone could shed some light over the following issue regarding vdelivermail. When a message is sent directly to a catchall account that is over quota, vdelivermail behaves as expected and bounces the message back to the sender. However, if the message is sent to a non-existent account of a domain with an over quota catchall, the message gets delivered. Is there a way to enforce the quota limit in this case? Our setup: - Qmail 1.03 - Vpopmail 5.4.9 ./configure \ --enable-roaming-users=y \ --enable-relay-clear-minutes=120 \ [EMAIL PROTECTED] \ --enable-auth-module=mysql \ --enable-many-domains=y \ --enable-clear-passwd=n \ --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \ --enable-auth-logging=n \ --enable-valias Thanks in advance. Regards, Juliano Simões Gerente de Tecnologia Axios Tecnologia e Serviços http://www.axios.com.br [EMAIL PROTECTED] +55 41 2141-1800
Re: [vchkpw] vdelivermail and overquota catchalls
Tom, We would be glad to test the new version of vdelivermail on our test environment. If you would like to send us the code, we will let you about the results in a few days. Regards, Juliano Simões Gerente de Tecnologia Axios Tecnologia e Serviços http://www.axios.com.br [EMAIL PROTECTED] +55 41 2141-1800 - Original Message - From: Tom Collins [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Friday, February 04, 2005 7:01 PM Subject: Re: [vchkpw] vdelivermail and overquota catchalls On Feb 4, 2005, at 10:37 AM, Juliano Simões wrote: However, if the message is sent to a non-existent account of a domain with an over quota catchall, the message gets delivered. Is there a way to enforce the quota limit in this case? I have an updated vdelivermail that corrects this problem. I haven't had time to test it enough to release it to the other developers though. I think I still need to add one more piece of code (if it is processing a user's .qmail file and they don't have a maildirsize file, lookup the account's quota) before it will be ready for release. If someone out there has a development system and can thoroughly test it (verify that it defers in all overquota instance), I'll send it their way. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] vpopmail 5.4.9 slow (SOLVED)
Hi Eduardo, Thanks for your reply! In fact we are not using smtp-auth on this server. Anyway, the load problem was solved after we adjusted a few MySQL and file system parameters. The basic idea was to compensate for the extra number of database hits resulting from the use of valias. Regards, Juliano Simões Gerente de Tecnologia Axios Tecnologia e Serviços http://www.axios.com.br [EMAIL PROTECTED] +55 41 2141-1800 - Original Message - From: Eduardo Ribeiro da Silva [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Tuesday, January 18, 2005 8:21 PM Subject: Re: [vchkpw] vpopmail 5.4.9 slow Are you using smtp-auth ? The only way using vchkpw to make qmail spawn a qmail-smtpd process against MySQL databases is the modified script to make qmail-smtpd spawn it first using vchkpw. btw: I speak portuguese too. Regards Eduardo Ribeiro da Silva [EMAIL PROTECTED] Consultant Em Ter 18 Jan 2005 18:02, Juliano Simões escreveu: After upgrading our vpopmail installation from 5.3.30 to 5.4.9 we noticed that SMTP mail delivery became very slow and qmail-smtpd processes now eat *lots* of CPU load to run. Besides the upgrade, the most significant change is that we have moved our aliases from file to MySQL (valias support). Vpopmail configure parameters are: env LIBS=-lz \ ./configure \ --enable-roaming-users=y \ --enable-relay-clear-minutes=120 \ [EMAIL PROTECTED] \ --enable-auth-module=mysql \ --enable-many-domains=y \ --enable-clear-passwd=n \ --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \ --enable-auth-logging=n \ --enable-valias I wonder if anyone has dealt with server load problems after upgrading to 5.4.9? Can this be related to the use of valias? Regards, Juliano Simões Gerente de Tecnologia Axios Tecnologia e Serviços http://www.axios.com.br [EMAIL PROTECTED] +55 41 2141-1800
[vchkpw] vpopmail 5.4.9 slow
After upgrading our vpopmail installation from 5.3.30 to 5.4.9 we noticed that SMTP mail delivery became very slow and qmail-smtpd processes now eat *lots* of CPU load to run. Besides the upgrade, the most significant change is that we have moved our aliases from file to MySQL (valias support). Vpopmail configure parameters are: env LIBS=-lz \ ./configure \ --enable-roaming-users=y \ --enable-relay-clear-minutes=120 \ [EMAIL PROTECTED] \ --enable-auth-module=mysql \ --enable-many-domains=y \ --enable-clear-passwd=n \ --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \ --enable-auth-logging=n \ --enable-valias I wonder if anyone has dealt with server load problems after upgrading to 5.4.9? Can this be related to the use of valias? Regards, Juliano Simões Gerente de Tecnologia Axios Tecnologia e Serviços http://www.axios.com.br [EMAIL PROTECTED] +55 41 2141-1800
[vchkpw] simscan not rejecting spams
Hi Guys, I am trying to make simscan reject spam above a given SA score, with the following setup: - simscan-1.0.6rc3 - Mail-SpamAssassin-3.0.1 - Qmail 1.03 + qmail-queue_patch + many_other_patches I built simscan with the following options: ./configure \ --enable-clamav=n \ --enable-per-domain=n \ --enable-ripmime=/usr/local/bin/ripmime \ --enable-spam=y \ --enable-spam-hits=25 \ --enable-spamc=/usr/bin/spamc \ --enable-qmail-queue=/var/qmail/bin/qmail-queue.bin Everything works fine (mail gets scored by SA and delivered) but spams above score 25 still pass through. Any ideas? If there's a better list to place this question, let me know. Regards, Atenciosamente, Juliano Simes Gerente de Tecnologia Axios Tecnologia e Servios http://www.axios.com.br [EMAIL PROTECTED] +55 41 324-1993