Re: [qmailtoaster] SPF work around? I send using another SMTP

2006-08-02 Thread Eric \Shubes\

[EMAIL PROTECTED] wrote:

Hi all,
I have this situation: I subscribe to this list using my address at my
ISP, that is: [EMAIL PROTECTED], then I downloaded it from my office.
The problem is: What should I do to be able to send email to qmailtoaster
list using my office's SMTP? The list rejects it, something about SPF.


I'm guessing that you're trying to send from your office's SMTP server 
with the identity of your account at your ISP. You would need to have 
your office's domain administrator add cb.net.id as a domain authorized 
to send mail from the office's server. It's a simple modification to the 
DNS TXT SPF record.



A couple of months ago it was ok.


Things change. Either your office server or the list server (or both) 
have added added SPF authentication (a good thing) sometime along the 
way (both sender and receive have to utilize it for it to work).



Another problem is that my ISP doesn't
allow smtp-autentication if I'm using another ISP.


I'm guessing you mean that your ISP only allows their SMTP server(s) to 
send email from clients on their network. Nothing you can do about that.


You can, however, use something like the mailhop service from 
dyndns.org. That will let you send email from anywhere.



Thanks you,

PS: Right now, I'm sending this email from my ISP webmail, which I dont like.



P.S. What does this have to do with the 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]



[qmailtoaster] Re:[qmailtoaster]SPFworkaround?IsendusinganotherSMTP

2006-08-02 Thread fajarpri

 PS: Right now, I'm sending this email from my ISP webmail, which I dont
 like.

 P.S. What does this have to do with the toaster??

Hi Eric,
Thanks for the explanation, it clears things up. Well, since I cannot send
email using Kmail and my office SMTP to qmailtoaster list, I must write
this using my ISP webmail (webmail.cbn.net.id).

-
 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 and ClamAV dont work.

2006-08-02 Thread Craig Smith



I had a similar problem when I first set mine up, and 
it had to do with my tcp.smtp file not correctly having 
QMAILQUEUE=/var/qmail/bin/simscan
The way I understand it is that 
simscan passes the mail through spamassassin and clamav. Check your 
tcp.smtp file for the relevant
queue settings. Or 
possibly simscan is not working properly.

Regards
Craig



From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
Sent: 01 August 2006 22:35To: 
qmailtoaster-list@qmailtoaster.comSubject: [qmailtoaster] 
SpamAssassin and ClamAV dont work.


Hi,I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. If I try to test SpamAssassin in terminal by typing spamassassin-D/root/sample-spam.txt it work. If I try by mail using the GTUBE test, it doesnt work. I also checked the spamd log file and I cant see any message like this: simscan:[4654]:SPAM REJECT.Same problem for ClamAV.Any help is welcome!Thanks in advance.Regards,Kaven G.


[qmailtoaster] DSPAM

2006-08-02 Thread Luke
Hi, I was investigating DSPAM awhile ago, however due to a new install of the toaster, all my users were happy with the filtering, so I let it slide.Now they have come back with requests for more spam dectection so Im back on the bandwagon once again. Im impressed with DPSAMs reports, but can not seem to get a test version working. Ive tried different install guides, but nothing seems to fit exactly with the toaster install. Has anyone had any joy installing it?If someone has rough notes for the toaster setup, or is keen to work with me on it, I would be glad to write it up for Toaster users.Please let me know. Cheers Send instant messages to your online friends http://au.messenger.yahoo.com 

[qmailtoaster] Thanks

2006-08-02 Thread seekuel
Thanks again to Nick and the people behind this great email solution. Two thumbs up :)Respectfully yours,Sandeil 
		Groups are talking. Were listening. Check out the handy changes to Yahoo! Groups. 

Re: [qmailtoaster] vqadmin buffer overflow

2006-08-02 Thread sadm
Hello Simone,

Monday, July 31, 2006, 4:14:10 PM, you wrote:

 I

 I've isntalled last toaster packages from www.qmailtoaster.com on a 
 Mandriva 2006 linux system.


 [EMAIL PROTECTED] tmp]# rpm -qa | grep vqadmin
 vqadmin-toaster-2.3.4-1.3.2mdk
 [EMAIL PROTECTED] tmp]#


 All works quite fine except this issue (grabbed from apache error log):

 *** buffer overflow detected ***: 
 /usr/share/toaster/cgi-bin/vqadmin/toaster.vqadmin terminated

 This sometimes, not always, happens when I select from vqadmin -list 
