RE: [qmailtoaster] Qmailtoaster failover server procedure
Hi Eric, No problem moving it. I wasn't sure about where to put it so started at the beginning. :-) -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 27 October 2006 19:54 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Great stuff, Craig. I might be trying this out in the not too distant future. BTW, I moved this link from the main page to the Tips and Tricks page. Not that this isn't a major contribution, just that it seems to fit better there. Hope you're ok with that. Thanks a bunch! Craig Smith wrote: Hello all, Just a quick one to let everyone know, that I've posted up a procedure with scripts that will allow you to configure a backup qmt server that will always be 1 min behind your primary server. Some of you may already have something in place but for those that don't, this is relatively straight forward and on my 2 fc 5 boxes it works without any issues at all. Any change made on the main server including incoming mail replicates to the backup server. When mail is collected and then removed from the primary, that same change replicates to the backup. The nice thing with this, is that you don't need to worry about it, you always have an up to date backup of qmail on hand. Should your primary ever fail, you simply switch ip on the backup so that it assumes the role of primary. The backup then becomes your primary server, and once the primary is sorted and rebuilt it then resumes as your backup, by simply switching the scripts around. This is my first realy foray into scripting so please have some patience with any mistakes. There are no doubt a number of ways this can be done, but I found this to be quite simple especially with the scripts in place. Please let me know what you think, or if anything is unclear so I can edit it accordingly. I hope this is of some help to some people. It is under option 5 on the main page of the wiki or directly as below. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Regards, Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] vmysql: sql error[3]: MySQL server has gone away
Title: Re: [qmailtoaster] vmysql: sql error[3]: MySQL server has gone away Hello all! As you can see by the logs bellow the problem continues L == /var/log/qmail/authlib/current == 2006-10-30 10:04:47.087934500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-30 10:04:47.050416500 tcpserver: status: 1/40 2006-10-30 10:04:47.050420500 tcpserver: pid 28978 from 192.168.1.252 2006-10-30 10:04:47.050422500 tcpserver: ok 28978 kalimero.netlandia.net:192.168.1.250:143 :192.168.1.252::1106 2006-10-30 10:04:47.050424500 DEBUG: Connection, ip=[192.168.1.252] 2006-10-30 10:04:47.088013500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] == /var/log/qmail/authlib/current == 2006-10-30 10:04:58.590092500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-30 10:04:58.590130500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] == /var/log/qmail/authlib/current == 2006-10-30 10:04:59.462576500 vmysql: sql error[3]: MySQL server has gone away 2006-10-30 10:04:59.496322500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-30 10:04:59.453594500 tcpserver: status: 2/40 2006-10-30 10:04:59.454707500 tcpserver: pid 28980 from 192.168.1.252 2006-10-30 10:04:59.454710500 tcpserver: ok 28980 kalimero.netlandia.net:192.168.1.250:143 :192.168.1.252::1108 2006-10-30 10:04:59.454712500 DEBUG: Connection, ip=[192.168.1.252] 2006-10-30 10:04:59.462651500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] 2006-10-30 10:04:59.485831500 tcpserver: status: 3/40 2006-10-30 10:04:59.485835500 tcpserver: pid 28981 from 192.168.1.252 2006-10-30 10:04:59.485836500 tcpserver: ok 28981 kalimero.netlandia.net:192.168.1.250:143 :192.168.1.252::1109 2006-10-30 10:04:59.485839500 DEBUG: Connection, ip=[192.168.1.252] 2006-10-30 10:04:59.496393500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] == /var/log/qmail/authlib/current == 2006-10-30 10:05:06.573071500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-30 10:05:06.573111500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] == /var/log/messages == Oct 30 10:05:09 kalimero snmpd[1699]: Connection from UDP: [127.0.0.1]:33091 == /var/log/qmail/authlib/current == 2006-10-30 10:05:16.363951500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-30 10:05:16.363987500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] == /var/log/qmail/authlib/current == 2006-10-30 10:05:22.533286500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-30 10:05:22.533326500 INFO: LOGIN FAILED, [EMAIL PROTECTED], ip=[192.168.1.252] Is there any way I can solve this issue for good? Even if it implies removing and re-installing any packages Ill be willing to do whatever it takes Thanks in advance, FA From: Fernando Azevedo [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 30 de Outubro de 2006 0:04 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] vmysql: sql error[3]: MySQL server has gone away Hi Erik, I upgraded FROM previous versions. I've added the wait timeout to my.cnf and I will now check for this strange IMAP behaviour. Thak you all, FA De: Erik Espinoza [mailto:[EMAIL PROTECTED] Enviada: dom 29-10-2006 21:53 Para: qmailtoaster-list@qmailtoaster.com Assunto: Re: [qmailtoaster] vmysql: sql error[3]: MySQL server has gone away Hey Fernando, Quick question, did you upgrade to the latest versions or did you upgrade from previous versions? Depending on what versions you started with, the order in which you upgraded the binaries could make a difference. In the mean time, you could try to add wait_timeout = 432000 to the [mysqld] section of your my.cnf and restart the mysqld service On 10/29/06, Fernando Azevedo [EMAIL PROTECTED] wrote: As you can see I do have all the lateste versions installed... Is there anything else to do besides having all teh latest versions with patches? Regards, FA De: Eric Shubes [mailto:[EMAIL PROTECTED]] Enviada: dom 29-10-2006 3:33 Para: qmailtoaster-list@qmailtoaster.com Assunto: Re: [qmailtoaster] vmysql: sql error[3]: MySQL server has gone away I'm under the impression that vpopmail was patched to fix this. EE? Fernando Azevedo wrote: Hi all, Here is the problem: When I try to access a few accounts via IMAP I always get access denied. The logs show: == /var/log/qmail/authlib/current == 2006-10-28 21:49:06.325971500 vmysql: sql error[3]: MySQL server has gone away == /var/log/qmail/imap4/current == 2006-10-28 21:49:06.305007500 DEBUG: Disconnected, ip=[192.168.1.252], time=28 2006-10-28 21:49:06.305111500 tcpserver: end
[qmailtoaster] Submission on the toaster
I read something in this list about enabling submission port (as stated in RFC 2476) in the toaster. There's something about this in the toaster? ( or maybe i just dreamed of it ;-) BTW, the message submission port is forced to be authenticated and with TLS ? (or it can be accomplished). Moreover, is chkuser used for this port? (this won't let users send more than N mails in a single submission, and wrong rcpt tarpitting, that's unwanted, since this kind of user can use very big CC, and they must know what they are doing). Submission port will be great for RBL and accounting, too. TIA *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | David Sanchez Martin | [EMAIL PROTECTED] Administrador de Sistemas| http://www.e2000.es E2000 Nuevas Tecnologias | | E2000 Organizacion de Empresarios|Tel : +34 902 19 61 77 Mediadores de Seguros | | Agustin Bravo Esquina Calle C| 33120 Pravia Asturias Spain | | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* BEGIN:VCARD VERSION:2.1 N:Sánchez Martín;David FN:[EMAIL PROTECTED] ([EMAIL PROTECTED]) ORG:E2000 Financial Investments, S.A.;Centro de Nuevas Tecnologías TITLE:Administrador de Sistemas TEL;WORK;VOICE:902196177 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Agust=EDn Bravo 17 2=BA B=0D=0A33120 PRAVIA;Asturias;;;Espa=F1a LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Agust=EDn Bravo 17 2=BA B=0D=0A33120 PRAVIA=0D=0AAsturias=0D=0AEspa=F1a URL;WORK:http://www.e2000.es EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20060705T152542Z END:VCARD - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] spamassassin DIGEST_MULTIPLE test dependency
I've had something similar when updating to 3.1.6 - had to install perl Digest:SHA1 from cpan, clean up /var/lib/spamassassin and reinstall. afterwards sa-update and things went smoothly, even when going to 3.1.7 hop this helps -- Zsoft Citando Eric \\\Shubes\\\ [EMAIL PROTECTED]: On spamassassin-toaster-3.1.4-1.3.2, I get: # spamassassin -D bayes --lint .. [7941] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'RAZOR2_CHECK' [7941] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK' at the end of the output listing. I don't get these info messages with spamassassin-toaster-3.1.3-1.3.1. Something new? How to fix? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] EMPF Mail Policying
Hi I've made a path to the current toaster just rpm -i qmail-toaster-1.03-1.3.6.scr.rpm go to /usr/src/packages/SPECS and copy or patch the qmail-toaster.spec from the tarball then copy the qmail-empf.patch.bz2 to /usr/src/packages/SOURCES and rebuild the source with rpmbuild -bs usr/src/packages/SPECS/qmail-toaster.spec this will make a empf ready qmailtoaster package. then do has usual rpmbuil --rebuild --with 'distro-name' PS: Erik do you think that it maybe possible to had a option realeasing a empf ready package? -- Zsoft Citando Toni Wijaya [EMAIL PROTECTED]: Hi Zsoft, Could you guide me how to install EMPF on qmailtoaster Thanks in Advance toni Hi, I've been using EMPF for some time and works fine... as long as YOU don't mess it up. It currently handles about 20 domains with arround 30 to 40 policies each. It's quite fast doing it too. I've patched the current qmailtoaster release (1.3.6). I, for one would like it for be part of the toaster and it wont interfere with others who don't want to use it because if the policy file is blank (eg touch /var/qmail/control/policy) it wont do anything... -- Zsoft Citando [EMAIL PROTECTED]: Ok, i read someone on this list (sorry i don't remember who nor the exact thread) attempting to policying two domains (i think he was trying to configure one without the posibility of sending mails outside the domain or something like that) Inter7 guys have something called EMPF for policying this kind of things http://inter7.com/?page=empf See http://www.qmailwiki.org/EMPF for more information about EMPF For developers: http://inter7.com/?page=empf-install have nice instructions to enable this on qmail. I think this is a nice feature. Do you think is worth it the time to integrate? - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] qmailtoaster-empf.tar.bz2 Description: BZip2 compressed data - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] error in maildrop
I am getting the following in /var/log/maildrop/maildrop.log file BEGIN maildrop processing for [EMAIL PROTECTED] === Date: Mon Oct 30 16:46:13 2006 From: between today [EMAIL PROTECTED] Subj: Consoles Operating !Err: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox (19865) There is no such a user in my mail, such a message would bounce and a report sent to postmaster account. But now no bounce messages in postmaster account. what can I do to stop solve the problem causing these errors crispin - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] New Mailfilter
Hey all, The spam box seems to be working well for us but I need to do two things. First I would like to know if there is a script out there that will delete mail in the spam box automatically for all users after it has been in there say 5 days. I would also like to know how to make my spamassassin auto learn from all the users spam directories. Any help on this would be much appreciated. Once I get this figured out I will upgrade the wiki site. Thanks, Q - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] New Mailfilter
How do I set that to look at all mail boxes would it be like this? #!/bin/sh find /home/vpopmail/domains/v2gnu.com/*/Maildir/cur/* -mtime +3 -exec rm -rf {} \; find /home/vpopmail/domains/v2gnu.com/*/Maildir/new/* -mtime +3 -exec rm -rf {} \; thanks Q On Mon, 2006-10-30 at 09:28 -0500, Jake Vickers wrote: Kyle Quillen wrote: Hey all, The spam box seems to be working well for us but I need to do two things. First I would like to know if there is a script out there that will delete mail in the spam box automatically for all users after it has been in there say 5 days. I would also like to know how to make my spamassassin auto learn from all the users spam directories. Any help on this would be much appreciated. Once I get this figured out I will upgrade the wiki site. If you go to my site, I have an original script someone sent to me to learn from the spam messages in the Spam box. I have a modified one if you need it. As far as deleting the messages, do something like this (this is for roughly 3 days): #!/bin/sh find /home/vpopmail/domains/v2gnu.com/jake/Maildir/cur/* -mtime +3 -exec rm -rf {} \; find /home/vpopmail/domains/v2gnu.com/jake/Maildir/new/* -mtime +3 -exec rm -rf {} \; - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] New Mailfilter
Kyle Quillen wrote: How do I set that to look at all mail boxes would it be like this? #!/bin/sh find /home/vpopmail/domains/v2gnu.com/*/Maildir/cur/* -mtime +3 -exec rm -rf {} \; find /home/vpopmail/domains/v2gnu.com/*/Maildir/new/* -mtime +3 -exec rm -rf {} \; How about something like this: #!/bin/sh locate Spam/ | grep -v S= | grep \/cur | uniq /var/qmail/spam-folders # moving to spam-clean file # note: mtime is for how many days to leave the messages on the server cat /var/qmail/spam-folders | awk '{print find $0/ -type f -mtime 5 -exec rm -v {} \\; };{ };{next}' /var/qmail/spam-clean sh /var/qmail/spam-clean That's a quickly modified script that George had sent me a while back. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Can't complete install
The /root/qtp-* scripts didn't make it into the sandbox, so you need to either rebuild the sandbox or simply copy them into the sandbox you have: # mkdir /opt/qtp-sandbox/root # cp /root/qtp-* /opt/qtp-sandbox/root/. If you copy them in yourself, you shouldn't need the fixed qtp-whatami script, but it won't hurt. ;) Francisco Paco Peralta wrote: Shubes, Do I have to rebuild the sandbox again? */Eric \Shubes\ [EMAIL PROTECTED]/* wrote: Sorry, EE, but that's not right. You *should* run this script while qmail's still running. The script takes care of stopping and starting qmail at the appropriate time. Paco, This is a bug in the qtp-whatami script. It's not exporting the QTP_RUN variable, so the qtp-build-sandbox script isn't picking it up, which is causing the error. This only happens when the scripts are located somewhere outside of the 'typical' sandbox. Please download the qtp-whatami script again from qtp.shubes.net and try again. Thanks, and let us know how the rest goes for you. Erik Espinoza wrote: Hello Francisco, I'm pretty sure you're supposed to shut down the qmailtoaster before doing this. By the looks of the log, Qmail was running while you attempted to upgrade. Thanks, Erik On 10/28/06, Francisco Paco Peralta wrote: I was trying to update my toaster install, in particular spamassassin and clamav, but the install did not complete because: chroot: cannot run command `/root/qtp-build-rpms': No such file or directory The following is the excerpt of my program execution, any comments are welcome, thanks: Do you want to proceed at your own risk? (yes, no) y/[n] : y Ok, here we go ... Getting package list ... qmail Toaster is an integrated distribution. Packages are preconfigured for the whole distro. As a result, a partial install might be misconfigured. Upgrading all packages to their latest version is strongly recommended. Now that you've been warned, we will proceed with package selection ... zlib-1.2.3-1.0.3 is already installed, bypassed daemontools-toaster-0.76-1.3.1 is already installed, bypassed ucspi-tcp-toaster-0.88-1.3.1 is already installed, bypassed vpopmail-toaster-5.4.13-1.3.2 is already installed, bypassed libdomainkeys-toaster-0.68-1.3.1 is already installed, bypassed qmail-toaster-1.03-1.3.5 is installed. Do you want to Upgrade qmail-toaster to version 1.03-1.3.6 Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y courier-authlib-toaster-0.58-1.3.1 is already installed, bypassed courier-imap-toaster-4.1.1-1.3.2 is already installed, bypassed autorespond-toaster-2.0.4-1.3.1 is already installed, bypassed control-panel-toaster-0.5-1.3.1 is already installed, bypassed ezmlm-toaster-0.53.324-1.3.1 is already installed, bypassed qmailadmin-toaster-1.2.9-1.3.1 is already installed, bypassed qmailmrtg-toaster-4.2-1.3.1 is already installed, bypassed maildrop-toaster-2.0.2-1.3.1 is already installed, bypassed isoqlog-toaster-2.1-1.3.1 is already installed, bypassed squirrelmail-toaster-1.4.8-1.3.3 is already installed, bypassed spamassassin-toaster-3.1.4-1.3.2 is installed. Do you want to Upgrade spamassassin-toaster to version 3.1.7-1.3.5 Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y clamav-toaster-0.88.4-1.3.3 is installed. Do you want to Upgrade clamav-toaster to version 0.88.5-1.3.4 Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y ripmime-toaster-1.4.0.6-1.3.1 is already installed, bypassed simscan-toaster-1.2-1.3.1 is already installed, bypassed vqadmin-toaster is not installed, would you like to install it? Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y Getting source packages ...(this may take a while) Downloading qmail-toaster-1.03-1.3.6.src.rpm --17:14:26-- http://www.qmailtoaster.com/download/stable/qmail-toaster-1.03-1.3.6.src.rpm = `/usr/src/qtp-upgrade/SRPMS/qmail-toaster-1.03-1.3.6.src.rpm' Resolving www.qmailtoaster.com... 38.99.66.144 Connecting to www.qmailtoaster.com|38.99.66.144|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 296,099 (289K) [application/force-download] 100%[=] 296,099 829.50K/s 17:14:26 (827.71 KB/s) -
Re: [qmailtoaster] Qmailtoaster failover server procedure
Short answer: I don't know. I've only learned (and am still learning) the wiki stuff by playing with it. I imagine that you could add the outline for TT to the main page with '==' tags, and it'd get sucked into the TOC. I don't like that idea though because we'd end up with the same thing in 2 places. I abhor redundancy (high maintenance). There might be a 'slick' way to do it, I just don't know of one. Now that I think of it, how about making each Tip/Trick it's own wiki page. That way they can be linked to individually from from the main page, and be included in the TOC. I think that'd be good. Would you like to do it? Craig Smith wrote: Sorry Eric I forgot to ask, is there any way to include the TOC for tips and tricks on the main list. Sort of as a submenu. I'm sure that if people were looking for something, and saw it on the main page, or at least saw what they could expect to find under a main topic they would more likely find it. It will make it easier to browse and quicker to find what you are looking for. Just a thought. Thanks -Original Message- From: Craig Smith [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 09:44 To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Qmailtoaster failover server procedure Hi Eric, No problem moving it. I wasn't sure about where to put it so started at the beginning. :-) -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: 27 October 2006 19:54 To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmailtoaster failover server procedure Great stuff, Craig. I might be trying this out in the not too distant future. BTW, I moved this link from the main page to the Tips and Tricks page. Not that this isn't a major contribution, just that it seems to fit better there. Hope you're ok with that. Thanks a bunch! Craig Smith wrote: Hello all, Just a quick one to let everyone know, that I've posted up a procedure with scripts that will allow you to configure a backup qmt server that will always be 1 min behind your primary server. Some of you may already have something in place but for those that don't, this is relatively straight forward and on my 2 fc 5 boxes it works without any issues at all. Any change made on the main server including incoming mail replicates to the backup server. When mail is collected and then removed from the primary, that same change replicates to the backup. The nice thing with this, is that you don't need to worry about it, you always have an up to date backup of qmail on hand. Should your primary ever fail, you simply switch ip on the backup so that it assumes the role of primary. The backup then becomes your primary server, and once the primary is sorted and rebuilt it then resumes as your backup, by simply switching the scripts around. This is my first realy foray into scripting so please have some patience with any mistakes. There are no doubt a number of ways this can be done, but I found this to be quite simple especially with the scripts in place. Please let me know what you think, or if anything is unclear so I can edit it accordingly. I hope this is of some help to some people. It is under option 5 on the main page of the wiki or directly as below. http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup Regards, Craig --- Craig Smith - Systems Engineer - Doctor Net t. 0870 770 4990 - f. 0870 770 4991 -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] spamassassin DIGEST_MULTIPLE test dependency
[EMAIL PROTECTED] wrote: I've had something similar when updating to 3.1.6 - had to install perl Digest:SHA1 from cpan, clean up /var/lib/spamassassin and reinstall. afterwards sa-update and things went smoothly, even when going to 3.1.7 hop this helps When I try to install Digest::SHA1, it says that it's up to date. What do you mean 'clean up /var/lib/spamassassin'? sa-update? Is that required for some reason? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Upgrade
FWIW, as a generic solution, # rpmbuild --rebuild --with cnt40 --target `uname -m` maildrop-toaster-*src.rpm will work. That's essentially what the newmodel script(s) do. Erik Espinoza wrote: Hey Kyle, The i386 build will work fine. If you want it to build an i686 binary, type: rpmbuild --rebuild --with cnt40 --target i686 maildrop-toaster-*src.rpm Thanks, Erik On 10/29/06, Kyle Quillen [EMAIL PROTECTED] wrote: Hey all, This is a total newb question but I am trying to upgrade for the mailfilter that came out last night and am having problems. I have downloaded the files and did the following rpmbuild --rebuild --with cnt40 maildrop* But this put it in the i386 directory and I am running i686 so when i install these I don't think that these are installing right. How do I force i686? Thanks Q -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] dspam on the toaster
Firdaus Tjahyadi wrote: On 10/27/06, *Eric Shubes* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Great. I was hoping we wouldn't need to wait for Kyle's VMs before we get going on this. Can we use CentOS4.4 and current toaster on a devel box? I'd also like to see 1 or 2 other volunteers. Before we jump right in, I'm thinking that we need to figure out how DS is going to hook into the process. hi eric feel free to contact me as volunteer for Mandriva 2007 i've running Mandriva 2007 + Qmailtoaster for my running and backup server i'm glad to try simscan + Dspam for my backup server regards Thanks, Firdaus. We'll let you know if/when the time comes. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] how to set nice level?
Simone Marzona wrote: Hi all how is possible to set nice level on spamassassin on mandriva? On Debian systems it's configured in /etc/default/spamassassin nice-level. I could simply put a nice x value before spamd.. in /var/qmail/supervise/spamd/run? That sounds like it's worth a try, but I kinda doubt that it'd be effective. spamd spawns the processes that actually do the spam checking (spamd child), so those are the processes you'd really need to 'nice'. I don't know if the children pick up the nice level of the parent or not, or how their nice level is determined. or there is a predefined place? Not that I'm aware of in the toaster. You might ask the spamassassin list how this is done. thanks Welcome. Having said that, let me guess what your problem might be (since you've asked about a solution w/out stating your problem). spamd on your toaster occasionally sucks up the cpu, the number of smtp sessions grows, some sessions might time out resulting in duplicate emails. What's might be going on here is that autoexpire is configured on, and when it kicks in things go kinda haywire, because the expiration process can take a bit of time and a lot of cpu. A solution in this case is to turn off autoexpire, and create a cron job (sa-learn --force-expire) which runs periodically (daily is probably good). This will also force the bayes database log to sync. EE, do you suppose we can change the basic spamassassin-toaster package to use this configuration? I think it'd be a good idea, as this will remove the expiration process from active smtp sessions, as well as forcing the bayes log to sync, which TTBOMK isn't being done by anything in the basic toaster. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Michael Amster wrote: Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA Just out of curiosity, are you seeing spamd suck up a lot of cpu? If so, it could be expiring bayes tokens. Networking delays (waits) are a good guess though. How about DNS? Which caching nameserver are you running? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
I had been experiencing a similar problem, SMTP sessions time out when trying to send mail through my server. I narrowed the problems down to the RBL's as well. I am currently running only the following: -r relays.ordb.org -r opm.blitzed.org -r cbl.abuseat.org. Adding additional blacklists will sometimes dramatically slow down the beginning of the SMTP transaction. Telnet to your server on port 25 and watch how long it takes for the HELO message. Mine went from 15+ seconds down to 1. It also may be worth checking that your DNS configuration is correct. -Jason -Original Message- From: Michael Amster [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 2:31 PM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Slow/hung smtpd with Qmailtoaster Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Eric Shubes wrote: Michael Amster wrote: Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA Just out of curiosity, are you seeing spamd suck up a lot of cpu? If so, it could be expiring bayes tokens. No, this machine is nearly idling. I can check on the bayes - I think I must have a huge bayes database now. Is there a way to check it or to manually expire them and then resume them? Networking delays (waits) are a good guess though. How about DNS? Which caching nameserver are you running? I am running DJB DNS - I have not seen delays on DNS, but have not done many queries. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
DNS is correct - running a local djbdns and it is screaming. I have heard such good things about sbl-xbl.spamhaus.org that I wanted to keep it. Did you strike it from your list or just not consider it? jason p wrote: I had been experiencing a similar problem, SMTP sessions time out when trying to send mail through my server. I narrowed the problems down to the RBL's as well. I am currently running only the following: -r relays.ordb.org -r opm.blitzed.org -r cbl.abuseat.org. Adding additional blacklists will sometimes dramatically slow down the beginning of the SMTP transaction. Telnet to your server on port 25 and watch how long it takes for the HELO message. Mine went from 15+ seconds down to 1. It also may be worth checking that your DNS configuration is correct. -Jason -Original Message- From: Michael Amster [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 2:31 PM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Slow/hung smtpd with Qmailtoaster Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Michael Amster wrote: Eric Shubes wrote: Michael Amster wrote: Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA Just out of curiosity, are you seeing spamd suck up a lot of cpu? If so, it could be expiring bayes tokens. No, this machine is nearly idling. I can check on the bayes - I think I must have a huge bayes database now. Is there a way to check it or to manually expire them and then resume them? Check: # spamassassin -D bayes --lint Manually expire: # sa-learn --force-expire Networking delays (waits) are a good guess though. How about DNS? Which caching nameserver are you running? I am running DJB DNS - I have not seen delays on DNS, but have not done many queries. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Here's what I'm running, FWIW: -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org -r sbl-xbl.spamhaus.org Not having a problem on a high volume server with this. Michael Amster wrote: DNS is correct - running a local djbdns and it is screaming. I have heard such good things about sbl-xbl.spamhaus.org that I wanted to keep it. Did you strike it from your list or just not consider it? jason p wrote: I had been experiencing a similar problem, SMTP sessions time out when trying to send mail through my server. I narrowed the problems down to the RBL's as well. I am currently running only the following: -r relays.ordb.org -r opm.blitzed.org -r cbl.abuseat.org. Adding additional blacklists will sometimes dramatically slow down the beginning of the SMTP transaction. Telnet to your server on port 25 and watch how long it takes for the HELO message. Mine went from 15+ seconds down to 1. It also may be worth checking that your DNS configuration is correct. -Jason -Original Message- From: Michael Amster [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 2:31 PM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Slow/hung smtpd with Qmailtoaster Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Eric Shubes wrote: Michael Amster wrote: Eric Shubes wrote: Michael Amster wrote: Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA Just out of curiosity, are you seeing spamd suck up a lot of cpu? If so, it could be expiring bayes tokens. No, this machine is nearly idling. I can check on the bayes - I think I must have a huge bayes database now. Is there a way to check it or to manually expire them and then resume them? Check: # spamassassin -D bayes --lint Manually expire: # sa-learn --force-expire Looks good to me: [EMAIL PROTECTED] control]# spamassassin -D bayes --lint [11083] dbg: bayes: tie-ing to DB file R/O /home/vpopmail/.spamassassin/bayes_toks [11083] dbg: bayes: tie-ing to DB file R/O /home/vpopmail/.spamassassin/bayes_seen [11083] dbg: bayes: found bayes db version 3 [11083] dbg: bayes: DB journal sync: last sync: 1162238883 [11083] dbg: bayes: DB journal sync: last sync: 1162238883 [11083] dbg: bayes: corpus size: nspam = 4672712, nham = 162872 [11083] dbg: bayes: header tokens for *F = U*ignore D*compiling.spamassassin.taint.org D*spamassassin.taint.org D*taint.org D*org [11083] dbg: bayes: header tokens for *m = 1162238930 lint_rules [11083] dbg: bayes: header tokens for X-Spam-Relays-External = [11083] dbg: bayes: header tokens for X-Spam-Relays-Internal = [11083] dbg: bayes: header tokens for *RT = [11083] dbg: bayes: header tokens for *RU = [11083] dbg: bayes: token 'H*Ad:D*org' = 0.152146823350312 [11083] dbg: bayes: score = 0.0929143971693591 [11083] dbg: bayes: DB journal sync: last sync: 1162238883 [11083] dbg: bayes: untie-ing [11083] dbg: bayes: untie-ing db_toks [11083] dbg: bayes: untie-ing db_seen [11083] info: rules: meta test SARE_HEAD_SUBJ_RAND has undefined dependency 'SARE_XMAIL_SUSP2' [11083] info: rules: meta test SARE_HEAD_SUBJ_RAND has undefined dependency 'SARE_HEAD_XAUTH_WARN' [11083] info: rules: meta test SARE_RD_SAFE has undefined dependency 'SARE_RD_SAFE_MKSHRT' [11083] info: rules: meta test SARE_RD_SAFE has undefined dependency 'SARE_RD_SAFE_GT' [11083] info: rules: meta test SARE_RD_SAFE has undefined dependency 'SARE_RD_SAFE_TINY' [11083] info: rules: meta test FP_MIXED_PORN3 has undefined dependency 'FP_PENETRATION' [EMAIL PROTECTED] control]# sa-learn --force-expire bayes: synced databases from journal in 0 seconds: 2074 unique entries (3793 total entries) the sa-learn is taking a while... - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Eric Shubes wrote: Michael Amster wrote: Eric Shubes wrote: Michael Amster wrote: Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA Just out of curiosity, are you seeing spamd suck up a lot of cpu? If so, it could be expiring bayes tokens. No, this machine is nearly idling. I can check on the bayes - I think I must have a huge bayes database now. Is there a way to check it or to manually expire them and then resume them? Check: # spamassassin -D bayes --lint Manually expire: # sa-learn --force-expire Here is the complete output: [EMAIL PROTECTED] control]# sa-learn --force-expire bayes: synced databases from journal in 0 seconds: 2074 unique entries (3793 total entries) expired old bayes database entries in 109 seconds 430987 entries kept, 163306 deleted token frequency: 1-occurrence tokens: 55.33% token frequency: less than 8 occurrences: 29.25% - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
I removed sbl-xbl.spamhaus.org a few weeks ago when their legal troubles started; it was causing me SMTP timeout problems back then. I tried putting it back once about a week ago, and as soon as I did my SMTP connections started taking forever. I also removed the others because they either didn't respond to pings (not a big deal, many servers don't) or they didn't resolve to an IP address (I don't think that is good). I would try sticking just the servers that you know are good in there first, then add the others one at a time. -Jason -Original Message- From: Michael Amster [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 2:58 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster DNS is correct - running a local djbdns and it is screaming. I have heard such good things about sbl-xbl.spamhaus.org that I wanted to keep it. Did you strike it from your list or just not consider it? jason p wrote: I had been experiencing a similar problem, SMTP sessions time out when trying to send mail through my server. I narrowed the problems down to the RBL's as well. I am currently running only the following: -r relays.ordb.org -r opm.blitzed.org -r cbl.abuseat.org. Adding additional blacklists will sometimes dramatically slow down the beginning of the SMTP transaction. Telnet to your server on port 25 and watch how long it takes for the HELO message. Mine went from 15+ seconds down to 1. It also may be worth checking that your DNS configuration is correct. -Jason -Original Message- From: Michael Amster [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 2:31 PM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Slow/hung smtpd with Qmailtoaster Hi: I run a relatively lightly loaded qmailtoaster - pretty current. I have noticed that after a while the qmail-smtpd process seems to get bogged down accepting incoming messages. I run rbl and my blacklists file is: -r sbl-xbl.spamhaus.org -r bl.spamcop.net -r relays.ordb.org -r dnsbl.antispam.or.id -r opm.blitzed.org -r list.dsbl.org -r cbl.abuseat.org I am wondering if any of these might be timing out or causing the issues - any recommendations on the best list to use to leverage good rbl filtering without causing resource hangups? If there is another place to look at the slowdowns, I can check too - my gut instinct is that it is in the network checks (I also have Pyzor and Razor2 enabled) -MA - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
jason p wrote: I removed sbl-xbl.spamhaus.org a few weeks ago when their legal troubles started; it was causing me SMTP timeout problems back then. I tried putting it back once about a week ago, and as soon as I did my SMTP connections started taking forever. I also removed the others because they either didn't respond to pings (not a big deal, many servers don't) or they didn't resolve to an IP address (I don't think that is good). I would try sticking just the servers that you know are good in there first, then add the others one at a time. Very few BL's will be ping-able, or resolve. They're essentially DNS servers. Your machine makes a query to them (using this email as an example) asking who qmailtoaster.com is. If the BL server returns 127.0.0.1 (this result can change from BL to BL) then your machine knows it's good. If it returns 127.0.0.2 then it knows it's bad and can bounce it. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Jake Vickers wrote: jason p wrote: I removed sbl-xbl.spamhaus.org a few weeks ago when their legal troubles started; it was causing me SMTP timeout problems back then. I tried putting it back once about a week ago, and as soon as I did my SMTP connections started taking forever. I also removed the others because they either didn't respond to pings (not a big deal, many servers don't) or they didn't resolve to an IP address (I don't think that is good). I would try sticking just the servers that you know are good in there first, then add the others one at a time. Very few BL's will be ping-able, or resolve. They're essentially DNS servers. Your machine makes a query to them (using this email as an example) asking who qmailtoaster.com is. If the BL server returns 127.0.0.1 (this result can change from BL to BL) then your machine knows it's good. If it returns 127.0.0.2 then it knows it's bad and can bounce it. EE wrote a nice explanation on the list too a little while back. Check the archives. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] dspam on the toaster
Eric Shubes wrote: I suppose that answers anyother question, which AV? I'm think that we'll want to change as little as possible of the toaster configuration. Why Vexira instead of ClamAV (which is plugged into simscan)? I setup Vexira before ClamAV got added to the toaster. Also, is there some reason you've plugged RBL into Vexira instead of using the blacklists control file? Using the blacklists file would block the message at the smtp session, before it's even transmitted. I think that would save you some bandwidth and processing. Vexira is a smtp proxy in front of qmail so there is no reason to use qmail's blacklist control file. Vexira dumps spam just fine using the RBL. -- Lee R. Copp Project Engineer (EE/ME) http://www.michsci.com/ - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Dspam on the toaster
Eric Shubes wrote: the administration CGI scripts (if you intend to run the CGI scripts). This was wholly an apache suexec issue more than a DSpam one. Hey Lee, what do you know about this problem? (Please see Rangi's earlier post) Did you come across this problem? Solution? I ignored the admin cgi scripts since I only used IMAP folders for training...much easier than another website to click around for my users. -- Lee R. Copp Project Engineer (EE/ME) http://www.michsci.com/ - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] dspam on the toaster
[EMAIL PROTECTED] wrote: BTW Vexira? with which conf, 2 qmails and vams between them ? Internet Vexira Qmail God save simscan :-P I will have to check that out. -- Lee R. Copp Project Engineer (EE/ME) http://www.michsci.com/ - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
I performed an experiment to see what happens - I removed all the RBLs and saw that the response decayed from instant response after a qmailctl restart to about 15s after about 1hr. of running. It looks like the RBLs have no impact on my response time. This points to bayes expiration as an issue. my relevant spamassassin local.cf: ok_locales all skip_rbl_checks 0 report_safe 1 lock_method flock rewrite_header Subject [SPAM] required_score 6.0 bayes_file_mode 0666 auto_whitelist_path /home/vpopmail/.spamassassin/auto-whitelist use_pyzor 1 use_razor2 1 use_dcc 1 use_auto_whitelist 1 use_bayes 1 bayes_auto_learn 1 use_bayes_rules 1 bayes_auto_learn_threshold_spam 7.0 bayes_auto_learn_threshold_nonspam 0.1 bayes_auto_expire 1 bayes_path /home/vpopmail/.spamassassin/bayes -MA Eric Shubes wrote: Jake Vickers wrote: jason p wrote: I removed sbl-xbl.spamhaus.org a few weeks ago when their legal troubles started; it was causing me SMTP timeout problems back then. I tried putting it back once about a week ago, and as soon as I did my SMTP connections started taking forever. I also removed the others because they either didn't respond to pings (not a big deal, many servers don't) or they didn't resolve to an IP address (I don't think that is good). I would try sticking just the servers that you know are good in there first, then add the others one at a time. Very few BL's will be ping-able, or resolve. They're essentially DNS servers. Your machine makes a query to them (using this email as an example) asking who qmailtoaster.com is. If the BL server returns 127.0.0.1 (this result can change from BL to BL) then your machine knows it's good. If it returns 127.0.0.2 then it knows it's bad and can bounce it. EE wrote a nice explanation on the list too a little while back. Check the archives. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Slow/hung smtpd with Qmailtoaster
Michael Amster wrote: I performed an experiment to see what happens - I removed all the RBLs and saw that the response decayed from instant response after a qmailctl restart to about 15s after about 1hr. of running. It looks like the RBLs have no impact on my response time. This points to bayes expiration as an issue. I wouldn't draw that conclusion, but it's certainly something to look into. my relevant spamassassin local.cf: ok_locales all skip_rbl_checks 0 report_safe 1 lock_method flock rewrite_header Subject [SPAM] required_score 6.0 bayes_file_mode 0666 auto_whitelist_path /home/vpopmail/.spamassassin/auto-whitelist use_pyzor 1 use_razor2 1 use_dcc 1 use_auto_whitelist 1 use_bayes 1 bayes_auto_learn 1 use_bayes_rules 1 bayes_auto_learn_threshold_spam 7.0 bayes_auto_learn_threshold_nonspam 0.1 bayes_auto_expire 1 bayes_path /home/vpopmail/.spamassassin/bayes -MA You can set bayes_auto_expire 0 (and restart SA) to turn auto-expiration off. I'm not convinced that'll solve your problem though. Your manual expire run appeared to take 109 seconds. Since running that, you shouldn't be suffering from auto-expire again for at least 12 hours (see EXPIRATION section of man sa-learn). I'd still be inclined to turn it off though and do it with a daily cron job. You might also be experiencing RBL delays via SA if you have SURBLs enabled. To check that, you might turn local-only rules back on (-L option, see wiki SURBL). Are you seeing a heavy cpu use by SA? How long do scans typically take? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Problems with PDF and XLS
Hi, my users are complaining of not being able to receive some PDF's or XLS files.I have tried removing the MIME from badmime types and rebuilding the database, however this and even hashing out all the different MIME types still does not allow the files to come through.The strange thing is this only happens occasionally, and is pretty random.Am I missing something?Can anyone suggest anywhere else this may be occuring?Id really like to restore the MIME database back to its original form, to block zips and so forth.Thanks Send instant messages to your online friends http://au.messenger.yahoo.com
RE: [qmailtoaster] Problems with PDF and XLS
badmimetypes is just for qmail. What is likely filtering your XLS/PDF files is clamav itself. I myself would be curious to know if it's possible to get clamav, however, to make an acception for attachments with a .PDF extention? Those should always be innoculous. Dairenn Lombard [EMAIL PROTECTED] - BroadSpire Systems Administration Dept. BroadSpire, Inc. - http://www.broadspire.com/ Security, Scalability Automation -Original Message- From: Shelly [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 5:42 PM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Problems with PDF and XLS Hi, my users are complaining of not being able to receive some PDF's or XLS files. I have tried removing the MIME from badmime types and rebuilding the database, however this and even hashing out all the different MIME types still does not allow the files to come through. The strange thing is this only happens occasionally, and is pretty random. Am I missing something? Can anyone suggest anywhere else this may be occuring?Id really like to restore the MIME database back to its original form, to block zips and so forth. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Problems with PDF and XLS
Shelly wrote: Hi, my users are complaining of not being able to receive some PDF's or XLS files. I have tried removing the MIME from badmime types and rebuilding the database, however this and even hashing out all the different MIME types still does not allow the files to come through. The strange thing is this only happens occasionally, and is pretty random. Am I missing something? Can anyone suggest anywhere else this may be occuring?Id really like to restore the MIME database back to its original form, to block zips and so forth. Look at the badloadertypes file. The first 2 entries in there gave me false positives on PDF files (the second one), and the first one gave me false positive on ZIP files created with Winzip containing Peachtree data. The problem with badlosertypes is that the hash in there can match ANY portion of the MIME (attachment). Not just the first few chars. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] Roaming users isn't working.
Hi y'all How can I troubleshoot why roaming users isn't working for me? I've compiled vpopmail with --enable-roaming-users, and recompiled everything else after installing. But I still get a 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser). I'm not quite sure the mechanisms that allow this to work. vchkpw intercepts a pop/imap connection and appends the remote IP to a cdb file used by chkuser? Thanks for any direction pointing. Q rpm -qa | grep toaster libdomainkeys-toaster-0.68-1.3.1 courier-imap-toaster-4.1.1-1.3.2 ezmlm-cgi-toaster-0.53.324-1.3.1 spamassassin-toaster-3.1.4-1.3.2 vpopmail-toaster-5.4.13-1.3.5 clamav-toaster-0.88.4-1.3.3 simscan-toaster-1.2-1.3.2 daemontools-toaster-0.76-1.3.1 autorespond-toaster-2.0.4-1.3.1 ezmlm-toaster-0.53.324-1.3.1 isoqlog-toaster-2.1-1.3.1 courier-authlib-toaster-0.58-1.3.2 qmail-toaster-1.03-1.3.5 ucspi-tcp-toaster-0.88-1.3.1 qmail-pop3d-toaster-1.03-1.3.5 control-panel-toaster-0.5-1.3.1 qmailmrtg-toaster-4.2-1.3.1 ripmime-toaster-1.4.0.6-1.3.1 qmailadmin-toaster-1.2.9-1.3.1 - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] New Mailfilter
Dear Sir, I have install it and a check box in the qmail admin page of each account. I want to know that how the spam mail filter working, and how to test it? Thanks Ho Kyle Quillen wrote: How do I set that to look at all mail boxes would it be like this? #!/bin/sh find /home/vpopmail/domains/v2gnu.com/*/Maildir/cur/* -mtime +3 -exec rm -rf {} \; find /home/vpopmail/domains/v2gnu.com/*/Maildir/new/* -mtime +3 -exec rm -rf {} \; How about something like this: #!/bin/sh locate Spam/ | grep -v S= | grep \/cur | uniq /var/qmail/spam-folders # moving to spam-clean file # note: mtime is for how many days to leave the messages on the server cat /var/qmail/spam-folders | awk '{print find $0/ -type f -mtime 5 -exec rm -v {} \\; };{ };{next}' /var/qmail/spam-clean sh /var/qmail/spam-clean That's a quickly modified script that George had sent me a while back. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] New Mailfilter
Ho, I ran the install with mine and let it run. When I woke up this morning the spam box was in my webmail with messages in it. It will automatically Create it. On Tue, 2006-10-31 at 12:28 +0800, Ho wrote: Dear Sir, I have install it and a check box in the qmail admin page of each account. I want to know that how the spam mail filter working, and how to test it? Thanks Ho Kyle Quillen wrote: How do I set that to look at all mail boxes would it be like this? #!/bin/sh find /home/vpopmail/domains/v2gnu.com/*/Maildir/cur/* -mtime +3 -exec rm -rf {} \; find /home/vpopmail/domains/v2gnu.com/*/Maildir/new/* -mtime +3 -exec rm -rf {} \; How about something like this: #!/bin/sh locate Spam/ | grep -v S= | grep \/cur | uniq /var/qmail/spam-folders # moving to spam-clean file # note: mtime is for how many days to leave the messages on the server cat /var/qmail/spam-folders | awk '{print find $0/ -type f -mtime 5 -exec rm -v {} \\; };{ };{next}' /var/qmail/spam-clean sh /var/qmail/spam-clean That's a quickly modified script that George had sent me a while back. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] New Mailfilter
Where is the spam box? I cannot see that. Ho Kyle Quillen wrote: Ho, I ran the install with mine and let it run. When I woke up this morning the spam box was in my webmail with messages in it. It will automatically Create it. On Tue, 2006-10-31 at 12:28 +0800, Ho wrote: Dear Sir, I have install it and a check box in the qmail admin page of each account. I want to know that how the spam mail filter working, and how to test it? Thanks Ho Kyle Quillen wrote: How do I set that to look at all mail boxes would it be like this? #!/bin/sh find /home/vpopmail/domains/v2gnu.com/*/Maildir/cur/* -mtime +3 -exec rm -rf {} \; find /home/vpopmail/domains/v2gnu.com/*/Maildir/new/* -mtime +3 -exec rm -rf {} \; How about something like this: #!/bin/sh locate Spam/ | grep -v S= | grep \/cur | uniq /var/qmail/spam-folders # moving to spam-clean file # note: mtime is for how many days to leave the messages on the server cat /var/qmail/spam-folders | awk '{print "find "$0"/ -type f -mtime 5 -exec rm -v {} \\; " };{ };{next}' /var/qmail/spam-clean sh /var/qmail/spam-clean That's a quickly modified script that George had sent me a while back. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] Dspam on the toaster
Hey Lee, With your setup, does it allow pop3 clients to download less spam? Just wondering as this would be an easier approach considering you could filter mail marked as spam into a mail folder and train Dspam that way. If so care to share? -Original Message- From: Lee R. Copp [mailto:[EMAIL PROTECTED] Sent: Tuesday, 31 October 2006 10:53 a.m. To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Dspam on the toaster Eric Shubes wrote: the administration CGI scripts (if you intend to run the CGI scripts). This was wholly an apache suexec issue more than a DSpam one. Hey Lee, what do you know about this problem? (Please see Rangi's earlier post) Did you come across this problem? Solution? I ignored the admin cgi scripts since I only used IMAP folders for training...much easier than another website to click around for my users. -- Lee R. Copp Project Engineer (EE/ME) http://www.michsci.com/ - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.18/506 - Release Date: 30/10/2006 - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] Problems with PDF and XLS
Thanks for the ideas - I have hashed out the top 2 in the badloadertype, and have reinstated the badmimetype, and will see how it runs.Jake Vickers [EMAIL PROTECTED] wrote: Shelly wrote: Hi, my users are complaining of not being able to receive some PDF's or XLS files. I have tried removing the MIME from badmime types and rebuilding the database, however this and even hashing out all the different MIME types still does not allow the files to come through. The strange thing is this only happens occasionally, and is pretty random. Am I missing something? Can anyone suggest anywhere else this may be occuring?Id really like to restore the MIME database back to its original form, to block zips and so forth.Look at the badloadertypes file. The first 2 entries in there gave me false positives on PDF files (the second one), and the first one gave me false positive on ZIP files created with Winzip containing Peachtree data. The problem with badlosertypes is that the hash in there can match ANY portion of the MIME (attachment). Not just the first few chars.- QmailToaster hosted by: VR Hosted -To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Send instant messages to your online friends http://au.messenger.yahoo.com