Re: [vchkpw] chkusr patch w/Vpopmail 5.4.5

2004-07-13 Thread Jeremy Kister
On Monday, July 12, 2004 11:00 PM, Nick Berry wrote:
 I am trying to implement the chkusr patch (which was good for vpopmail
 5.3), but I've come across the following error:
[...]
 *** Error code 1

after patching, did you modify the Makefile, as well ?
edit the Makefile, look for qmail-smtpd:, and after `cat socket.lib`, add
/home/vpopmail/lib/libvpopmail.a

(adjusting for you're vpopmail's home, of course)

you'll also need to look for qmail-smtpd.o:, and add
/home/vpopmail/include/vpopmail.h /home/vpopmail/include/vauth.h
before the ./compile qmail-smtpd.c

 Any suggestions?

if you're up for a bigger patch, and you see need for the functionality, you
can try the qmail-1.03.isp.patch, available at
http://jeremy.kister.net/code/qmail-1.03.isp.patch which includes chkusr.


Jeremy Kister
http://jeremy.kister.net/



Re: [vchkpw] chkusr patch w/Vpopmail 5.4.5

2004-07-13 Thread nick berry
Jeremy Kister wrote:
after patching, did you modify the Makefile, as well ?
edit the Makefile, look for qmail-smtpd:, and after `cat socket.lib`, add
/home/vpopmail/lib/libvpopmail.a
(adjusting for you're vpopmail's home, of course)
you'll also need to look for qmail-smtpd.o:, and add
/home/vpopmail/include/vpopmail.h /home/vpopmail/include/vauth.h
before the ./compile qmail-smtpd.c
Thanks Jeremy, that did the trick.  Just so this gets googled in case 
someone else has the same issue, here's a patch:
--- Makefile.patch  Tue Jul 13 07:43:55 2004
+++ MakefileMon Jun 15 03:53:16 1998
@@ -1542,8 +1542,7 @@
   received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
   datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
   alloc.a substdio.a error.a str.a fs.a auto_qmail.o  `cat \
-   socket.lib` -lcrypt -lz -lm /usr/local/vpopmail/lib/libvpopmail.a \
-/usr/local/mysql/lib/mysql/libmysqlclient.a
+   socket.lib`

qmail-smtpd.0: \
qmail-smtpd.8
@@ -1554,9 +1553,7 @@
substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \
error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h \
substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \
-exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h \
-/usr/local/mysql/include/mysql/mysql.h \
-/usr/local/vpopmail/include/vpopmail.h /usr/local/vpopmail/include/vauth.h
+exit.h rcpthosts.h timeoutread.h timeoutwrite.h commands.h
   ./compile qmail-smtpd.c
qmail-start: \
if you're up for a bigger patch, and you see need for the 
functionality, you
can try the qmail-1.03.isp.patch, available at
http://jeremy.kister.net/code/qmail-1.03.isp.patch which includes chkusr.
I've heard of the patch and I'll take a better look at it.
Thanks for your help!


[vchkpw] Vdelivermail high load

2004-07-13 Thread Fernando Costa de Almeida

 Hi all,

 Today, when issuing a top on my pop server, I noticed that there were
some vdelivermails process eating a lot of cpu resources. Then, looking
in the logs files, I saw that it was a spam to a specific domain, and
this domain had the postmaster account as the 'catchall account'.
 
 What surprised me is the number of emails in the its Maildir: about
1479158 Is the number of emails in a Maildir related to the amount
of cpu vdelivermail uses? I saw an increasing use of the disc too,
somethings 100%...

 Thanks!


___
ALMEIDA, Fernando Costa de
Computeasy Informtica
www.computeasy.com.br
BSD USER BSD050945
ICQ 72293951



Re: [vchkpw] Debian - Courier - Vpopmail

2004-07-13 Thread Jeremy Kitchen
Please don't reply to an unrelated thread to ask a new question.  It's rude 
and it breaks the list archives.  If you have a new question, use the 'new' 
function of your email client.

Also, please do not send HTML only emails to mailing lists.  If for nobody 
else's sake but yours, because a lot of clients will not render html messages 
(for security reasons, etc) and your mail will simply go in the garbage.  
Please set your mail client to use plain text for all emails to technical 
mailing lists (and probably to everyone else)

On Monday 12 July 2004 11:58 pm, [EMAIL PROTECTED] wrote:
 Hi,


 I have installed qmail  + courier-imap + LDAP + squrrielmail on Linux 6.2

there is no Linux 6.2

 .everything is working fine.

clearly it's not.

 Right now i am using amavis mail scanner 
 (amavis-0.2.1.tar.gz) and virus wall Trend . but still i am unable to
 control virus mails and junk mail's . I want to upgrade amavis with latest
 release. I tried but qmail is not working after installing amavis latest
 release. I will be thankfull if any one helps be in this regard.

none of this has anything to do with vpopmail.  I would ask your question on a 
list related to some of the packages you have named off there, or start by 
reading the documentation for all of them and mailing list archives and such.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] Vdelivermail high load

2004-07-13 Thread Jeremy Kitchen
On Tuesday 13 July 2004 09:47 am, Fernando Costa de Almeida wrote:
  Hi all,

  Today, when issuing a top on my pop server, I noticed that there were
 some vdelivermails process eating a lot of cpu resources. Then, looking
 in the logs files, I saw that it was a spam to a specific domain, and
 this domain had the postmaster account as the 'catchall account'.

  What surprised me is the number of emails in the its Maildir: about
 1479158 Is the number of emails in a Maildir related to the amount
 of cpu vdelivermail uses? I saw an increasing use of the disc too,
 somethings 100%...

if you're using ext2/3 filesystem, or any other non-directory hashing 
filesystem, this will occur.

This isn't vpopmail's fault, it's the filesystem.

You have two options, remove the emails, or switch to a better filesystem 
(such as reiserfs, or UFS with DIR_HASH)

for more details about this filesystem issue, please visit google, as this is 
discussed on more mailing lists than you could possibly think of.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] Vdelivermail high load

2004-07-13 Thread Fernando Costa de Almeida
Hi Jeremy, thanks for your explanation!

Im using FreeBSD and consequently an UFS Filesystem (with
DIR_HASH and SoftUpdates enabled). I will delete the emails, but I
posted this question just to make sure that my problem was caused by the
high number of files in the user's Maildir. The next step is to avoid
that an user have so many emails in his Maildir, perhaps enabling quota
for all users...

I frequently face high IO loads in this server, even though its
has one dedicated disk for the qmail queue and logs.

Thanks.


___
ALMEIDA, Fernando Costa de
Computeasy Informtica
www.computeasy.com.br
BSD USER BSD050945
ICQ 72293951

 -Original Message-
 From: Jeremy Kitchen [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 13, 2004 1:12 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Vdelivermail high load
 
 
 On Tuesday 13 July 2004 09:47 am, Fernando Costa de Almeida wrote:
   Hi all,
 
   Today, when issuing a top on my pop server, I noticed that 
 there were
  some vdelivermails process eating a lot of cpu resources. 
 Then, looking
  in the logs files, I saw that it was a spam to a specific 
 domain, and
  this domain had the postmaster account as the 'catchall account'.
 
   What surprised me is the number of emails in the its Maildir: about
  1479158 Is the number of emails in a Maildir related to 
 the amount
  of cpu vdelivermail uses? I saw an increasing use of the disc too,
  somethings 100%...
 
 if you're using ext2/3 filesystem, or any other non-directory hashing 
 filesystem, this will occur.
 
 This isn't vpopmail's fault, it's the filesystem.
 
 You have two options, remove the emails, or switch to a 
 better filesystem 
 (such as reiserfs, or UFS with DIR_HASH)
 
 for more details about this filesystem issue, please visit 
 google, as this is 
 discussed on more mailing lists than you could possibly think of.
 
 -Jeremy
 
 -- 
 Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet 
 Technologies, Inc.
   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 
 847.492.0470 int'l
 kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
 
 



Re: [vchkpw] Debian - Courier - Vpopmail

2004-07-13 Thread Natter
Eh? I don't speak Spanish so I don't know what
this means.

Can anyone answer my question as to what I need
to modify in Courier-imap after it's installed
via apt-get on Debian to work with vpopmail?

Thanks.


--- [EMAIL PROTECTED] wrote:
 marcio da uma olhada nesse site
 www.aplinux.com.br, se nao me engano la tem um bom
 manual qmail + vpopmail
  + imap
 
 
 t+
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Natter wrote:
 
  | I'm following the qmailrocks guide and already
 have a good
  | qmail/vpopmail system running. Now, I'm trying
 to add courier-imap
  | using apt-get and it installs great, but it
 won't authenticate my
  | user. (http://www.qmailrocks.org/imap_db.htm)
  |
  | It says that I need to change the imapd file:
 change
  | AUTHMODULES=authdaemon to
 AUTHMODULES=authvchkpw
  |
  | change AUTHMODULES_ORIG=authdaemon to
  | AUTHMODULES_ORIG=authvchkpw
  |
  | I've done this but it still won't authenticate
 my test user:
  |
  | #telnet localhost 143 Trying 127.0.0.1...
 Connected to localhost.
  | Escape character is '^]'. * OK Courier-IMAP
 ready. Copyright
  | 1998-2002 Double Precision, Inc. See COPYING for
 distribution
  | information. login [EMAIL PROTECTED] passwd
  |
  | a NO Login failed.
  |
  | What do I have to do to get courier to read my
 vpopmail users?
  |
  | Thanks for the help.
  |
  |
 
  Remember install this courier-imap WITH_VPOPMAIL
 (system operation is
  FreeBSD)
  Look:
 
  inf# telnet localhost 143
  Trying ::1...
  Connected to localhost.
  Escape character is '^]'.
  * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN
 NAMESPACE
  THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA
 IDLE ACL ACL2=UNION
  STARTTLS] Courier-IMAP ready. Copyright 1998-2004
 Double Precision,
  Inc.  See COPYING for distribution information.
  a login marcio password
  a OK LOGIN Ok.
  b logout
  * BYE Courier-IMAP server shutting down
  b OK LOGOUT completed
  Connection closed by foreign host.
  inf#
 
  []'s
  Márcio
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.4 (MingW32)
  Comment: Using GnuPG with Mozilla -
 http://enigmail.mozdev.org
 
 

iD8DBQFA8wtdENnlSIQoiF0RAtvWAKCIlO2P15YnLW0g2jeUOoIhItC5PQCgj3Jf
  YJtM9TuWvh46BcMrq4Rh+EY=
  =shLG
  -END PGP SIGNATURE-
 
 
 
 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


RE: [vchkpw] Debian - Courier - Vpopmail

2004-07-13 Thread Shane Chrisp
Im running it on debian testing and I just compiled courier-imap myself,
at the time the version I used was courier-imap-3.0.3

I used the following ./configure line to get it setup.

./configure --without-authpwd --without-authshadow --without-authpam \
--without-authuserdb --without-authcram --without-authldap \
--without-authmysql --without-authpgsql --without-authcustom \
--without-authdaemon --disable-root-check \
--enable-workarounds-for-imap-client-bugs

After that I was able to change the lines you mentioned below and had it
all working. Has been running well for a quite a few months now.

cheers
Shane
 

-Original Message-
From: Natter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 14 July 2004 12:51 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Debian - Courier - Vpopmail

Eh? I don't speak Spanish so I don't know what
this means.

Can anyone answer my question as to what I need
to modify in Courier-imap after it's installed
via apt-get on Debian to work with vpopmail?

Thanks.


--- [EMAIL PROTECTED] wrote:
 marcio da uma olhada nesse site
 www.aplinux.com.br, se nao me engano la tem um bom
 manual qmail + vpopmail
  + imap
 
 
 t+
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Natter wrote:
 
  | I'm following the qmailrocks guide and already
 have a good
  | qmail/vpopmail system running. Now, I'm trying
 to add courier-imap
  | using apt-get and it installs great, but it
 won't authenticate my
  | user. (http://www.qmailrocks.org/imap_db.htm)
  |
  | It says that I need to change the imapd file:
 change
  | AUTHMODULES=authdaemon to
 AUTHMODULES=authvchkpw
  |
  | change AUTHMODULES_ORIG=authdaemon to
  | AUTHMODULES_ORIG=authvchkpw
  |
  | I've done this but it still won't authenticate
 my test user:
  |
  | #telnet localhost 143 Trying 127.0.0.1...
 Connected to localhost.
  | Escape character is '^]'. * OK Courier-IMAP
 ready. Copyright
  | 1998-2002 Double Precision, Inc. See COPYING for
 distribution
  | information. login [EMAIL PROTECTED] passwd
  |
  | a NO Login failed.
  |
  | What do I have to do to get courier to read my
 vpopmail users?
  |
  | Thanks for the help.
  |
  |
 
  Remember install this courier-imap WITH_VPOPMAIL
 (system operation is
  FreeBSD)
  Look:
 
  inf# telnet localhost 143
  Trying ::1...
  Connected to localhost.
  Escape character is '^]'.
  * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN
 NAMESPACE
  THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA
 IDLE ACL ACL2=UNION
  STARTTLS] Courier-IMAP ready. Copyright 1998-2004
 Double Precision,
  Inc.  See COPYING for distribution information.
  a login marcio password
  a OK LOGIN Ok.
  b logout
  * BYE Courier-IMAP server shutting down
  b OK LOGOUT completed
  Connection closed by foreign host.
  inf#
 
  []'s
  Marcio
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.2.4 (MingW32)
  Comment: Using GnuPG with Mozilla -
 http://enigmail.mozdev.org
 
 

iD8DBQFA8wtdENnlSIQoiF0RAtvWAKCIlO2P15YnLW0g2jeUOoIhItC5PQCgj3Jf
  YJtM9TuWvh46BcMrq4Rh+EY=
  =shLG
  -END PGP SIGNATURE-
 
 
 
 



   
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 




RE: [vchkpw] Vdelivermail high load

2004-07-13 Thread Charles Sprickman
On Tue, 13 Jul 2004, Fernando Costa de Almeida wrote:

   Hi Jeremy, thanks for your explanation!

   Im using FreeBSD and consequently an UFS Filesystem (with
 DIR_HASH and SoftUpdates enabled). I will delete the emails, but I
 posted this question just to make sure that my problem was caused by the
 high number of files in the user's Maildir. The next step is to avoid
 that an user have so many emails in his Maildir, perhaps enabling quota
 for all users...

Another question...  Is there a quota on this account?  I've caught some
maildrop and vdelivermail processes chewing up a ton of cpu just trying to
recalculate the quota.  Very similar situation; catchalls are evil and
outdated.  Since the user had an incredibly huge quota anyway, I set them
to NOQUOTA with vmoduser and everything calmed down.

Thanks,

Charles

   I frequently face high IO loads in this server, even though its
 has one dedicated disk for the qmail queue and logs.

   Thanks.


 ___
 ALMEIDA, Fernando Costa de
 Computeasy Informtica
 www.computeasy.com.br
 BSD USER BSD050945
 ICQ 72293951

  -Original Message-
  From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 13, 2004 1:12 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [vchkpw] Vdelivermail high load
 
 
  On Tuesday 13 July 2004 09:47 am, Fernando Costa de Almeida wrote:
Hi all,
  
Today, when issuing a top on my pop server, I noticed that
  there were
   some vdelivermails process eating a lot of cpu resources.
  Then, looking
   in the logs files, I saw that it was a spam to a specific
  domain, and
   this domain had the postmaster account as the 'catchall account'.
  
What surprised me is the number of emails in the its Maildir: about
   1479158 Is the number of emails in a Maildir related to
  the amount
   of cpu vdelivermail uses? I saw an increasing use of the disc too,
   somethings 100%...
 
  if you're using ext2/3 filesystem, or any other non-directory hashing
  filesystem, this will occur.
 
  This isn't vpopmail's fault, it's the filesystem.
 
  You have two options, remove the emails, or switch to a
  better filesystem
  (such as reiserfs, or UFS with DIR_HASH)
 
  for more details about this filesystem issue, please visit
  google, as this is
  discussed on more mailing lists than you could possibly think of.
 
  -Jeremy
 
  --
  Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet
  Technologies, Inc.
[EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++
  847.492.0470 int'l
  kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
 
 




Re: [vchkpw] upgrading 5.3.30 to 5.4.x

2004-07-13 Thread Charles Sprickman
On Fri, 9 Jul 2004, Tom Collins wrote:

 Someone, somewhere determined the proper order (based on documentation,
 perhaps related to the chkpasswd(?) program used on non-vpopmail
 systems) and the latest (0.42) SMTP AUTH patch and the code in vpopmail
 5.4.0 were both fixed.

Excellent.  Sounds fair enough.

 You should be able to apply your super-patch-pack, then unpatch (patch
 -r?) your original SMTP AUTH patch and then apply the latest patch.

I looked at what I was doing (this is an old install) and found that Bill
Shupp's mega-patch plus chkusr is really all I need.  So I started over
with netqmail and the latest patchsets.  So far all is well under 5.3.30
with the updated qmail, so I'll be giving the upgrade a shot soon.

 Hard to say.  We started using an external file
 (~vpopmail/etc/vpopmail.mysql) to store MySQL settings instead of
 having them hard-coded in vmysql.h.

Looks like I already had that.

 If you've read through the ChangeLog entries, you should have seen any
 critical issues.  We started supporting valiases in MySQL fully in
 vpopmail and qmailadmin (so you can replace aliases, forwards and
 autoresponders in .qmail-alias files with MySQL table entries).

Looked at each release from 5.3.30 - 5.4.6 and didn't see anything big
beyond the smtp-auth issue.  Until my db issues are sorted out I'll be
declining on the valias stuff. :)  I have to give PGSQL a shot sometime as
well.  It looks like people have been cleaning that up a bit.

Thanks,

Charles

 --
 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] Vdelivermail high load

2004-07-13 Thread Fernando Costa de Almeida

 Yes!

 This account has a big quota (about 50MB)...
 
 Here is what I did:

 1) Deleted all emails from this account;
 2) Increased vfs.ufs.dirhash_maxmem to improve performance on big
directories (Thanks to Jeremy who mades me read more about DIRHASH)...
 

  And now, I will set the users to NOQUOTA (thanks to you, hehe)...

   

 
 Another question...  Is there a quota on this account?  I've 
 caught some
 maildrop and vdelivermail processes chewing up a ton of cpu 
 just trying to
 recalculate the quota.  Very similar situation; catchalls are evil and
 outdated.  Since the user had an incredibly huge quota 
 anyway, I set them
 to NOQUOTA with vmoduser and everything calmed down.
 
 Thanks,
 
 Charles
 
  I frequently face high IO loads in this server, even though its
  has one dedicated disk for the qmail queue and logs.
 
  Thanks.
 
 
  ___
  ALMEIDA, Fernando Costa de
  Computeasy Informtica
  www.computeasy.com.br
  BSD USER BSD050945
  ICQ 72293951
 
   -Original Message-
   From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, July 13, 2004 1:12 PM
   To: [EMAIL PROTECTED]
   Subject: Re: [vchkpw] Vdelivermail high load
  
  
   On Tuesday 13 July 2004 09:47 am, Fernando Costa de Almeida wrote:
 Hi all,
   
 Today, when issuing a top on my pop server, I noticed that
   there were
some vdelivermails process eating a lot of cpu resources.
   Then, looking
in the logs files, I saw that it was a spam to a specific
   domain, and
this domain had the postmaster account as the 'catchall 
 account'.
   
 What surprised me is the number of emails in the its 
 Maildir: about
1479158 Is the number of emails in a Maildir related to
   the amount
of cpu vdelivermail uses? I saw an increasing use of 
 the disc too,
somethings 100%...
  
   if you're using ext2/3 filesystem, or any other 
 non-directory hashing
   filesystem, this will occur.
  
   This isn't vpopmail's fault, it's the filesystem.
  
   You have two options, remove the emails, or switch to a
   better filesystem
   (such as reiserfs, or UFS with DIR_HASH)
  
   for more details about this filesystem issue, please visit
   google, as this is
   discussed on more mailing lists than you could possibly think of.
  
   -Jeremy
  
   --
   Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet
   Technologies, Inc.
 [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++
   847.492.0470 int'l
   kitchen @ #qmail #gentoo on EFnet ++ 
 scriptkitchen.com/qmail
  
  
 
 
 



[vchkpw] Qmail+Vpopmail+Mysql

2004-07-13 Thread Alexandre Ricardo Souza Silva




ola 
personal I am with a problem in my qmail I am using redhat 9,0 in this server 
this configured the qmail+myls+vpopmail the problem is that I do not obtain to 
order email for other dominíos rejection of my net I forgive for asking for to 
help for here waiting a brief return of all.
_Alexandre Ricardo S.SilvaNetwork 
Administrator  Security AnalistCentral On Line ( Tornero  Cia 
)Componentizar ( Componentizar )Fone: 
11-5070-6796


Re: [vchkpw] RBLs

2004-07-13 Thread Alex Martin
Paul,
What is the -t10 option below? I do not see it listed on 
http://cr.yp.to/ucspi-tcp/rblsmtpd.html.

Thanks,
Alex
(quote)
anyway, here's what we use:
/usr/local/bin/rblsmtpd -C \
-a whitelist.example.com \
-r sbl-xbl.spamhaus.org:\
Probable spam connection rejected. Details at http://www.spamhaus.org; \
-r list.dsbl.org:\
Probable spam connection rejected. Details at http://www.dsbl.org; \
-r relays.ordb.org:\
Probable spam connection rejected. Details at http://www.ordb.org/faq; \
-t10 \
/var/qmail/bin/qmail-smtpd 21



Re: [vchkpw] RBLs

2004-07-13 Thread Alex Martin
Sorry, I am a moron. from http://cr.yp.to/ucspi-tcp/rblsmtpd.html:
-t n: Change the 60-second timeout to n seconds.
Thanks,
Alex
Alex Martin wrote:
Paul,
What is the -t10 option below? I do not see it listed on 
http://cr.yp.to/ucspi-tcp/rblsmtpd.html.

Thanks,
Alex
(quote)
anyway, here's what we use:
/usr/local/bin/rblsmtpd -C \
-a whitelist.example.com \
-r sbl-xbl.spamhaus.org:\
Probable spam connection rejected. Details at http://www.spamhaus.org; \
-r list.dsbl.org:\
Probable spam connection rejected. Details at http://www.dsbl.org; \
-r relays.ordb.org:\
Probable spam connection rejected. Details at http://www.ordb.org/faq; \
-t10 \
/var/qmail/bin/qmail-smtpd 21




Re: [vchkpw] RBLs

2004-07-13 Thread Rick van Vliet
(Fixed your top post)
Alex Martin wrote:

Alex Martin wrote:
Paul,
What is the -t10 option below? I do not see it listed on 
http://cr.yp.to/ucspi-tcp/rblsmtpd.html.

Thanks,
Alex
(quote)
anyway, here's what we use:
/usr/local/bin/rblsmtpd -C \
-a whitelist.example.com \
-r sbl-xbl.spamhaus.org:\
Probable spam connection rejected. Details at http://www.spamhaus.org; \
-r list.dsbl.org:\
Probable spam connection rejected. Details at http://www.dsbl.org; \
-r relays.ordb.org:\
Probable spam connection rejected. Details at http://www.ordb.org/faq; \
-t10 \
/var/qmail/bin/qmail-smtpd 21
 Sorry, I am a moron. from http://cr.yp.to/ucspi-tcp/rblsmtpd.html:

 -t n: Change the 60-second timeout to n seconds.

 Thanks,
 Alex


but you're not a moron. We must have googled it at the same time
Rick
From a little Google:
From http://cr.yp.to/ucspi-tcp/rblsmtpd.html
---
 rblsmtpd opts prog
 rblsmtpd drops the limited SMTP conversation after 60 seconds, even if the
 client has not quit by then.
 Options:
 * -t n: Change the timeout to n seconds.
 ---



RE: [vchkpw] RBLs

2004-07-13 Thread Remo Mattei
Yes it's there it is timeout 



Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]
-Original Message-
From: Alex Martin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 13, 2004 9:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] RBLs

Paul,

What is the -t10 option below? I do not see it listed on 
http://cr.yp.to/ucspi-tcp/rblsmtpd.html.

Thanks,
Alex


(quote)

 anyway, here's what we use:
 
 /usr/local/bin/rblsmtpd -C \
 -a whitelist.example.com \
 -r sbl-xbl.spamhaus.org:\
 Probable spam connection rejected. Details at http://www.spamhaus.org; \
 -r list.dsbl.org:\
 Probable spam connection rejected. Details at http://www.dsbl.org; \
 -r relays.ordb.org:\
 Probable spam connection rejected. Details at http://www.ordb.org/faq; \
 -t10 \
 /var/qmail/bin/qmail-smtpd 21
 



Re: [vchkpw] Mail isnt delivered by vdelivermail!

2004-07-13 Thread Tom Collins
On Jul 12, 2004, at 5:54 AM, WebKommerz wrote:
The setup:
In my first tries, i placed the pipe-Filter in the Userdir-.qmail-file 
(.qmail) which turned into a loop since vdelivermail reprocessed the 
.qmail ... :) = WRONG PLACE for my filterprogram! Of course i changed 
it. The filter is now called in the .qmail-user-file (e.g. 
.qmail-robot) stored in the Domain Dir:
 
/usr/local/vpopmail/domains/flenschat.de/.qmail-robot
 
Contents of the .qmail-robot:
 
|/usr/home/webkommerz.de/cgi-bin/cone/mod_recycle_mail.pl 
/usr/local/vpopmail/domains/flenschat.de/robot/Maildir/
The Programm filters the incoming Mail (STDIN) and passes it to 
vdelivermail, if it isnt Spam (perl-snippet):
 
   open(XXX,|/usr/local/vpopmail/bin/vdelivermail '' $xMAILDIR) or 
die $!;
   print XXX STDIN;
   close(XXX); 
That's not the proper way to call vdelivermail.  You may think you're 
saying, Put this email in that Maildir, but what you're really saying 
is, if you can't find a place to deliver this email, put it in that 
Maildir.

It would be much simpler to look at the exit codes that qmail-local 
checks for, and redo your .qmail-robot as follows:

|/usr/home/webkommerz.de/cgi-bin/cone/mod_recycle_mail.pl
/usr/local/vpopmail/domains/flenschat.de/robot/Maildir/
Then, have mod_recycle_mail.pl exit with the code for don't deliver 
mail if it's spam, and exit with the code for continue processing 
.qmail file if it's not spam.

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