Re: [vchkpw] qmail+SMTP auth

2003-08-16 Thread cyko
Here is the bottom part of my qmail-smtpd/run script:

exec /usr/local/bin/softlimit -m 500 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
$MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd \
   -r sbl.spamhaus.org \
   -r relays.ordb.org \
 /var/qmail/bin/qmail-smtpd revelation.perfectservers.com
/usr/local/vpopmail/bin/vchkpw \
   /usr/bin/true 21

Notice the /var/qmail/bin/qmail-smtpd hostname /usr/local/vpopmail/bin/vchkpw.

That is very important.  On your setup, its thinking that the vchkpw path is
your hostname and /usr/bin/true is your authentication method, in which case
making everything a valid login (or should).  This makes you an open relay.

I'm also using qmail-smtpd-auth-0.31.

-Patrick Lahni

Quoting Rick Macdougall [EMAIL PROTECTED]:

 Hi,

 Check your version of smtpd-auth patch.  The newer versions require
 hostname /usr/local/vpopmail/bin/vchkpw /usr/bin/true

 Not just /usr/local/vpopmail/bin/vchkpw /usr/bin/true

 Regards,

 Rick


 eLgino wrote:

  hi folks,
  i know its the false maillinglist but i will not join the real one, because
  the traffic is to small.
 
  Now my Problem:
 
  i have installed qmail with SMTP-Auth, and all works fine with Outlook
  Express of MS!, but when i try to connect via telnet telnet host 25 and
 do
  a auth login and enter my username (VALID!) and password (VALID!) it
  comes: user invalid ªï-Ö½-z 235 auth failure, but go
  ahead, is use it with vpopmail my startscript:
 
  /var/qmail/supervise/qmail-smtpd/run
  #!/bin/sh
  exec /usr/local/bin/softlimit -m 4000
  /usr/local/bin/tcpserver -H -l0 -R -c 512 -DUHR -ln3rd.at -c200 0 25
  /var/qmail/bin/qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true
 21
 
  and, yes the
  /usr/local/vpopmail/bin/vchkpw is SUIDED and GUIDED to vpopmail:vchkpw
 
  thanks in advance
  and sry if i send a html-mail
 
 







-
This mail sent through IMP: http://horde.org/imp/




Re: [vchkpw] qmail quotas won't work

2003-08-16 Thread Charles Sprickman
On Fri, 15 Aug 2003, Doug Clements wrote:

 I use Maildrop to deliver with quota features, but I had to enable that
 and set the quota in the recipe file.

Could you expand on that a little?  I know maildrop has a compile-time
switch to turn on quotas, but it natively has no way of talking to
vpopmail...

What's everyone using maildrop doing to enforce quotas?

Charles

 --Doug





Re: [vchkpw] vpopmail mysql !!

2003-08-16 Thread Charles Sprickman
On Thu, 14 Aug 2003, eLgino wrote:

 could not connect to mysql update server Client does not support
 authentication protocol requested by server. Consider upgrading MySQL client

 Server: 4.1.0
 Client 3 and 4

 all right, right password for vpopmail user and the server is running!!

But your client and server are different versions.  pkg_delete your mysql
stuff and start from scratch.  Use the 4.0.x version of the port.  It will
build the client and server.  Rebuild your vpopmail stuff so it links
against the right mysql library...

Charles






[vchkpw] vqmaillocal has no permission to deliver messages

2003-08-16 Thread Danil Pismenny


1. vqmaillocal does not deliver messages localy. It hsa no permission to
write to ~vpopmail/domains... These directories has owner
(vpopmail.vchkpw), but vqmaillocal executed under alias.nofiles.


2. Why I does not log this error message? I just forget message.


I changed owner of qmail-local (vpopmail) to vpopomail and did chmod
u+s qmail-local and it starts to deliver some message. It still does
not deliver message if user name isreal system user (yes I've added
this user with ./vadduser)


Please, help me, my users waits for messages.


Here is log where I try to send message to [EMAIL PROTECTED] (I did
/var/vpopmail/bin/valias -i danil [EMAIL PROTECTED] Is it right?)


