[qmailtoaster] Vqadmin Error

2010-08-14 Thread Amit
Hi Everyone,

I had just compiled and installed vpopmail 5.5.0 with LDAP support from
source package. Now when I'm trying to install vqadmin it is giving error.
I'm installing vqadmin from source package.
1) Output of ./configure --enable-cgibindir=/var/www/cgi-bin
--enable-qmaildir=/var/qmail --enable-htmldir=/var/www/html
   Current settings
---
vpopmail directory = /home/vpopmail
   uid = 7807
   gid = 7802
   cgi-bin dir = /var/www/cgi-bin
   vqadmin dir = /var/www/cgi-bin/vqadmin

No error

2) Output of make  make install
make  all-recursive
make[1]: Entering directory `/root/Desktop/vqadmin-2.3.7'
make[2]: Entering directory `/root/Desktop/vqadmin-2.3.7'
gcc -I. -I/home/vpopmail/include/vpopmail -I. -I. -I. -g -O2 -Wall -c
`test -f 'domain.c' || echo './'`domain.c
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:244:1: warning:
PACKAGE_NAME redefined
In file included from domain.c:29:
config.h:68:1: warning: this is the location of the previous definition
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:247:1: warning:
PACKAGE_STRING redefined
In file included from domain.c:29:
config.h:71:1: warning: this is the location of the previous definition
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:250:1: warning:
PACKAGE_TARNAME redefined
In file included from domain.c:29:
config.h:74:1: warning: this is the location of the previous definition
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:253:1: warning:
PACKAGE_VERSION redefined
In file included from domain.c:29:
config.h:77:1: warning: this is the location of the previous definition
domain.c: In function ‘add_domain’:
domain.c:105: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
domain.c:105: error: (Each undeclared identifier is reported only once
domain.c:105: error: for each function it appears in.)
domain.c:105: error: ‘VPOPMAILUID’ undeclared (first use in this function)
domain.c:105: error: ‘VPOPMAILGID’ undeclared (first use in this function)
make[2]: *** [domain.o] Error 1
make[2]: Leaving directory `/root/Desktop/vqadmin-2.3.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/vqadmin-2.3.7'
make: *** [all] Error 2

Please help.

Thanks and regards,

Amit


[qmailtoaster] Re: Vqadmin Error

2010-08-14 Thread Eric Shubert

Good going on the LDAP build, Amit.

Please post this question on the (upstream) vpopmail list (see 
http://www.inter7.com/index.php?page=vpopmail). The people there, Matt 
Brookings in particular, are the most knowledgeable about this.


It'd be nice if we could get vqadmin working properly (once again). It's 
been broken for quite some time.


--
-Eric 'shubes'

Amit wrote:

Hi Everyone,

I had just compiled and installed vpopmail 5.5.0 with LDAP support from 
source package. Now when I'm trying to install vqadmin it is giving 
error. I'm installing vqadmin from source package.
1) Output of ./configure --enable-cgibindir=/var/www/cgi-bin 
--enable-qmaildir=/var/qmail --enable-htmldir=/var/www/html

   Current settings
---
vpopmail directory = /home/vpopmail
   uid = 7807
   gid = 7802
   cgi-bin dir = /var/www/cgi-bin
   vqadmin dir = /var/www/cgi-bin/vqadmin

No error

2) Output of make  make install
make  all-recursive
make[1]: Entering directory `/root/Desktop/vqadmin-2.3.7'
make[2]: Entering directory `/root/Desktop/vqadmin-2.3.7'
gcc -I. -I/home/vpopmail/include/vpopmail -I. -I. -I. -g -O2 -Wall 
-c `test -f 'domain.c' || echo './'`domain.c

In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:244:1: warning: 
PACKAGE_NAME redefined

In file included from domain.c:29:
config.h:68:1: warning: this is the location of the previous definition
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:247:1: warning: 
PACKAGE_STRING redefined

In file included from domain.c:29:
config.h:71:1: warning: this is the location of the previous definition
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:250:1: warning: 
PACKAGE_TARNAME redefined

In file included from domain.c:29:
config.h:74:1: warning: this is the location of the previous definition
In file included from domain.c:32:
/home/vpopmail/include/vpopmail/vpopmail_config.h:253:1: warning: 
PACKAGE_VERSION redefined

In file included from domain.c:29:
config.h:77:1: warning: this is the location of the previous definition
domain.c: In function ‘add_domain’:
domain.c:105: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
domain.c:105: error: (Each undeclared identifier is reported only once
domain.c:105: error: for each function it appears in.)
domain.c:105: error: ‘VPOPMAILUID’ undeclared (first use in this function)
domain.c:105: error: ‘VPOPMAILGID’ undeclared (first use in this function)
make[2]: *** [domain.o] Error 1
make[2]: Leaving directory `/root/Desktop/vqadmin-2.3.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/vqadmin-2.3.7'
make: *** [all] Error 2

