[vchkpw] simscan not rejecting spams

2004-10-25 Thread Juliano Simões
Hi Guys,
I am trying to make simscan reject spam above a given SA score,
with the following setup:
- simscan-1.0.6rc3
- Mail-SpamAssassin-3.0.1
- Qmail 1.03 + qmail-queue_patch + many_other_patches
I built simscan with the following options:
./configure \
--enable-clamav=n \
--enable-per-domain=n \
--enable-ripmime=/usr/local/bin/ripmime \
--enable-spam=y \
--enable-spam-hits=25 \
--enable-spamc=/usr/bin/spamc \
--enable-qmail-queue=/var/qmail/bin/qmail-queue.bin
Everything works fine (mail gets scored by SA and delivered)
but spams above score 25 still pass through.
Any ideas?
If there's a better list to place this question, let me know.
Regards,
Atenciosamente,
Juliano Simes
Gerente de Tecnologia
Axios Tecnologia e Servios
http://www.axios.com.br
[EMAIL PROTECTED]
+55 41 324-1993


Re: [vchkpw] simscan not rejecting spams

2004-10-25 Thread Ken Jones
On Monday 25 October 2004 05:36 am, Juliano Simes wrote:
 Hi Guys,

 I am trying to make simscan reject spam above a given SA score,
 with the following setup:

 - simscan-1.0.6rc3
 - Mail-SpamAssassin-3.0.1
 - Qmail 1.03 + qmail-queue_patch + many_other_patches

 I built simscan with the following options:

 ./configure \
 --enable-clamav=n \
 --enable-per-domain=n \
 --enable-ripmime=/usr/local/bin/ripmime \
 --enable-spam=y \
 --enable-spam-hits=25 \
 --enable-spamc=/usr/bin/spamc \
 --enable-qmail-queue=/var/qmail/bin/qmail-queue.bin

 Everything works fine (mail gets scored by SA and delivered)
 but spams above score 25 still pass through.

 Any ideas?

 If there's a better list to place this question, let me know.

[EMAIL PROTECTED] is the mailing list for your question.

Check the spamc arguments. rc3 has a new --enable-spamc-args option.
I usually set it to --enable-spamc-args=-U /tmp/spamd.sock

--
Ken Jones


[vchkpw] virtualdomains crazy problem

2004-10-25 Thread DG
hello everybody
at first sorry for my english
my configuration
- Mail-SpamAssassin-3.0.0
- Qmail 1.03 + qmail-queue_patch
- vpopmail 5.4.7
server: server.domain1.pl
file /opt/qmail/alias/.qmail-default
| /export/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
file /var/qmail/control/virtualdomains
domain1.pl:domain1.pl
domain2.pl:domain2.pl
domain3.pl:domain3.pl
aaa.domain1.pl:aaa.domain1.pl
every virtual domains like: domain2.pl domain3.pl work fine
however i have a problem with child domain from domain1.pl - 
aaa.domain1.pl
if i send mail by the local serwer (serwer.domain1.pl) it's works

V^V^V
Oct 25 10:04:25 server qmail: [ID 748625 mail.info] 1098691465.786311 
new msg 4076
Oct 25 10:04:25 server qmail: [ID 748625 mail.info] 1098691465.786903 
info msg 4076: bytes 1065 from [EMAIL PROTECTED] qp 624 uid 126
Oct 25 10:04:25 server qmail: [ID 748625 mail.info] 1098691465.865814 
starting delivery 166: msg 4076 to local [EMAIL PROTECTED]
V^V^V

but if i send mail from any other server it looks like qmail-send on 
server.domain1.pl writes wrong domain name!

V^V^V
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.570339 
new msg 4066
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.570858 
info msg 4066: bytes 1468 from [EMAIL PROTECTED] qp 604 uid 126
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.644653 
starting delivery 165: msg 4066 to local [EMAIL PROTECTED]
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.645121 
status: local 1/10 remote 0/20
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.708787 
delivery 165: deferral: 
vmysql:_can't_read_settings_from_/export/home/vpopmail/etc/vpopmail.mysql/
V^V^V

mysql error is ok. - i don't have real user in server.domain1.pl
why qmail-send don't write good virtual address - 
[EMAIL PROTECTED]

for any other no child domain everything works fine
i've just create other bbb.domain1.pl and i have the same problem
any ideas?
Regards,
Damian



Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread Tom Collins
On Oct 25, 2004, at 7:49 AM, DG wrote:
but if i send mail from any other server it looks like qmail-send on 
server.domain1.pl writes wrong domain name!
What if you send mail from Hotmail?
What if you telnet directly to SMTP on your server and manually send a 
message to [EMAIL PROTECTED]

I would look to the sending server to make sure it isn't rewriting the 
recipient domain.

Also check to make sure that aaa.domain1.pl isn't in 
/var/qmail/control/locals.

--
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] virtualdomains crazy problem