domains $domain_name.
 Sometimes it shows an empty page (also if I look at the source.. it's 
 completely blank) sometimes it works correctly and I can see users, 
 passwords and so on...

 Note:

 -it's not a url problem.
 -it doesn't happen always, only on some spcific domains, and always on
 those.

 How can I solve this?

  I  got this problem too. It looks like an error in vpopmail package,
  probably  mysql  related. Do ~vpopmail/bin/vdomaininfo and look at
  users  counters  for  yours  domains.  I got users: 2147483647 for
  almost all my domains :(

  I  think 2147483647 - is the reason of buffer overflow, user counter
  get  this  value  when  I  delete  any  user  from my domain. Before
  deleting  user  I  can use vqadmin for management domain without any
  errors.

-- 
Best regards,
 sadmmailto:[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] vqadmin buffer overflow

2006-08-02 Thread Simone Marzona

Hi

thanks for your reply.



  I  got this problem too. It looks like an error in vpopmail package,
  probably  mysql  related. Do ~vpopmail/bin/vdomaininfo and look at
  users  counters  for  yours  domains.  I got users: 2147483647 for
  almost all my domains :(


you got it..
main: xxx.com
uid:89
gid:89
dir:/home/vpopmail/domains/xxx.com
users:  2147483646



  I  think 2147483647 - is the reason of buffer overflow, user counter
  get  this  value  when  I  delete  any  user  from my domain. Before
  deleting  user  I  can use vqadmin for management domain without any
  errors.



How it's possibile to solve this?

thanks..

-
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

2006-08-02 Thread Jake Vickers

Luke wrote:
Hi, I was investigating DSPAM awhile ago, however due to a new install 
of the toaster, all my users were happy with the filtering, so I let 
it slide.


Now they have come back with requests for more spam dectection so Im 
back on the bandwagon once again. Im impressed with DPSAMs reports, 
but can not seem to get a test version working.
Ive tried different install guides, but nothing seems to fit exactly 
with the toaster install. Has anyone had any joy installing it?


If someone has rough notes for the toaster setup, or is keen to work 
with me on it, I would be glad to write it up for Toaster users.


Please let me know. Cheers

Send instant messages to your online friends 
http://au.messenger.yahoo.com


There was a guy a while back that had written a setup for it. The link 
is on the mail Toaster website (www.qmailtoaster.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] vqadmin buffer overflow

2006-08-02 Thread Simone Marzona

Simone Marzona wrote:

Hi

thanks for your reply.



  I  got this problem too. It looks like an error in vpopmail package,
  probably  mysql  related. Do ~vpopmail/bin/vdomaininfo and look at
  users  counters  for  yours  domains.  I got users: 2147483647 for
  almost all my domains :(


you got it..
main: xxx.com
uid:89
gid:89
dir:/home/vpopmail/domains/xxx.com
users:  2147483646



  I  think 2147483647 - is the reason of buffer overflow, user counter
  get  this  value  when  I  delete  any  user  from my domain. Before
  deleting  user  I  can use vqadmin for management domain without any
  errors.





I doesn't have the .dir-control file in /home/vpopmail/domains/... 
could this be the problem?



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re[2]: [qmailtoaster] vqadmin buffer overflow

2006-08-02 Thread sadm
Hello Simone,

Wednesday, August 2, 2006, 4:45:13 PM, you wrote:

   I  got this problem too. It looks like an error in vpopmail package,
   probably  mysql  related. Do ~vpopmail/bin/vdomaininfo and look at
   users  counters  for  yours  domains.  I got users: 2147483647 for
   almost all my domains :(
 
 you got it..
 main: xxx.com
 uid:89
 gid:89
 dir:/home/vpopmail/domains/xxx.com
 users:  2147483646
 

  :(

  I  know  only  one  solution  - do not use vqadmin. My qmail toaster
  works  for  ISP  and  we  using  some  scripts  written on PERL with
  vpopmail  perl  module  to  add/delete/modify  mail  user  accounts.
  Vpopmail  command  line  interface  (vadduser,vdeluser,vpasswd etc.)
  works fine too.


   I  think 2147483647 - is the reason of buffer overflow, user counter
   get  this  value  when  I  delete  any  user  from my domain. Before
   deleting  user  I  can use vqadmin for management domain without any
   errors.

 

 I doesn't have the .dir-control file in /home/vpopmail/domains/... 
 could this be the problem?

  I think it could not.

-- 
Best regards,
 sadmmailto:[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] vqadmin buffer overflow SOLVED

2006-08-02 Thread Simone Marzona

Hi

I solved this problem by correcting the entries in the database for the 
filed user_count.


I found a lot of error (null vaules or simply wrong ones)..

now seems work correctly even by adding and removing users.

thanks a lot.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] vqadmin buffer overflow

2006-08-02 Thread Simone Marzona

[EMAIL PROTECTED] wrote:

Hello Simone,

Wednesday, August 2, 2006, 4:45:13 PM, you wrote:


  I  got this problem too. It looks like an error in vpopmail package,
  probably  mysql  related. Do ~vpopmail/bin/vdomaininfo and look at
  users  counters  for  yours  domains.  I got users: 2147483647 for
  almost all my domains :(

you got it..
main: xxx.com
uid:89
gid:89
dir:/home/vpopmail/domains/xxx.com
users:  2147483646



  :(

  I  know  only  one  solution  - do not use vqadmin. My qmail toaster
  works  for  ISP  and  we  using  some  scripts  written on PERL with
  vpopmail  perl  module  to  add/delete/modify  mail  user  accounts.
  Vpopmail  command  line  interface  (vadduser,vdeluser,vpasswd etc.)
  works fine too.

I use only console.. otherones use webapp.. I hate it those are a waste 
of bandwidth.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Re:[qmailtoaster]SPFworkaround?IsendusinganotherSMTP

2006-08-02 Thread Eric \Shubes\

[EMAIL PROTECTED] wrote:


Hi Eric,
Thanks for the explanation, it clears things up. Well, since I cannot send
email using Kmail and my office SMTP to qmailtoaster list, I must write
this using my ISP webmail (webmail.cbn.net.id).



I'm glad to be helpful.

I gather that you don't have a toaster running yet, otherwise you could 
just use that! ;)


--
-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 and ClamAV dont work.

2006-08-02 Thread Kaven Gagnon
Hi, about my last post, yes, it is a fresh install.  SpamAssassin  ClamAV
work well on my other mail server (running older version of QmailToaster).

I do my test from another mail server and from a Hotmail account.

Packages are correctly installed:

[EMAIL PROTECTED] control]# rpm -qa | grep toaster
daemontools-toaster-0.76-1.2.11
qmail-toaster-1.03-1.3.2
ezmlm-toaster-0.53.324-1.2.11
maildrop-toaster-1.8.1-1.2.11
squirrelmail-toaster-1.4.6-1.2.15
simscan-toaster-1.2-1.2.8
ucspi-tcp-toaster-0.88-1.2.11
qmail-pop3d-toaster-1.03-1.3.2
autorespond-toaster-2.0.4-1.2.9
send-emails-toaster-0.5-1.2.9
ezmlm-cgi-toaster-0.53.324-1.2.11
qmailmrtg-toaster-4.2-1.2.11
maildrop-toaster-devel-1.8.1-1.2.11
vqadmin-toaster-2.3.4-1.2.13
spamassassin-toaster-3.1.1-1.2.14
ripmime-toaster-1.4.0.6-1.0.1
vpopmail-toaster-5.4.13-1.2.12
courier-imap-toaster-3.0.8-1.2.10
control-panel-toaster-0.5-1.2.9
qmailadmin-toaster-1.2.9-1.2.13
isoqlog-toaster-2.1-1.2.10
clamav-toaster-0.88.2-1.2.15
[EMAIL PROTECTED] control]#


All process are up  running:

[EMAIL PROTECTED] control]# qmailctl stat
clamd: up (pid 13465) 2565390 seconds
imap4: up (pid 13477) 2565390 seconds
imap4-ssl: up (pid 13449) 2565390 seconds
pop3: up (pid 13444) 2565390 seconds
pop3-ssl: up (pid 13436) 2565390 seconds
send: up (pid 13440) 2565390 seconds
smtp: up (pid 13469) 2565390 seconds
spamd: up (pid 13473) 2565390 seconds
clamd/log: up (pid 13467) 2565390 seconds
imap4/log: up (pid 13484) 2565390 seconds
imap4-ssl/log: up (pid 13451) 2565390 seconds
pop3/log: up (pid 13446) 2565390 seconds
pop3-ssl/log: up (pid 13456) 2565390 seconds
send/log: up (pid 13442) 2565390 seconds
smtp/log: up (pid 13471) 2565390 seconds
spamd/log: up (pid 13475) 2565390 seconds
[EMAIL PROTECTED] control]#


This server run CentOS 4.3.

If I take a look at mail headers of a test from Hotmail account, no ClamAV
of SpamAssassin is invoked.

Everything seems to be correct in the /var/qmail/control/simcontrol file:
:clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif


Let me know if you need more informations.

Thanks a lot.



-Original Message-
From: fuzzy [mailto:[EMAIL PROTECTED] 
Sent: August 1, 2006 8:08 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:

 Hi,

 I got a problem with SpamAssassin and Qmail.  Spam is only filtered by
blocking list contained in blacklists txt file but not SpamAssassin.  If I
try to test SpamAssassin in terminal by typing spamassassin -D 
/root/sample-spam.txt it work.  If I try by mail using the GTUBE test, it
doesn't work.  I also checked the spamd log file and I can't see any message
like this: simscan:[4654]:SPAM REJECT.
  
  
 Same problem for ClamAV.

can you provide a little more detail? fresh install? has it ever worked? 
have you upgraded lately?

why do you think it is not working...send an email to yourself on a 
domain hosted on the toaster? default setup: local deliveries are not 
scanned

  
  
 Any help is welcome!

do this:
#qmailctl stat

does spamd and clamd show as up and logging?

then they are installed and working.


send an email from yahoo/hotmail/gmail to a domain account...does the 
header of that message show scanning by clam and spam?

then it is working.

if you make changes to the scanning tools you need to manually update 
simscan to let it be aware of installed tools

do this:
# qmailctl stop
# /var/qmail/bin/simscanmk -g
# qmailctl start

then check again by sending a mail from the outside 
(yahoo/hotmail/gmail/..whatever)
in (your hosted domain).


help us help you by providing more detail, like:

distro your are using

the output of qmailctl stat

# yum list installed | grep toaster
or
# rpm -qa | grep toaster

-
 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] Domain Keys

2006-08-02 Thread Diego Pivetta



Olá list 
I using simscan whith --perdomain 
options
My simcontrol file look like this:

[EMAIL PROTECTED]:clam=yes,attach=.wmv:.wav:.pps:.ppt:.mp3:.mp4:.mpg
[EMAIL PROTECTED]:clam=yes,attach=.wmv:.wav:.pps:.ppt:.mp3:.mp4:.mpg
[EMAIL PROTECTED]:clam=yes,attach=.wmv:.wav:.pps:.ppt:.mp3:.mp4:.mpg

I need to hability domainkeys over simcontrol 
filter 
it is possible?



Atenciosamente,

Diego PivettaSysmo Informática Ltda.www.sysmo.com.br


Re: [qmailtoaster] Domain Keys

2006-08-02 Thread Erik Espinoza

DomainKeys are per domain. The QmailToaster receives an e-mail signed
via DomainKeys, then QmailToaster will verify the DomainKeys.

If you want the QmailToaster to sign outgoing mail with DomainKeys,
then you should follow the instructions in
http://www.qmailtoaster.com/qt-doc/QT-README.domainkeys

Erik

On 8/2/06, Diego Pivetta [EMAIL PROTECTED] wrote:



Olá list
I using simscan whith --perdomain options
My simcontrol file look like this:

[EMAIL PROTECTED]:clam=yes,attach=.wmv:.wav:.pps:.ppt:.mp3:.mp4:.mpg
[EMAIL PROTECTED]:clam=yes,attach=.wmv:.wav:.pps:.ppt:.mp3:.mp4:.mpg
[EMAIL PROTECTED]:clam=yes,attach=.wmv:.wav:.pps:.ppt:.mp3:.mp4:.mpg

I need to hability domainkeys over simcontrol filter
it is possible?



Atenciosamente,

Diego Pivetta
Sysmo Informática Ltda.
www.sysmo.com.br



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] smtp session timeouts