@40003f3ea1612a1483ac new msg 144062
@40003f3ea1612a14dd84 info msg 144062: bytes 217 from [EMAIL PROTECTED] qp 27560 
uid 0
@40003f3ea1612ac79b54 starting delivery 8: msg 144062 to local [EMAIL PROTECTED]
@40003f3ea1612ac7e974 status: local 1/10 remote 0/20
@40003f3ea1612d85a214 new msg 144063
@40003f3ea1612d85ffd4 info msg 144063: bytes 307 from [EMAIL PROTECTED] qp 27565 
uid 1004
@40003f3ea1612e35662c starting delivery 9: msg 144063 to local @orionet.ru
@40003f3ea1612e35b44c status: local 2/10 remote 0/20
@40003f3ea1612e35cbbc delivery 8: success: /var/qmail/alias,root,orionet.ru/
@40003f3ea1612e35eee4 status: local 1/10 remote 0/20
@40003f3ea1612e360654 end msg 144062
@40003f3ea1612e64abbc delivery 9: success: 
@40003f3ea1612e64ee24 status: local 0/10 remote 0/20
@40003f3ea1612e65097c end msg 144063


Thank you!

-- 
Danil Pismenny
http://www.orionet.ru/



Re: [vchkpw] vpopmail mysql !!

2003-08-16 Thread eLgino
thanks to all
it works with MySQL-4.0 Server and client
not with 4.1-Alpha!


- Original Message -
From: Charles Sprickman [EMAIL PROTECTED]
To: eLgino [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, August 16, 2003 9:32 PM
Subject: Re: [vchkpw] vpopmail  mysql !!


 On Thu, 14 Aug 2003, eLgino wrote:

  could not connect to mysql update server Client does not support
  authentication protocol requested by server. Consider upgrading MySQL
client

  Server: 4.1.0
  Client 3 and 4
 
  all right, right password for vpopmail user and the server is running!!

 But your client and server are different versions.  pkg_delete your mysql
 stuff and start from scratch.  Use the 4.0.x version of the port.  It will
 build the client and server.  Rebuild your vpopmail stuff so it links
 against the right mysql library...

 Charles

 
 







Re: [vchkpw] Maildrop, Qmail, Qmail-Scanner, Spamassassin, filterto folders.

2003-08-16 Thread Steve Schofield
 Hi Ron,

 I'm still having some questions.  I changed the .qmail-default file from
 |preline /usr/local/bin/spamc|/usr/local/vpopmail/bin/vdelivermail ''
 /usr/local/vpopmail/domains/mail.adminblogs.com/steve

 to
 | maildrop mailfilter
 altered the mailfilter to incorporate the items above,  things stick in
the
 queue.

 any ideas?
 *  - *
 *  Steve Schofield - MCP, CCA
 *  [EMAIL PROTECTED]
 *
 *  Microsoft MVP - ASP.NET
 *  http://www.aspfree.com
 *  - *
 - Original Message - 
 From: Ron Guerin [EMAIL PROTECTED]
 To: steve schofield [EMAIL PROTECTED]
 Cc: vpopmail [EMAIL PROTECTED]
 Sent: Friday, August 15, 2003 9:46 PM
 Subject: Re: [vchkpw] Maildrop, Qmail, Qmail-Scanner, Spamassassin,
filterto
 folders.


  On Fri, 2003-08-15 at 21:30, steve schofield wrote:
   What is the best way once the email has went through qmail-scanner,
   and spamassassin to place it in the folders i want vs going directly
   into INBOX?
 
  That's where Maildrop comes in.  There's more than one way to do this,
  but since you're using Maildrop, that's how you'd do it.
 
  There's also more than one Maildrop recipe floating around, but they all
  look more or less like this one:
 
http://wotsit.thingy.com/haj/mailfilter-spamassassin-vpopmail.shtml
 
  There's some examples of Maildrop filtering to look at included with
  Maildrop at: http://www.courier-mta.org/maildropex.html
 
  The full reference is at: http://www.courier-mta.org/maildropfilter.html
 
  - Ron
 
 
 
 





Re: [vchkpw] Maildrop, Qmail, Qmail-Scanner, Spamassassin,filterto folders.

2003-08-16 Thread Ron Guerin
On Sat, 2003-08-16 at 23:20, Steve Schofield wrote:
  Hi Ron,
 
  I'm still having some questions.  I changed the .qmail-default file from
  |preline /usr/local/bin/spamc|/usr/local/vpopmail/bin/vdelivermail ''
  /usr/local/vpopmail/domains/mail.adminblogs.com/steve
 
  to
  | maildrop mailfilter
  altered the mailfilter to incorporate the items above,  things stick in
 the
  queue.
 
  any ideas?

Have you tested your filter?  There may be syntax errors.  Check your
log file for qmail-send for something like:

@40003f3f03c220ba9bd4 delivery 13799: deferral: .mailfilter(19):_Syntax_error./
 

Also check permissions/ownership of the mailfilter file.

- Ron