2004-10-25 Thread Jeremy Kitchen
On Monday 25 October 2004 09:49 am, DG wrote:
 hello everybody

 at first sorry for my english

 my configuration
 - Mail-SpamAssassin-3.0.0
 - Qmail 1.03 + qmail-queue_patch
 - vpopmail 5.4.7

 server: server.domain1.pl

 file /opt/qmail/alias/.qmail-default

 | /export/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

you wouldn't put vpopmail into ~alias.

 file /var/qmail/control/virtualdomains
 domain1.pl:domain1.pl
 domain2.pl:domain2.pl
 domain3.pl:domain3.pl
 aaa.domain1.pl:aaa.domain1.pl

 every virtual domains like: domain2.pl domain3.pl work fine
 however i have a problem with child domain from domain1.pl -
 aaa.domain1.pl
 if i send mail by the local serwer (serwer.domain1.pl) it's works

 Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.644653
 starting delivery 165: msg 4066 to local [EMAIL PROTECTED]

 mysql error is ok. - i don't have real user in server.domain1.pl
 why qmail-send don't write good virtual address -
 [EMAIL PROTECTED]

because server.domain1.pl isn't in virtualdomains.  show us the full unedited 
output of qmail-showctl, and non-munged logs.  You may have introduced an 
error when munging your information to us that isn't actually there.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpBbv7bjHM8S.pgp
Description: PGP signature


Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread Jeremy Kitchen
On Monday 25 October 2004 11:06 am, Jeremy Kitchen wrote:
 On Monday 25 October 2004 09:49 am, DG wrote:
  hello everybody
 
  at first sorry for my english
 
  my configuration
  - Mail-SpamAssassin-3.0.0
  - Qmail 1.03 + qmail-queue_patch
  - vpopmail 5.4.7
 
  server: server.domain1.pl
 
  file /opt/qmail/alias/.qmail-default
 
  | /export/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

 you wouldn't put vpopmail into ~alias.

  file /var/qmail/control/virtualdomains
  domain1.pl:domain1.pl
  domain2.pl:domain2.pl
  domain3.pl:domain3.pl
  aaa.domain1.pl:aaa.domain1.pl
 
  every virtual domains like: domain2.pl domain3.pl work fine
  however i have a problem with child domain from domain1.pl -
  aaa.domain1.pl
  if i send mail by the local serwer (serwer.domain1.pl) it's works
 
  Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.644653
  starting delivery 165: msg 4066 to local [EMAIL PROTECTED]
 
  mysql error is ok. - i don't have real user in server.domain1.pl
  why qmail-send don't write good virtual address -
  [EMAIL PROTECTED]

 because server.domain1.pl isn't in virtualdomains.  show us the full
 unedited output of qmail-showctl, and non-munged logs.  You may have
 introduced an error when munging your information to us that isn't actually
 there.