2006-08-02 Thread Eric \Shubes\
I've been having an intermittent problem with simscan/spamd/clamav. The 
bottom line is that duplicates messages are received. I experienced the 
problem with toaster1.2, and I'm currently running toaster1.3 on CentOS4.3.


The smtp session apparently stalls and eventually times out. Since the 
session wasn't completed successfully, the sender then resends the 
email. Typically, it stalls again.


When I stop and start qmail again, things clear up for a while, and mail 
flows unhindered.


I notice on occasion that spamd runs for a couple minutes and in a cpu 
bound state (97% cpu on top). I don't know if these are unusually long 
emails being scanned or not. spamd goes away, but then it is still some 
time before the smtp session times out. The timeout is usually 5 or 10 
minutes, according to the simscan report in the received mail headers.


Most messages are scanned in 2-10 seconds, while the problem ones are 
typically 300+ or 600+ seconds. The machine is not under a load, except 
when spamd is running.


I've isolated an example and here's a diff of the two messages:
[EMAIL PROTECTED] qmail-toaster]$ diff mail-dupe mail-ok
1c1
 From - Wed Aug  2 07:32:58 2006
---
 From - Wed Aug  2 07:34:58 2006
3c3
 X-UIDL: 1154529224.8812.doris,S=2192
---
 X-UIDL: 1154529308.8854.doris,S=2198
