Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-11-04 Thread Sam

Tom you hit it right.
My problem is tones of doublebounces of spam from forged return and bad
addresses.

I do not have doublebounceto file under
/var/qmail/control/
How do I set it up and what should be in it,
to have doublebounces go to that file instead of 
[EMAIL PROTECTED]

forwarding them to postmaster?

I will create .qmail-doublebounce and  put # in
/var/qmail/alias/.qmail-doublebounce
to delete all doublebounces

Thanks,
Sam

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, November 04, 2005 1:59 AM
Subject: Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy



On Nov 3, 2005, at 7:38 PM, Sam wrote:

@4000436ab0a417e5a724 info msg 116176: bytes 2174 from [EMAIL PROTECTED] 
qp
20947 uid 501


Looks like doublebounce messages.  What do you have in
/var/qmail/control/doublebounceto?

I've set my server to have doublebounce in that file, and then put #
in /var/qmail/alias/.qmail-doublebounce.  That way doublebounces are just
deleted -- 99.9% of them are crap and not worth looking at (e.g., spam
from forged return addresses).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com




RE: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-11-04 Thread Andrew Hodgson
Hi,

Run the commands:

#Echo doublebounce /var/qmail/control/doublebounceto
#echo # /var/qmail/alias/.qmail-doublebounce

In this way doublebounces will go to the user doublebounce, who's .qmail
file has nothing in it and so the mail will fall into a black hole.

I think this is what Tom is getting at.

Andrew.