ok, I read that slightly wrong.  Please show us the command you're using to 
send a message to [EMAIL PROTECTED] ... (you should still also send us the 
qmail-showctl output and logs, they're useful in this situation)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpUHdtdhRae5.pgp
Description: PGP signature


[vchkpw] Migrating all domains to a new box

2004-10-25 Thread felix
Hi everyone,

I need to make a huge migration from one to another box.
I have my authentication info into a database, but i need to know if just
migrating all the data from one to another will be enough to keep
everything working.

Thanks

Rafael Felix Correa


[vchkpw] Migrating all domains to a new box

2004-10-25 Thread felix
Hi everyone,

I need to make a huge migration from one to another box.
I have my authentication info into a database, but i need to know if just
migrating all the data from one to another will be enough to keep
everything working.

Thanks

Rafael Felix Correa


[vchkpw] Migrating all domains to a new box

2004-10-25 Thread felix
Hi everyone,

I need to make a huge migration from one to another box.
I have my authentication info into a database, but i need to know if just
migrating all the data from one to another will be enough to keep
everything working.

Thanks

Rafael Felix Correa


Re: [vchkpw] Migrating all domains to a new box

2004-10-25 Thread Jake
[EMAIL PROTECTED] wrote:
Hi everyone,
I need to make a huge migration from one to another box.
I have my authentication info into a database, but i need to know if just
migrating all the data from one to another will be enough to keep
everything working.
Thanks
Rafael Felix Correa
 

Have you searched the list archives?  This comes up once a week.
Jake


[vchkpw] svc: warning: unable to control vpopmail: file does not exist vpopmail (dt)

2004-10-25 Thread Agustín Ciciliani
Hi,

I'm trying to run vpopmail in a debian box. When I start the server  I see the 
following:

maria:/# /etc/init.d/vpopmail start
Starting vpopmail pop3 server: svc: warning: unable to control vpopmail: file does not
exist
vpopmail (dt).

I've been googling and similar errors are always referred to a file but I can´t 
understand
what is the problem in this case.

I'll appreciate any comment. Thanks in advance,

Agustin



Re: [vchkpw] svc: warning: unable to control vpopmail: file does not exist vpopmail (dt)

2004-10-25 Thread Jeremy Kitchen
On Monday 25 October 2004 01:11 pm, Agustín Ciciliani wrote:
 Hi,

 I'm trying to run vpopmail in a debian box. When I start the server  I see
 the following:

 maria:/# /etc/init.d/vpopmail start
 Starting vpopmail pop3 server: svc: warning: unable to control vpopmail:
 file does not exist
 vpopmail (dt).

 I've been googling and similar errors are always referred to a file but I
 can´t understand what is the problem in this case.

vpopmail is not a standalone daemon.  Please read the INSTALL file for 
vpopmail.

If you installed qmail through debian's package management system, you should 
remove it, and simply follow www.lifewithqmail.org to get started.  Once you 
have your qmail system up and working you can then go about adding vpopmail 
and related tools (which is really easy, if you just read)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpfNlxg2BLcW.pgp
Description: PGP signature


Re: [vchkpw] Migrating all domains to a new box

2004-10-25 Thread felix
Yes, i've searched there, but my situation is a bit different.

I'll only migrate the ~vpopmail/domains dir to another machine. The
database will be kept the same.
When i do vdominfo any-domain.com i receive domains doesn't exists. I
did some tests bringing only the domain dir, i didn't make vadddomain
because the register already exists on the database.



 [EMAIL PROTECTED] wrote:

Hi everyone,

I need to make a huge migration from one to another box.
I have my authentication info into a database, but i need to know if just
migrating all the data from one to another will be enough to keep
everything working.

Thanks

Rafael Felix Correa


 Have you searched the list archives?  This comes up once a week.

 Jake




Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread Bruno Negrao
vmysql:_can't_read_settings_from_/export/home/vpopmail/etc/vpopmail.mysql/
V^V^V
Isn't it a permission problem? Usually the ~/vpopmail/etc directory is 
readable just for the 'vpopmail' user. Check this out.

bruno. 



Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread DG
hello Jeremy
Jeremy Kitchen napisa(a):
On Monday 25 October 2004 11:06 am, Jeremy Kitchen wrote:

ok, I read that slightly wrong.  Please show us the command you're using to 
send a message to [EMAIL PROTECTED] ... (you should still also send us the 
qmail-showctl output and logs, they're useful in this situation)

-Jeremy
it's very simple, i'am sending mail by Mozilla client by SMTP serwer: 
serwer.domain1.pl to user: [EMAIL PROTECTED]
- and everything works, qmail deliver mail to user [EMAIL PROTECTED] 
(virtual address - [EMAIL PROTECTED])

V^V^V
Oct 25 10:04:25 server qmail: [ID 748625 mail.info] 1098691465.786311 
new msg 4076
Oct 25 10:04:25 server qmail: [ID 748625 mail.info] 1098691465.786903 
info msg 4076: bytes 1065 from [EMAIL PROTECTED] qp 624 uid 126
Oct 25 10:04:25 server qmail: [ID 748625 mail.info] 1098691465.865814 
starting delivery 166: msg 4076 to local [EMAIL PROTECTED]
V^V^V

after that i send by any other SMTP host (where i have account - 
potcza.wp.pl) to user: [EMAIL PROTECTED] and then qmail (on serwer: 
serwer.domain1.pl) trying to deliver mail to [EMAIL PROTECTED]

V^V^V
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.570339 
new msg 4066
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.570858 
info msg 4066: bytes 1468 from [EMAIL PROTECTED] qp 604 uid 126
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.644653 
starting delivery 165: msg 4066 to local [EMAIL PROTECTED]
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.645121 
status: local 1/10 remote 0/20
Oct 25 10:03:35 server qmail: [ID 748625 mail.info] 1098691415.708787 
delivery 165: deferral: 
vmysql:_can't_read_settings_from_/export/home/vpopmail/etc/vpopmail.mysql/
V^V^V

qmail-showctl - in your mailbox
Damian


Re: [vchkpw] Migrating all domains to a new box

2004-10-25 Thread Jeremy Kitchen
On Monday 25 October 2004 01:32 pm, [EMAIL PROTECTED] wrote:
 Yes, i've searched there, but my situation is a bit different.

 I'll only migrate the ~vpopmail/domains dir to another machine. The
 database will be kept the same.
 When i do vdominfo any-domain.com i receive domains doesn't exists. I
 did some tests bringing only the domain dir, i didn't make vadddomain
 because the register already exists on the database.

you didn't copy the /var/qmail/users and /var/qmail/control directories.  
qmail isn't magic, and neither is vpopmail, although sometimes it may seem 
that way ;)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpqHoCMbAQc7.pgp
Description: PGP signature


Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread DG
Bruno Negrao napisa(a):
vmysql:_can't_read_settings_from_/export/home/vpopmail/etc/vpopmail.mysql/ 

V^V^V
Isn't it a permission problem? Usually the ~/vpopmail/etc directory is 
readable just for the 'vpopmail' user. Check this out.

bruno.

no this way
/export/home/vpopmail/etc/:
total 16
drwxr-xr-x   2 vpopmail vchkpw   512 Oct 25 15:13 .
drwxr-xr-x   9 vpopmail vchkpw   512 Oct  2 09:49 ..
-rw-r--r--   1 vpopmail vchkpw 9 Oct  4 23:39 defaultdomain
-rw-r--r--   1 vpopmail vchkpw32 Oct  6 22:04 inc_deps
-rw-r--r--   1 vpopmail vchkpw   135 Oct  6 22:04 lib_deps
-rw-r--r--   1 vpopmail vchkpw  1107 Jan  1  2004 vlimits.default
-rw-r-   1 vpopmail vchkpw39 Jan  1  2004 vpopmail.mysql
any other virtuals work good
but thanks
Damian


Re: [vchkpw] Migrating all domains to a new box

2004-10-25 Thread Dave Goodrich
[EMAIL PROTECTED] wrote:
Yes, i've searched there, but my situation is a bit different.
I'll only migrate the ~vpopmail/domains dir to another machine. The
database will be kept the same.
When i do vdominfo any-domain.com i receive domains doesn't exists. I
did some tests bringing only the domain dir, i didn't make vadddomain
because the register already exists on the database.
If I understand you correctly, you shouldn't have to do anything to move 
the mail itself (domains dir) from one physical machine to another, so 
long as

1) Your path on the new server matches exactly the path stored in MySQL 
(pw_dir field)
2) Permissions are correct, vpopmail:vchkpw
3) The new server has permissions to access MySQL on the database server.