8,9c8,9
 Received: (qmail 8810 invoked by uid 89); 2 Aug 2006 14:33:44 -
 Received: by simscan 1.2.0 ppid: 8679, pid: 8680, t: 302.5537s
---
 Received: (qmail 8846 invoked by uid 89); 2 Aug 2006 14:35:07 -
 Received: by simscan 1.2.0 ppid: 8839, pid: 8840, t: 1.4316s
13c13
 X-Spam-Status: No, score=0.4 required=5.0 tests=AWL autolearn=ham
---
 X-Spam-Status: No, score=0.3 required=5.0 tests=AWL autolearn=unavailable
16c16
   by doris with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Aug 2006 
14:28:41 ----
   by doris with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Aug 2006 
14:35:05 [EMAIL PROTECTED] qmail-toaster]$


I'm using all the default toaster settings. It appears that successful 
emails have autolearn=unavailable, while unsuccessful ones have 
autolearn=ham. Why would this vary from message to message? I don't know 
if this is a problem or not.


I also notice that when the session times out at 600+s, there is no 
X-Spam-Status in the message header, leading me to believe that it might 
be spamd that got hung up (or something earlier in the process).


Any ideas what to check/try?

--
-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 and ClamAV dont work.

2006-08-02 Thread Kaven Gagnon
Hi,
Yes, this server is not running latest version for now because it is
a   large cluster server and I install latest version in a test
environment before updating my production server.  (I was invacation...
that's the reason why it's not done yet ;))


Yes, the cdb file has been regenerated.


Yes, header show that they are received by simscan, but no scanners
are invoked:

Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
 scanners:none


This is my tcp.smtp file:


127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/priv  ate
206.162.187.253:allow,RELAYCLIENT=
206.162.187.240:allow,RELAYCLIENT=
207.134.96.190:allow,RELAYCLIENT=
207.134.96.187:allow,RELAYCLIENT=
206.162.187.232:allow,RELAYCLIENT=

:allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER
_WRONGRCPTLIMIT=10,DKVERIFY=DEGIJKfh,QMAILQUEUE=/var/qmail/bin/si
mscan,DKQUEUE=/var/qmail/bin/qmail-
queue.orig,DKSIGN=/var/qmail/control/domainkeys/%/private


Thanks again!

 

-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 2, 2006 1:15 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven,

unrelated I notice that your toaster versions aren't the latest. Is 
there a reason for this?
/unrelated

If you changed your simcontrol file, did you remember to
# qmailctl cdb
to regenerate the .cdb file(s)?

I have an intermittent problem with simscan/sa/clam too (I'll be posting 
details in a while - may or may not be related to your problem).

Do your message headers show Received: by simscan ...?
If so, please post results.

If not, please post your /etc/tcprules.d/tcp.smtp file.

Kaven Gagnon wrote:
 Hi, about my last post, yes, it is a fresh install.  SpamAssassin  ClamAV
 work well on my other mail server (running older version of QmailToaster).
 
 I do my test from another mail server and from a Hotmail account.
 
 Packages are correctly installed:
 
 [EMAIL PROTECTED] control]# rpm -qa | grep toaster
 daemontools-toaster-0.76-1.2.11
 qmail-toaster-1.03-1.3.2
 ezmlm-toaster-0.53.324-1.2.11
 maildrop-toaster-1.8.1-1.2.11
 squirrelmail-toaster-1.4.6-1.2.15
 simscan-toaster-1.2-1.2.8
 ucspi-tcp-toaster-0.88-1.2.11
 qmail-pop3d-toaster-1.03-1.3.2
 autorespond-toaster-2.0.4-1.2.9
 send-emails-toaster-0.5-1.2.9
 ezmlm-cgi-toaster-0.53.324-1.2.11
 qmailmrtg-toaster-4.2-1.2.11
 maildrop-toaster-devel-1.8.1-1.2.11
 vqadmin-toaster-2.3.4-1.2.13
 spamassassin-toaster-3.1.1-1.2.14
 ripmime-toaster-1.4.0.6-1.0.1
 vpopmail-toaster-5.4.13-1.2.12
 courier-imap-toaster-3.0.8-1.2.10
 control-panel-toaster-0.5-1.2.9
 qmailadmin-toaster-1.2.9-1.2.13
 isoqlog-toaster-2.1-1.2.10
 clamav-toaster-0.88.2-1.2.15
 [EMAIL PROTECTED] control]#
 
 
 All process are up  running:
 
 [EMAIL PROTECTED] control]# qmailctl stat
 clamd: up (pid 13465) 2565390 seconds
 imap4: up (pid 13477) 2565390 seconds
 imap4-ssl: up (pid 13449) 2565390 seconds
 pop3: up (pid 13444) 2565390 seconds
 pop3-ssl: up (pid 13436) 2565390 seconds
 send: up (pid 13440) 2565390 seconds
 smtp: up (pid 13469) 2565390 seconds
 spamd: up (pid 13473) 2565390 seconds
 clamd/log: up (pid 13467) 2565390 seconds
 imap4/log: up (pid 13484) 2565390 seconds
 imap4-ssl/log: up (pid 13451) 2565390 seconds
 pop3/log: up (pid 13446) 2565390 seconds
 pop3-ssl/log: up (pid 13456) 2565390 seconds
 send/log: up (pid 13442) 2565390 seconds
 smtp/log: up (pid 13471) 2565390 seconds
 spamd/log: up (pid 13475) 2565390 seconds
 [EMAIL PROTECTED] control]#
 
 
 This server run CentOS 4.3.
 
 If I take a look at mail headers of a test from Hotmail account, no ClamAV
 of SpamAssassin is invoked.
 
 Everything seems to be correct in the /var/qmail/control/simcontrol
