Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
I'm running CentOS 5.8 (32 Bit) with 100GB HD and 2GB ram (virtual server) which is running off a CentOS 5.7 (64bit) with 16GB (if this information is needed). I followed David's advice and checked the spamd log, which I did the following command: tail -f /var/log/qmail/spamd/current I found the following messages repeating: @40004fe869b205191b6c [25773] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe869b205192724 spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe869b205192ef4 [25775] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe869b305979654 [25775] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use Looked up the solution and found that one person just rebooted their mail server and it resolved their issue, therefore I attempted the same thing. used the same command to view the spamd log and here are the results (with no repeats): @40004fe86b3129758c5c [26366] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b3238500dc4 [26366] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b323850197c spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b323850214c [26378] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b3338f7cb2c [26378] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86baf0e8a119c [1775] info: spamd: server started on port 783/tcp (running version 3.2.5) @40004fe86baf0e8a213c [1775] info: spamd: server pid: 1775 @40004fe86baf0e8a2524 [1775] info: spamd: server successfully spawned child process, pid 2080 @40004fe86baf0e8a2cf4 [1775] info: spamd: server successfully spawned child process, pid 2081 @40004fe86baf0e8a30dc [1775] info: prefork: child states: II so I attempted to create a new user on the domain again with the same criteria described in previous emails and still no Spam folder being created. I also attempted changing my softlimit from 2000 (defaulted) to 8000 in the following file: /var/qmail/supervise/smtp/run Did the normal commands: #qmailctl stop #qmailctl cdb #qmailctl start I even rebooted the server, but the still no Spam folder. I'm always find the oddest issues. Does anyone know what the softlimit should be set to? On Mon, Jun 25, 2012 at 12:11 AM, dav...@ntcb.com wrote: #qmail-spam status returns : /var/qmail/supervise/spamd: up (pid 18142) 2 seconds /var/qmail/supervise/spamd/log: up (pid 6209) 10453 seconds looks like spamd is a problem...check that log for clues. 32 or 64 bit? search the archives...may need to raise the softlimt on that process...anyone else care to chime in? i'm tapping out, i am a lightweight. good luck! david - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
I could be wrong, but IIRC it doesn't create a SPAM folder until it receives SPAM. Maybe someone else can chin=me in if this is correct. On 06/25/2012 07:15 AM, Peter R Stanley wrote: I'm running CentOS 5.8 (32 Bit) with 100GB HD and 2GB ram (virtual server) which is running off a CentOS 5.7 (64bit) with 16GB (if this information is needed). I followed David's advice and checked the spamd log, which I did the following command: tail -f /var/log/qmail/spamd/current I found the following messages repeating: @40004fe869b205191b6c [25773] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe869b205192724 spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe869b205192ef4 [25775] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe869b305979654 [25775] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use Looked up the solution and found that one person just rebooted their mail server and it resolved their issue, therefore I attempted the same thing. used the same command to view the spamd log and here are the results (with no repeats): @40004fe86b3129758c5c [26366] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b3238500dc4 [26366] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b323850197c spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b323850214c [26378] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86b3338f7cb2c [26378] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use @40004fe86baf0e8a119c [1775] info: spamd: server started on port 783/tcp (running version 3.2.5) @40004fe86baf0e8a213c [1775] info: spamd: server pid: 1775 @40004fe86baf0e8a2524 [1775] info: spamd: server successfully spawned child process, pid 2080 @40004fe86baf0e8a2cf4 [1775] info: spamd: server successfully spawned child process, pid 2081 @40004fe86baf0e8a30dc [1775] info: prefork: child states: II so I attempted to create a new user on the domain again with the same criteria described in previous emails and still no Spam folder being created. I also attempted changing my softlimit from 2000 (defaulted) to 8000 in the following file: /var/qmail/supervise/smtp/run Did the normal commands: #qmailctl stop #qmailctl cdb #qmailctl start I even rebooted the server, but the still no Spam folder. I'm always find the oddest issues. Does anyone know what the softlimit should be set to? On Mon, Jun 25, 2012 at 12:11 AM, dav...@ntcb.com wrote: #qmail-spam status returns : /var/qmail/supervise/spamd: up (pid 18142) 2 seconds /var/qmail/supervise/spamd/log: up (pid 6209) 10453 seconds looks like spamd is a problem...check that log for clues. 32 or 64 bit? search the archives...may need to raise the softlimt on that process...anyone else care to chime in? i'm tapping out, i am a lightweight. good luck! david - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com --
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
On 6/25/2012 9:15 AM, Peter R Stanley wrote: I'm running CentOS 5.8 (32 Bit) with 100GB HD and 2GB ram (virtual server) which is running off a CentOS 5.7 (64bit) with 16GB (if this information is needed). good news for you. i hadn't noticed the spambox option was missing from qmailadmin on my server. so i rebuilt the qmailadmin package using the 'echo blah' method and qmail toaster plus newmodel, and for giggles i added the maildrop package to be rebuilt at the same time. then i relaxed some settings on spamdyke that i know will allow spam through. voila, the spam folder was created and mail marked spam was deposited in the newly created spam folder. don't sweat the softlimits anymore, as i was guessing that might have been the reason spamd may have been having issues. softlimits was the solution to an issue with 64 bit something or another i remember from the mail archive. - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
I followed Dave's suggestion of adding the maildrop-toaster in the rebuild (using qtp-newmodel). Unfortunately, I do not see the Spam folder get generated, maybe due to the fact I do not have any emails marked as spam? In regards to Eric's advice: Thank you for the insight of improving the email server's security. I'll definitely try that out. So, I have to (somehow) send a spam email to my new account to get the spam folder generated. [ SUGGESTION FROM PREVIOUS EMAIL ] The 1st line here is for SquirrelMail's benefit. It's allowing SM to relay (IOW send with no authentication) because of the way that SM is configured. If you add: $smtpServerAddress = 'localhost'; $smtpPort = 587; $smtp_auth_mech = 'login'; to your /etc/squirrelmail/config_**local.php file, then you can remove the 127. line from the tcp.smtp file. This is a bit more secure, provides better logging of submissions, and is a bit simpler (imo). I expect we'll be making this change in the stock configuration at some point. That isn't the issue here though (someone might find it useful). [ END SUGGESTION ] Does anyone have suggestions how to do this (sorry if this is a dumb question)? I've tried taking spam email (marked from another email server using qmailrocks setup and Spam Assassin install) and the server will not even scan when I send it from Qmail. So I tried from my other account (which simscan did scan) but did not mark it as spam. Any solutions? On Mon, Jun 25, 2012 at 4:06 PM, David Good dav...@ntcb.com wrote: On 6/25/2012 9:15 AM, Peter R Stanley wrote: I'm running CentOS 5.8 (32 Bit) with 100GB HD and 2GB ram (virtual server) which is running off a CentOS 5.7 (64bit) with 16GB (if this information is needed). good news for you. i hadn't noticed the spambox option was missing from qmailadmin on my server. so i rebuilt the qmailadmin package using the 'echo blah' method and qmail toaster plus newmodel, and for giggles i added the maildrop package to be rebuilt at the same time. then i relaxed some settings on spamdyke that i know will allow spam through. voila, the spam folder was created and mail marked spam was deposited in the newly created spam folder. don't sweat the softlimits anymore, as i was guessing that might have been the reason spamd may have been having issues. softlimits was the solution to an issue with 64 bit something or another i remember from the mail archive. --**--**- To unsubscribe, e-mail: qmailtoaster-list-unsubscribe@**qmailtoaster.comqmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-help@**qmailtoaster.comqmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
On 06/24/2012 07:08 PM, Peter R Stanley wrote: Hey everyone, I've used the QmailToaster installation package to install Qmail onto a server currently running Cent OS 5.8. I was able to get the system properly installed and running. I added the QmailToaster-Plus to the system for additional functionality. I want to add the Spam folder to my system. I followed the steps listed in the Wiki for QmailToaster, but after completing the steps, the folder is still not available. The following link is what I used from the Wiki page:http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin. I've tried all the steps several times, but the Spam folder is not showing on the Squirrel Mail web client. Here are the current version of the packages installed on the server: daemontools-toaster-0.76-1.3.6 libsrs2-toaster-1.0.18-1.3.6 courier-authlib-toaster-0.59.2-1.3.10 ezmlm-toaster-0.53.324-1.3.6 maildrop-toaster-2.0.3-1.3.8 squirrelmail-toaster-1.4.20-1.3.17 simscan-toaster-1.4.0-1.3.8 qmailadmin-toaster-1.2.15-1.3.9 ucspi-tcp-toaster-0.88-1.3.9 libdomainkeys-toaster-0.68-1.3.6 qmail-toaster-1.03-1.3.22 qmail-pop3d-toaster-1.03-1.3.22 courier-imap-toaster-4.1.2-1.3.10 control-panel-toaster-0.5-1.3.7 ezmlm-cgi-toaster-0.53.324-1.3.6 qmailmrtg-toaster-4.2-1.3.6 vqadmin-toaster-2.3.4-1.3.6 spamassassin-toaster-3.2.5-1.3.17 ripmime-toaster-1.4.0.6-1.3.6 vpopmail-toaster-5.4.17-1.3.7 autorespond-toaster-2.0.4-1.3.6 isoqlog-toaster-2.1-1.3.7 clamav-toaster-0.97.4-1.4.0 If someone could help me out, that would be great. The spam detection box is in your Qmailadmin ie http://www.example.com/qmailadmin You may have to subscribe to that folder if you're using IMAP. I don't use Squirrelmail so I don't know how to subscribe to a folder in that application. A quick Google search might yield what you're looking for (squirrelmail folder subscripiton) --
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
Thank you for the prompt response. In qmailadmin, I do have the Spam Detection? checked for all the accounts for the domain. Here are the steps I take when creating a new account through qmailadmin 1) Log into qmailadmin as postmaster for domain 2) Click on Add New Account 3) Put in account settings and check the Spam Detection option. 4) Account is added, so went into Squirrel Mail web client. 5) Log into account using login information. 6) SSH into mail server and type the following command: ls -al /home/vpopmail/domains/domainname.com/user_name/Maildir/ Here is the following results: drwx-- 9 vpopmail vchkpw 4096 Jun 24 22:46 . drwx-- 3 vpopmail vchkpw 4096 Jun 24 22:46 .. drwx-- 2 vpopmail vchkpw 4096 Jun 24 22:46 courierimapkeywords -rw-r--r-- 1 vpopmail vchkpw 36 Jun 24 22:46 courierimapsubscribed -rw-r--r-- 1 vpopmail vchkpw 15 Jun 24 22:46 courierimapuiddb drwx-- 2 vpopmail vchkpw 4096 Jun 24 22:46 cur drwx-- 6 vpopmail vchkpw 4096 Jun 24 22:46 .Drafts -rw--- 1 vpopmail vchkpw 14 Jun 24 22:46 maildirsize drwx-- 2 vpopmail vchkpw 4096 Jun 24 22:46 new drwx-- 6 vpopmail vchkpw 4096 Jun 24 22:46 .Sent drwx-- 2 vpopmail vchkpw 4096 Jun 24 22:46 tmp drwx-- 6 vpopmail vchkpw 4096 Jun 24 22:46 .Trash The Spam folder is not being created when the account is being created. Isn't the folder suppose to be created when the account is or is it created when you receive your first spam mail (if this is the case, is there a way to have it created when the account is just created)? On Sun, Jun 24, 2012 at 10:25 PM, Maxwell Smart c...@yother.com wrote: On 06/24/2012 07:08 PM, Peter R Stanley wrote: Hey everyone, I've used the QmailToaster installation package to install Qmail onto a server currently running Cent OS 5.8. I was able to get the system properly installed and running. I added the QmailToaster-Plus to the system for additional functionality. I want to add the Spam folder to my system. I followed the steps listed in the Wiki for QmailToaster, but after completing the steps, the folder is still not available. The following link is what I used from the Wiki page: http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin. I've tried all the steps several times, but the Spam folder is not showing on the Squirrel Mail web client. Here are the current version of the packages installed on the server: daemontools-toaster-0.76-1.3.6 libsrs2-toaster-1.0.18-1.3.6 courier-authlib-toaster-0.59.2-1.3.10 ezmlm-toaster-0.53.324-1.3.6 maildrop-toaster-2.0.3-1.3.8 squirrelmail-toaster-1.4.20-1.3.17 simscan-toaster-1.4.0-1.3.8 qmailadmin-toaster-1.2.15-1.3.9 ucspi-tcp-toaster-0.88-1.3.9 libdomainkeys-toaster-0.68-1.3.6 qmail-toaster-1.03-1.3.22 qmail-pop3d-toaster-1.03-1.3.22 courier-imap-toaster-4.1.2-1.3.10 control-panel-toaster-0.5-1.3.7 ezmlm-cgi-toaster-0.53.324-1.3.6 qmailmrtg-toaster-4.2-1.3.6 vqadmin-toaster-2.3.4-1.3.6 spamassassin-toaster-3.2.5-1.3.17 ripmime-toaster-1.4.0.6-1.3.6 vpopmail-toaster-5.4.17-1.3.7 autorespond-toaster-2.0.4-1.3.6 isoqlog-toaster-2.1-1.3.7 clamav-toaster-0.97.4-1.4.0 If someone could help me out, that would be great. The spam detection box is in your Qmailadmin ie http://www.example.com/qmailadmin You may have to subscribe to that folder if you're using IMAP. I don't use Squirrelmail so I don't know how to subscribe to a folder in that application. A quick Google search might yield what you're looking for (squirrelmail folder subscripiton) -- cj's_sig.png
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
On 06/24/2012 09:08 PM, Peter R Stanley wrote: Hey everyone, I've used the QmailToaster installation package to install Qmail onto a server currently running Cent OS 5.8. I was able to get the system properly installed and running. I added the QmailToaster-Plus to the system for additional functionality. I want to add the Spam folder to my system. I followed the steps listed in the Wiki for QmailToaster, but after completing the steps, the folder is still not available. The following link is what I used from the Wiki page: http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin. I've tried all the steps several times, but the Spam folder is not showing on the Squirrel Mail web client. If someone could help me out, that would be great. i just recently setup a new box and i had the same issue turning spamd on. ref: http://wiki.qmailtoaster.com/index.php/Tcp.smtp make sure QMAILQUEUE=/var/qmail/bin/simscan appears on your /etc/tcprules.d/tcp.smtp file and that scanning is turned on in /var/qmail/control/simscan file good luck! david
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
Hey everyone, I've used the QmailToaster installation package to install Qmail onto a server currently running Cent OS 5.8. I was able to get the system properly installed and running. I added the QmailToaster-Plus to the system for additional functionality. I want to add the Spam folder to my system. I followed the steps listed in the Wiki for QmailToaster, but after completing the steps, the folder is still not available. The following link If someone could help me out, that would be great. just recently setup a new box using similar method ref: http://wiki.qmailtoaster.com/index.php/Tcp.smtp check out /etc/tcprules.d/tcp.smtp file make sure QMAILQUEUE=/var/qmail/bin/simscan appears on the 2nd line somehwere and make sure spam scanning is turned on in /var/qmail/control/simscan file #qmail-spam status should also reveal whether spamd is running too IIRC that is what i had to do. good luck, david - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
My current tcp.smtp file is configured as: 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1,QMAILQUEUE=/var/qmail/bin/simscan server_static_ip:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1,QMAILQUEUE=/var/qmail/bin/simscan .:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%$ I do not have a /var/qmail/contol/simscan but I do have a /var/qmail/control/simcontrol which has spam=yes #qmail-spam status returns : /var/qmail/supervise/spamd: up (pid 18142) 2 seconds /var/qmail/supervise/spamd/log: up (pid 6209) 10453 seconds On Sun, Jun 24, 2012 at 11:06 PM, David Good dav...@ntcb.com wrote: On 06/24/2012 09:08 PM, Peter R Stanley wrote: Hey everyone, I've used the QmailToaster installation package to install Qmail onto a server currently running Cent OS 5.8. I was able to get the system properly installed and running. I added the QmailToaster-Plus to the system for additional functionality. I want to add the Spam folder to my system. I followed the steps listed in the Wiki for QmailToaster, but after completing the steps, the folder is still not available. The following link is what I used from the Wiki page: http://wiki.qmailtoaster.com/index.php/FAQs#I_upgraded_my_QmailToaster_to_the_latest_and_I_no_longer_have_the_.22Spam_Detection.22_box_in_Qmailadmin. I've tried all the steps several times, but the Spam folder is not showing on the Squirrel Mail web client. If someone could help me out, that would be great. i just recently setup a new box and i had the same issue turning spamd on. ref: http://wiki.qmailtoaster.com/index.php/Tcp.smtp make sure QMAILQUEUE=/var/qmail/bin/simscan appears on your /etc/tcprules.d/tcp.smtp file and that scanning is turned on in /var/qmail/control/simscan file good luck! david
Re: [qmailtoaster] QmailToaster: Unable to add Spam Filter using wiki steps
#qmail-spam status returns : /var/qmail/supervise/spamd: up (pid 18142) 2 seconds /var/qmail/supervise/spamd/log: up (pid 6209) 10453 seconds looks like spamd is a problem...check that log for clues. 32 or 64 bit? search the archives...may need to raise the softlimt on that process...anyone else care to chime in? i'm tapping out, i am a lightweight. good luck! david - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com