[vchkpw] qmail, vpopmail qmail-scanner

2003-11-28 Thread Alastair Battrick
Hi

I'm having problems getting vpopmail 5.3.29, qmail 1.03 and qmail-scanner
1.20rc3 working together on a RH9 box. QMAILQUEUE patch is installed. Qmail
 vpopmail work fine without this line in
/home/vpopmail/etc/tcp.smtp

:allow,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl

But it barfs when I put it in (there's a temporary error message when you
try connect via smtp)

Before I go any further, is vpopmail 5.3.30 likely to fix any of what might
be causing these problems?

Cheers
Al




RE: [vchkpw] qmail, vpopmail qmail-scanner

2003-11-28 Thread Mark Spieth
Did you increase the memory that the smtp service can use?

Look at your smtp/run file

exec /usr/bin/softlimit -m 1380 \




-Original Message-
From: Alastair Battrick [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2003 3:01 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail, vpopmail  qmail-scanner

Hi

I'm having problems getting vpopmail 5.3.29, qmail 1.03 and
qmail-scanner
1.20rc3 working together on a RH9 box. QMAILQUEUE patch is installed.
Qmail
 vpopmail work fine without this line in
/home/vpopmail/etc/tcp.smtp

:allow,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl

But it barfs when I put it in (there's a temporary error message when
you
try connect via smtp)

Before I go any further, is vpopmail 5.3.30 likely to fix any of what
might
be causing these problems?

Cheers
Al





[vchkpw] qmail-scanner

2003-11-28 Thread Gary



Hi all i've looked in the qmail-scanner list for 
the answer and i'm not sure i found it yet.

i want to have qmail-scanner scan email to all 
vpopmail accounts.

i've heard there are issues but there is very 
little documentation on this.

is there anything anyone has that I can read, or 
any guidance.

Cheers,

Gary



Re: [vchkpw] qmail-scanner

2003-11-28 Thread Michael Bowe



My guide contains some information on this 
subject:
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#SPAM_VIRUS

Michael.

  - Original Message - 
  From: 
  Gary 
  To: [EMAIL PROTECTED] 
  Sent: Saturday, November 29, 2003 8:01 
  AM
  Subject: [vchkpw] qmail-scanner
  
  Hi all i've looked in the qmail-scanner list for 
  the answer and i'm not sure i found it yet.
  
  i want to have qmail-scanner scan email to all 
  vpopmail accounts.
  
  i've heard there are issues but there is very 
  little documentation on this.
  
  is there anything anyone has that I can read, or 
  any guidance.
  
  Cheers,
  
  Gary
  


Re: [vchkpw] qmail-scanner

2003-11-28 Thread W.D. McKinney
On Fri, 2003-11-28 at 12:35, Michael Bowe wrote:
 My guide contains some information on this subject :
 http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#SPAM_VIRUS
  
 Michael.

Thanks Michael. So applying this 

#!/bin/sh
# when QMAILQUEUE is set, all mail will be sent to the nominated script
QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE

is the piece that scans everything, like vpopmail domains with 
user to user email also ?

Thanks

Dee


 - Original Message - 
 From: Gary
 To: [EMAIL PROTECTED]
 Sent: Saturday, November 29, 2003 8:01 AM
 Subject: [vchkpw] qmail-scanner
 
 Hi all i've looked in the qmail-scanner list for the answer
 and i'm not sure i found it yet.
  
 i want to have qmail-scanner scan email to all vpopmail
 accounts.
  
 i've heard there are issues but there is very little
 documentation on this.
  
 is there anything anyone has that I can read, or any guidance.
  
 Cheers,
  
 Gary
  
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Businesses
http://www.akwireless.net   | Call 1-907-349-4308   




[vchkpw] Question about .qmail exit codes.

2003-11-28 Thread Yermo M. Lamers
I am running the Qmail Toaster as available from www.qmailtoaster.com. 
(vpopmail-toaster-5.3.8).

There's something about the behavior of the .qmail files in the 
individual vpopmail account directories that I don't understand.

If a program invoked from a .qmail file returns an exit status of 99 
(per qmail-command man page) shouldn't it just stop processing the qmail 
file?  It seems to be deferring the message and trying to redeliver it 
later.

I have a test domain vpopmail.yml.com and a user test. The account 
directory I have is:

/home/vpopmail/domains/vpopmail.yml.com/test/

In it I have a .qmail file containing, for demonstration:

|/tmp/test.pl
/home/vpopmail/domains/vpopmail.yml.com/test/Maildir/
test.pl contains:

#!/usr/bin/perl
print This is a test;
exit( 99 );
What I am noticing is that the message is being deferred and dropped 
into the queue:

@40003fc81ac413506794 info msg 1491341: bytes 955 from [EMAIL PROTECTED] 
qp 6929 uid 89
@40003fc81ac416462fc4 starting delivery 2560: msg 1491341 to local 
[EMAIL PROTECTED]
@40003fc81ac4164656d4 status: local 1/10 remote 0/255
@40003fc81ac4171b1b94 delivery 2560: deferral: This_is_a_test
@40003fc81ac4171c020c status: local 0/10 remote 0/255

This doesn't seem right.

If I set the exit code to 100 in test.pl I get

@40003fc81ddc253b3a24 new msg 1491355
@40003fc81ddc253c3bf4 info msg 1491355: bytes 955 from [EMAIL PROTECTED] 
qp 7501 uid 89
@40003fc81ddc28755e54 starting delivery 2605: msg 1491355 to local 
[EMAIL PROTECTED]
@40003fc81ddc28759504 status: local 1/10 remote 0/255
@40003fc81ddc2a86dd1c delivery 2605: deferral:
@40003fc81ddc2a870814 status: local 0/10 remote 0/255

Shouldn't it bounce?

By comparison I tried the same experiment using the
/home/vpopmail/domains/vpopmail.yml.com/.qmail-defaults file.
test.pl with exit code of 100 yields:

@40003fc81e2917a81954 new msg 1491361
@40003fc81e2917a91b24 info msg 1491361: bytes 955 from [EMAIL PROTECTED] 
qp 7508 uid 89
@40003fc81e291aa9c47c starting delivery 2606: msg 1491361 to local 
[EMAIL PROTECTED]
@40003fc81e291aaa31dc status: local 1/10 remote 0/255
@40003fc81e291b2011a4 delivery 2606: failure:
@40003fc81e291b228a74 status: local 0/10 remote 0/255
@40003fc81e291d220bc4 bounce msg 1491361 qp 7511
@40003fc81e291d23405c end msg 1491361
@40003fc81e291d26556c new msg 1491362
@40003fc81e291d272c44 info msg 1491362: bytes 1454 from  qp 7511 
uid 506
@40003fc81e2920be7c04 starting delivery 2607: msg 1491362 to remote 
[EMAIL PROTECTED]
@40003fc81e2920beaecc status: local 0/10 remote 1/255
@40003fc81e292b13f634 delivery 2607: success: 
207.192.181.135_accepted_message./Remote_host_said:_250_2.0.0_hAT45hX4027171_Message_accepted_for_delivery/
@40003fc81e292b16e81c status: local 0/10 remote 0/255
@40003fc81e292b17b33c end msg 1491362

(and i get a failure notice as I would expect)

test.pl with an exit code of 99 yields:

@40003fc81e6014fc100c new msg 1491355
@40003fc81e6014fd67cc info msg 1491355: bytes 955 from [EMAIL PROTECTED] 
qp 7520 uid 89
@40003fc81e601834b184 starting delivery 2610: msg 1491355 to local 
[EMAIL PROTECTED]
@40003fc81e601834d894 status: local 1/10 remote 0/255
@40003fc81e6018abfc94 delivery 2610: success: did_0+0+1/
@40003fc81e6018ad312c status: local 0/10 remote 0/255
@40003fc81e6018ad38fc end msg 1491355

which is also what I would expect.

I am not that familiar with vpopmail yet so correct me if I'm wrong but 
it's vdelivermail called from the domains/domain/.qmail-default file 
that actually processes the per-account .qmail files? Right?

Looking at run_command() in vqmaillocal.c it does not seem that the exit 
code of the launched process is being examined .. if a line it found it 
looks like it's exiting with a value of 0.

What am I missing?

thanks,

-- Yermo

P.S. BTW, the Vpopmail/qmail combo simply rocks.

-
DTLink Software http://www.dtlink.com
-



Re: [vchkpw] qmail, vpopmail qmail-scanner

2003-11-28 Thread Tom Collins
On Friday, November 28, 2003, at 01:00  PM, Alastair Battrick wrote:
I'm having problems getting vpopmail 5.3.29, qmail 1.03 and 
qmail-scanner
1.20rc3 working together on a RH9 box. QMAILQUEUE patch is installed. 
Qmail
 vpopmail work fine without this line in
/home/vpopmail/etc/tcp.smtp

:allow,QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl

But it barfs when I put it in (there's a temporary error message when 
you
try connect via smtp)

Before I go any further, is vpopmail 5.3.30 likely to fix any of what 
might
be causing these problems?
I don't know if it will help with this particular problem, but 5.3.30 
fixes a lot of problems with 5.3.29.  I highly recommend 5.3.30 (or 
even 5.3.28) over 5.3.29.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Question about .qmail exit codes.

2003-11-28 Thread Tom Collins
On Friday, November 28, 2003, at 09:19  PM, Yermo M. Lamers wrote:
I am running the Qmail Toaster as available from www.qmailtoaster.com. 
(vpopmail-toaster-5.3.8).

There's something about the behavior of the .qmail files in the 
individual vpopmail account directories that I don't understand.

If a program invoked from a .qmail file returns an exit status of 99 
(per qmail-command man page) shouldn't it just stop processing the 
qmail file?  It seems to be deferring the message and trying to 
redeliver it later.
I just checked the ChangeLog, and that was fixed in 5.3.9.  You might 
want to look at 5.3.30 as a replacement for 5.3.8.  The next release 
will probably be 5.4.0-pre1, and currently only includes documentation 
and build changes from 5.3.30.

Relevant ChangeLog entries:

09/11/02 Dave Boodman dave at boodman dot com
 - vdelivermail missing case for exit code 99 when exec'ing
   users .qmail programs. Needed for processing of autorepsond
   result codes of 99
09/05/02 Steve Fulton steve at esoteric dot ca
 - vdelivermail now handles error return codes 100 and 99
   when processing users .qmail files. Support for autoresponder
   exiting with 99.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Help - Multiple Domains with same users

2003-11-28 Thread Tom Collins
On Thursday, November 27, 2003, at 02:20  PM, Tal Golan wrote:
I am hosting 2 domains (domainX.com  domainY.com).

1) domainX.com was added using vadddomain domainX.com -r
2) domainY.com was added using vadddoamin domainY.com -r
Next, I added user [EMAIL PROTECTED] and [EMAIL PROTECTED]