file:
 :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif
 
 
 Let me know if you need more informations.
 
 Thanks a lot.
 
 
 
 -Original Message-
 From: fuzzy [mailto:[EMAIL PROTECTED] 
 Sent: August 1, 2006 8:08 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
 
 Kaven Gagnon wrote:
 Hi,

 I got a problem with SpamAssassin and Qmail.  Spam is only filtered by
 blocking list contained in blacklists txt file but not SpamAssassin.  If
I
 try to test SpamAssassin in terminal by typing spamassassin -D 
 /root/sample-spam.txt it work.  If I try by mail using the GTUBE test, it
 doesn't work.  I also checked the spamd log file and I can't see any
message
 like this: simscan:[4654]:SPAM REJECT.
  
  
 Same problem for ClamAV.
 
 can you provide a little more detail? fresh install? has it ever worked? 
 have you upgraded lately?
 
 why do you think it is not working...send an email to yourself on a 
 domain hosted on the toaster? default setup: local deliveries are not 
 scanned
 
  
  
 Any help is welcome!
 
 do this:
 #qmailctl stat
 
 does spamd and clamd 

Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

2006-08-02 Thread Eric \Shubes\

Kaven Gagnon wrote:

Hi,
Yes, header show that they are received by simscan, but no scanners
are invoked:

Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
 scanners:none


The scanners:none seems to be where your problem lies.
It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 
3.1.3 or some such.


So I think it's safe to say that simscan isn't invoking the other scanners.

Earlier you said:

Everything seems to be correct in the /var/qmail/control/simcontrol file:
:clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif


That sure looks ok to me.

You said you regenerated the simcontrol.cdb file. What command did you use?
# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
Reloaded /var/qmail/control/simversions.cdb
Reloaded /var/qmail/control/simcontrol.cdb

Did you get the last simcontrol message?

--
-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 and ClamAV dont work.

2006-08-02 Thread Kaven Gagnon
Yes, I used qmailctl cdb.

[EMAIL PROTECTED] ~]# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp


Thanks.


-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 2, 2006 4:37 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:
 Hi,
   Yes, header show that they are received by simscan, but no scanners
 are invoked:
 
   Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
  scanners:none

The scanners:none seems to be where your problem lies.
It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 
3.1.3 or some such.

So I think it's safe to say that simscan isn't invoking the other scanners.

Earlier you said:
 Everything seems to be correct in the /var/qmail/control/simcontrol
file:
 :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif

That sure looks ok to me.

You said you regenerated the simcontrol.cdb file. What command did you use?
# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
Reloaded /var/qmail/control/simversions.cdb
Reloaded /var/qmail/control/simcontrol.cdb

Did you get the last simcontrol message?

-- 
-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] SpamAssassin and ClamAV dont work.

2006-08-02 Thread Erik Espinoza

http://devel.qmailtoaster.com/faq.html#clamv

The old version of the QmailToaster does not do this for you.

Erik

On 8/2/06, Kaven Gagnon [EMAIL PROTECTED] wrote:

Yes, I used qmailctl cdb.

[EMAIL PROTECTED] ~]# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp


Thanks.


-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED]
Sent: August 2, 2006 4:37 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:
 Hi,
   Yes, header show that they are received by simscan, but no scanners
 are invoked:

   Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
  scanners:none

The scanners:none seems to be where your problem lies.
It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam:
3.1.3 or some such.

So I think it's safe to say that simscan isn't invoking the other scanners.

Earlier you said:
 Everything seems to be correct in the /var/qmail/control/simcontrol
file:
 :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif

That sure looks ok to me.

You said you regenerated the simcontrol.cdb file. What command did you use?
# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
Reloaded /var/qmail/control/simversions.cdb
Reloaded /var/qmail/control/simcontrol.cdb

Did you get the last simcontrol message?

--
-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]




-
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 and ClamAV dont work.

2006-08-02 Thread Eric \Shubes\

Kaven Gagnon wrote:

Yes, I used qmailctl cdb.

[EMAIL PROTECTED] ~]# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp




Is this the only Reloaded message? Mine shows many, including 
simcontrol, as shown below.



Thanks.


-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 2, 2006 4:37 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:

Hi,
Yes, header show that they are received by simscan, but no scanners
are invoked:

Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
 scanners:none


The scanners:none seems to be where your problem lies.
It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 
3.1.3 or some such.


So I think it's safe to say that simscan isn't invoking the other scanners.

Earlier you said:

Everything seems to be correct in the /var/qmail/control/simcontrol

file:

:clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif


That sure looks ok to me.

You said you regenerated the simcontrol.cdb file. What command did you use?
# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
Reloaded /var/qmail/control/simversions.cdb
Reloaded /var/qmail/control/simcontrol.cdb

Did you get the last simcontrol message?




--
-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 and ClamAV dont work.

2006-08-02 Thread Kaven Gagnon
Yes.  I think it's ok because if I try to do this on an non-root account, I
can see the outputted error:

[EMAIL PROTECTED] ~]$ qmailctl cdb
tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access
denied
chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not
permitt
chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not
per
chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not
per
Reloaded /etc/tcprules.d/tcp.smtp

So when I do qmailctl cdb it make more than just reload tcp.smtp file.


Thanks.



-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 2, 2006 5:35 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:
 Yes, I used qmailctl cdb.
 
 [EMAIL PROTECTED] ~]# qmailctl cdb
 Reloaded /etc/tcprules.d/tcp.smtp
 
 

Is this the only Reloaded message? Mine shows many, including 
simcontrol, as shown below.

 Thanks.
 
 
 -Original Message-
 From: Eric Shubes [mailto:[EMAIL PROTECTED] 
 Sent: August 2, 2006 4:37 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
 
 Kaven Gagnon wrote:
 Hi,
  Yes, header show that they are received by simscan, but no scanners
 are invoked:

  Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
  scanners:none
 
 The scanners:none seems to be where your problem lies.
 It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 
 3.1.3 or some such.
 
 So I think it's safe to say that simscan isn't invoking the other
scanners.
 
 Earlier you said:
 Everything seems to be correct in the /var/qmail/control/simcontrol
 file:
 :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif
 
 That sure looks ok to me.
 
 You said you regenerated the simcontrol.cdb file. What command did you
use?
 # qmailctl cdb
 Reloaded /etc/tcprules.d/tcp.smtp
 Reloaded /var/qmail/control/badmimetypes.cdb
 Reloaded /var/qmail/control/badloadertypes.cdb
 Reloaded /var/qmail/control/simversions.cdb
 Reloaded /var/qmail/control/simcontrol.cdb
 
 Did you get the last simcontrol message?
 


-- 
-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] SpamAssassin and ClamAV dont work.