Please help.

Thanks and regards,

Amit
 



-
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] Restrict my server as Smart Host

2010-08-14 Thread Amit Dalia
Hi Everyone,

How do I restrict use of my server as a Smart Host? I don't want any
other domain which is not hosted on my QMT server should able to send
mail using authentication from my QMT i.e. From Email Id and
Authentication Email Id should be same.  And if both are different
then it should not allow to relay the mail.

Regards,

Amit



[qmailtoaster] Re: Restrict my server as Smart Host

2010-08-14 Thread Eric Shubert

Amit Dalia wrote:

Hi Everyone,

How do I restrict use of my server as a Smart Host? I don't want any 
other domain which is not hosted on my QMT server should able to send 
mail using authentication from my QMT i.e. From Email Id and 
Authentication Email Id should be same.  And if both are different then 
it should not allow to relay the mail.


Regards,

Amit


I don't know off hand. Is there an eMPF policy that can handle this?

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




[qmailtoaster] Re: Restrict my server as Smart Host

2010-08-14 Thread Amit Dalia
Hi Eric,

I don't think so eMPF can do this. Basically it should not allow
other user to send mail or it should do some thing like google smart
host i.e. from id in headers should automatically replace by
authenticated email id while delivering mail to reciepient.
If this patch is done then it can be helpful to stop spammers who are
sending mail with compromise username and password.

Regards,

Amit 

At Saturday, 14-08-2010 on 21:18 Eric Shubert wrote:

Amit Dalia wrote:
 Hi Everyone,
 
 How do I restrict use of my server as a Smart Host? I don't want
any 
 other domain which is not hosted on my QMT server should able to
send 
 mail using authentication from my QMT i.e. From Email Id and 
 Authentication Email Id should be same. And if both are different
then 
 it should not allow to relay the mail.
 
 Regards,
 
 Amit

I don't know off hand. Is there an eMPF policy that can handle this?

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




[qmailtoaster] Re: Restrict my server as Smart Host

2010-08-14 Thread Eric Shubert
I don't know of a way to do this with QMT (which isn't to say it can't 
be done).


I understand your concern, but this restriction doesn't sit well with 
me. I think it's a bad solution to the problem you're trying to address. 
I think it would be better to change compromised passwords. Also be sure 
that SSL/TLS is always used with client configurations for smtp, pop3 
and imap.


--
-Eric 'shubes'

Amit Dalia wrote:

Hi Eric,

I don't think so eMPF can do this. Basically it should not allow other 
user to send mail or it should do some thing like google smart host i.e. 
from id in headers should automatically replace by authenticated email 
id while delivering mail to reciepient.
If this patch is done then it can be helpful to stop spammers who are 
sending mail with compromise username and password.


Regards,

Amit

At Saturday, 14-08-2010 on 21:18 Eric Shubert wrote:

Amit Dalia wrote:
  Hi Everyone,
 
  How do I restrict use of my server as a Smart Host? I don't want any
  other domain which is not hosted on my QMT server should able to
send
  mail using authentication from my QMT i.e. From Email Id and
  Authentication Email Id should be same. And if both are different
then
  it should not allow to relay the mail.
 
  Regards,
 
  Amit

I don't know off hand. Is there an eMPF policy that can handle this?

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




