[vchkpw] update maildirsize file

2003-08-15 Thread Christian Lyra
Hi all,

I have a working installation of qmail+qmailadmin+sqwebmail+vpopmail+mysql, 
and as some of you may have already notice, if a user modify her/his 
preferences throught qmailadmin to forward+store a local copy of messages, 
qmailadmin just insert something like [EMAIL PROTECTED]
/home/vpopmail/domains/mydomain/myuser/Maildir/ in the user´s .qmail. Since 
the e-mail is delivery to the user Maildir without being passed to 
vdelivermail the maildirsize file is not updated, so the user can bypass 
his/her quota! There are similar problems when using spamassassin with per 
user configuration. 
Is there a way to update the maildirsize file  throught a external program, 
one that can be run by a crontab job for example? 

-- 
Christian Lyra
POP-PR - RNP

http://lyra.soueu.com.br
http://wecanstopspam.org

  Thus spake the master programmer: 
  ``When you have learned to snatch the error code from the trap frame, it 
will be time for you to leave.'' 
The Tao Of Programing




[vchkpw] qmail quotas won't work

2003-08-15 Thread Chrigi Hartmann
hello qmail users

I'm from switzerland and I don't speak very well english. but i hope you
understand me!

i build my qmail server with the instructions from
http://ndhsoft.com/qmailtoaster.htm. Everything works fine since 1 month.
even i added a domain, i gave the quotas in vqadmin for 5 MB (5242880
Bytes). and the vqadmin transfer it correctly to the .qmailadmin-limits
file. in qmailadmin he shows me the correct quota to (5MB) / pop account.
now I wonted to test my quotas and I have recognize that they won't work. I
try to describe you step by step my problem:

i made a new pop3 account. hi's quota is 5MB. no mails are in this mailbox.
vuserinfo [mailadress] shows me 0% usage. that's correct!
now i send a email with 2.5 MB. vuserinfo shows me 0% - that's not correct!
now i set the quotas again with vsetuserquota 5242880
now, vuserinfo shows the correct quota usage ( 50%).
now i sent a email again, for this with 4 MB attachement (qmail has now to
block this mail. the destination mailbox is full then)
but qmail accepts this message.
vuserinfo shows 50% and he don't addet the new mail.
if a run vsetuserquota again, he shows me a overfull mailbox with 140% quota
usage. but i can reciev mor mails on this account. he don't block the mails!
now I erased mails until I have 2.5 MB of mails in my mailbox.
vuserinfo shows me 140% usage.
if i run vsetuserquota again, he shows me correct 50% usage. strange, not?

conclusio: qmail don't count up the quotas. he only count down when I erase
messages.

where are the quotas definied in qmail? i couldn't find any informations
about these in the internet.

can anybody help me?

greets, chrigi hartmann




Re: [vchkpw] vpopmail mysql

2003-08-15 Thread Adam Hooper
Could it be that you're linking against MySQL client 3 instead of MySQL 
client 4? Or is your MySQL 4.0 client library trying to connect to MySQL 
4.1 server? You've definitely got a version mismatch of *some* sort

Also, I'd strongly recommend NOT using MySQL Server 4.1.0. It was 
released just to convince people that MySQL AB follows the release 
early, release often philosophy (though that version is ages old by 
now), but it really has too many bugs. If you absolutely need the latest 
MySQL (for subselects and derived tables, for example, though I don't 
see how you need use them in the vpopmail database) then install from 
the 4.1 bitkeeper branch. Instructions are on mysql.com.

If you don't know what you want, you want MySQL 4.0.13. And you want to 
uninstall MySQL Client 3.

--
Adam Hooper
[EMAIL PROTECTED]
eLgino wrote:

ERROR 1249: Client does not support authentication protocol requested by
server. Consider upgrading MySQL client
i have mysql client 3 AND 4 and server 4.1.0
OS: FreeBSD 4.8
vpopmail= newest one
- Original Message -
From: Rick Macdougall [EMAIL PROTECTED]
To: eLgino [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 6:17 PM
Subject: Re: [vchkpw] vpopmail  mysql


Hi,

We use it with 4.x without a problem.

Regards,

Rick

eLgino wrote:


hi folks,

does work vpopmail with MySQL 4.1.0? or only with version 3?

thx














[vchkpw] user setup of forwards

2003-08-15 Thread Benjamin Tomhave
Hello,

(Cross-posting to vchkpw and qmailadmin mailing lists.)

I'm currently running qmailadmin 1.0.25 and vpopmail 5.3.20 (been waiting
for a 5.4 release).  When users login to qmailadmin with their personal,
non-postmaster accounts and create a forward, a .qmail file is created in
the account/ directory, at the same level as Maildir.  This does not appear
to be getting processed correctly as the messages appear to disappear into
oblivion (w/o so much as a bounce).  I've typically always manually setup
forward as .qmail-account in the domain's base directory, not through use of
.qmail files in the user's directory.