2006-08-02 Thread Eric \Shubes\

I think Erik nailed your problem in his previous post.
Good call, EE.

Kaven Gagnon wrote:

Yes.  I think it's ok because if I try to do this on an non-root account, I
can see the outputted error:

[EMAIL PROTECTED] ~]$ qmailctl cdb
tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access
denied
chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not
permitt
chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not
per
chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not
per
Reloaded /etc/tcprules.d/tcp.smtp

So when I do qmailctl cdb it make more than just reload tcp.smtp file.


Thanks.



-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 2, 2006 5:35 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:

Yes, I used qmailctl cdb.

[EMAIL PROTECTED] ~]# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp




Is this the only Reloaded message? Mine shows many, including 
simcontrol, as shown below.



Thanks.


-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 2, 2006 4:37 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

Kaven Gagnon wrote:

Hi,
Yes, header show that they are received by simscan, but no scanners
are invoked:

Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
 scanners:none

The scanners:none seems to be where your problem lies.
It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 
3.1.3 or some such.


So I think it's safe to say that simscan isn't invoking the other

scanners.

Earlier you said:

Everything seems to be correct in the /var/qmail/control/simcontrol

file:

:clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif

That sure looks ok to me.

You said you regenerated the simcontrol.cdb file. What command did you

use?

# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
Reloaded /var/qmail/control/simversions.cdb
Reloaded /var/qmail/control/simcontrol.cdb

Did you get the last simcontrol message?







--
-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 and ClamAV dont work.

2006-08-02 Thread Erik Espinoza

n/p ES

On 8/2/06, Eric Shubes [EMAIL PROTECTED] wrote:

I think Erik nailed your problem in his previous post.
Good call, EE.

Kaven Gagnon wrote:
 Yes.  I think it's ok because if I try to do this on an non-root account, I
 can see the outputted error:

 [EMAIL PROTECTED] ~]$ qmailctl cdb
 tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access
 denied
 chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not
 permitt
 chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not
 per
 chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not
 per
 Reloaded /etc/tcprules.d/tcp.smtp

 So when I do qmailctl cdb it make more than just reload tcp.smtp file.


 Thanks.



 -Original Message-
 From: Eric Shubes [mailto:[EMAIL PROTECTED]
 Sent: August 2, 2006 5:35 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

 Kaven Gagnon wrote:
 Yes, I used qmailctl cdb.

 [EMAIL PROTECTED] ~]# qmailctl cdb
 Reloaded /etc/tcprules.d/tcp.smtp



 Is this the only Reloaded message? Mine shows many, including
 simcontrol, as shown below.

 Thanks.


 -Original Message-
 From: Eric Shubes [mailto:[EMAIL PROTECTED]
 Sent: August 2, 2006 4:37 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work.

 Kaven Gagnon wrote:
 Hi,
 Yes, header show that they are received by simscan, but no scanners
 are invoked:

 Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s
  scanners:none
 The scanners:none seems to be where your problem lies.
 It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam:
 3.1.3 or some such.

 So I think it's safe to say that simscan isn't invoking the other
 scanners.
 Earlier you said:
 Everything seems to be correct in the /var/qmail/control/simcontrol
 file:
 :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif
 That sure looks ok to me.

 You said you regenerated the simcontrol.cdb file. What command did you
 use?
 # qmailctl cdb
 Reloaded /etc/tcprules.d/tcp.smtp
 Reloaded /var/qmail/control/badmimetypes.cdb
 Reloaded /var/qmail/control/badloadertypes.cdb
 Reloaded /var/qmail/control/simversions.cdb
 Reloaded /var/qmail/control/simcontrol.cdb

 Did you get the last simcontrol message?





--
-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]



[qmailtoaster] cannot get mailfilter file to work

2006-08-02 Thread Matt Decker

Hello,

I have the latest Qmail Toaster install.  I just set it up last week.  
I'm trying to get all **SPAM** mail (between the required score 
(currently 6) and 12 (the threshold to delete)) to be placed in each 
user's .Spam folder.


I tried modifying the mailfilter file in /etc/mail and it didn't seem to 
have any effect.  I then noticed it wasn't even writing to the log file 
specified so figured it wasn't being called by qmail.


Then I found some other instructions on how to modify the .qmail-default 
file like this:


| /var/qmail/bin/preline /usr/bin/maildrop mailfilter

Using the mailfilter found at:
http://www.nntp.perl.org/group/perl.qpsmtpd/5328

I placed the mailfilter file in /home/vpopmail/domains/mydomain.com (the same 
folder as .qmail-default)

There's also a 'check_finger.pl' script (included at the URL above) which I 
placed in /home/vpopmail/domains folder.

All three files are chown vpopmail:vchkpwd chmod 600.

Doesn't matter which mailfilter I try (the one that came with toaster or the one at the URL above) both 
completely stop all mail delivery to the domain I set this up under as soon as I save the .qmail-default file.


Can anyone help or tell me where to look?

--
Matthew Decker



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] cannot get mailfilter file to work

2006-08-02 Thread Erik Espinoza

the .qmail-default file isn't supposed to have that. This will break
rejection of non-existant users.



On 8/2/06, Matt Decker [EMAIL PROTECTED] wrote:

Hello,

I have the latest Qmail Toaster install.  I just set it up last week.
I'm trying to get all **SPAM** mail (between the required score
(currently 6) and 12 (the threshold to delete)) to be placed in each
user's .Spam folder.

I tried modifying the mailfilter file in /etc/mail and it didn't seem to
have any effect.  I then noticed it wasn't even writing to the log file
specified so figured it wasn't being called by qmail.

Then I found some other instructions on how to modify the .qmail-default
file like this:

| /var/qmail/bin/preline /usr/bin/maildrop mailfilter

Using the mailfilter found at:
http://www.nntp.perl.org/group/perl.qpsmtpd/5328

I placed the mailfilter file in /home/vpopmail/domains/mydomain.com (the same 
folder as .qmail-default)

There's also a 'check_finger.pl' script (included at the URL above) which I 
placed in /home/vpopmail/domains folder.

All three files are chown vpopmail:vchkpwd chmod 600.

Doesn't matter which mailfilter I try (the one that came with toaster or the 
one at the URL above) both
completely stop all mail delivery to the domain I set this up under as soon as 
I save the .qmail-default file.

Can anyone help or tell me where to look?

--
Matthew Decker



-
 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] Can't receive, e-mails being rejected -- HELP!

2006-08-02 Thread D. J. Waletzky
Hi all-

I'm setting up a new qmail-toaster box for a client (I'm a sendmail
refugee) and now that I've almost finished setting things up, I can't
receive e-mail! I've been transferring mail from the existing mailserver
through fetchmail, which worked fine. Just as I was ready to make the
switch, I decided to send myself some test messages, and none got
through (even though I can send from the new server with no problems).

So I telnetted in on port 25 to see what qmail was saying and found that
the error is 451 mail server temporarily rejected message (#4.3.0). 

The logs say (names have been changed to protect the innocent):

2006-08-02 20:41:39.126504500 CHKUSER accepted sender: from
[EMAIL PROTECTED]:: remote SENDER.XXX:unknown:0.0.0.0 rcpt  :
sender accepted
2006-08-02 20:41:40.243248500 tcpserver: end 4960 status 256
2006-08-02 20:41:40.243253500 tcpserver: status: 1/100
2006-08-02 20:41:49.089365500 CHKUSER accepted rcpt: from
[EMAIL PROTECTED]:: remote SENDER.XXX:unknown:0.0.0.0 rcpt
[EMAIL PROTECTED] : found existing recipient
2006-08-02 20:41:56.011975500 connect(): No such file or directory
2006-08-02 20:42:01.678582500 tcpserver: status: 2/100

Any pointers? this is happening for all accounts (I'm not using vpopmail
in case that makes a difference).


-- 
D. J. Waletzky
[EMAIL PROTECTED]
http://dj.waletzky.com
646 209 0004
Non sunt multiplicanda entia praeter necessitam.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] cannot get mailfilter file to work

2006-08-02 Thread Matt Decker




Hmm. Should it be in the .qmail
file instead? Just trying to use sucessfully use one of these
mailfilter files to store the mail in the users Spam folder on the
server rather than send them an email with "**SPAM**" in the subject
and have to setup a client rule.

If there's another method, website, manual I should be looking at
please let me know. I've been looking for a while and it gets kind of
confusing with all the different Qmail Toaster versions it's hard to
tell which version people are referring to when they give you a
solution. I'm using the current version.

Matthew Decker
Dynamic Publishing
Web Applications Development
[EMAIL PROTECTED]
512-326-1980


Erik Espinoza wrote:
the .qmail-default file isn't supposed to have that. This
will break
  
rejection of non-existant users.
  
  
  
  
On 8/2/06, Matt Decker [EMAIL PROTECTED] wrote:
  
  Hello,


I have the latest Qmail Toaster install. I just set it up last week.

I'm trying to get all **SPAM** mail (between the required score

(currently 6) and 12 (the threshold to delete)) to be placed in each

user's .Spam folder.


I tried modifying the mailfilter file in /etc/mail and it didn't seem
to

have any effect. I then noticed it wasn't even writing to the log file

specified so figured it wasn't being called by qmail.


Then I found some other instructions on how to modify the
.qmail-default

file like this:


| /var/qmail/bin/preline /usr/bin/maildrop mailfilter


Using the mailfilter found at:

http://www.nntp.perl.org/group/perl.qpsmtpd/5328


I placed the mailfilter file in /home/vpopmail/domains/mydomain.com
(the same folder as .qmail-default)


There's also a 'check_finger.pl' script (included at the URL above)
which I placed in /home/vpopmail/domains folder.


All three files are chown vpopmail:vchkpwd chmod 600.


Doesn't matter which mailfilter I try (the one that came with toaster
or the one at the URL above) both

completely stop all mail delivery to the domain I set this up under as
soon as I save the .qmail-default file.


Can anyone help or tell me where to look?


--

Matthew Decker




-

 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] cannot get mailfilter file to work

2006-08-02 Thread Erik Espinoza

This is one of those places where you have to come up with your own
solution. I believe you will have to create a .qmail file in each acct
owned by vpopmail:vchkpw that points to a maildrop spam mail filter.

This used to be a part of the QmailToaster setup, but has been removed
since it screwed with the quota warnings.

Erik

On 8/2/06, Matt Decker [EMAIL PROTECTED] wrote:


 Hmm.  Should it be in the .qmail file instead?  Just trying to use
sucessfully use one of these mailfilter files to store the mail in the users
Spam folder on the server rather than send them an email with **SPAM** in
the subject and have to setup a client rule.

 If there's another method, website, manual I should be looking at please
let me know.  I've been looking for a while and it gets kind of confusing
with all the different Qmail Toaster versions it's hard to tell which
version people are referring to when they give you a solution.  I'm using
the current version.
 Matthew Decker
Dynamic Publishing
Web Applications Development
[EMAIL PROTECTED]
512-326-1980


 Erik Espinoza wrote:
the .qmail-default file isn't supposed to have that. This will break
 rejection of non-existant users.



 On 8/2/06, Matt Decker [EMAIL PROTECTED] wrote:

Hello,

 I have the latest Qmail Toaster install.  I just set it up last week.
 I'm trying to get all **SPAM** mail (between the required score
 (currently 6) and 12 (the threshold to delete)) to be placed in each
 user's .Spam folder.

 I tried modifying the mailfilter file in /etc/mail and it didn't seem to
 have any effect.  I then noticed it wasn't even writing to the log file
 specified so figured it wasn't being called by qmail.

 Then I found some other instructions on how to modify the .qmail-default
 file like this:

 | /var/qmail/bin/preline /usr/bin/maildrop mailfilter

 Using the mailfilter found at:
 http://www.nntp.perl.org/group/perl.qpsmtpd/5328

 I placed the mailfilter file in