DAve



[EMAIL PROTECTED] wrote:

Hi everyone,
I need to make a huge migration from one to another box.
I have my authentication info into a database, but i need to know if just
migrating all the data from one to another will be enough to keep
everything working.
Thanks
Rafael Felix Correa

Have you searched the list archives?  This comes up once a week.
Jake


--
Systems Administrator
http://www.tls.net
Get rid of Unwanted Emails...get TLS Spam Blocker!


Re: [vchkpw] Migrating all domains to a new box

2004-10-25 Thread felix
It worked.

Thanks a lot again

Rafael Felix Correa

 On Monday 25 October 2004 01:32 pm, [EMAIL PROTECTED] wrote:
 Yes, i've searched there, but my situation is a bit different.

 I'll only migrate the ~vpopmail/domains dir to another machine. The
 database will be kept the same.
 When i do vdominfo any-domain.com i receive domains doesn't exists.
 I
 did some tests bringing only the domain dir, i didn't make vadddomain
 because the register already exists on the database.

 you didn't copy the /var/qmail/users and /var/qmail/control directories.
 qmail isn't magic, and neither is vpopmail, although sometimes it may seem
 that way ;)

 -Jeremy

 --
 Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
 Inc.
   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465
 int'l
 kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc




Re: [vchkpw] MySql load causes bounced mail

2004-10-25 Thread tonix (Antonio Nati)
At 22/10/2004 22/10/2004 -0400, you wrote:
On Oct 22, 2004, at 8:13 AM, tonix (Antonio Nati) wrote:
Any comment?
Tonino
Why is qMail calling _exit() and not exit()? Is there a reason it does not 
want its files closed, and other stuff properly cleaned up? Or is it 
because DJB is just not happy with using calls that are in the libc 
library and thus are not thread safe for the most part?
Threads? I don't see where qmail is using threads...
Anyways, eventhough i do not agree with using #define's to override a 
function, i don't see it as a bad one necessarily, as it clears up the 
entire MySQL mess.
Funny, I'm checking my (chkuser) patch and I see also auth patch (Bill 
Shupp's toaster version) does the same thing (overriding _exit).

I feel it could be time to redesign qmail and use atexit() functions.
Tonino

[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]



Re: [vchkpw] MySql load causes bounced mail

2004-10-25 Thread X-Istence
On Oct 25, 2004, at 4:08 PM, tonix (Antonio Nati) wrote:
At 22/10/2004 22/10/2004 -0400, you wrote:
On Oct 22, 2004, at 8:13 AM, tonix (Antonio Nati) wrote:
Any comment?
Tonino
Why is qMail calling _exit() and not exit()? Is there a reason it 
does not want its files closed, and other stuff properly cleaned up? 
Or is it because DJB is just not happy with using calls that are in 
the libc library and thus are not thread safe for the most part?
Threads? I don't see where qmail is using threads...
I know, i was just pointing out a useless fact i picked up while 
reading a book.


Anyways, eventhough i do not agree with using #define's to override a 
function, i don't see it as a bad one necessarily, as it clears up 
the entire MySQL mess.
Funny, I'm checking my (chkuser) patch and I see also auth patch (Bill 
Shupp's toaster version) does the same thing (overriding _exit).

I feel it could be time to redesign qmail and use atexit() functions.
This could be a lengthy process. But if you are willing to undertake 
it, and write the patches for it, then it is certainly worth it.

Tonino

X-Istence


Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread DG
Jeremy Kitchen napisa(a):
On Monday 25 October 2004 01:49 pm, DG wrote:
hello Jeremy
Jeremy Kitchen napisa(a):
it's very simple, i'am sending mail by Mozilla client by SMTP serwer:
serwer.domain1.pl to user: [EMAIL PROTECTED]
- and everything works, qmail deliver mail to user [EMAIL PROTECTED]
(virtual address - [EMAIL PROTECTED])