So, what I'm wondering is a couple things.  First, does my older version of
vpopmail not deal with .qmail files correctly in the user's account
directory?  Second, is use of the .qmail file the best/correct
implementation, or was this fixed in 1.0.26 (which I haven't had time to
compile yet) by reverting back to the .qmail-account format in the domain's
base directory?

Thank you,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] doublebounces non-.qmail-default | /var/vpopmail/bin/vdelivermail '' delete

2003-08-15 Thread Shane Chrisp
The .qmail-doublebouncetonull goes in the /var/qmail/alias dir.

Shane

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, 15 August 2003 8:10 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] doublebounces non-.qmail-default | 
/var/vpopmail/bin/vdelivermail '' delete


Tom, I've been tracking this thread with great interest.  But it's
implementation didn't make complete sense.  If I understand correctly:

/var/qmail/control/doublebounceto
: doublebouncentonull

.qmail-doublebouncetonull
#

This method pipes a doublebounce to a comment, which is essentially a
/dev/null and the message dies quietly.

What I'm not understanding is where to put the 
.qmail-doubnull file
in the vpopmail domains structure given that I have multiple domains
hosted?

Does it go into the qmail (/var/qmail/{alias|users}) environment or the
vpopmail environment?  Per domain or single instance?  Where to put the
.qmail

Thanks for helping clarify, this sounds really helpful.
D.




 ::Beware that this does not seem to work 100% with vpopmail. Check
 ::the archives
 ::for a better answer.
 ::
 ::As a side note, # is not like /dev/null, but perhaps 
you knew that.

 Upon further reflection I can see how that might be inferred.

 Just to be clear... dotqmail files are used as delivery 
instructions for
 qmail... and a # is actually nothing more than a comment... and with
 nothing
 else in the dotqmail file... the delivery agent doesn't know 
what else to
 do
 with the message and basically drops it to the floor and moves on.

 And in response to the vpopmail issue, which I wasn't aware 
of... if you
 created a .qmail-null file with a # in it... then it would bypass the
 vpopmail delivery agent... (Thank you Oden for bringing that to my
 attention.)

 I have used a .qmail file on my null user in both 5.2.1 and 5.3.20
 (currently in production) with no problems.

 Same end result...

 Tom Walsh
 Network Administrator
 http://www.ala.net/










RE: [vchkpw] doublebounces non-.qmail-default | /var/vpopmail/bin/vdelivermail '' delete

2003-08-15 Thread Tom Walsh
::Tom, I've been tracking this thread with great interest.  But it's
::implementation didn't make complete sense.  If I understand correctly:
::
::/var/qmail/control/doublebounceto
::: doublebouncentonull
::
::.qmail-doublebouncetonull
::#
::
::This method pipes a doublebounce to a comment, which is essentially a
::/dev/null and the message dies quietly.
::
::What I'm not understanding is where to put the .qmail-doubnull file
::in the vpopmail domains structure given that I have multiple domains
::hosted?
::
::Does it go into the qmail (/var/qmail/{alias|users}) environment or the
::vpopmail environment?  Per domain or single instance?  Where to put the
::.qmail
::
::Thanks for helping clarify, this sounds really helpful.
::D.

D.

As others have eluded to in follow-ups to your post... There are a couple of
different ways to accomplish this... It all depends on how you want to
implement it.

I am sure you can't put a fully qualified email address in doublebounceto
(been there done that)... qmail affixes the local domain
(/var/qmail/control/me) to your name in doublebounceto OR you can also add
another directive to the /var/qmail/control/... doublebouncehost... this
will concatenate with doublebounceto to create a fully qualified email
address to send double bounces to.

So for instance if you had in your /var/qmail/control/doublebounceto:

null

and your /var/qmail/control/me has:

mail.domain.com