-Original Message-
From: Sam [mailto:[EMAIL PROTECTED] 
Sent: 04 November 2005 14:50
To: vchkpw@inter7.com
Subject: Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

Tom you hit it right.
My problem is tones of doublebounces of spam from forged return and bad
addresses.

I do not have doublebounceto file under
/var/qmail/control/
How do I set it up and what should be in it,
to have doublebounces go to that file instead of 
[EMAIL PROTECTED]
forwarding them to postmaster?

I will create .qmail-doublebounce and  put # in
/var/qmail/alias/.qmail-doublebounce
to delete all doublebounces

Thanks,
Sam

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Friday, November 04, 2005 1:59 AM
Subject: Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy


 On Nov 3, 2005, at 7:38 PM, Sam wrote:
 @4000436ab0a417e5a724 info msg 116176: bytes 2174 from [EMAIL 
 PROTECTED] qp
 20947 uid 501

 Looks like doublebounce messages.  What do you have in
 /var/qmail/control/doublebounceto?

 I've set my server to have doublebounce in that file, and then put #
 in /var/qmail/alias/.qmail-doublebounce.  That way doublebounces are just
 deleted -- 99.9% of them are crap and not worth looking at (e.g., spam
 from forged return addresses).

 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 You don't need a laptop to troubleshoot high-speed Internet: sniffter.com



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, 
Hereford, HR1 3SE. Telephone: 0870 243 3434, Fax: 0870 243 6041. Website: 
www.allpay.net Email: [EMAIL PROTECTED]
**



Re: [vchkpw] ramdisk with ext2 or tmpfs, vpopmail mysql - heap table : performance - too big disk load

2005-11-04 Thread Ken Jones

Szeki - Inc wrote:

Hi,
 
It is a good idea to use heap tables for vpopmail query-s ? MyISAM tables

for UPDATES, and HEAP for selects (they will be created from MyISAM)? I
wanna to minimalize the disk subsystem impact. System is always waiting for
disks(big load, can even reach 20-25). What is the ideal maximum concurrent
conncetion limit with mysql ?
 
I want to put the temp directories (spamassasin, clamd, other scanners) to

ramdisk. What to use:
 
1. ramdisk, fixed size (set with kernel parameter), with ext2, looks like a

real disk, with real filesystem
2. tmpfs, with maximized ramsize, eating always as many ram what is needed.
cons ? What is the price for this freedom ? 
(can I use tmpfs on a debian server for the main /tmp ?) I can spend 512 or

even 1024 Mb ram for ramdrives, or tmpfs.
 
I need every idea, or solution, how can I reduce the disk usage on the

system. I want to keep only what is necessery. I will turn of mail logging
via syslog (deamontools is doing a great job logging mails, why waste the
needed disk i/o power for syslog), other things ?
 
What if I put qmails queue to ramdisk (or tmpfs ramdisk) ? (memory cards ?

are good enough ?)


I would try putting /var/qmail/queue on the ramdisk since you have the 
RAM already.


I would also comment out the fsync() calls in the qmail source code.

Ken Jones


RE: [vchkpw] ramdisk with ext2 or tmpfs, vpopmail mysql - heap table : performance - too big disk load

2005-11-04 Thread Nicholas Harring
  What if I put qmails queue to ramdisk (or tmpfs ramdisk) ? (memory
cards
 ?
  are good enough ?)
 
 I would try putting /var/qmail/queue on the ramdisk since you have the
 RAM already.
 
 I would also comment out the fsync() calls in the qmail source code.
 
If you're going to do this, and care about the email not being lost in
queue in the event of a crash, you need battery backed nvram. Otherwise
you're playing Russian roulette with an automatic.

I run ~100K messages a day through my servers with mysql using myisam
tables, syslog logging, plus doing virus and antispam on the smtp hosts
without any real issues using mirrored scsi disks.

One idea I've been looking at to boost reliability and performance is
using an iSCSI target on my filers for the /var/qmail data, since then I
could connect a new server in the event of a failure, plus I get
snapshots and the increased performance and reliability of the filers.
However they use battery backed nvram and large raid sets to achieve
their reliability.

Hope that helps,
Nick


Re: [vchkpw] ramdisk with ext2 or tmpfs, vpopmail mysql - heap table : performance - too big disk load

2005-11-04 Thread Tom Collins

On Nov 4, 2005, at 7:10 AM, Ken Jones wrote:
I would try putting /var/qmail/queue on the ramdisk since you have the 
RAM already.


Does the OS back up the ramdisk to a physical disk on shutdown?  If 
not, and you have to reboot your server (or if it goes down for 
maintenance), you'll lose any queued mail that hasn't been delivered 
yet, and the original senders won't know about it.



I would also comment out the fsync() calls in the qmail source code.


If it's on a ramdisk, the fsync() shouldn't have any performance 
impact, right?


If you're running simscan and/or clamav, I'd think that keeping their 
temp directories on the RAM disk would give you the most performance 
benefit.  If you crash and lose the contents, it's no big deal, and 
everything that comes through the server ends up going through that 
process.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] Migrating users

2005-11-04 Thread bill

On Friday 28 October 2005 05:03 pm, Juan Enciso wrote:

Tom.
But the rsync have problem when the directory tree is very big. What
alternative could use against of rsync... Another technique for sync
files?


I've used rsync on ENORMOUS (read: 100+GB) mailstores.  works fine.

I couldn't possibly imagine migrating a large qmail/vpopmail system with
something lesser than rsync.

-Jeremy

--
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.



file:///C|/DOCUME%7E1/JANET%7E1.JGL/LOCALS%7E1/TEMP/nsmail.tmp
Description: PGP signature


Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-11-04 Thread Jeremy Kitchen
On Thursday 03 November 2005 07:38 pm, Sam wrote:
  I noticed that one local user which I created when I installed qmail and
  before installing vpopmail, was getting lots of messages from qmail
  under /home/user/Maildir.
 
 what do your logs say about this? (Hint: if you had some of those messages
 you
 recently deleted around, they would certainly help ;)

 The directory was  /home/user/Maildir/new  was full of thousands of
 messages in this format:
 12345678999.16207.qmail ,S=14766

