Re: [qmailtoaster] Re: vpopmail to old
here is a patch for vpopmail 5.5.0 spec based on 4.5.17 build (it needs backend cleanup if you only want to compile it on other system) --- vpopmail-toaster.spec.old 2009-06-12 05:38:38.0 +0300 +++ vpopmail-toaster.spec 2010-07-28 12:41:55.0 +0300 @@ -1,7 +1,7 @@ %definename vpopmail -%definepversion 5.4.17 +%definepversion 5.5.0 %definebversion 1.3 -%definerpmrelease 7 +%definerpmrelease 1 # INSTRUCTIONS!!! - READ THEM!!! # @@ -568,7 +568,7 @@ It handles 10 to 10 million users, and over 500K domains. - vpopmail 5.4.17 + vpopmail 5.5.0 Current settings --- @@ -686,10 +686,11 @@ # Run configure to create makefile # + ./configure --prefix=%{vdir} \ - --enable-vpopuser=vpopmail \ - --enable-vpopgroup=vchkpw \ - --enable-libdir=%{mylibdir} \ + --with-vpopuser=vpopmail \ + --with-vpopgroup=vchkpw \ + --libdir=%{mylibdir} \ --disable-roaming-users \ --enable-tcprules-prog=/usr/bin/tcprules \ --enable-tcpserver-file=/etc/tcprules.d/tcp.smtp \ @@ -698,15 +699,20 @@ --disable-users-big-dir \ --enable-qmail-ext \ --disable-ip-alias-domains \ - --enable-auth-module=mysql \ --disable-passwd \ --enable-logging=v \ - --enable-log-name=vpopmail \ - --disable-mysql-limits \ - --enable-valias \ - --disable-many-domains + --enable-log-name=vpopmail +make +echo mysql.. +cd backends/mysql +./configure --enable-libdir=%{mylibdir} \ + --disable-many-domains \ + --enable-valias \ + --enable-auth-logging \ + --disable-mysql-limits make + # Delete gcc temp file # [ -f %{_tmppath}/%{name}-%{pversion}-gcc ] rm -f %{_tmppath}/%{name}-%{pversion}-gcc @@ -715,24 +721,39 @@ # %install # +cd backends/mysql +mkdir -p %{buildroot}%{mylibdir} +mkdir -p %{buildroot}%{vdir}/etc/vpopmail +make DESTDIR=%{buildroot} install +make install + +rm -f %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule +ln -s %{mylibdir}/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule +cd ../.. make DESTDIR=%{buildroot} install-strip # Set defaults for vpopmail mysql # -mv %{buildroot}%{vdir}/etc/vpopmail.mysql %{buildroot}%{vdir}/etc/vpopmail.mysql.dist -echo localhost|0|vpopmail|SsEeCcRrEeTt|vpopmail %{buildroot}%{vdir}/etc/vpopmail.mysql + +mv %{buildroot}%{vdir}/etc/vpopmail/vpopmail.mysql %{buildroot}%{vdir}/etc/vpopmail/vpopmail.mysql.dist +echo localhost|0|vpopmail|SsEeCcRrEeTt|vpopmail %{buildroot}%{vdir}/etc/vpopmail/vpopmail.mysql # Install domain quota messages # +mkdir -p %{buildroot}%{vdir}/domains/ for i in overquota.msg quotawarn.msg; do - install $i %{buildroot}%{vdir}/domains + install $i %{buildroot}%{vdir}/domains/ done mv %{buildroot}%{vdir}/domains/overquota.msg %{buildroot}%{vdir}/domains/.overquota.msg mv %{buildroot}%{vdir}/domains/quotawarn.msg %{buildroot}%{vdir}/domains/.quotawarn.msg +mkdir -p %{buildroot}%{vdir}/doc/ +cp -a doc/doc_html %{buildroot}%{vdir}/doc/ +cp -a doc/man_html %{buildroot}%{vdir}/doc/ + # %pre @@ -783,20 +804,22 @@ %attr(0755,vpopmail,vchkpw) %dir %{vdir}/bin %attr(0755,vpopmail,vchkpw) %dir %{vdir}/etc %attr(0755,vpopmail,vchkpw) %dir %{vdir}/include -%attr(0755,vpopmail,vchkpw) %dir %{vdir}/lib +#%attr(0755,vpopmail,vchkpw) %dir %{vdir}/lib %attr(0700,vpopmail,vchkpw) %dir %{vdir}/domains %attr(0751,vpopmail,vchkpw) %{vdir}/bin/* %attr(0644,vpopmail,vchkpw) %{vdir}/domains/.quotawarn.msg %attr(0644,vpopmail,vchkpw) %{vdir}/domains/.overquota.msg -%attr(0644,vpopmail,vchkpw) %{vdir}/etc/inc_deps -%attr(0644,vpopmail,vchkpw) %{vdir}/etc/lib_deps -%attr(0644,vpopmail,vchkpw) %config(noreplace) %{vdir}/etc/vlimits.default -%attr(0644,vpopmail,vchkpw) %config(noreplace) %{vdir}/etc/vpopmail.mysql -%attr(0644,vpopmail,vchkpw) %{vdir}/etc/vpopmail.mysql.dist -%attr(0444,vpopmail,vchkpw) %{vdir}/include/* -%attr(0600,vpopmail,vchkpw) %{vdir}/lib/* - +%attr(0644,vpopmail,vchkpw) %{vdir}/etc/vpopmail/inc_deps +%attr(0644,vpopmail,vchkpw) %{vdir}/etc/vpopmail/lib_deps +%attr(0644,vpopmail,vchkpw) %{vdir}/etc/vpopmail/vpopmail.authmodule +%attr(0644,vpopmail,vchkpw) %config(noreplace) %{vdir}/etc/vpopmail/vlimits.default
Re: [qmailtoaster] Re: vpopmail to old
On 07/28/2010 05:44 AM, Lucian Cristian wrote: here is a patch for vpopmail 5.5.0 spec based on 4.5.17 build (it needs backend cleanup if you only want to compile it on other system) Thanks Lucian - I have not gotten to vpopmail yet on v2, but this will save me time, as well as help out those who want to upgrade to the newer version. - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Re: vpopmail to old
Dnia 2010-07-28, śro o godzinie 12:44 +0300, Lucian Cristian pisze: +mkdir -p %{buildroot}%{mylibdir} +mkdir -p %{buildroot}%{vdir}/etc/vpopmail +make DESTDIR=%{buildroot} install +make install + +rm -f %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule +ln -s %{mylibdir}/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule Oh thanks. :) IMO vmysql.so is installed in %{vdir}/lib so should be: mkdir -p %{buildroot}%{vdir}/lib and ln -s %{vdir}/lib/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule and in section %files something like: %attr(0755,vpopmail,vchkpw) %dir %{vdir}/lib %attr(0751,vpopmail,vchkpw) %{vdir}/lib/*.so You shouldn't use configure option prefix. Using this option implicate in this version non standard vpopmail directories. One make install line in your patch is danger. It causes installation of files in real directories, not in buildroot directory! I attached my patch, not all tested! -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 --- vpopmail-toaster.spec.old 2009-06-12 04:38:00.0 +0200 +++ vpopmail-toaster.spec 2010-07-28 16:35:27.0 +0200 @@ -1,7 +1,7 @@ %define name vpopmail -%define pversion 5.4.17 +%define pversion 5.5.0 %define bversion 1.3 -%define rpmrelease 7 +%define rpmrelease 1 # INSTRUCTIONS!!! - READ THEM!!! # @@ -568,11 +568,15 @@ It handles 10 to 10 million users, and over 500K domains. - vpopmail 5.4.17 + vpopmail 5.5.0 Current settings --- -vpopmail directory = /home/vpopmail + domains directory = /home/vpopmail/domains +conf directory = /home/vpopmail/etc + bin directory = /home/vpopmail/bin + lib directory = /home/vpopmail/lib + include directory = /home/vpopmail/include uid = 89 gid = 89 roaming users = OFF --disable-roaming-users (default) @@ -585,19 +589,12 @@ user dir hashing = OFF --disable-users-big-dir address extensions = ON --enable-qmail-ext ip alias = OFF --disable-ip-alias-domains (default) - auth module = mysql --enable-auth-module=mysql - mysql replication = OFF --disable-mysql-replication (default) - sql logging = OFF --disable-sql-logging (default) - mysql limits = OFF --disable-mysql-limits (default) - MySQL valias = ON --enable-valias - auth inc = -I/usr/include/mysql - auth lib = -L/usr/lib64/mysql -lmysqlclient -lz -lm + onchange script = OFF --disable-onchange-script (default) + domain quotas = ON --enable-domainquotas (default) system passwords = OFF --disable-passwd (default) -pop syslog = log success and errors including passwords - --enable-logging=v - auth logging = ON --enable-auth-logging (default) -one domain per SQL table = --disable-many-domains - +pop syslog = log success and errors including passwords --enable-logging=v + spamassassin = OFF --disable-spamassassin (default) + maildrop = OFF --disable-maildrop (default) # @@ -686,10 +683,8 @@ # Run configure to create makefile # -./configure --prefix=%{vdir} \ - --enable-vpopuser=vpopmail \ - --enable-vpopgroup=vchkpw \ - --enable-libdir=%{mylibdir} \ +./configure --with-vpopuser=vpopmail \ + --with-vpopgroup=vchkpw \ --disable-roaming-users \ --enable-tcprules-prog=/usr/bin/tcprules \ --enable-tcpserver-file=/etc/tcprules.d/tcp.smtp \ @@ -698,13 +693,17 @@ --disable-users-big-dir \ --enable-qmail-ext \ --disable-ip-alias-domains \ - --enable-auth-module=mysql \ --disable-passwd \ --enable-logging=v \ - --enable-log-name=vpopmail \ - --disable-mysql-limits \ - --enable-valias \ - --disable-many-domains + --enable-log-name=vpopmail +make +echo mysql.. +cd backends/mysql +./configure --enable-libdir=%{mylibdir} \ + --disable-many-domains \ + --enable-valias \ + --enable-auth-logging \ + --disable-mysql-limits make # Delete gcc temp file @@ -715,24 +714,38 @@ # %install # +cd backends/mysql +mkdir -p %{buildroot}%{vdir}/lib +mkdir -p %{buildroot}%{vdir}/etc +make DESTDIR=%{buildroot} install + +rm -f %{buildroot}%{vdir}/etc/vpopmail.authmodule +ln -s %{vdir}/lib/vmysql.so %{buildroot}%{vdir}/etc/vpopmail.authmodule +cd ../.. make DESTDIR=%{buildroot} install-strip # Set defaults for vpopmail mysql # + mv %{buildroot}%{vdir}/etc/vpopmail.mysql %{buildroot}%{vdir}/etc/vpopmail.mysql.dist echo
Re: [qmailtoaster] Re: vpopmail to old
Dnia 2010-07-28, śro o godzinie 16:38 +0200, Aleksander Podsiadły pisze: ln -s %{vdir}/lib/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule Should be without vpopmail/ like in my patch. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Re: vpopmail to old
about that real install I was talking when I spoken about backend cleanup, if the files are not found in the mentioned place, vpopmail will complain that no backend is installed, of course there may be a workaround like qmail fake install.. Regards Lucian On 28.07.2010 17:38, Aleksander Podsiadły wrote: Dnia 2010-07-28, śro o godzinie 12:44 +0300, Lucian Cristian pisze: +mkdir -p %{buildroot}%{mylibdir} +mkdir -p %{buildroot}%{vdir}/etc/vpopmail +make DESTDIR=%{buildroot} install +make install + +rm -f %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule +ln -s %{mylibdir}/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule Oh thanks. :) IMO vmysql.so is installed in %{vdir}/lib so should be: mkdir -p %{buildroot}%{vdir}/lib and ln -s %{vdir}/lib/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule and in section %files something like: %attr(0755,vpopmail,vchkpw) %dir %{vdir}/lib %attr(0751,vpopmail,vchkpw) %{vdir}/lib/*.so You shouldn't use configure option prefix. Using this option implicate in this version non standard vpopmail directories. One make install line in your patch is danger. It causes installation of files in real directories, not in buildroot directory! I attached my patch, not all tested! - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] Re: vpopmail to old
I'm thrilled to see Aleksander and Lucian working this out. Can we take this to the devel list? ;) Lucian Cristian wrote: about that real install I was talking when I spoken about backend cleanup, if the files are not found in the mentioned place, vpopmail will complain that no backend is installed, of course there may be a workaround like qmail fake install.. Regards Lucian On 28.07.2010 17:38, Aleksander Podsiadły wrote: Dnia 2010-07-28, śro o godzinie 12:44 +0300, Lucian Cristian pisze: +mkdir -p %{buildroot}%{mylibdir} +mkdir -p %{buildroot}%{vdir}/etc/vpopmail +make DESTDIR=%{buildroot} install +make install + +rm -f %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule +ln -s %{mylibdir}/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule Oh thanks. :) IMO vmysql.so is installed in %{vdir}/lib so should be: mkdir -p %{buildroot}%{vdir}/lib and ln -s %{vdir}/lib/vmysql.so %{buildroot}%{vdir}/etc/vpopmail/vpopmail.authmodule and in section %files something like: %attr(0755,vpopmail,vchkpw) %dir %{vdir}/lib %attr(0751,vpopmail,vchkpw) %{vdir}/lib/*.so You shouldn't use configure option prefix. Using this option implicate in this version non standard vpopmail directories. One make install line in your patch is danger. It causes installation of files in real directories, not in buildroot directory! I attached my patch, not all tested! - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! -- -Eric 'shubes' - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Re: vpopmail to old
Dnia 2010-07-28, śro o godzinie 10:28 -0700, Eric Shubert pisze: I'm thrilled to see Aleksander and Lucian working this out. Can we take this to the devel list? ;) Yes, you can. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
RE: [qmailtoaster] Spambox troubles
Once an email gets marked as spam and placed in the .spam box, what must one do to move it out so it stays in the Inbox? The only thing I can do is move the mail to another folder, but my users use POP3 and really don't want to use the webmailer. (I'm hoping to bypass alot of this when I deploy a new server and migrate everyone (without the spam rules etc) to the new system.) Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 From: Toma Bogdan [mailto:tbog...@direkt.ro] Sent: Friday, July 23, 2010 1:44 AM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Spambox troubles On 23/07/2010 3:13 AM, Patrick Ring wrote: OK. I deleted the .qmail file from all accounts. As well, I reset the spamassassin database using sudo -H -u vpopmail sa-learn --clear I followed this with a qmailctl restart I am still getting a huge amount of false positives, and it is still dropping the ***SPAM*** marked emails into the .Spam box. Once messages are in there, it seems to be impossible to get them back into the inbox (and stay there). Any advice? Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 From: Jake Vickers [mailto:j...@qmailtoaster.com] Sent: Wednesday, July 21, 2010 1:34 AM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Spambox troubles On 07/20/2010 05:54 PM, Patrick Ring wrote: I've been running the Spambox on my qmt for quite some time now. However, lately I'm getting a huge amount of false positives, and it's a pain trying to educate the users about how to use the Spam (or .Spam) folder. Is there any (simple) way to turn it off? In the reading I've done, the only thing I can find is to recompile/rebuild a package or two with the spambox 0 defined. I've also read it has something to do with the .qmail file found in each users' account. Can anyone point me to some enlightenment about this? If you are getting false positives, check the message headers. I'll bet your bayes DB has been tainted with legitimate messages that were marked as spam, which will have a snowball effect. You'll see legitimate messages hitting the bayes score categories. Basically when the spambox is enabled for a user, after all the spam scans are done the message gets passed to the /etc/mail/mailfilter script (maildrop). If the message has a spam score in the headers that is greater than 7 (I think this is the default now) then it gets sent to the Spam folder and also sent to sa-learn so that spamassassin can analyze it and learn to identify messages like it as spam more efficiently. So if a legitimate message gets sent to sa-learn as spam, spamassassin will be tainted - this will have a snowball effect. When you enable the spambox for users, it creates a .qmail file in the user's maildir. This tells it to pass the messages to the mailfilter script before delivery. You have a couple ways to fix this: Delete the bayes DB and start over. You may see an increase in spam initially until spamassassin can learn again (brain-wipe it), but this is usually preferable to false-positives. Disable the spambox by recompiling qmailadmin-toaster to disable the option - this will not REMOVE it for those that already have the .qmail file - it will only prevent people from turning the option on. You will then need to go and delete the .qmail files for the users to actually disable it for users. Delete the bayes DB, starting over like before, and adjust the mailfilter script to fit your environment a little better. Write a spamassassin rule that adds a negative score for things that you identify as legitimate message contents - eventually this will counter the tainted bayes, but it will take a LONG time. After checking the headers and seeing the BAYES_99 category, change it's score. This can be used in conjunction with some of the options above. Hope that helps some. try sa-update then restart qmail -- T.Bogdan http://www.direkt.ro --
[qmailtoaster] Re: Spambox troubles
Patrick Ring wrote: Once an email gets marked as spam and placed in the .spam box, what must one do to move it out so it stays in the Inbox? The simplest way is to use squirrelmail/webmail (imap). The spambox feature isn't intended to be used with pop3. It's a feature that works well with imap. I'm not sure why you ask so it stays. I don't know why it wouldn't stay where it's put. Have you observed otherwise? The only thing I can do is move the mail to another folder, but my users use POP3 and really don't want to use the webmailer. They could use any client program configured with their account as imap. (I'm hoping to bypass alot of this when I deploy a new server and migrate everyone (without the spam rules etc) to the new system.) Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 *From:* Toma Bogdan [mailto:tbog...@direkt.ro] *Sent:* Friday, July 23, 2010 1:44 AM *To:* qmailtoaster-list@qmailtoaster.com *Subject:* Re: [qmailtoaster] Spambox troubles On 23/07/2010 3:13 AM, Patrick Ring wrote: OK. I deleted the .qmail file from all accounts. As well, I reset the spamassassin database using sudo -H -u vpopmail sa-learn --clear I followed this with a qmailctl restart I am still getting a huge amount of false positives, and it is still dropping the ***SPAM*** marked emails into the .Spam box. Once messages are in there, it seems to be impossible to get them back into the inbox (and stay there). Any advice? Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 *From:* Jake Vickers [mailto:j...@qmailtoaster.com] *Sent:* Wednesday, July 21, 2010 1:34 AM *To:* qmailtoaster-list@qmailtoaster.com *Subject:* Re: [qmailtoaster] Spambox troubles On 07/20/2010 05:54 PM, Patrick Ring wrote: I've been running the Spambox on my qmt for quite some time now. However, lately I'm getting a huge amount of false positives, and it's a pain trying to educate the users about how to use the Spam (or .Spam) folder. Is there any (simple) way to turn it off? In the reading I've done, the only thing I can find is to recompile/rebuild a package or two with the spambox 0 defined. I've also read it has something to do with the .qmail file found in each users' account. Can anyone point me to some enlightenment about this? If you are getting false positives, check the message headers. I'll bet your bayes DB has been tainted with legitimate messages that were marked as spam, which will have a snowball effect. You'll see legitimate messages hitting the bayes score categories. Basically when the spambox is enabled for a user, after all the spam scans are done the message gets passed to the /etc/mail/mailfilter script (maildrop). If the message has a spam score in the headers that is greater than 7 (I think this is the default now) then it gets sent to the Spam folder and also sent to sa-learn so that spamassassin can analyze it and learn to identify messages like it as spam more efficiently. So if a legitimate message gets sent to sa-learn as spam, spamassassin will be tainted - this will have a snowball effect. When you enable the spambox for users, it creates a .qmail file in the user's maildir. This tells it to pass the messages to the mailfilter script before delivery. You have a couple ways to fix this: Delete the bayes DB and start over. You may see an increase in spam initially until spamassassin can learn again (brain-wipe it), but this is usually preferable to false-positives. Disable the spambox by recompiling qmailadmin-toaster to disable the option - this will not REMOVE it for those that already have the .qmail file - it will only prevent people from turning the option on. You will then need to go and delete the .qmail files for the users to actually disable it for users. Delete the bayes DB, starting over like before, and adjust the mailfilter script to fit your environment a little better. Write a spamassassin rule that adds a negative score for things that you identify as legitimate message contents - eventually this will counter the tainted bayes, but it will take a LONG time. After checking the headers and seeing the BAYES_99 category, change it's score. This can be used in conjunction with some of the options above. Hope that helps some. try sa-update then restart qmail -- T.Bogdan http://www.direkt.ro -- -- -Eric 'shubes' - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today!
RE: [qmailtoaster] Re: Spambox troubles
I said so it stays because I have been trying to use the Squirrelmail Move function to move the messages into the Inbox. However, it looks like they've moved, but when you check the Inbox the message(s) is/are not there. Clicking back on the Spam folder reveals they are right back there. I can move the marked messages to any other folder except the Spam folder. Any ideas? As for IMAP, it seems to confuse the end users when it is time to delete messages. Outlook and Outlook Express just strike them out, and then the user has to find the Purge function in a drop menu. I'm working on educating them, but most of them are not young and computer savvy. ;-) Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 -Original Message- From: Eric Shubert [mailto:e...@shubes.net] Sent: Wednesday, July 28, 2010 5:31 PM To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Re: Spambox troubles Patrick Ring wrote: Once an email gets marked as spam and placed in the .spam box, what must one do to move it out so it stays in the Inbox? The simplest way is to use squirrelmail/webmail (imap). The spambox feature isn't intended to be used with pop3. It's a feature that works well with imap. I'm not sure why you ask so it stays. I don't know why it wouldn't stay where it's put. Have you observed otherwise? The only thing I can do is move the mail to another folder, but my users use POP3 and really don't want to use the webmailer. They could use any client program configured with their account as imap. (I'm hoping to bypass alot of this when I deploy a new server and migrate everyone (without the spam rules etc) to the new system.) Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 -- -- *From:* Toma Bogdan [mailto:tbog...@direkt.ro] *Sent:* Friday, July 23, 2010 1:44 AM *To:* qmailtoaster-list@qmailtoaster.com *Subject:* Re: [qmailtoaster] Spambox troubles On 23/07/2010 3:13 AM, Patrick Ring wrote: OK. I deleted the .qmail file from all accounts. As well, I reset the spamassassin database using sudo -H -u vpopmail sa-learn --clear I followed this with a qmailctl restart I am still getting a huge amount of false positives, and it is still dropping the ***SPAM*** marked emails into the .Spam box. Once messages are in there, it seems to be impossible to get them back into the inbox (and stay there). Any advice? Thank you, Patrick M. Ring P. Ring Technologies Louisiana Web Host, LLC. 985-868-4200 - --- *From:* Jake Vickers [mailto:j...@qmailtoaster.com] *Sent:* Wednesday, July 21, 2010 1:34 AM *To:* qmailtoaster-list@qmailtoaster.com *Subject:* Re: [qmailtoaster] Spambox troubles On 07/20/2010 05:54 PM, Patrick Ring wrote: I've been running the Spambox on my qmt for quite some time now. However, lately I'm getting a huge amount of false positives, and it's a pain trying to educate the users about how to use the Spam (or .Spam) folder. Is there any (simple) way to turn it off? In the reading I've done, the only thing I can find is to recompile/rebuild a package or two with the spambox 0 defined. I've also read it has something to do with the .qmail file found in each users' account. Can anyone point me to some enlightenment about this? If you are getting false positives, check the message headers. I'll bet your bayes DB has been tainted with legitimate messages that were marked as spam, which will have a snowball effect. You'll see legitimate messages hitting the bayes score categories. Basically when the spambox is enabled for a user, after all the spam scans are done the message gets passed to the /etc/mail/mailfilter script (maildrop). If the message has a spam score in the headers that is greater than 7 (I think this is the default now) then it gets sent to the Spam folder and also sent to sa-learn so that spamassassin can analyze it and learn to identify messages like it as spam more efficiently. So if a legitimate message gets sent to sa-learn as spam, spamassassin will be tainted - this will have a snowball effect. When you enable the spambox for users, it creates a .qmail file in the user's maildir. This tells it to pass the messages to the mailfilter script before delivery. You have a couple ways to fix this: Delete the bayes DB and start over. You may see an increase in spam initially until spamassassin can learn again (brain-wipe it), but this is usually preferable to false-positives. Disable the spambox by recompiling qmailadmin-toaster to disable the option - this will not REMOVE it for those that already have the .qmail file - it will only prevent people from turning the option on. You will then need to go and delete the .qmail files for the users to
[qmailtoaster] Re: Spambox troubles
Patrick Ring wrote: I said so it stays because I have been trying to use the Squirrelmail Move function to move the messages into the Inbox. However, it looks like they've moved, but when you check the Inbox the message(s) is/are not there. Clicking back on the Spam folder reveals they are right back there. I can move the marked messages to any other folder except the Spam folder. Any ideas? My understanding is that messages are only moved to the spambox upon delivery. My guess is that somehow SM (or the underlying IMAP server) isn't updating the folder views properly. Which IMAP client are you running? As for IMAP, it seems to confuse the end users when it is time to delete messages. Outlook and Outlook Express just strike them out, and then the user has to find the Purge function in a drop menu. I'm working on educating them, but most of them are not young and computer savvy. ;-) I knew that Outlook did that, but wasn't aware of OE doing so. The newer Win7 mail program (OE equivalent on Win7) handles imap in a better fashion (like you'd expect it to). Of course TBird also handles imap well. I encourage users to use something other than Outlook when they're not using features that require it (most users use it only for email). Outlook'03 is particularly troublesome, given its 2G .pst file limit and the fact that it stores all imap messages in the pst file even though they're on the server as well. Outlook'07 behaves a bit better in this regard (you can purge automatically, and full messages aren't stored in the pst), but it still has limitations, as well as having to compress the pst file occasionally. Not very user friendly. FWIW, you can change the view in Outlook so that it doesn't show the striked-out messages. They still need to be purged, but it appears like they go away. Also, they don't go into the 'deleted items' folder as you'd expect. I actually had a user that was using the 'deleted items' folder as a normal file for archiving! (What part of DELETED do you not understand?) I'm not yet aware of a good cure for Outlook users. :( I imagine that there would be a lot fewer of them if they understood how easily their pst file could become corrupt, and they'd lose all of their email and contacts and calendar information. Sometimes scaring them into switching works. -- -Eric 'shubes' - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com