then the null in the doublebounceto file will be expanded to:

[EMAIL PROTECTED]

OR if /var/qmail/control/doublebouncehost has:

domain2.com

then the null in the doublebounceto file will be expanded to:

[EMAIL PROTECTED]

If you don't have mail.domain.com or domain2.com as a vpopmail virtual
domains (entry in /var/qmail/users/assign), then qmail will assume that it
is a local user delivery (at least for mail.domain.com, an MX lookup would
be done for domain2.com if it isn't local ie: rcpthosts, morercpthosts,
etc). It will then consult the /var/qmail/alias/ dir to see if there is a
.qmail-null file there.

On the other hand if mail.domain.com or domain2.com _are_ vpopmail virtual
domains then you can put the .qmail-null file in the
~vpopmail/domains/mail.domain.com or ~vpopmail/domains/domain2.com
directory. Once again delivery will be handled properly.

To answer your other questions... the /var/qmail/control is qmail wide... so
all domains that qmail/vpopmail handle are covered by those directives.

Fun huh? :)

Tom Walsh
Network Administrator
http://www.ala.net/




Re: [vchkpw] user setup of forwards

2003-08-15 Thread Jeff Hedlund


Benjamin Tomhave wrote:
(Cross-posting to vchkpw and qmailadmin mailing lists.)
IMO we are getting way too many cross postings of problems.  Most of us
are on both lists anyway, please try to choose only one list.
I'm currently running qmailadmin 1.0.25 and vpopmail 5.3.20 (been waiting
for a 5.4 release).  When users login to qmailadmin with their personal,
non-postmaster accounts and create a forward, a .qmail file is created in
the account/ directory, at the same level as Maildir.  This does not appear
to be getting processed correctly as the messages appear to disappear into
oblivion (w/o so much as a bounce). 
Any messages in the qmail log?  Are they checking Save a Copy?

 I've typically always manually setup
forward as .qmail-account in the domain's base directory, not through use of
.qmail files in the user's directory.
.qmail files in the user's directory is the correct place to put user
specific processing rules.
So, what I'm wondering is a couple things.  First, does my older version of
vpopmail not deal with .qmail files correctly in the user's account
directory? 
It should be dealing with them properly.  There were a few cases that it
skipped user .qmail files:  When using a /Maildir/ in the catchall
setting (fixed in vpopmail 5.3.21), and when using a /Maildir/ in the
.qmail-files in the domain directory (how aliases used to be written in
qmailadmin 1.0.20).
Second, is use of the .qmail file the best/correct
implementation, or was this fixed in 1.0.26 (which I haven't had time to
compile yet) by reverting back to the .qmail-account format in the domain's
base directory?
Use of the .qmail file in the user's directory is the correct
implementation.
Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com





[vchkpw] Re: user setup of forwards

2003-08-15 Thread Paul L. Allen

Hi Benjamin

Benjamin Tomhave writes:

 (Cross-posting to vchkpw and qmailadmin mailing lists.)
 
 I'm currently running qmailadmin 1.0.25 and vpopmail 5.3.20 (been waiting
 for a 5.4 release).  When users login to qmailadmin with their personal,
 non-postmaster accounts and create a forward, a .qmail file is created in
 the account/ directory, at the same level as Maildir.

Correct.  It's only recently that I've been playing with a version
of qmailadmin new enough to do that, and it came as a surprise.  I
can think of two reasons why such functionality may have been added.

The first is that it allows users to set up forwards for their mailbox
without having to pester the domain administrator to do it for them.
This could have also been achieved by having qmailadmin permit a user
to create/modify/delete a .qmail-username file ONLY if it matched their
mailbox name, but this way allows the domain administrator to over-ride
the user's forward with an alias (although setting up an alias for a user
that delivers to that user's maildir using qmailadmin requires some
devious trickery, it is possible).

The second is that it appears to be the way intended (but, as far as I
can see, undocumented) for users to enable sqwebmail mailfilters.  If
their forward contains:

  | /usr/local/bin/maildrop .maildirfilter

then vdelivermail will hand over delivery to maildrop.  The only other
way I know of invoking maildrop is to manually edit the .qmail-default
file, thereby sacrificing vdelivermail functionality and running the
risk of a careless domain administrator undoing the maildrop change
by playing with the catch-all settings.