-
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: Restrict my server as Smart Host

2010-08-14 Thread Amit Dalia
This might be the bad solution but my basic concern is that I don't
want any other email id or any other email server should be able to
send mail by just using my server as Smart Host.
For example: right now from current QMT configuration any email id
assume a...@xyz.com can send mail from my server by using my server
anyone email id as Smart Host to relay mail. 
My concern is how do I stop a...@xyz.com to send mail from my server
if a...@xyz.com doesnot exist on my QMT server.

Amit 

At Saturday, 14-08-2010 on 21:40 Eric Shubert wrote:

I don't know of a way to do this with QMT (which isn't to say it
can't 
be done).

I understand your concern, but this restriction doesn't sit well with

me. I think it's a bad solution to the problem you're trying to
address. 
I think it would be better to change compromised passwords. Also be
sure 
that SSL/TLS is always used with client configurations for smtp, pop3

and imap.

-- 
-Eric 'shubes'

Amit Dalia wrote:
 Hi Eric,
 
 I don't think so eMPF can do this. Basically it should not allow
other 
 user to send mail or it should do some thing like google smart host
i.e. 
 from id in headers should automatically replace by authenticated
email 
 id while delivering mail to reciepient.
 If this patch is done then it can be helpful to stop spammers who
are 
 sending mail with compromise username and password.
 
 Regards,
 
 Amit
 
 At Saturday, 14-08-2010 on 21:18 Eric Shubert wrote:
 
 Amit Dalia wrote:
  Hi Everyone,
 
  How do I restrict use of my server as a Smart Host? I don't want
any
  other domain which is not hosted on my QMT server should able to
 send
  mail using authentication from my QMT i.e. From Email Id and
  Authentication Email Id should be same. And if both are different
 then
  it should not allow to relay the mail.
 
  Regards,
 
  Amit
 
 I don't know off hand. Is there an eMPF policy that can handle
this?
 
 -- 
 -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
 

-
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: Vqadmin Error

2010-08-14 Thread Lucian Cristian

Eric Shubert wrote:

Good going on the LDAP build, Amit.

Please post this question on the (upstream) vpopmail list (see 
http://www.inter7.com/index.php?page=vpopmail). The people there, Matt 
Brookings in particular, are the most knowledgeable about this.


It'd be nice if we could get vqadmin working properly (once again). 
It's been broken for quite some time.



I wrote the fix to qmailtoaster-devel list, please check there

Regards
Lucian


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5367 (20100814) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



-
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: Vqadmin Error

2010-08-14 Thread Lucian Cristian

Ups, I've misread the email, I thought  it was about vpopmail

Regards
Lucian

Lucian Cristian wrote:

Eric Shubert wrote:

Good going on the LDAP build, Amit.

Please post this question on the (upstream) vpopmail list (see 
http://www.inter7.com/index.php?page=vpopmail). The people there, 
Matt Brookings in particular, are the most knowledgeable about this.


It'd be nice if we could get vqadmin working properly (once again). 
It's been broken for quite some time.



I wrote the fix to qmailtoaster-devel list, please check there

Regards
Lucian


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 5367 (20100814) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



- 

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





__ Information from ESET NOD32 Antivirus, version of virus 
signature database 5367 (20100814) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5367 (20100814) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



-
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] SMTP attack warning

2010-08-14 Thread Aleksander Podsiadły
Last time I notified intensive dictionary attack on mail servers from
many IP's. For example:
Aug 14 10:19:21 srv vpopmail[4345]: vchkpw-smtp: vpopmail user not found
admin@:68.115.208.106
Aug 14 12:19:49 srv vpopmail[26126]: vchkpw-smtp: vpopmail user not
found mickey@:69.178.165.154
Aug 14 14:29:57 srv vpopmail[27259]: vchkpw-smtp: vpopmail user not
found admin@:68.115.208.106
Aug 14 17:48:46 srv vpopmail[11419]: vchkpw-smtp: vpopmail user not
found admin@:80.153.178.39

IMHO it's not normal activity, so I suggest to check mail logs.

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




[qmailtoaster] Re: Restrict my server as Smart Host

2010-08-14 Thread Eric Shubert

Have you seen evidence of such, or are you speculating?
--
-Eric 'shubes'

Amit Dalia wrote:
This might be the bad solution but my basic concern is that I don't want 
any other email id or any other email server should be able to send mail 
by just using my server as Smart Host.
For example: right now from current QMT configuration any email id 
assume a...@xyz.com can send mail from my server by using my server 
anyone email id as Smart Host to relay mail.
My concern is how do I stop a...@xyz.com to send mail from my server if 
a...@xyz.com doesnot exist on my QMT server.


Amit

At Saturday, 14-08-2010 on 21:40 Eric Shubert wrote:

I don't know of a way to do this with QMT (which isn't to say it can't
be done).