1) vadduser [EMAIL PROTECTED] -r
2) vadduser [EMAIL PROTECTED] -r
Now, if I send email to [EMAIL PROTECTED], everything is perfect. 
However,
if I send email to [EMAIL PROTECTED], the email gets delivered to
[EMAIL PROTECTED] and never reaches [EMAIL PROTECTED]
Is either domain in /var/qmail/control/locals?  What do the entries for 
the domains in /var/qmail/users/assign look like?  It's possible 
domainY.com is considered an alias to domainX.com...

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



RE: [vchkpw] Help - Multiple Domains with same users

2003-11-28 Thread Tal Golan
Thanks Tom. I hope you can help. Everything was working so well, then
the wheels fell off.

1) Neither domain is in /var/qmail/control/locals. Should they be?

2) The following is from /var/qmail/users/assign:

+domainx.com-:domainx.com:516:506:/home/vpopmail/domains/domainx.com:-::
+domainy.com-:domainy.com:516:506:/home/vpopmail/domains/domainy.com:-::

What do you think?

Thanks again.

Tal

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 28, 2003 9:40 PM
To: vpopmail list
Subject: Re: [vchkpw] Help - Multiple Domains with same users


On Thursday, November 27, 2003, at 02:20  PM, Tal Golan wrote:

 I am hosting 2 domains (domainX.com  domainY.com).



 1) domainX.com was added using vadddomain domainX.com -r

 2) domainY.com was added using vadddoamin domainY.com -r



 Next, I added user [EMAIL PROTECTED] and [EMAIL PROTECTED]



 1) vadduser [EMAIL PROTECTED] -r

 2) vadduser [EMAIL PROTECTED] -r



 Now, if I send email to [EMAIL PROTECTED], everything is perfect.

 However,

 if I send email to [EMAIL PROTECTED], the email gets delivered to

 [EMAIL PROTECTED] and never reaches [EMAIL PROTECTED]



Is either domain in /var/qmail/control/locals?  What do the entries for 

the domains in /var/qmail/users/assign look like?  It's possible 

domainY.com is considered an alias to domainX.com...



--

Tom Collins  -  [EMAIL PROTECTED]

QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/

Info on the Sniffter hand-held Network Tester: http://sniffter.com/




---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/