Manually putting maildrop into .qmail-default is not an option in our
usage where we have many clients each with virtual domains, some of whom 
want to be able to use all the features of qmailadmin including whether to 
have mail to unknown users bounced or deleted or to change which account
acts as catch-all.

But I also feel that instructing users that if they want to use mail
filters they have to type in the above delivery instruction into the
forward is not a tenable option.  Some of the users we get are not
capable of typing their own e-mail address into their e-mail clients
correctly.  One of them appeared to not even know what her own surname
was, having called herself [EMAIL PROTECTED] when in fact she was 
[EMAIL PROTECTED] (no, she was not recently married or divorced).

So I hacked my copy of vdelivermail so that if it couldn't find
a .qmail file in the user's directory it then looked for a
.maildirfilter file in that directory.  If it found the .maildirfilter
file then it pretended that it had just read a .qmail file containing
the above delivery instruction.  That meant that if anyone set up an
sqwebmail filter it automatically worked without them having to create
that awkward forward.  It also meant the user could temporarily over-ride
the filters by setting a forward if they wanted.  I did submit a patch
to Tom but he didn't say whether or not he intended to use it.

BTW, I did read somewhere that qmailadmin developers were considering
dropping aliases because an alias bypasses the user's .qmail file if
they have one, but a forward does not (because it gets re-injected
into qmail).  I consider that to be a feature rather than a bug.
Imagine a sales team, where the alias sales@ expands to the maildirs
of all the members of the team.  One of the team sets up a vacation
autoreply in sqwebmail.  Because sales@ is an alias, mail to the
sales team bypasses his filter, which is exactly what you want.
If qmailadmin drops aliases then that would have to be done with a
forward and mail to the sales team would get an unwanted vacation
reply.

 This does not appear to be getting processed correctly as the messages 
 appear to disappear into oblivion (w/o so much as a bounce).

It works for me, although I'm using vpopmail 5.3.23.  I don't know if
it was broken in some earlier versions.  Are you sure the contents of the
.qmail file are sensible?

 I've typically always manually setup forward as .qmail-account in the 
 domain's base directory, not through use of .qmail files in the user's 
 directory.

You still can do that if you're the system admin or the domain admin.
It's just that now users can do it themselves but the admin can over-ride
them with a traditional alias if necessary.
 
 Second, is use of the .qmail file the best/correct implementation,