Since you still have not provided me with any real logs, I'll just look at 
your qmail-showctl output and start making assumptions.  If any of these are 
wrong, you'll have to correct me.

extracted from your qmail-showctl output:
locals:
Messages for localhost are delivered locally.
Messages for arwen.einet.pl are delivered locally.

virtualdomains:
Virtual domain: arwen.einet.pl:arwen.einet.pl
I only test everything, a know this is wrong notation.
without it nothing is change
look
 qmail-send handles virtualdomains after locals:   if  a
  domain  is  listed  in  locals, virtualdomains does not
  apply.

I'll simply assume you are trying to email [EMAIL PROTECTED]
no i try send email to [EMAIL PROTECTED]
your problem should be very clear to you.  If it's not, please look at 'man 
qmail-send' at the section covering control files.
i don't think,
-Jeremy
realy logs
mail send to [EMAIL PROTECTED] by smtp arwen.einet.pl
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.514654 new 
msg 4182
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.515216 
info msg 4182: bytes 592 from [EMAIL PROTECTED] qp 10139 uid 107
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.550612 
starting delivery 19: msg 4182 to local [EMAIL PROTECTED]
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.550985 
status: local 1/10 remote 0/20
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.635434 
delivery 19: success: did_0+0+1/
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.636042 
status: local 0/10 remote 0/20
Oct 25 22:31:35 arwen qmail: [ID 748625 mail.info] 1098736295.636459 end 
msg 4182

mail send to [EMAIL PROTECTED] by smtp smtp.wp.pl
Oct 25 22:30:08 arwen qmail: [ID 748625 mail.info] 1098736208.733321 new 
msg 4181
Oct 25 22:30:08 arwen qmail: [ID 748625 mail.info] 1098736208.733893 
info msg 4181: bytes 999 from [EMAIL PROTECTED] qp 10127 uid 107
Oct 25 22:30:08 arwen qmail: [ID 748625 mail.info] 1098736208.801196 
starting delivery 17: msg 4181 to local [EMAIL PROTECTED]
Oct 25 22:30:08 arwen qmail: [ID 748625 mail.info] 1098736208.801584 
status: local 1/10 remote 0/20
Oct 25 22:30:08 arwen qmail: [ID 748625 mail.info] 1098736208.864609 
delivery 17: deferral: 
vmysql:_can't_read_settings_from_/export/home/vpopmail/etc/vpopmail.mysql/

mail send to [EMAIL PROTECTED] by smtp smtp.wp.pl
Oct 25 22:34:30 arwen qmail: [ID 748625 mail.info] 1098736470.824912 new 
msg 4182
Oct 25 22:34:30 arwen qmail: [ID 748625 mail.info] 1098736470.825420 
info msg 4182: bytes 989 from [EMAIL PROTECTED] qp 10160 uid 107
Oct 25 22:34:30 arwen qmail: [ID 748625 mail.info] 1098736470.876516 
starting delivery 23: msg 4182 to local [EMAIL PROTECTED]
Oct 25 22:34:30 arwen qmail: [ID 748625 mail.info] 1098736470.877003 
status: local 1/10 remote 0/20
Oct 25 22:34:35 arwen qmail: [ID 748625 mail.info] 1098736475.262959 
delivery 23: success: did_0+0+1/
Oct 25 22:34:35 arwen qmail: [ID 748625 mail.info] 1098736475.263715 
status: local 0/10 remote 0/20
Oct 25 22:34:35 arwen qmail: [ID 748625 mail.info] 1098736475.264069 end 
msg 4182

How can I see more debug information from qmail-send?
regards,
Damian


Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread Bruno Negrao
-rw-r-   1 vpopmail vchkpw39 Jan  1  2004 vpopmail.mysql
Damian,
Look above, the file 'vpopmail.mysql' is not readable by others. Which is 
the user you're using to run the qmail-send process? it is not the 
'vpopmail' user, right?

Just 'chmod 644 vpopmail.mysql' and you fix it.
bruno. 



Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread Tom Collins
On Oct 25, 2004, at 1:05 PM, Bruno Negrao wrote:
Look above, the file 'vpopmail.mysql' is not readable by others. 
Which is the user you're using to run the qmail-send process? it is 
not the 'vpopmail' user, right?

Just 'chmod 644 vpopmail.mysql' and you fix it.
That is not a fix.  That's opening a security hole.  Leave the 
permissions as they are and fix the real problem.

vpopmail.mysql should only be readable my the vpopmail user (and the 
vchkpw group).

--
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] virtualdomains crazy problem

2004-10-25 Thread DG
Tom Collins napisa(a):
On Oct 25, 2004, at 1:05 PM, Bruno Negrao wrote:
Look above, the file 'vpopmail.mysql' is not readable by others. 
Which is the user you're using to run the qmail-send process? it is 
not the 'vpopmail' user, right?

Just 'chmod 644 vpopmail.mysql' and you fix it.
i done it