I understand your concern, but this restriction doesn't sit well with
me. I think it's a bad solution to the problem you're trying to
address.
I think it would be better to change compromised passwords. Also be
sure
that SSL/TLS is always used with client configurations for smtp, pop3
and imap.

-- 
-Eric 'shubes'


Amit Dalia wrote:
  Hi Eric,
 
  I don't think so eMPF can do this. Basically it should not allow
other
  user to send mail or it should do some thing like google smart
host i.e.
  from id in headers should automatically replace by authenticated
email
  id while delivering mail to reciepient.
  If this patch is done then it can be helpful to stop spammers who
are
  sending mail with compromise username and password.
 
  Regards,
 
  Amit
 
  At Saturday, 14-08-2010 on 21:18 Eric Shubert wrote:
 
  Amit Dalia wrote:
   Hi Everyone,
  
   How do I restrict use of my server as a Smart Host? I don't
want any
   other domain which is not hosted on my QMT server should able to
  send
   mail using authentication from my QMT i.e. From Email Id and
   Authentication Email Id should be same. And if both are different
  then
   it should not allow to relay the mail.
  
   Regards,
  
   Amit
 
  I don't know off hand. Is there an eMPF policy that can handle this?
 
  --
  -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
 



-
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 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: FW: Re: How to complied specific package in qmailtoaster-plus

2010-08-14 Thread Suhag P Desai
Hi,

Please find below tcp.smtp file.
I always done qmailctl cdb after any change made in tcp.smtp. Please
remember my attachment scanning is working ok.

[r...@spd ~]# cat /etc/tcprules.d/tcp.smtp
127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/q
mail/control/domainkeys/%/private
192.168.10.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
192.168.30.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
:allow,BADMIMETYPE=,QMAILQUEUE=/var/qmail/bin/simscan,BADLOADERTYPE=M,
CHKUSER_RCPTLIMIT=5,CHKUSER_WRONGRCPTLIMIT=10,DKSIGN=/var/qmail/control
/domainkeys/%/private
[r...@spd ~]#

Please find below rpm -qi simscan-toaster results.

[r...@spd ~]# rpm -qi simscan-toaster
Name: simscan-toaster  Relocations: (not relocatable)
Version : 1.4.0 Vendor: (none)
Release : 1.3.8 Build Date: Wed 11 Aug 2010
12:48:54 PM IST
Install Date: Fri 13 Aug 2010 12:57:47 PM IST  Build Host: spd
Group   : Networking/Other  Source RPM:
simscan-toaster-1.4.0-1.3.8.src.rpm
Size: 113400   License: GPL
Signature   : (none)
Packager: Jake Vickers j...@qmailtoaster.com
URL : http://www.inter7.com/vpopmail
Summary : Simscan for qmail-toaster
Description :

SimScan is a simplified scanner for qmail similar to qmail-scanner and
qscand.
It uses clamav, trophie, and/or spamassassin.  It also supports attachment
blocking by extension.  Simscan is written entirely in C to ensure maximum
speed.  There are several options to allow simscan to scan per domain, and
reject spam mail.