yea, that's how qmail formats the filename, that is not helpful.

 When I tried to go in the directory to read one of the messages, the
 computer would hang.
 That is why I decided to delete the directory.
 Now my qmail log shows:
 @4000436ab0a416ec08cc new msg 116203

 @4000436ab0a416ee27c4 info msg 116203: bytes 2061 from [EMAIL 
 PROTECTED] qp 20944
 uid 507
 @4000436ab0a417e5a724 info msg 116176: bytes 2174 from [EMAIL 
 PROTECTED] qp 20947
 uid 501

those are double bounces,  you can tell because of ther [EMAIL PROTECTED] 
envelope 
sender.

 I do not know what the messages are about and where they are going .
 /var/spool/mail  has nothing in it.
 Under vpopmail I have [EMAIL PROTECTED]
 The qmail.domain.com is the local machine

  It took the system more than one hour to delete the
  /home/user/Maildir/new
  directory and /home/user/Maildir/tmp and left /home/user/Maildir/cur.
  Now the server is working fine, but qmail did not recreate the new and
  tmp directories again.
 
 it's not supposed to.
 -Jeremy

 Ok, but why qmail was writing to that directory?
 Thank you All for your help.
 Sam

because double bounces get delivered to postmaster by default.  If your 
'defaultdomain' (which defaults to the contents of the 'me' file) is in 
locals, it delivers to there.  My guess is you have, in  
~alias/.qmail-postmaster, a line like user, and user has a maildir.

Please show us the full, *unedited* output of qmail-showctl and we can assist 
you further.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgp7clxlvKZtD.pgp
Description: PGP signature


[vchkpw] keep a copy of all incoming and outgoing mail messages

2005-11-04 Thread Listas barbarojo
Hi everyone,
Is there a way to keep a copy of all incoming and outgoing mail messages
with vpopmail? 



Re: [vchkpw] keep a copy of all incoming and outgoing mail messages

2005-11-04 Thread Rick Macdougall

Listas barbarojo wrote:

Hi everyone,
Is there a way to keep a copy of all incoming and outgoing mail messages
with vpopmail? 



See qmailtap on the inter7 home page.  www.inter7.com

Regards,

Rick



[vchkpw] is the dev version with enable spamassassin still available.

2005-11-04 Thread Darrel O'Pry
I was wondering if there was a version of vpopmail with spamassassin
support that can be downloaded. I haven't been able to find it on SF or
in any of the 5.4.x versions. I've seen mention of it in the source for
vuserinfo.c and some defines in vpopmail.h but that's about it.

.darrel.



Re: [vchkpw] is the dev version with enable spamassassin still available.

2005-11-04 Thread James Longstreet
On Fri, 4 Nov 2005, Darrel O'Pry wrote:

 I was wondering if there was a version of vpopmail with spamassassin
 support that can be downloaded. I haven't been able to find it on SF or
 in any of the 5.4.x versions. I've seen mention of it in the source for
 vuserinfo.c and some defines in vpopmail.h but that's about it.

As I understand it (also how my setup works), the usual way is to change
qmail's deliverer to qmail-scanner.pl, which works with spamassassin and
clamav, among others.

James Longstreet


Re: [vchkpw] is the dev version with enable spamassassin still available.

2005-11-04 Thread Rick Macdougall

James Longstreet wrote:

On Fri, 4 Nov 2005, Darrel O'Pry wrote:


I was wondering if there was a version of vpopmail with spamassassin
support that can be downloaded. I haven't been able to find it on SF or
in any of the 5.4.x versions. I've seen mention of it in the source for
vuserinfo.c and some defines in vpopmail.h but that's about it.


As I understand it (also how my setup works), the usual way is to change
qmail's deliverer to qmail-scanner.pl, which works with spamassassin and
clamav, among others.


Hi,

I think you want to ask Ken Jones about that as he is the author of the 
spamassassin scanning built into the vdeliver executable.


I thought he had released a patch against 5.4.10 but I don't see it on 
his page.