It is an additional feature which permits additional functionality,
namely users being able to set up a forward without having to ask
the domain admin to do it for them.  If your domain has a lot of users
who frequently want temporary forwards, you'll appreciate this.

 or was this fixed in 1.0.26 (which I haven't had time to compile yet)
 by reverting back to the .qmail-account format in the domain's
 base directory?

If you use qmailadmin as the domain administrator you still have
the traditional .qmail-account. 

-- 
Paul Allen
Softflare 

RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 It works for me, although I'm using vpopmail 5.3.23.  I don't know if
 it was broken in some earlier versions.  Are you sure the contents of the
 .qmail file are sensible?

Yep, the file appears to be created correctly (vpopmail:vchkpw chmod 600)
and the contents appear to be correct ([EMAIL PROTECTED]).  It just seems
that it's not being processed correctly.  Guess I'll try upgrading the most
current vpopmail devel version and see if this resolves the issue.




Re: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Jeff Hedlund
Benjamin Tomhave wrote:
It works for me, although I'm using vpopmail 5.3.23.  I don't know if
it was broken in some earlier versions.  Are you sure the contents of the
.qmail file are sensible?
Yep, the file appears to be created correctly (vpopmail:vchkpw chmod 600)
and the contents appear to be correct ([EMAIL PROTECTED]).  It just seems
that it's not being processed correctly.  Guess I'll try upgrading the most
current vpopmail devel version and see if this resolves the issue.
What's your qmail log file say?

If the contents are just a forward, no mail is going to be saved locally 
for that account, are you sure the remote account ([EMAIL PROTECTED]) is 
*not* receiving the mail?

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 What's your qmail log file say?

 If the contents are just a forward, no mail is going to be saved locally
 for that account, are you sure the remote account ([EMAIL PROTECTED]) is
 *not* receiving the mail?

I just setup a test account, [EMAIL PROTECTED], and then logged into
qmailadmin and setup a forward to go to my work account,
[EMAIL PROTECTED]  I sent an email from my work account to my test
account, and I see the below information.  Possibly of interest is that the
.Spam folder was dynamically created, meaning that despite having the
forward in place (in the .qmail file) maildrop is still being called and
SpamAssassin is being run against the message.  I'm currently doing spam
filtering with maildrop on a domain-wide level, not on a per-user level, and
I'm wondering if maildrop is not able to process the .qmail file correctly?
In the case of valid mail, the list thing the mailfilter would do is deliver
to [EMAIL PROTECTED].

@40003f3d02b0186e054c new msg 229974
@40003f3d02b0186f7094 info msg 229974: bytes 975 from
[EMAIL PROTECTED] qp 4017 uid 505
@40003f3d02b018987c64 starting delivery 1963824: msg 229974 to local
[EMAIL PROTECTED]
@40003f3d02b018997e34 status: local 1/50 remote 3/100
@40003f3d02b20f450114 delivery 1963824: success: did_0+0+1/
@40003f3d02b20f451884 status: local 0/50 remote 3/100
@40003f3d02b20f452054 end msg 229974




Re: [vchkpw] qmail quotas won't work

2003-08-15 Thread Doug Clements
On Fri, Aug 15, 2003 at 02:47:17PM +0200, Chrigi Hartmann wrote:
 conclusio: qmail don't count up the quotas. he only count down when I erase
 messages.
 
 where are the quotas definied in qmail? i couldn't find any informations
 about these in the internet.

They aren't defined in qmail, they're defined in vpopmail. The setting is kept in the 
user cdb file (or in the database if you're using mysql). Check your .qmail-default 
file and make sure you're using the vdelivermail program to deliver the mail.

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

--Doug



Re: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Jeff Hedlund


Benjamin Tomhave wrote:
I just setup a test account, [EMAIL PROTECTED], and then logged into
qmailadmin and setup a forward to go to my work account,
[EMAIL PROTECTED]  I sent an email from my work account to my test
account, and I see the below information.  Possibly of interest is that the
.Spam folder was dynamically created, meaning that despite having the
forward in place (in the .qmail file) maildrop is still being called and
SpamAssassin is being run against the message.  I'm currently doing spam
filtering with maildrop on a domain-wide level, not on a per-user level, and
I'm wondering if maildrop is not able to process the .qmail file correctly?
In the case of valid mail, the list thing the mailfilter would do is deliver
to [EMAIL PROTECTED].
Where is maildrop being called?  In the .qmail-default file of the 
sofast.net domain?  What's it look like?

And is the test message you sent in the [EMAIL PROTECTED] mailbox?

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 Where is maildrop being called?  In the .qmail-default file of the
 sofast.net domain?  What's it look like?

.qmail-default in the sofast.net domain root -- it's the standard call of
maildrop ../mailfilter within that file.

 And is the test message you sent in the [EMAIL PROTECTED] mailbox?

No, the message disappeared into the void, never the be seen again.




Re: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Jeff Hedlund


Benjamin Tomhave wrote:

Where is maildrop being called?  In the .qmail-default file of the
sofast.net domain?  What's it look like?
.qmail-default in the sofast.net domain root -- it's the standard call of
maildrop ../mailfilter within that file.
Ok.  Can we see the mailfilter?

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



[vchkpw] Re: user setup of forwards

2003-08-15 Thread Paul L. Allen

Benjamin Tomhave writes:

 .qmail-default in the sofast.net domain root -- it's the standard call of
 maildrop ../mailfilter within that file.

Do you have just maildrop or /usr/local/bin/maildrop?  That might
not be on vpopmail's path.  Is /usr/local/bin/maildrop actually there?
If you cd into the sofast.net domain then cd .. and do an ls,
do you see mailfilter in the listing?

Oh, and have you done a mailq do see if they really have vanished or if 
they're deferred?

-- 
Paul Allen
Softflare Support




RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 Do you have just maildrop or /usr/local/bin/maildrop?  That might
 not be on vpopmail's path.  Is /usr/local/bin/maildrop actually there?
 If you cd into the sofast.net domain then cd .. and do an ls,
 do you see mailfilter in the listing?

As already stated, this solution has been working for approximately 6
months.  Mail is being delivered perfectly.  Spam filtering is great.  The
only problem that has occurred is with forwards created in .qmail files
placed in an account's base directory alongside the Maildir/ directory.

 Oh, and have you done a mailq do see if they really have vanished or if
 they're deferred?

I showed you the complete log chain before, it says the message is
delivered, no deferral occurs, and there's nothing in the local queue.




[vchkpw] enable pop3 roaming user support in vpopmail

2003-08-15 Thread Raymond Luong
Hello all you vpopmail guru When I install my
vpopmail+qmail+mysql..I have no clue what I was doing nor what I will
do with my mail server in the future, so when I install vpopmail, I input
no for "--enable-roaming-users=n". Well, now I'm regretting it. Can one of
you vpopmail guru tell me how I can enable roaming user support on
vpopmail safely withoutdisrupting my 200 users. Assuming vpopmail
roaming user allow pop3 user to send mail via my smtp server. Meaning
vpopmail roaming user is another form of pop3 vefore smtp
right?raymond 



[vchkpw] qmail+SMTP auth

2003-08-15 Thread eLgino
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




Re: [vchkpw] qmail+SMTP auth

2003-08-15 Thread Rick Macdougall
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





Re: [vchkpw] qmail+SMTP auth

2003-08-15 Thread Ron Guerin
On Fri, 2003-08-15 at 20:08, eLgino wrote:
 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:

Just a thought... you know it's looking for Base64 input there and not
plaintext, right?

If not, encode your ID and PW  and it will probably work for you then.
http://makcoder.sourceforge.net/demo/base64.php

Also see this for an example SMTP Auth dialog (It's using Sendmail, but
that's irrlevant here): 
http://www.jonfullmer.com/smtpauth/

- Ron





[vchkpw] Maildrop, Qmail, Qmail-Scanner, Spamassassin, filter to folders.

2003-08-15 Thread steve schofield




I'm trying to setup my server to do server side rule delivery to specific 
folders and not right into my INBOX, ran into some config issues.. i have 
everything working qmail-scanner, spamassassin and vpopmail along with 
qmail. 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? I've looked at the man pages, looked for a newbie type 
article. HELP, need a reference!

steve
[EMAIL PROTECTED]



[vchkpw] vpopmail 5.3.23 compile error on FreeBSD 4.5

2003-08-15 Thread NREMTJason
I am trying to install the new vpopmail 5.3.23 on freebsd 4.5. I get the following errors when running make. Could someone please tell me what I must do to correct this problem.

Thanks alot

Jason

vdelivermail.c: In function `date_header':
vdelivermail.c:1333: invalid operands to binary /
vdelivermail.c:1321: warning: `tz' might be used uninitialized in this function
*** Error code 1

Stop in /usr/local/src/vpopmail-5.3.23.
*** Error code 1

Stop in /usr/local/src/vpopmail-5.3.23.
*** Error code 1

Stop in /usr/local/src/vpopmail-5.3.23.
sitemasterswebdesign# more /usr/local/time.h
/usr/local/time.h: No such file or directory


Re: [vchkpw] vpopmail 5.3.23 compile error on FreeBSD 4.5

2003-08-15 Thread Hani Mouneimne
Hi There,

Theese were bugs withing .23 release. Download the latest .24 and compile
as the bugs were fixed.


Regards,
Hani Mouneimne



 I am trying to install the new vpopmail 5.3.23 on freebsd 4.5.  I get the
 following errors when running make.   Could someone please tell me what I
 must do
 to correct this problem.

 Thanks alot

 Jason

 vdelivermail.c: In function `date_header':
 vdelivermail.c:1333: invalid operands to binary /
 vdelivermail.c:1321: warning: `tz' might be used uninitialized in this
 function
 *** Error code 1

 Stop in /usr/local/src/vpopmail-5.3.23.
 *** Error code 1

 Stop in /usr/local/src/vpopmail-5.3.23.
 *** Error code 1

 Stop in /usr/local/src/vpopmail-5.3.23.
 sitemasterswebdesign# more /usr/local/time.h
 /usr/local/time.h: No such file or directory





Re: [vchkpw] vpopmail 5.3.23 compile error on FreeBSD 4.5

2003-08-15 Thread Hani Mouneimne
Should be listed on http://sourceforge.net/projects/vpopmail/ . If you
still have problems go and clear your history/cache and reload the page.
Should display .24 for you.

Regards
A sleep Hani Mouneimne


 I do not see .24 on the list anywhere.  would you be so kind to send me
 the
 source or the link to download.

 thanks

 Jason





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

2003-08-15 Thread Ron Guerin
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