That is not a fix.  That's opening a security hole.  Leave the 
permissions as they are and fix the real problem.

vpopmail.mysql should only be readable my the vpopmail user (and the 
vchkpw group).

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

problem is still exists but log is different
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.563564 new 
msg 2099
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.564109 
info msg 2099: bytes 999 from [EMAIL PROTECTED] qp 13995 uid 107
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.639565 
starting delivery 2: msg 2099 to local [EMAIL PROTECTED]
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.639958 
status: local 1/10 remote 0/20
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.716143 
delivery 2: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.717218 
status: local 0/10 remote 0/20
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.777565 
bounce msg 2099 qp 14000
Oct 25 23:38:16 arwen qmail: [ID 748625 mail.info] 1098740296.777902 end 
msg 2099

i think over (#5.1.1)
my configuration - vpopmail 5.4.7 !!!



[vchkpw] Archiving mail

2004-10-25 Thread Bill Gradwohl
I know this subject has been touched on several times on this and the 
qmail list, but I have yet to see a comprehensive resolution, so please 
bear with me.

Texas courts are now moving legal documents via email between the 
respective attorney's offices, and attorneys are asking for a way to 
archive everything in and out of a virtual domain as a permanent record. 
The Subject: contains a case number.

SEC regulations as well as Sarbanes-Oxley (SOX) require those affected 
by these rules to archive all inbound and outbound mail. qmail has a 
rudimentary facility to do this with a patch to the extra.h file.  It 
doesn't archive a duplicate of the mail, but simply ads an artificial CC 
to it to force the rest of the system to send a modified copy of the 
email to a specific location. That may or may not satisfy SEC or SOX 
requirements - I don't know. One can argue that what the archive holds 
was never sent to the server due to the CC modification.

When vpopmail is added to the mix, the promise of the extra.h patch 
looses its usefulness as what most sites want/need is an archive per 
virtual domain or even per user, not for the box as a whole. Its been 
mentioned that maildrop can archive mail, but I believe it can only do 
this for mail that eventually gets analyzed via a .qmail file. There is 
no mechanism for mail sent out to be archived via maildrop. Please 
correct me if I'm wrong.

Is there a comprehensive way to archive mail EXACTLY AS IT WAS SENT, 
either in to the domain or out from the domain, IN A VPOPMAIL 
ENVIRONMENT, on at least a virtual domain level? If so, how? Note - 
recordio is not a solution.

Adding extra delivery instructions in the .qmail file for a user is less 
than satisfactory especially since it will only archive a facsimile of 
the mail and then only for mail send to the domain, completely missing 
any mail originating on the domain destined for the outside world.

--
Bill Gradwohl
[EMAIL PROTECTED]
http://www.ycc.com



Re: [vchkpw] Archiving mail

2004-10-25 Thread Ken Jones
On Monday 25 October 2004 05:02 pm, Bill Gradwohl wrote:
 I know this subject has been touched on several times on this and the
 qmail list, but I have yet to see a comprehensive resolution, so please
 bear with me.

 Texas courts are now moving legal documents via email between the
 respective attorney's offices, and attorneys are asking for a way to
 archive everything in and out of a virtual domain as a permanent record.
 The Subject: contains a case number.

 SEC regulations as well as Sarbanes-Oxley (SOX) require those affected
 by these rules to archive all inbound and outbound mail. qmail has a
 rudimentary facility to do this with a patch to the extra.h file.  It
 doesn't archive a duplicate of the mail, but simply ads an artificial CC
 to it to force the rest of the system to send a modified copy of the
 email to a specific location. That may or may not satisfy SEC or SOX
 requirements - I don't know. One can argue that what the archive holds
 was never sent to the server due to the CC modification.

 When vpopmail is added to the mix, the promise of the extra.h patch
 looses its usefulness as what most sites want/need is an archive per
 virtual domain or even per user, not for the box as a whole. Its been
 mentioned that maildrop can archive mail, but I believe it can only do
 this for mail that eventually gets analyzed via a .qmail file. There is
 no mechanism for mail sent out to be archived via maildrop. Please
 correct me if I'm wrong.

 Is there a comprehensive way to archive mail EXACTLY AS IT WAS SENT,
 either in to the domain or out from the domain, IN A VPOPMAIL
 ENVIRONMENT, on at least a virtual domain level? If so, how? Note -
 recordio is not a solution.

 Adding extra delivery instructions in the .qmail file for a user is less
 than satisfactory especially since it will only archive a facsimile of
 the mail and then only for mail send to the domain, completely missing
 any mail originating on the domain destined for the outside world.

This might apply...
We did some work for a major banking institution. They needed to
satisfy the same type of archival problem. The queue extra change
to qmail creates an acceptable email for archiving. However, the
problem they needed solved was only some of the email that flowed
through the machine needed to be archived.

We create a qmail queue tap patch to:
1) Set the archival email address in a control file
2) Specify the list of emails to archive in a regex style control file.

They forwarded all the tapped emails to a remote machine that
burned all the emails to CD.