A better option (IMHO) is simscan rather than qmail-scanner as it is a 
lot faster and more light weight than qmail-scanner.


Regards,

Rick



[vchkpw] smtp-auth and vpopmail

2005-11-04 Thread Mario Beltran

Hi

I have installed a new box on linux with qmail (i follow life with 
qmail) + vpopmail + autorespond +ezmlm +qmailadmin + courier-imap


All works fine.

Now i need use smtp authentication.

I found a qmail-smtpd-auth-057 patch by Dr. Erwin Hoffmann. But I cant 
aplied yet the patch.


The reason is that I have looked for one tutorial (and I cant found) 
that tell me how to set up my smtp run file for use vchkpw for 
authentication


Does somebody knows how to?

If the answer is yes, please, tell me how

Thanks in advance and regards

Mario





Re: [vchkpw] smtp-auth and vpopmail

2005-11-04 Thread Rick Macdougall

Mario Beltran wrote:

Hi

I have installed a new box on linux with qmail (i follow life with 
qmail) + vpopmail + autorespond +ezmlm +qmailadmin + courier-imap


All works fine.

Now i need use smtp authentication.

I found a qmail-smtpd-auth-057 patch by Dr. Erwin Hoffmann. But I cant 
aplied yet the patch.


The reason is that I have looked for one tutorial (and I cant found) 
that tell me how to set up my smtp run file for use vchkpw for 
authentication


Does somebody knows how to?

If the answer is yes, please, tell me how

Thanks in advance and regards

Mario





Hi,

If this is a new install you might want to look at 
http:://www.shupp.org/toaster and install using that guide instead.  It 
will save you a lot of time and effort.


It has all the patches you want and includes smtp-auth.

If you are adverse to using a different package, see 
http://shupp.org/smtp-auth-tls/


Regards,

Rick



[vchkpw] vpopmaild and php

2005-11-04 Thread Cristiano Deana
Hi,

is 'vpopmaild' project still open?
I have seen  from cvs vpopmaild.c file hasn't been modified since dec 2004, why?
And php = vpopmaild?

Thanks

--
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/


[vchkpw] suggestion on this error

2005-11-04 Thread Remo Mattei



hello guys... I just installed 
simscan and follow shupp instruction. I get this error in my log looks like that 
clamd is running twice..

clamd daemon 0.87.1 (OS: 
linux-gnu, ARCH: i386, CPU: i686)Fri Nov 4 20:09:05 2005 - Log 
file size limited to 5242880 bytes.Fri Nov 4 20:09:05 2005 - 
Reading databases from /usr/local/share/clamavFri Nov 4 20:09:05 2005 
- ERROR: Socket file /tmp/clamd is in use by another process.

I updated to 87.1 as you can see but 
wonder if the patches on shupp should be applied to the 87.1 version as 
well...

Thanks..

Remo


Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-11-04 Thread Sam

Hi,

The command
#Echo doublebounce /var/qmail/control/doublebounceto
worked.
As for the second command
#echo # /var/qmail/alias/.qmail-doublebounce
Nothing happened. I do not know why, but I installed it
using
#touch .qmail-doublebounce
then I put# and saved.

It is working now.

Thank you All.
Sam