Current settings
 ---
 user  = clamav
 qmail directory   = /var/qmail
 work directory= /var/qmail/simscan
 control directory = /var/qmail/control
 qmail queue program   = /var/qmail/bin/qmail-queue
 clamdscan program = /usr/bin/clamdscan
 clamav scan   = ON
 trophie scanning  = OFF
 attachement scan  = ON
 ripmime program   = /usr/bin/ripmime
 custom smtp reject= ON
 drop message  = OFF
 regex scanner = OFF
 quarantine processing = OFF
 domain based checking = ON
 add received header   = ON
 spam scanning = ON
 spamc program = /usr/bin/spamc
 spamc arguments   =
 spamc user= OFF
 authenticated users scanned = ON
 spam passthru = OFF
 spam hits = 40

Current simcontrol config
 --
 :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif


Please find below simcontrol file
[r...@spd ~]# cat /var/qmail/control/simcontrol
test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls


Many Thanks,
Suhag.

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Friday, August 13, 2010 10:31 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: FW: Re: How to complied specific package in
qmailtoaster-plus

Please post your current tcp.smtp file.
(Did you remember to run qmailctl cdb after changing it?)

Also, post results of:
# rpm -qi simscan-toaster
# cat /var/qmail/control/simcontrol

-- 
-Eric 'shubes'

Suhag P Desai wrote:
 Finally I manage to enable authenticated users scanned to ON but still
 problem persist...
 
 -Original Message-
 From: Suhag P Desai [mailto:spde...@gnvfc.net] 
 Sent: Friday, August 13, 2010 9:31 AM
 To: 'qmailtoaster-list@qmailtoaster.com'
 Subject: FW: [qmailtoaster] Re: How to complied specific package in
 qmailtoaster-plus
 
 TO add the below ...i want to add that even after successfully applying
all
 the steps mentioned by amit, jack.still output show that
authenticated
 users scanned = OFF
 
 -Original Message-
 From: Suhag P Desai [mailto:spde...@gnvfc.net] 
 Sent: Friday, August 13, 2010 7:28 AM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: RE: [qmailtoaster] Re: How to complied specific package in
 qmailtoaster-plus
 
 Hi Eric,
 
 Below are the output of some files amd commands.
 
 [r...@spd control]# cat simcontrol
 :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif
 test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls
 
 [r...@spd tcprules.d]# cat tcp.smtp

127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/q
 mail/control/domainkeys/%/private
 192.168.10.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
 192.168.30.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan

:allow,BADMIMETYPE=,QMAILQUEUE=/var/qmail/bin/simscan,BADLOADERTYPE=M,

CHKUSER_RCPTLIMIT=5,CHKUSER_WRONGRCPTLIMIT=10,DKSIGN=/var/qmail/control
 /domainkeys/%/private
 
 
 [r...@spd ~]# cd /usr/src/redhat/SRPMS/
 [r...@spd SRPMS]# rpm -Uvh --replacepkgs simscan*.rpm
1:simscan-toaster

FW: [qmailtoaster] Re: FW: Re: How to complied specific package in qmailtoaster-plus

2010-08-14 Thread Suhag P Desai
Thanks Eric, Amit and Jack...

My Mail scanning is also working started. I have posted file setting in
previous mail.

But what about the user who send the mail through web based, as still SA and
simscan is not able to detect mail which are sent through web based ???

Many Thanks,
Suhag.

-Original Message-
From: Suhag P Desai [mailto:spde...@gnvfc.net] 
Sent: Sunday, August 15, 2010 7:57 AM
To: 'qmailtoaster-list@qmailtoaster.com'
Subject: RE: [qmailtoaster] Re: FW: Re: How to complied specific package in
qmailtoaster-plus

Hi,

Please find below tcp.smtp file.
I always done qmailctl cdb after any change made in tcp.smtp. Please
remember my attachment scanning is working ok.

[r...@spd ~]# cat /etc/tcprules.d/tcp.smtp
127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/q
mail/control/domainkeys/%/private
192.168.10.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
192.168.30.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
:allow,BADMIMETYPE=,QMAILQUEUE=/var/qmail/bin/simscan,BADLOADERTYPE=M,
CHKUSER_RCPTLIMIT=5,CHKUSER_WRONGRCPTLIMIT=10,DKSIGN=/var/qmail/control
/domainkeys/%/private
[r...@spd ~]#