/home/vpopmail/domains/mydomain.com (the same folder as
.qmail-default)

 There's also a 'check_finger.pl' script (included at the URL above) which I
placed in /home/vpopmail/domains folder.

 All three files are chown vpopmail:vchkpwd chmod 600.

 Doesn't matter which mailfilter I try (the one that came with toaster or
the one at the URL above) both
 completely stop all mail delivery to the domain I set this up under as soon
as I save the .qmail-default file.

 Can anyone help or tell me where to look?

 --
 Matthew Decker



-
  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]


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] smtp session timeouts

2006-08-02 Thread Eric \Shubes\
I think my problem is spamassassin. I turned it off for a while, and 
didn't see any problem.


With SA on, I occasionally get

@400044d149cb150d9854 [23954] warn: bayes: cannot open bayes 
databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File exists


and

@400044d14d2136c4a334 [23954] warn: bayes: expire_old_tokens: child 
processing timeout at /usr/bin/spamd line 1086, GEN12 line 175.


messages in the spam log.

I'm guessing that there might be a problem with the bayes database, so 
I'd like to clear it out. I ran

# sa-learn --clear
but that didn't seem to help. There are still a bunch of bayes_* files 
there, and I'm still getting the errors and delays.


What's the best way to wipe out the SA bayes database and start from 
scratch?


Eric Shubes wrote:
I've been having an intermittent problem with simscan/spamd/clamav. The 
bottom line is that duplicates messages are received. I experienced the 
problem with toaster1.2, and I'm currently running toaster1.3 on CentOS4.3.


The smtp session apparently stalls and eventually times out. Since the 
session wasn't completed successfully, the sender then resends the 
email. Typically, it stalls again.


When I stop and start qmail again, things clear up for a while, and mail 
flows unhindered.


I notice on occasion that spamd runs for a couple minutes and in a cpu 
bound state (97% cpu on top). I don't know if these are unusually long 
emails being scanned or not. spamd goes away, but then it is still some 
time before the smtp session times out. The timeout is usually 5 or 10 
minutes, according to the simscan report in the received mail headers.


Most messages are scanned in 2-10 seconds, while the problem ones are 
typically 300+ or 600+ seconds. The machine is not under a load, except 
when spamd is running.


I've isolated an example and here's a diff of the two messages:
[EMAIL PROTECTED] qmail-toaster]$ diff mail-dupe mail-ok
1c1
 From - Wed Aug  2 07:32:58 2006
---
  From - Wed Aug  2 07:34:58 2006
3c3
 X-UIDL: 1154529224.8812.doris,S=2192
---
  X-UIDL: 1154529308.8854.doris,S=2198
8,9c8,9
 Received: (qmail 8810 invoked by uid 89); 2 Aug 2006 14:33:44 -
 Received: by simscan 1.2.0 ppid: 8679, pid: 8680, t: 302.5537s
---
  Received: (qmail 8846 invoked by uid 89); 2 Aug 2006 14:35:07 -
  Received: by simscan 1.2.0 ppid: 8839, pid: 8840, t: 1.4316s
13c13
 X-Spam-Status: No, score=0.4 required=5.0 tests=AWL autolearn=ham
---
  X-Spam-Status: No, score=0.3 required=5.0 tests=AWL 
autolearn=unavailable

16c16
   by doris with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Aug 2006 
14:28:41 ----
by doris with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Aug 2006 
14:35:05 [EMAIL PROTECTED] qmail-toaster]$


I'm using all the default toaster settings. It appears that successful 
emails have autolearn=unavailable, while unsuccessful ones have 
autolearn=ham. Why would this vary from message to message? I don't know 
if this is a problem or not.


I also notice that when the session times out at 600+s, there is no 
X-Spam-Status in the message header, leading me to believe that it might 
be spamd that got hung up (or something earlier in the process).


Any ideas what to check/try?




--
-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] smtp session timeouts

2006-08-02 Thread Jake Vickers

Eric Shubes wrote:
I think my problem is spamassassin. I turned it off for a while, and 
didn't see any problem.


With SA on, I occasionally get

@400044d149cb150d9854 [23954] warn: bayes: cannot open bayes 
databases /home/vpopmail/.spamassassin/bayes_* R/W: lock failed: File 
exists


and

@400044d14d2136c4a334 [23954] warn: bayes: expire_old_tokens: 
child processing timeout at /usr/bin/spamd line 1086, GEN12 line 175.


messages in the spam log.

I'm guessing that there might be a problem with the bayes database, so 
I'd like to clear it out. I ran

# sa-learn --clear
but that didn't seem to help. There are still a bunch of bayes_* files 
there, and I'm still getting the errors and delays.


What's the best way to wipe out the SA bayes database and start from 
scratch?
What are the permissions? I've seen these get messed up sometimes; they 
should be owned by vpopmail:vchkpw
The best way to clear them would (at least this worked for me), delete 
them (or move them), touch the files to recreate, change permissions, 
then run spamassassin -D --lint.

Hope that helps some.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] smtp session timeouts

2006-08-02 Thread Eric \Shubes\

Jake Vickers wrote:

Eric Shubes wrote:
I think my problem is spamassassin. I turned it off for a while, and 
didn't see any problem.


What are the permissions? I've seen these get messed up sometimes; they 
should be owned by vpopmail:vchkpw
The best way to clear them would (at least this worked for me), delete 
them (or move them), touch the files to recreate, change permissions, 
then run spamassassin -D --lint.

Hope that helps some.



Permissions looked ok.
I simply renamed /home/vpopmail/.spamassassin to .spamassassin.old then 
ran spamassassin -D --lint.


Everything came back ok, and spamassassin automatically recreated the 
directory. Looks better so far. Hope that does it, overnight should 
tell. This problem's been driving me bonkers!


Thanks loads, Jake.

--
-Eric 'shubes'

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]