Re: [vchkpw] more weirdness with vdelivermail and maildrop

2003-03-13 Thread Dave Weiner
Iain wrote:

 Well if I turn on logging in maildrop i see the following when i send
 to an alias. This is the same as what I see when I send to a non
 alias.

 Date: Thu Mar 13 16:21:38 2003
 From: Iain [EMAIL PROTECTED]
 Subj: test 3
 File: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 (873)

Iain, can you run the follow query from inside mysql and email me the
results?


select * from valias where alias=iain and domain=voffice.myspinach.org;


Dave




Re: [vchkpw] vpopmail : forwarding a catch-all to an externaladdress

2003-03-13 Thread Jonas Pasche
Hi Jan,

 I've asked this same question before, but I haven't received an 
 answer/solution yet.
 The following problem occurs when a catch-all should be forwarded to an 
 external address : The email is only delivered locally to the catch-all 
 account.

Where does it actually get delivered, as there isn't a i-am-a-test
account in reality?

 [EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# ls -la
 total 352
 drwx--5 vpopmail vchkpw   4096 Feb 27 21:53 ./
 drwx--  13630 vpopmail vchkpw 331776 Mar 13 14:02 ../
 -rw---1 vpopmail vchkpw 58 Jul 23  2002 .qmail-default
 -rw---1 vpopmail vchkpw 71 Feb 27 21:53 .qmail-postmaster
 drwx--3 vpopmail vchkpw   4096 Aug  4  2002 kantoor/
 drwx--3 vpopmail vchkpw   4096 Dec  4  2001 postmaster/
 drwx--3 vpopmail vchkpw   4096 Jul 25  2002 vakantie/

There are two files missing: vpasswd and vpasswd.cdb. Probably this is
the reason for a strange behaviour of vdelivermail (which should be use
better error-catching, if this is really the case).

I'd suggest deleting and recreating the three users, or restoring
vpasswd[.cdb] from a recent backup.

Jonas




RE: [vchkpw] vpopmail and courier-imap - new thread I hope

2003-03-13 Thread Wil Hatfield - HVHM Customer Care
Jason,

Thanks for the feedback. I thought I was invisible for minute there. Whew!

 I never tried user%domain.com ... I always used [EMAIL PROTECTED] ...
 Maybe the @ works and the % doesn't?  It's possible that when you use
 authvchkpw it properly handles the conversion from % to @ ... I believe
 @ is what's in the database...  Might want to give that a whirl...  :)

Actually as I remember the docs from our earlier implementations of
Qmail/Vpopmail/Vchkpw state that the % was the default for authentication
but later it began checking for @ as a sort of fail safe type method. I have
tested POP3 with both and they seem to authenticate either way. And IMAP
gets the same error either way.

 Aha...  I think I found your problem...  Explicitly indicate
 --without-authmysql or else it will compile it in because the mysql
 libraries are present.  It looks like you're using authdaemon as
 well...  I'm told that authdaemon is buggy ...  never encountered that,
 but...  *shrug*

I actually am now trying the following which does exclude the authmysql and
the authdaemon.

cd courier-imap-1.7.0.20030307
./configure --prefix=/usr/local \
--exec-prefix=/usr/local \
--sysconfdir=/usr/local/etc/courier-imap \
--datadir=/usr/local/share/courier-imap \
--libexecdir=/usr/local/libexec/courier-imap \
--enable-workarounds-for-imap-client-bugs \
--disable-root-check --without-authpam \
--without-authldap --without-authpwd \
--without-authmysql --without-authpgsql \
--without-authshadow --without-authuserdb \
--without-authcustom --without-authcram \
--without-authdaemon \
--with-authvchkpw --with-ssl

But this too gives me the same error. Maybe it is the way I am testing it.
Does Microsoft Outlook support the IMAP protocol properly? Anybody out there
use Outlook with IMAP specifically Courier-IMAP? I have Outlook setup
basically the same as a POP3 account except of course the obvious difference
that it is IMAP.

 I gave up on toaster setups...  Gonna write my own with details as to
 why I chose each item ...  :P

Yes I plan to do the same. I put all of my shell scripts for install
together one application at a time so that I can better break it out to
program the master install script (or toaster as I understand it).  My
problem with the toaster scripts out there are the webmail clients used.  I
plan to use the Horde suite of tools with some modifications to security
issues and interface. It will include ALOT more features than sqwebmail and
alot better looking.

Question on Toaster: Where did Toaster scripts get their name from and why
Toaster? Why not Waffle Iron?  Or better yet Margarita Blender!

Wil Hatfield














Re: [vchkpw] more weirdness with vdelivermail and maildrop

2003-03-13 Thread Dave Weiner
Iain wrote:
 I'm pretty sure the alias line is fine:

 mysql select * from valias where alias = 'alias1' and domain =
 'test.rucc.net.au';
 ++--+---+
 alias  | domain   | valias_line   |
 ++--+---+
 alias1 | test.rucc.net.au | [EMAIL PROTECTED] |
 ++--+---+
 1 row in set (0.00 sec)

 mysql

 The aliases work fine without the maildrop filter. So i think it is
 something to do with the way maildrop is interacting with
 vdelivermail.

Very, very strange


 Do you have valias enabled on your system? Maybe you could try it and

Yes, as well as maildrop.  However, I call it from user's .qmail files, not
the .qmail-default

 see if you see the same behaviour. At least one other person on this
 list has indicated that they do.

 cheers, iain.


Dave




Re: [vchkpw] odd output

2003-03-13 Thread Bill Shupp
On Thursday, March 13, 2003, at 03:59  PM, Paul Theodoropoulos wrote:

vpopmail 5.3.18. check the uid/gid fields. in fact, uid/gid for 
everything is the correct 89/89.

thoughts?



uid:0
gid:63
Do you mean these?  They are not intended to match the system uid/gids. 
 Those are coded in /var/qmail/users/assign

Bill




Re: [vchkpw] more weirdness with vdelivermail and maildrop

2003-03-13 Thread Iain
On Fri, 14 Mar 2003 10:09, Dave Weiner wrote:
  Do you have valias enabled on your system? Maybe you could try it and

 Yes, as well as maildrop.  However, I call it from user's .qmail files, not
 the .qmail-default

really. What version of vpopmail and maildrop are you using? Would you mind 
posting your maildrop filter?

thanks, Iain.




Re: [vchkpw] more weirdness with vdelivermail and maildrop

2003-03-13 Thread Dave Weiner
On Thursday 13 March 2003 20:54, Iain wrote:
 On Fri, 14 Mar 2003 10:09, Dave Weiner wrote:
   Do you have valias enabled on your system? Maybe you could try it and
 
  Yes, as well as maildrop.  However, I call it from user's .qmail files,
  not the .qmail-default

 really. What version of vpopmail and maildrop are you using? Would you mind
 posting your maildrop filter?

vpopmail 5.3.16, maildrop 1.3.8

The user's .qmail file just gets |maildrop put in it.  In ~vpopmail is this 
.mailfilter

#
# We need to know the actual dir for the vpopmail user
#
import EXT
import HOST
VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

#
# Do we send the mail through spamc?
#

exception {
 include $VHOME/.spamc
}

#
# If there's a spamfolder file in the users directory
# it will have the rule to deliver to the SPAM folder
#
exception {
 include $VHOME/.spamfolder
}
#
# Include any other rules that the user might have from
# sqwebmail or other compatible program
#
exception {
include $VHOME/Maildir/.mailfilter
}
#
# Default delivery if all else fails
#
exception {
to $VHOME/Maildir/
}

if .spamc is present in the users directory, it will contain:

if ( $SIZE  262144 )
#
# Only filter if less than 256K
#
{
exception {
xfilter '/usr/bin/spamc -f -u [EMAIL PROTECTED]'
}
}

and if .spamfolder is present, it will contain:

if ( /^X-Spam-Flag: *YES/)
{
   exception {
 to $VHOME/Maildir/.SPAM/
   }
}

Maildir/.mailfilter is there for 2 things -- a place to put custom filtering 
rules (my partner and I are working on a SquirrelMail plugin to do this), and 
to give some support for people transitioning from or using sqwebmail

This setup gives us some nice flexibility -- to turn on spamassassin, I just 
have to drop the .spamc file in the user directory.  To deliver to a SPAM 
folder, just drop the .spamfolder into the user directory.  I've been playing 
with a squirrelmail plugin to let the user turn this all on or off.


 thanks, Iain.

You're welcome!

Dave




RE: [vchkpw] domain quota

2003-03-13 Thread Jason
I already had it working thanks to Brian.  I installed vpopmail version
5.3.19.

Thanks

-Original Message-
From: Brad King [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 5:39 AM
To: Jason
Subject: Re: [vchkpw] domain quota


The quota for a domain, will only be active for the user, if the user has
been added after the quota was set

Brad

- Original Message -
From: Jason [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 11:21 PM
Subject: [vchkpw] domain quota


 Hello,

 I've tried playing around with quotas on my qmail+vpopmail+qmailadmin
setup.
 User quota works.  But when I try to set domain quota on
.qmailadmin-limits
 (default_quota X) in the ~vpopmail/domains/somedomain.com directory,
it
 doesn't work.  I set the default_quota to 100, but I did not changed
the
 quota of the user which is 10MB.  I assumed that the system looks first on
 the domain quota.  It seems my assumption was wrong.  Is there something I
 need to do to make it work?  I just installed the programs as described on
 the README/INSTALL files.  By the way, I'm running qmail-1.03 +
 vpopmail-5.2.1 + qmailadmin 1.0.11.  Anybody?

 TIA








Re: [vchkpw] Password fail with specific MUA (Mail.app)

2003-03-13 Thread Jesse Reynolds
Hi Ned

I run Mail.app for some of my email, and have not seen these errors 
you're talking about. I'm connecting via Courier-IMAP's SSL service, 
and I see the following at login:

Mar 14 13:30:18 shiraz imapd-ssl: Connection, ip=[:::150.101.22.162]
Mar 14 13:30:18 shiraz imapd-ssl: LOGIN, [EMAIL PROTECTED], 
ip=[:::150.101.22.162]

so obviously no errors there.

What method of connecting are your Mail.app users using? Just plain 
old POP or what? Testing a plain POP login is also fine for me:

Mar 14 13:34:39 shiraz pop3d: Connection, ip=[:::150.101.22.162]
Mar 14 13:34:39 shiraz pop3d: LOGIN, [EMAIL PROTECTED], 
ip=[:::150.101.22.162]
Mar 14 13:34:39 shiraz pop3d: LOGOUT, [EMAIL PROTECTED], 
ip=[:::150.101.22.162], top=0, retr=0

I'm running the latest versions of OS X and Mail.app, they are Mac OS 
X v10.2.4 and Mail 1.2.3 (v551)

Cheers

Jesse

At 2:22 +0100 14/3/2003, Ned Baldessin wrote:
Hello,

Each time a user checks his account using the MacOSX Mail.app MUA, I 
get an error in my maillog.

Mar 14 01:27:01 ns3167 vpopmail[9164]: vchkpw: password fail 
[EMAIL PROTECTED]:81.56.96.75
Mar 14 01:27:01 ns3167 vpopmail[9165]: vchkpw: password fail 
[EMAIL PROTECTED]:81.56.96.75
Mar 14 01:27:43 ns3167 vpopmail[9174]: vchkpw: password fail 
[EMAIL PROTECTED]:81.56.96.75
Mar 14 01:27:43 ns3167 vpopmail[9176]: vchkpw: password fail 
[EMAIL PROTECTED]:81.56.96.75

Observations :
- The users can perfectly well receive their email, the MUA doesn't 
complain (no errors on the user-side).
- This only happens with the Mail.app MUA. I have cross checked this 
with other MUAs on other domains (same server).
- I'm running vpopmail 5.2.1 on a RH 7.2 box.

I have no idea if the problem is with vpopmail or with Apple's Mail.app.
Any suggestions are welcome.
Thanks.
--
ned's key ID is 0x35359C2B