If anyone is interested in this queue tap patch I can put together
a patch file together for public distribution.

-- 
Ken Jones
inter7.com


Re: [vchkpw] Archiving mail

2004-10-25 Thread aichains
Ken Jones wrote:
On Monday 25 October 2004 05:02 pm, Bill Gradwohl wrote:
I know this subject has been touched on several times on this and the
qmail list, but I have yet to see a comprehensive resolution, so please
bear with me.
Texas courts are now moving legal documents via email between the
respective attorney's offices, and attorneys are asking for a way to
archive everything in and out of a virtual domain as a permanent record.
The Subject: contains a case number.
SEC regulations as well as Sarbanes-Oxley (SOX) require those affected
by these rules to archive all inbound and outbound mail. qmail has a
rudimentary facility to do this with a patch to the extra.h file.  It
doesn't archive a duplicate of the mail, but simply ads an artificial CC
to it to force the rest of the system to send a modified copy of the
email to a specific location. That may or may not satisfy SEC or SOX
requirements - I don't know. One can argue that what the archive holds
was never sent to the server due to the CC modification.
When vpopmail is added to the mix, the promise of the extra.h patch
looses its usefulness as what most sites want/need is an archive per
virtual domain or even per user, not for the box as a whole. Its been
mentioned that maildrop can archive mail, but I believe it can only do
this for mail that eventually gets analyzed via a .qmail file. There is
no mechanism for mail sent out to be archived via maildrop. Please
correct me if I'm wrong.
Is there a comprehensive way to archive mail EXACTLY AS IT WAS SENT,
either in to the domain or out from the domain, IN A VPOPMAIL
ENVIRONMENT, on at least a virtual domain level? If so, how? Note -
recordio is not a solution.
Adding extra delivery instructions in the .qmail file for a user is less
than satisfactory especially since it will only archive a facsimile of
the mail and then only for mail send to the domain, completely missing
any mail originating on the domain destined for the outside world.

This might apply...
We did some work for a major banking institution. They needed to
satisfy the same type of archival problem. The queue extra change
to qmail creates an acceptable email for archiving. However, the
problem they needed solved was only some of the email that flowed
through the machine needed to be archived.
We create a qmail queue tap patch to:
1) Set the archival email address in a control file
2) Specify the list of emails to archive in a regex style control file.
They forwarded all the tapped emails to a remote machine that
burned all the emails to CD.
If anyone is interested in this queue tap patch I can put together
a patch file together for public distribution.
very interested.


Re: [vchkpw] virtualdomains crazy problem

2004-10-25 Thread DG
Tom Collins napisa(a):
On Oct 25, 2004, at 1:44 PM, DG wrote:

Just as a followup -- the vmysql error is due to vdelivermail being in  
a .qmail file in /var/qmail/alias/.  It shouldn't be in there.

I just checked, and you don't have MX records for wifi.einet.pl and  
arwen.einet.pl.  Since wifi.einet.pl is a CNAME to arwen.einet.pl,  
perhaps smtp.wp.pl rewrites the address from wifi to arwen.

Try adding MX records and see if that helps.  It really looks like a  
problem with a machine other than arwen (or a DNS thing).  To be sure,  
telnet to port 25 (SMTP) on arwen and manually send an email.  If you  
don't know SMTP, just send the following lines, one at a time:

---
HELO test
MAIL FROM:[EMAIL PROTECTED]
RCPT TO:[EMAIL PROTECTED]
DATA
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: test
testing
.
QUIT
---
If it works, then the problem isn't with the configuration on arwen.
Yes, I wrote that mail by arwen.einet.pl works
You have right, I didn't have MX record for wifi.einet.pl
I've just do it and nothing change, maybe tomorrow dns will refresh 
information about MX
I'm very tired and I'm going to bed

thanks for all
Damian



RE: [vchkpw] Archiving mail

2004-10-25 Thread Shouguan Lin

There is a patched qmail-scanner which has the archive option to archive all emails. 
See the link for detail:
http://xoomer.virgilio.it/j.toribio/qmail-scanner/configure-options.html.