Please find below rpm -qi simscan-toaster results.

[r...@spd ~]# rpm -qi simscan-toaster
Name: simscan-toaster  Relocations: (not relocatable)
Version : 1.4.0 Vendor: (none)
Release : 1.3.8 Build Date: Wed 11 Aug 2010
12:48:54 PM IST
Install Date: Fri 13 Aug 2010 12:57:47 PM IST  Build Host: spd
Group   : Networking/Other  Source RPM:
simscan-toaster-1.4.0-1.3.8.src.rpm
Size: 113400   License: GPL
Signature   : (none)
Packager: Jake Vickers j...@qmailtoaster.com
URL : http://www.inter7.com/vpopmail
Summary : Simscan for qmail-toaster
Description :

SimScan is a simplified scanner for qmail similar to qmail-scanner and
qscand.
It uses clamav, trophie, and/or spamassassin.  It also supports attachment
blocking by extension.  Simscan is written entirely in C to ensure maximum
speed.  There are several options to allow simscan to scan per domain, and
reject spam mail.


Current settings
 ---
 user  = clamav
 qmail directory   = /var/qmail
 work directory= /var/qmail/simscan
 control directory = /var/qmail/control
 qmail queue program   = /var/qmail/bin/qmail-queue
 clamdscan program = /usr/bin/clamdscan
 clamav scan   = ON
 trophie scanning  = OFF
 attachement scan  = ON
 ripmime program   = /usr/bin/ripmime
 custom smtp reject= ON
 drop message  = OFF
 regex scanner = OFF
 quarantine processing = OFF
 domain based checking = ON
 add received header   = ON
 spam scanning = ON
 spamc program = /usr/bin/spamc
 spamc arguments   =
 spamc user= OFF
 authenticated users scanned = ON
 spam passthru = OFF
 spam hits = 40

Current simcontrol config
 --
 :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif


Please find below simcontrol file
[r...@spd ~]# cat /var/qmail/control/simcontrol
test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls


Many Thanks,
Suhag.

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Friday, August 13, 2010 10:31 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: FW: Re: How to complied specific package in
qmailtoaster-plus

Please post your current tcp.smtp file.
(Did you remember to run qmailctl cdb after changing it?)

Also, post results of:
# rpm -qi simscan-toaster
# cat /var/qmail/control/simcontrol

-- 
-Eric 'shubes'

Suhag P Desai wrote:
 Finally I manage to enable authenticated users scanned to ON but still
 problem persist...
 
 -Original Message-
 From: Suhag P Desai [mailto:spde...@gnvfc.net] 
 Sent: Friday, August 13, 2010 9:31 AM
 To: 'qmailtoaster-list@qmailtoaster.com'
 Subject: FW: [qmailtoaster] Re: How to complied specific package in
 qmailtoaster-plus
 
 TO add the below ...i want to add that even after successfully applying
all
 the steps mentioned by amit, jack.still output show that
authenticated
 users scanned = OFF
 
 -Original Message-
 From: Suhag P Desai [mailto:spde...@gnvfc.net] 
 Sent: Friday, August 13, 2010 7:28 AM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: RE: [qmailtoaster] Re: How to complied specific package in
 qmailtoaster-plus
 
 Hi Eric,
 
 Below are the output of some files amd commands.
 
 [r...@spd control]# cat simcontrol
 :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif
 test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls
 
 [r...@spd tcprules.d]# cat tcp.smtp


[qmailtoaster] Re: FW: Re: How to complied specific package in qmailtoaster-plus

2010-08-14 Thread Eric Shubert

Which client pgm are you testing with?

I'm guessing here, but perhaps the RELAYCLIENT parameter is bypassing 
authentication, thus the message isn't authenticated, thus it isn't 
scanned. IOW, RELAYCLIENT *might* bypass scanning regardless. That is 
not consistent with the fact that you say attachments are scanned. I'd 
try a test that doesn't have RELAYCLIENT set to be sure though.