- Original Message - 
From: Andrew Hodgson [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, November 04, 2005 10:04 AM
Subject: RE: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy



Hi,

Run the commands:

#Echo doublebounce /var/qmail/control/doublebounceto
#echo # /var/qmail/alias/.qmail-doublebounce

In this way doublebounces will go to the user doublebounce, who's .qmail
file has nothing in it and so the mail will fall into a black hole.

I think this is what Tom is getting at.

Andrew.

-Original Message-
From: Sam [mailto:[EMAIL PROTECTED]
Sent: 04 November 2005 14:50
To: vchkpw@inter7.com
Subject: Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

Tom you hit it right.
My problem is tones of doublebounces of spam from forged return and bad
addresses.

I do not have doublebounceto file under
/var/qmail/control/
How do I set it up and what should be in it,
to have doublebounces go to that file instead of
[EMAIL PROTECTED]
forwarding them to postmaster?

I will create .qmail-doublebounce and  put # in
/var/qmail/alias/.qmail-doublebounce
to delete all doublebounces

Thanks,
Sam

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, November 04, 2005 1:59 AM
Subject: Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy



On Nov 3, 2005, at 7:38 PM, Sam wrote:

@4000436ab0a417e5a724 info msg 116176: bytes 2174 from [EMAIL PROTECTED] 
qp
20947 uid 501


Looks like doublebounce messages.  What do you have in
/var/qmail/control/doublebounceto?

I've set my server to have doublebounce in that file, and then put #
in /var/qmail/alias/.qmail-doublebounce.  That way doublebounces are just
deleted -- 99.9% of them are crap and not worth looking at (e.g., spam
from forged return addresses).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, 
Hereford, HR1 3SE. Telephone: 0870 243 3434, Fax: 0870 243 6041. Website: 
www.allpay.net Email: [EMAIL PROTECTED]
** 




[vchkpw] simscan value

2005-11-04 Thread Remo Mattei



Hello all, I have a question about 
the simscan since I want to increase the value (5.0) to like 8.0 or higher for a 
specific domain etc..

here is the log:
simscan:[9047]:CLEAN 
(0.30/5.00):0.8216s:vediamo:68.142.228.50:[EMAIL PROTECTED]:[EMAIL PROTECTED]

here is the setting in the simscan 
control..

italy1.com:clam=yes,spam=yes,spam_hits=1.0,attach=.mp3:clam=yes,spam=yes,spam_hits=20.1

which I set it at 1.0 but again it 
shows still 5.0

Thanks...

BTW. I follow bill shupp 
installation. 



Re: [vchkpw] simscan value

2005-11-04 Thread Remo Mattei



Thanks I found it.

  - Original Message - 
  From: 
  Remo Mattei 
  To: vchkpw@inter7.com 
  Sent: Friday, November 04, 2005 9:32 
  PM
  Subject: [vchkpw] simscan value
  
  Hello all, I have a question about 
  the simscan since I want to increase the value (5.0) to like 8.0 or higher for 
  a specific domain etc..
  
  here is the log:
  simscan:[9047]:CLEAN 
  (0.30/5.00):0.8216s:vediamo:68.142.228.50:[EMAIL PROTECTED]:[EMAIL PROTECTED]
  
  here is the setting in the simscan 
  control..
  
  italy1.com:clam=yes,spam=yes,spam_hits=1.0,attach=.mp3:clam=yes,spam=yes,spam_hits=20.1
  
  which I set it at 1.0 but again it 
  shows still 5.0
  
  Thanks...
  
  BTW. I follow bill shupp 
  installation. 
  


Re: [vchkpw] simscan value

2005-11-04 Thread Remo Mattei



Thanks I found it.

  - Original Message - 
  From: 
  Remo Mattei 
  To: vchkpw@inter7.com 
  Sent: Friday, November 04, 2005 9:32 
  PM
  Subject: [vchkpw] simscan value
  
  Hello all, I have a question about 
  the simscan since I want to increase the value (5.0) to like 8.0 or higher for 
  a specific domain etc..
  
  here is the log:
  simscan:[9047]:CLEAN 
  (0.30/5.00):0.8216s:vediamo:68.142.228.50:[EMAIL PROTECTED]:[EMAIL PROTECTED]
  
  here is the setting in the simscan 
  control..
  
  italy1.com:clam=yes,spam=yes,spam_hits=1.0,attach=.mp3:clam=yes,spam=yes,spam_hits=20.1
  
  which I set it at 1.0 but again it 
  shows still 5.0
  
  Thanks...
  
  BTW. I follow bill shupp 
  installation.