-Original Message-
From: Bill Gradwohl [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 25, 2004 3:03 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Archiving mail

I know this subject has been touched on several times on this and the 
qmail list, but I have yet to see a comprehensive resolution, so please 
bear with me.

Texas courts are now moving legal documents via email between the 
respective attorney's offices, and attorneys are asking for a way to 
archive everything in and out of a virtual domain as a permanent record. 
The Subject: contains a case number.

SEC regulations as well as Sarbanes-Oxley (SOX) require those affected 
by these rules to archive all inbound and outbound mail. qmail has a 
rudimentary facility to do this with a patch to the extra.h file.  It 
doesn't archive a duplicate of the mail, but simply ads an artificial CC 
to it to force the rest of the system to send a modified copy of the 
email to a specific location. That may or may not satisfy SEC or SOX 
requirements - I don't know. One can argue that what the archive holds 
was never sent to the server due to the CC modification.

When vpopmail is added to the mix, the promise of the extra.h patch 
looses its usefulness as what most sites want/need is an archive per 
virtual domain or even per user, not for the box as a whole. Its been 
mentioned that maildrop can archive mail, but I believe it can only do 
this for mail that eventually gets analyzed via a .qmail file. There is 
no mechanism for mail sent out to be archived via maildrop. Please 
correct me if I'm wrong.

Is there a comprehensive way to archive mail EXACTLY AS IT WAS SENT, 
either in to the domain or out from the domain, IN A VPOPMAIL 
ENVIRONMENT, on at least a virtual domain level? If so, how? Note - 
recordio is not a solution.

Adding extra delivery instructions in the .qmail file for a user is less 
than satisfactory especially since it will only archive a facsimile of 
the mail and then only for mail send to the domain, completely missing 
any mail originating on the domain destined for the outside world.

-- 
Bill Gradwohl
[EMAIL PROTECTED]
http://www.ycc.com





Re: [vchkpw] Archiving mail

2004-10-25 Thread X-Istence
On Oct 25, 2004, at 6:38 PM, aichains wrote:
very interested.

I am as well.
Note for AIChains: Next time cut away all the crud that is not needed, 
in other words, pretty much the entire message, saves on bandwidth. 
Thanks.

X-Istence


Re: [vchkpw] Archiving mail

2004-10-25 Thread Tom Collins
On Oct 25, 2004, at 3:02 PM, Bill Gradwohl wrote:
Texas courts are now moving legal documents via email between the 
respective attorney's offices, and attorneys are asking for a way to 
archive everything in and out of a virtual domain as a permanent 
record. The Subject: contains a case number.
As far as inbound mail goes, you could modify vdelivermail to make a 
copy of the message before completing delivery.  It might even be 
possible to scan the headers and only archive certain messages (like 
where the Subject line contains a case number).  Note that you will be 
archiving a copy of the message, as it was received and delivered to 
the attorney.  Since mail servers add Received headers (and even 
Delivered-To headers), it's impossible to archive inbound mail exactly 
as it was sent.

As for outbound, that's more difficult.  You'd have to be confident 
that all of the attorneys' computers use the correct SMTP server.  
Perhaps qmail's extra.h patch would help with logging outbound mail.  
Ken's queue tap patch might be a good solution if it just adds an 
additional address to the list of recipients on the SMTP envelope (kind 
of like a Bcc).  You could then write a script that would scan through 
the archived messages, determine the original sender (look for SMTP 
AUTH info, or the From: header) and archive accordingly.

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

2004-10-25 Thread Michael Bowe
- Original Message - 
From: Shouguan Lin [EMAIL PROTECTED]



 There is a patched qmail-scanner which has the archive option to archive
all emails. See the link for detail:
 http://xoomer.virgilio.it/j.toribio/qmail-scanner/configure-options.html.

You dont need patched version of qmail-scanner. That function is part of the
standard distribution.

Michael.



[vchkpw] problems linking vpopmail with courier-imap

2004-10-25 Thread Sergio Pereira
hi list,

I've been trying to link my courier-imap server with vchkpw module but
without success. I'm running Fedora Core 2. Here what I have done so
far.

- Installed vpopmail -5.4.0 with --enable-log-name=vpopmail
--enable-clear-passwd --enable-roaming-users=y . All the files are
under /home/vpopmail:
host_root-#ls -la /home/vpopmail
total 32
drwxr-xr-x  8 vpopmail vchkpw 4096 Oct 25 23:05 .
drwxr-xr-x  5 root root   4096 Oct 25 23:05 ..
drwxr-xr-x  2 vpopmail vchkpw 4096 Oct 25 23:05 bin
drwxr-xr-x  4 vpopmail vchkpw 4096 Oct 25 23:05 doc
drwx--  3 vpopmail vchkpw 4096 Oct 25 23:36 domains
drwxr-xr-x  2 vpopmail vchkpw 4096 Oct 25 23:05 etc
drwxr-xr-x  2 vpopmail vchkpw 4096 Oct 25 23:05 include
drwxr-xr-x  2 vpopmail vchkpw 4096 Oct 25 23:05 lib
Everything went just fine up to here.


- built courier-authlib-0.50.20041020 (rpmbuild) and installed.
- built courier-imap-3.0.8.20041020 (rpmbuild) and installed.

here is the configuration file for courier-authlib (/etc/authlib/authdaemonrc)
---xxx---
authmodulelist=authvchkpw
authmodulelistorig=authuserdb authpam authldap authcustom
daemons=5
authdaemonvar=/var/spool/authdaemon
DEBUG_LOGIN=2
---xxx---

when I start courier-authlib I get this message: 
---xxx---
Oct 25 23:37:46 host authdaemond: modules=authvchkpw, daemons=5
Oct 25 23:37:46 host authdaemond: Installing libauthvchkpw
Oct 25 23:37:46 host authdaemond: libauthvchkpw.so: cannot open shared
object file: No such file or directory
---xxx---

any idea how to solve this issue?
all help is appreciated.

thx,
sergio