You say attachments are scanned, but the message is not? What is it that 
leads you to that conclusion? I'm not getting a clear picture of what 
you're seeing.


--
-Eric 'shubes'

Suhag P Desai wrote:

Hi,

Please find below tcp.smtp file.
I always done qmailctl cdb after any change made in tcp.smtp. Please
remember my attachment scanning is working ok.

[r...@spd ~]# cat /etc/tcprules.d/tcp.smtp
127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/q
mail/control/domainkeys/%/private
192.168.10.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
192.168.30.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
:allow,BADMIMETYPE=,QMAILQUEUE=/var/qmail/bin/simscan,BADLOADERTYPE=M,
CHKUSER_RCPTLIMIT=5,CHKUSER_WRONGRCPTLIMIT=10,DKSIGN=/var/qmail/control
/domainkeys/%/private
[r...@spd ~]#

Please find below rpm -qi simscan-toaster results.

[r...@spd ~]# rpm -qi simscan-toaster
Name: simscan-toaster  Relocations: (not relocatable)
Version : 1.4.0 Vendor: (none)
Release : 1.3.8 Build Date: Wed 11 Aug 2010
12:48:54 PM IST
Install Date: Fri 13 Aug 2010 12:57:47 PM IST  Build Host: spd
Group   : Networking/Other  Source RPM:
simscan-toaster-1.4.0-1.3.8.src.rpm
Size: 113400   License: GPL
Signature   : (none)
Packager: Jake Vickers j...@qmailtoaster.com
URL : http://www.inter7.com/vpopmail
Summary : Simscan for qmail-toaster
Description :

SimScan is a simplified scanner for qmail similar to qmail-scanner and
qscand.
It uses clamav, trophie, and/or spamassassin.  It also supports attachment
blocking by extension.  Simscan is written entirely in C to ensure maximum
speed.  There are several options to allow simscan to scan per domain, and
reject spam mail.


Current settings
 ---
 user  = clamav
 qmail directory   = /var/qmail
 work directory= /var/qmail/simscan
 control directory = /var/qmail/control
 qmail queue program   = /var/qmail/bin/qmail-queue
 clamdscan program = /usr/bin/clamdscan
 clamav scan   = ON
 trophie scanning  = OFF
 attachement scan  = ON
 ripmime program   = /usr/bin/ripmime
 custom smtp reject= ON
 drop message  = OFF
 regex scanner = OFF
 quarantine processing = OFF
 domain based checking = ON
 add received header   = ON
 spam scanning = ON
 spamc program = /usr/bin/spamc
 spamc arguments   =
 spamc user= OFF
 authenticated users scanned = ON
 spam passthru = OFF
 spam hits = 40

Current simcontrol config
 --
 :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif


Please find below simcontrol file
[r...@spd ~]# cat /var/qmail/control/simcontrol
test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls


Many Thanks,
Suhag.

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Friday, August 13, 2010 10:31 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: FW: Re: How to complied specific package in
qmailtoaster-plus

Please post your current tcp.smtp file.
(Did you remember to run qmailctl cdb after changing it?)

Also, post results of:
# rpm -qi simscan-toaster
# cat /var/qmail/control/simcontrol




-
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: qtp-backup glitch

2010-08-14 Thread David Milholen

 I dont like answering my self but just wanted to post an update on this.
I retried the backup/restore and all seemed to be restored perfectly 
this time.
Accept vqadmin is broke when viewing domains. It will only see one which 
is the most recent one

I submitted.
 The other domains have been with us for a while.
I like using vqadmin to manage the domains and be able to see on the fly 
when users have logged in.


This is what I get in the HTTPD error_log

Premature end of script headers: toaster.vqadmin, referer: 
http://63.147.8.12/mail/vqadmin/toaster.vqadmin


8.12 is the temp ip this machine has.


--Thanks
-Dave


-
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: qtp-backup glitch

2010-08-14 Thread Jake Vickers

 On 08/14/2010 11:42 PM, David Milholen wrote:

 I dont like answering my self but just wanted to post an update on this.
I retried the backup/restore and all seemed to be restored perfectly 
this time.
Accept vqadmin is broke when viewing domains. It will only see one 
which is the most recent one

I submitted.
 The other domains have been with us for a while.
I like using vqadmin to manage the domains and be able to see on the 
fly when users have logged in.


This is what I get in the HTTPD error_log

Premature end of script headers: toaster.vqadmin, referer: 
http://63.147.8.12/mail/vqadmin/toaster.vqadmin


8.12 is the temp ip this machine has.



Search back in the archives - you need to edit the database to get 
vqadmin to work correctly again. It lists the numebr of users as 
21469839587 or something silly like that, and you need to change it to 0



-
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: qtp-backup glitch

2010-08-14 Thread David Milholen

 On 8/14/2010 10:56 PM, Jake Vickers wrote:

 On 08/14/2010 11:42 PM, David Milholen wrote:
 I dont like answering my self but just wanted to post an update on 
this.
I retried the backup/restore and all seemed to be restored perfectly 
this time.
Accept vqadmin is broke when viewing domains. It will only see one 
which is the most recent one

I submitted.
 The other domains have been with us for a while.
I like using vqadmin to manage the domains and be able to see on the 
fly when users have logged in.


This is what I get in the HTTPD error_log

Premature end of script headers: toaster.vqadmin, referer: 
http://63.147.8.12/mail/vqadmin/toaster.vqadmin


8.12 is the temp ip this machine has.



Search back in the archives - you need to edit the database to get 
vqadmin to work correctly again. It lists the numebr of users as 
21469839587 or something silly like that, and you need to change it to 0


I did this and the above was the result..  What is weird is that only 
the most recent domain is fine. The others will return this error.


If I use qcontrol to view them the one domain is fine but the rest are 
not present.


Ugh.. Ive been at it for a while and dont know where else to look.

--thanks
-Dave


-
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: FW: Re: FW: Re: How to complied specific package in qmailtoaster-plus

2010-08-14 Thread Suhag P Desai
But I am using horde groupware webmail not squirrelmail...

Do you know the setting require in horde config to enable authentication.

Thanks,
Suhag Desai.
-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Sunday, August 15, 2010 9:08 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: FW: Re: FW: Re: How to complied specific package
in qmailtoaster-plus

Aha, so it *is* RELAYCLIENT that's causing your problem.

For squirrelmail (webmail), you'll need to get rid of the 127.: line in 
your tcp.smtp file, and add lines to SM configuration to make it 
authenticate. Here's what I think you need to add in 
/etc/squirrelmail/config_local.php:

$smtpServerAddress  = 'localhost';
$smtpPort   = 587;
$smtp_auth_mech = 'login';

-- 
-Eric 'shubes'

Suhag P Desai wrote:
 Thanks Eric, Amit and Jack...
 
 My Mail scanning is also working started. I have posted file setting in
 previous mail.
 
 But what about the user who send the mail through web based, as still SA
and
 simscan is not able to detect mail which are sent through web based ???
 
 Many Thanks,
 Suhag.
 
 -Original Message-
 From: Suhag P Desai [mailto:spde...@gnvfc.net] 
 Sent: Sunday, August 15, 2010 7:57 AM
 To: 'qmailtoaster-list@qmailtoaster.com'
 Subject: RE: [qmailtoaster] Re: FW: Re: How to complied specific package
in
 qmailtoaster-plus
 
 Hi,
 
 Please find below tcp.smtp file.
 I always done qmailctl cdb after any change made in tcp.smtp. Please
 remember my attachment scanning is working ok.
 
 [r...@spd ~]# cat /etc/tcprules.d/tcp.smtp

127.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/q
 mail/control/domainkeys/%/private
 192.168.10.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan
 192.168.30.:allow,RELAYCLIENT=,QMAILQUEUE=/var/qmail/bin/simscan

:allow,BADMIMETYPE=,QMAILQUEUE=/var/qmail/bin/simscan,BADLOADERTYPE=M,

CHKUSER_RCPTLIMIT=5,CHKUSER_WRONGRCPTLIMIT=10,DKSIGN=/var/qmail/control
 /domainkeys/%/private



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