[vchkpw] Re: synchronize control files

2003-09-22 Thread Paul L. Allen

Tim Hasson writes:

 I am developing a web based interface on it using php/mysql
[...]

 My worst fear is of a exploit like the recent SSL v2 vulnerability
 where an unautheticated user, or an anonymous user, could just simply 
 exploit the apache process, and use it as a step stone.

You're worried about an obscure SSL vulnerability when you're using
PHP?  Unless you're planning on a dedicated mail server with no user
accounts having webspace, your setup will be wide open.  Without an
add-giving the eqvuivalent behaviour of suexec, you need to make any
directories and files that you need to modify readable and writeable by
the httpd user.  So anybody with web space on the server can write some
PHP to read and/or trash other people's mail.

Being worried about obscure attacks when you're using PHP is like
worrying about somebody 100 yards away striking a match when your
clothes are on fire.

-- 
Paul Allen
Softflare Support




[vchkpw] Find out how vpopmail was compiled

2003-09-22 Thread Jasper Metselaar
Hi,

I need to figure out how vpopmail was compiled on an existing machine,
in other words: I need to know which options were used with
../configure
Does anyone know a way to figure that out?

Thanks!

- Jasper





Re: [vchkpw] Find out how vpopmail was compiled

2003-09-22 Thread Brad
 I need to figure out how vpopmail was compiled on an existing machine,
 in other words: I need to know which options were used with
 ../configure

You should be able to find this informaton in the config.status file located
in the source from which you compiled...

Brad




Re: [vchkpw] Find out how vpopmail was compiled

2003-09-22 Thread Oden Eriksson
måndagen den 22 september 2003 12.45 skrev Brad:
  I need to figure out how vpopmail was compiled on an existing machine,
  in other words: I need to know which options were used with
  ../configure

 You should be able to find this informaton in the config.status file
 located in the source from which you compiled...

cat /home/vpopmail/include/config.h

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [vchkpw] Find out how vpopmail was compiled

2003-09-22 Thread Jasper Metselaar
 I need to figure out how vpopmail was compiled on an existing
 machine, in other words: I need to know which options were used
 with
 ../configure

 You should be able to find this informaton in the config.status
 file located in the source from which you compiled...

This could be a solution if the source was still on this machine...
but unfortunately this is not the question. :-(There is only a compiled version 
running on this machine

- Jasper





[vchkpw] Bugs solved for chkuser and TMDA

2003-09-22 Thread tonix (Antonio Nati)



Thanks to some warnings I received (thanks Vince), I've modified and
tested the patch over patch made for making chkuser work
together with TMDA, and made a final version that looks exempt from bugs
(!).
Note: The original chkuser has no problems. Problems have been found on
the extension made for TMDA.
Final code that seems to work without problems, as it has been tested,
is:

user_passwd = vauth_getpw (user.s, domain.s);
+
if (user_passwd == NULL) {
+
count = 0;
+
while ((count  (user.len -1))  (user_passwd == NULL))
{
+
count += byte_chr(user.s[count], user.len - count,'-');
+
if (count  user.len) {
+
if (!stralloc_copyb (alias_name, user.s, count)) die_nomem();
+
if (!stralloc_0 (alias_name)) die_nomem();
+
user_passwd = vauth_getpw (alias_name.s, domain.s);
+
++count;
+
}
+
}
+
}

if (user_passwd != NULL) {
Please, who has used the previous version of this patch over
patch, should update to this version of code.
Let me know of any problems, if possible.
Ciao,
Tonino



[EMAIL PROTECTED]
Interazioni di Antonio Nati 

http://www.interazioni.it
[EMAIL PROTECTED]






Re: [vchkpw] backup vpopmail....

2003-09-22 Thread Tom Collins
On Wed, Sep 17, 2003 at 07:05:43PM +0200, Shai Ben-Naphtali wrote:
Hi,
I want to backup vpopmail.. it's config and data files... what 
should I
backup?
Here's something I put together that explains the files that 
qmail/vpopmail use for storing/delivering mail.  It should give you a 
good idea of what you need to backup, or what needs to be copied when 
moving a domain from one server to another.

http://www.tomlogic.com/qmail/vpopmail-storage-key.html

Perhaps someone can build on this, and add it to the Documentation 
Manager on SourceForge...

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



[vchkpw] Bounce when over quota

2003-09-22 Thread John Councilman
Is there a way to disable bouncing when a user is over quota.  I know 
you can disable bouncing when a user does not exist.  Any ideas?

John




Re: [vchkpw] AppleMail Password Fail in syslog

2003-09-22 Thread Tom Collins
On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
I have several user on a small vpopmail domain, that seem to be able 
to send and get mail fine.
However, AppleMail (OSX 10.2) seems to leave a vchkpw: password fail 
[EMAIL PROTECTED]
(Using password authentication on the Mac client end)

Wondering if someone has thoughts on why I'm getting that fail, 
despite the user being able to send/retrieve?
I use Apple Mail without any problem...

What version of vpopmail are you using, and where do you see the 
password fail error?  Is this when picking up mail, or sending with 
SMTP AUTH?

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



[vchkpw] Over quota message.

2003-09-22 Thread John Councilman
Can you just put an empty .over-quota.msg in the domain directory to 
disable the over quota message.

John




Re: [vchkpw] AppleMail Password Fail in syslog

2003-09-22 Thread Oden Eriksson
måndagen den 22 september 2003 17.48 skrev Patrick Pittman:
  On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
  I have several user on a small vpopmail domain, that seem to be able
  to send and get mail fine.
  However, AppleMail (OSX 10.2) seems to leave a vchkpw: password fail
  [EMAIL PROTECTED]
  (Using password authentication on the Mac client end)
 
  Wondering if someone has thoughts on why I'm getting that fail,
  despite the user being able to send/retrieve?
 
  I use Apple Mail without any problem...
 
  What version of vpopmail are you using, and where do you see the
  password fail error?  Is this when picking up mail, or sending with
  SMTP AUTH?

 I also get this error on POP authentication with my Apple Mail users,
 currently using 5.3.24 but has been consistent through versions over the
 last year. The mail comes in fine, and they get no error on their end, only
 in the logs.


I (co)manage a system where apple people say apop auth fails or something like 
that. I looked in the code but couldn't find any apop in there, I seem to 
remember apop was removed?

I was stupid using a patch that claimed apop capa in qmail-popup and 
qmail-pop3d, but removed it. Is it so that apple mail clients autoconfigure 
when the account is setup, but cannot reconfigure, or is it simply a human 
error? 

Using v5.3.27.

-- 
Regards // Oden Eriksson, Deserve-IT.com




[vchkpw] message is looping mail is looping

2003-09-22 Thread Frank
Is there a solution to stop mail from looping when
addressed to a non-existent user?

qmail -1.03
vpopmail 5.3.27
qmailadmin 1.0.26

I have a very similiar message is looping
mail is looping problem such as this person had:
http://mail-archives.neolug.org/qmail/Nov-2002/0462.html

I have a cron job that sends an email to [EMAIL PROTECTED]
But vpopmail resends it to [EMAIL PROTECTED] and
starts looping. Plus, any spam will mail loop.

Has anyone found a solution or way to find the
solution for it?

Many thanks,
Frank

P.S.
I've tried deleting the domain and recreating it with users:
/home/vpopmail/bin/vdeldomain mydomain.com
/home/vpopmail/bin/vadddomain mydomain.com mypass
/home/vpopmail/bin/vadduser [EMAIL PROTECTED] mypass

Same thing. A email addressed to a non-existent user
will mail loop.

I've tried making a user in qmailadmin the catchall.
Same thing. The email addressed to a non-existent user
will still mail loop.






[vchkpw] Spamassassin + qmail + vpopmail + procmail + courier-imapd + squirrelmail + qmail-scanner + clamav

2003-09-22 Thread Vpopmail List
Hello list ..

I tried the gentoo list with this problem, but no luck ..

I have finally taken the shot at trying to get this working ..

What is working?

Qmail, vpopmail, courier-imapd, qmail-pop3d and squirrelmail, qmail-scanner,
clamav(minor problems)

this all works ...

what I am trying to involve now is
procmail and spamassassin

there really isn't much documentation to get this all working especially
under gentoo .. but I don't think there is much to configure with either of
these packages ..
.. so I was wondering if I'd get any help here ..

I think that vpopmail being involved is what is confusing me ..

most have the $HOME as /home/USER/.maildir

well with vpopmail I have it as ..

/var/vpopmail/domains/USER/Maildir/ and from there it is new, cur, etc ..

also I do not see this X-Spam file anywhere?

any help is appreciated ..

thanks ..




Re: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-22 Thread matt

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 6:42 PM
Subject: [vchkpw] Re: Permissions problem on /home/vpopmail after re-compile


  - Original Message - 
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, September 21, 2003 4:24 PM
  Subject: Permissions problem on /home/vpopmail after re-compile
 
 
   hi all,
  
   I have been having a qmailadmin problem for a while now, after playing
  with
   vpopmail I think I have got to the bottom. (quite a simple one when
you
  look
   at it properly)
  
   The initial problem was qmailadmin gave me the error could not open
 and
   that was it
  
   I rebuilt qmailadmin - I rebuilt vpopmail nothing seemed to work.
  
   However I tried to add a domain using the command line today as I
 decided
  to
   spend some proper time on this problem.
  
   I ran a ./vadddomain test.com
   typed in the password 2 times
   and got back Error: Could not open qmail default
  
   a quick search of bluedot.net revieled that qmail default is
  .qmail-default
   in the domain dir of the domain creating.
  
   so the problems is a simple permissions problem. Now comes to the
  confusing
   bit.
  
  
   All the domains bar inter7.com and hugo.com where created from the
first
   vpopmail install
  
   [EMAIL PROTECTED] /home/vpopmail/domains]# ls -la
   total 44
   drwx--   10 vpopmail vchkpw   4096 Sep 21 15:13 .
   drwxr-xr-x9 vpopmail vchkpw   4096 Sep 10 20:21 ..
   -rw-r--r--1 vpopmail vchkpw 34 Sep  9 10:12 .dir-control
   drwxr-x---3 vpopmail vchkpw   4096 Apr 23 13:24
 aspectevents.co.uk
   drwx--4 vpopmail vchkpw   4096 Jul 17 14:15 hacktek.co.uk
   drwx--2 vpopmail vchkpw   4096 Sep 21 15:06 hugo.com
   drwx--2 vpopmail vchkpw   4096 Sep 21 15:13 inter7.com
   drwxr-x---4 vpopmail vchkpw   4096 Sep 10 20:08 mdlan.co.uk
   drwxr-x---4 vpopmail vchkpw   4096 May 29 17:08
   parsonsmotorsport.co.uk
   drwxr-x---6 vpopmail vchkpw   4096 Apr 30 15:38
 projecthugo.co.uk
   drwxr-x---4 vpopmail vchkpw   4096 Apr 25 15:15
sfproject.co.uk
  
   As you can see the X permissions is missing from the group permissions
 on
   the 2 test domains created. So vpopmail is actually creating the
domains
   with the right user/group vpopmail:vchkpw (so the ./configure options
  appear
   to have worked)  yet it appears to have just forgot about the group
   permissions ???
  
   The group permissions at not a build time option ?? so why when I have
   rebuilt the same version of vpopmail with the same configure options
 does
  it
   simpley forget to apply group permissions. vadddomain creates the dir
 with
   the wrong group permissions so it can't create the .qmail-default
domain
   inside.
  
   Any suggestions as to why vpopmail is doing this ?
  
   (Thanks for the input on the qmailadmin list also some good advice -
the
   fact that I didn't get anywhere made me get my head down today)
  
  
   thanks,
  
   Matt.
 
 
  An interesting note is
 
  a.) vpopmail ./vadddomain causes the error
  b.) qmailadmin complains of an error cannot open dir
  c.) vqadmin does NOT complain of any error. It creates a dir with the
SAME
  permissions as the other none working domains (as though the group
  permissions had been forgot) but it manages to create the
.qmail-defaults
  file. This is very interesting as I understand it vqadmin simpley uses
  vadddomain - and if the permissions are correct with drwx-- and not
  drwxr-x why can vadddomain not create the .qmail-defaults file when it
  creates a domain.
 
  Thanks
 
  Matt.
 

Hi again,

Any further update / info / suggestions / requests on this topic ?

The only advice I have had so far is a request for the output of  ls -la
/home/vpopmail/domains which is in this post.

I am now getting very lost.

Thanks,

Matt.





Re: [vchkpw] AppleMail Password Fail in syslog

2003-09-22 Thread Rick van Vliet
On Mon, 22 Sep 2003 08:36:36 -0700, Tom Collins [EMAIL PROTECTED] wrote:

On Friday, September 19, 2003, at 09:01  PM, Rick van Vliet wrote:
I have several user on a small vpopmail domain, that seem to be able to 
send and get mail fine.
However, AppleMail (OSX 10.2) seems to leave a vchkpw: password fail 
[EMAIL PROTECTED]
(Using password authentication on the Mac client end)

Wondering if someone has thoughts on why I'm getting that fail, despite 
the user being able to send/retrieve?
I use Apple Mail without any problem...

What version of vpopmail are you using, and where do you see the 
password fail error?  Is this when picking up mail, or sending with 
SMTP AUTH?

vpopmail v 5.2.1
qmail 1.0.3
smtp-auth 0.31
User gets double password prompt upon sending with SMTPAUTH, it looks like 
errors in my syslog appear during pickup...
Fail shows in /var/log/syslog like this: It appears, in the log (from the 
timing), that his check mail runs every 5 minutes.

Sep 21 21:02:55 mail vpopmail[4268]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:07:55 mail vpopmail[4273]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:12:55 mail vpopmail[4282]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:17:55 mail vpopmail[4287]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:22:55 mail vpopmail[4296]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:27:55 mail vpopmail[4309]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:32:56 mail vpopmail[4321]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:37:55 mail vpopmail[4330]: vchkpw: password fail 
[EMAIL PROTECTED]:172.134.147.54
Sep 21 21:40:00 mail CROND[4339]: (root) CMD 
(/usr/local/share/sqwebmail/cleancache.pl) Sep 21 21:40:00 mail 
CROND[4340]: (root) CMD (/home/vpopmail/bin/clearopensmtp 21  /dev/null)

When user 'sends' mail, he gets an additional popup that says that his 
password wasn't recognized. When he enters correct password, mail is sent.
Sqwebmail runs fine.
I have other Apple User who runs GyazMail  Eudora with no problems. This 
second Apple user also gets double password prompts, AND Fails that show 
up in my logs.

RunFiles follow (any wrap is from mailer, long lines have no breaks in 
reality)
#!/bin/sh
exec /usr/local/bin/softlimit -m 500 /usr/local/bin/tcpserver -v -R -H - 
l 0 0 110 /var/qmail/bin/qmail-popup  vanmorel.com 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21
*8
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
# SMTPD=/var/qmail/bin/qmail-smtpd
# VPOPMAILUID=`id -u vpopmail`
# VPOPMAILGUID=`id -g vchkpw`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL 
]; then
   echo QMAILDUID, NOFILESGID, MAXSMPTD, or LOCAL is unset in
   echo /var/qmail/supervise/qmail-smtpd/run
   exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
   echo No /var/qmail/control/rcpthosts!
   echo Refusing to start SMTP listener because it'll create an open 
relay
   exit 1
fi
exec /usr/local/bin/softlimit -m 500 /usr/local/bin/tcpserver -v -R -l 
$LOCAL -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u $QMAILDUID - 
g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd  21

Thanks for your help,
rick



Re: [vchkpw] AppleMail Password Fail in syslog

2003-09-22 Thread Tom Collins
On Monday, September 22, 2003, at 11:08  AM, Oden Eriksson wrote:
I (co)manage a system where apple people say apop auth fails or 
something like
that. I looked in the code but couldn't find any apop in there, I seem 
to
remember apop was removed?

I was stupid using a patch that claimed apop capa in qmail-popup and
qmail-pop3d, but removed it. Is it so that apple mail clients 
autoconfigure
when the account is setup, but cannot reconfigure, or is it simply a 
human
error?
Perhaps that's the problem.

If the POP server claims APOP authentication, then Apple Mail may try 
APOP first, have it fail, and then fall back on plain authentication.

There's also an Advanced Tab in Mail where you can select the port, 
whether to use SSL, and what type of Authentication to use.  It lists 
Password, Kerberos Version 4, Kerberized POP (KPOP), Kerberos Version 5 
and MD5 Challenge-Response.  From a quick web check, it looks like APOP 
uses MD5, so I'm assuming that the MD5 entry refers to APOP.

Can you have this user check their settings to make sure they aren't 
using APOP?

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



[vchkpw] Re: message is looping mail is looping

2003-09-22 Thread Frank
 Is there a solution to stop mail from looping when
 addressed to a non-existent user?

 qmail -1.03
 vpopmail 5.3.27
 qmailadmin 1.0.26

 I have a very similiar message is looping
 mail is looping problem such as this person had:
 http://mail-archives.neolug.org/qmail/Nov-2002/0462.html

 I have a cron job that sends an email to [EMAIL PROTECTED]
 But vpopmail resends it to [EMAIL PROTECTED] and
 starts looping.

I'd like to note that my /var/qmail/control/virtualdomains file
had these lines:
mydomain.com:mydomain.com
mydomain2.com:mydomain2.com

But I tried inserting my system account with this change
in /var/qmail/control/virtualdomains file:
mydomain.com:frank
mydomain2.com:frank
mydomain.com:mydomain.com
mydomain2.com:mydomain2.com

But now all the non-existent accounts gets sent to my
system account frank (i.e. /etc/passwd) into my Maildir
(/home/frank/Maildir/), instead of my vpopmail user
account [EMAIL PROTECTED]
(i.e. /home/vpopmail/domains/mydomain.com/frank)

And all correct emails addressed to me, [EMAIL PROTECTED]
gets sent to my vpopmail user account
(/home/vpopmail/domains/mydomain.com/frank/Maildir).

At least I stopped the mail loops, but still how do you get emails
addressed to non-existent accounts to go to the vpopmail user
account, instead of system account?

Many thanks,
Frank






Re: [vchkpw] Re: vmysql:_can't_read_settings_from_ ...

2003-09-22 Thread Tom Collins
On Sunday, September 21, 2003, at 02:53  AM, Frank wrote:
That part is very odd.  I'm not sure why it's appending the
//home/frank,,mydomain.com/ to the path name.  I just rechecked the
code in vmysql.c, and I can't see how the config file name would fail
to be built properly.
no idea, either. ktrace/kdump (FreeBSD 4.x) doesn't come
up with anything useful I can go through (500Mb dump in 10 seconds..)
What happens when you run `strings ~vpopmail/bin/vdelivermail | grep 
vpopmail.mysql`?

You should get a single line with vpopmail.mysql on it.

--
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] Re: vmysql:_can't_read_settings_from_ ...

2003-09-22 Thread Tom Collins
On Sunday, September 21, 2003, at 02:53  AM, Frank wrote:
Return-Path: [EMAIL PROTECTED]
Received: (qmail 52274 invoked by uid 89); 18 Sep 2003 21:40:21 -
Message-ID: [EMAIL PROTECTED]
(null)Delivered-To:
Received: (qmail 52267 invoked for bounce); 18 Sep 2003 21:40:15 -
Date: 18 Sep 2003 21:40:15 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Hi. This is the qmail-send program at mydomain.com.
I'm afraid I wasn't able to deliver your message to the following 
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

@mydomain.com:
/home/vpopmail/domains/mydomain.com,,mydomain.com
message is looping
mail is looping
--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 52260 invoked by uid 89); 18 Sep 2003 21:40:08 -
(null)Delivered-To:
Received: (qmail 52254 invoked by uid 0); 18 Sep 2003 21:40:05 -
Date: 18 Sep 2003 21:40:04 -
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /home/vpopmail/bin/clearopensmtp 21  
/dev/null
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: MAILTO=root
X-Cron-Env: HOME=/root
X-Cron-Env: PATH=/usr/bin:/bin
X-Cron-Env: LOGNAME=root
X-Cron-Env: USER=root

vmysql: sql error[1]: Can't create database 'vpopmail'. Database exists
Did you work out your problems with the vpopmail.mysql file?

Again, I'm not sure where the weird filenames are coming from 
(/home/vpopmail/domains/mydomain.com,,mydomain.com).

What does the .qmail-default file look like for mydomain.com?

--
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] Re: vpopmail 5.3.27 -- problem with bin and lib permissions

2003-09-22 Thread Tom Collins
On Thursday, September 18, 2003, at 03:11  AM, X-Istence wrote:
And the winner is:



drwxr-x---   2 root  wheel   512 Sep 17 22:37 bin

We've been working on the Makefile.am to avoid trashing permissions on bin and lib when installing to /usr/local/bin and /usr/local/lib instead of /home/vpopmail/bin and /home/vpopmail/lib.

If someone would like to submit a patch to Makefile.am, I'd appreciate it.  Or even just let me know the order that Makefile installs sections in, so I can include a section to create bin and lib (with appropriate permissions) if they don't exist.

--
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] qmail admin info help OT

2003-09-22 Thread Tom Collins
On Thursday, September 18, 2003, at 12:55  PM, Remo Mattei wrote:
Hello guys I am trying to upgrade to qmailadmin .27 but I do not get 
any
menu when I log in any suggestions on that. I am running .16 now.
There's a qmailadmin list on inter7.com that you could subscribe to and 
ask your questions.

When you do, please provide some additional information.  It sounds 
like you're able to log in, but you don't see a menu.  What do you see?

Also, let the [EMAIL PROTECTED] list know what version of vpopmail 
you're using.

--
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] Re: Permissions problem on /home/vpopmail after re-compile

2003-09-22 Thread X-Istence




[EMAIL PROTECTED] wrote:
snip
  
Hi again,

Any further update / info / suggestions / requests on this topic ?

The only advice I have had so far is a request for the output of  ls -la
/home/vpopmail/domains which is in this post.

I am now getting very lost.

Thanks,

Matt.

  


I dont know if you can read or not, but PLEASE copy and paste this.
Thanks :)

ls -al /home/vpopmail

that is without the "/domain" on the end




[vchkpw] Re: autorespond on SourceForge

2003-09-22 Thread Tom Collins
On Friday, September 19, 2003, at 12:25  AM, Brad Dameron wrote:
From: Jeremy Kitchen [EMAIL PROTECTED]
at the time I didn't realize there was a sourceforge project for
autorespond, I thought we were maintaining that package.  check
http://qmailadmin.sf.net and post your patch/bug report there :)
This is the first time I have heard of it being on sourceforge as 
well. Was
anyone asked about this?
That's me, overreaching my bounds again.

Oden Eriksson had built a 2.0.4 release that included the security fix. 
 The inter7.com site still had 2.0.2 up, and I wanted to make some 
changes to the exit codes so I could safely use it on a recent trip 
(hiking in the Grand Canyon).

I jumped to the conclusion that Inter7 wasn't actively maintaining it 
and I decided to add it to the qmailadmin project on SourceForge.  I 
also put it in CVS there.  I altered it heavily to suit the needs of a 
vacation responder.

While hiking, I had a lot of time to think, and came to many of the 
conclusions that Jeremy did on the vchkpw list while I was away.  That 
we essentially need two different programs -- one to act as an 
autoresponder for mail robots, and one to act as a vacation responder 
for POP/IMAP mailboxes.

It could easily be the same program with different command-line options.

If Inter7 is maintaining it, I can drop it from the QmailAdmin project. 
 Or, you could set it up on SF as it's own project.  Or, we can leave 
it there.  I don't really care.

I would like to see someone else spend some time working on it so I can 
trust it with my email account.  Jeremy, I've added you to the 
QmailAdmin SF project so you can access the CVS repository.  If you 
want, you can start from the original upload (2.0.4) and ignore all of 
my changes, and submit your changes to the repository.

If it's going to continue to be a part of the QmailAdmin project, I'll 
add Brad as well.

--
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] Re: vpopmail 5.3.27 -- problem with bin and lib permissions

2003-09-22 Thread X-Istence




Tom Collins wrote:
On
Thursday, September 18, 2003, at 03:11 AM, X-Istence wrote:
  
  And the winner is:




drwxr-x--- 2 root wheel 512 Sep 17 22:37 bin


  
We've been working on the Makefile.am to avoid trashing permissions on
bin and lib when installing to /usr/local/bin and /usr/local/lib
instead of /home/vpopmail/bin and /home/vpopmail/lib.
  
  
If someone would like to submit a patch to Makefile.am, I'd appreciate
it. Or even just let me know the order that Makefile installs
sections in, so I can include a section to create bin and lib (with
appropriate permissions) if they don't exist.
  
  
--
  
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/
  
  
  

Makefile.am:

@SET_MAKE@

SUBDIRS=cdb
OBJEXT=o

noinst_LIBRARIES=libvpopmail.a

COMMONSOURCES=vpopmail.c md5.c bigdir.c vauth.c file_lock.c vpalias.c seek.c vlimits.c maildirquota.c
CONFIG_CLEAN_FILES=vauth.c

AM_INSTALL_PROGRAM_FLAGS= -o @vpopuser@ -m 711 -g @vpopgroup@ 

MYSQLCONF=$(DESTDIR)@vpopmaildir@/etc/vpopmail.mysql

libvpopmail_a_SOURCES=$(COMMONSOURCES) 
libvpopmail_a_LIBADD =  cdb/*.o

[EMAIL PROTECTED]@/bin
vpopmailbin_PROGRAMS = vchkpw vdelivermail clearopensmtp vadddomain \
 vdeldomain vpasswd vadduser vdeluser vaddaliasdomain vsetuserquota \
 vpopbull vdeloldusers vmoduser valias vuserinfo vmkpasswd vipmap \
 vdominfo vconvert vqmaillocal vkill vmoddomlimits
	
vuserinfo_SOURCES = vuserinfo.c maildirquota.c
vuserinfo_LDADD = libvpopmail.a @auth_libs@

vdominfo_SOURCES = vdominfo.c
vdominfo_LDADD = libvpopmail.a @auth_libs@

vchkpw_SOURCES = vchkpw.c md5.c hmac_md5.c
vchkpw_LDADD = libvpopmail.a @auth_libs@

vdelivermail_SOURCES = vdelivermail.c maildirquota.c
vdelivermail_LDADD = libvpopmail.a @auth_libs@

vqmaillocal_SOURCES = vqmaillocal.c 
vqmaillocal_LDADD = libvpopmail.a @auth_libs@

vkill_SOURCES = vkill.c 
vkill_LDADD = libvpopmail.a @auth_libs@

clearopensmtp_SOURCES = clearopensmtp.c
clearopensmtp_LDADD = libvpopmail.a @auth_libs@

vadddomain_SOURCES = vadddomain.c 
vadddomain_LDADD = libvpopmail.a @auth_libs@

vdeldomain_SOURCES = vdeldomain.c 
vdeldomain_LDADD = libvpopmail.a @auth_libs@

vpasswd_SOURCES = vpasswd.c 
vpasswd_LDADD = libvpopmail.a @auth_libs@

vadduser_SOURCES = vadduser.c
vadduser_LDADD = libvpopmail.a  @auth_libs@

vdeluser_SOURCES = vdeluser.c 
vdeluser_LDADD = libvpopmail.a @auth_libs@

vaddaliasdomain_SOURCES = vaddaliasdomain.c 
vaddaliasdomain_LDADD = libvpopmail.a @auth_libs@

vsetuserquota_SOURCES = vsetuserquota.c 
vsetuserquota_LDADD = libvpopmail.a @auth_libs@

vpopbull_SOURCES = vpopbull.c 
vpopbull_LDADD = libvpopmail.a @auth_libs@

vdeloldusers_SOURCES = vdeloldusers.c 
vdeloldusers_LDADD = libvpopmail.a @auth_libs@

vconvert_SOURCES = vconvert.c 
vconvert_LDADD = libvpopmail.a  @auth_libs@

vmoduser_SOURCES = vmoduser.c 
vmoduser_LDADD = libvpopmail.a  @auth_libs@

valias_SOURCES = valias.c 
valias_LDADD = libvpopmail.a  @auth_libs@

vmkpasswd_SOURCES = vmkpasswd.c 
vmkpasswd_LDADD = libvpopmail.a  @auth_libs@

vipmap_SOURCES = vipmap.c 
vipmap_LDADD = libvpopmail.a  @auth_libs@

vmoddomlimits_SOURCES = vmoddomlimits.c
vmoddomlimits_LDADD = libvpopmail.a  @auth_libs@

DEFS=-I. @auth_inc@ 

install-data-local:
	$(INSTALL) -d -g @vpopgroup@ -m 0700 -o @vpopuser@ \
	  $(DESTDIR)@vpopmaildir@/@domains_dir@

	$(INSTALL) -d $(DESTDIR)@vpopmaildir@/etc
	echo "[EMAIL PROTECTED]@/include"  @vpopmaildir@/etc/inc_deps
	echo "[EMAIL PROTECTED]@/lib -lvpopmail @auth_libs@"  @vpopmaildir@/etc/lib_deps

	if test "@USE_MYSQL@" = "1"; then \
	  if test ! -r $(MYSQLCONF); then \
	echo "# MySQL settings, line 1 is config for read-only,"  $(MYSQLCONF); \
	echo "# line 2 is config for update.  Settings for each"  $(MYSQLCONF); \
	echo "# line: server|port|user|password|database"  $(MYSQLCONF); \
	echo "localhost|0|root|secret|vpopmail"  $(MYSQLCONF); \
	  fi ; \
	  chown @vpopuser@  $(MYSQLCONF) ; \
	  chgrp @vpopgroup@ $(MYSQLCONF) ; \
	  chmod 0600$(MYSQLCONF) ; \
	fi

	$(INSTALL) -d $(DESTDIR)@vpopmaildir@/lib
	$(INSTALL) -o root -m 0644 \
	  libvpopmail.a $(DESTDIR)@vpopmaildir@/lib/libvpopmail.a

	$(INSTALL) -d $(DESTDIR)@vpopmaildir@/include
	$(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
	  config.h $(DESTDIR)@vpopmaildir@/include/vpopmail_config.h

	$(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
	  vpopmail.h config.h vauth.h vlimits.h \
	  $(DESTDIR)@vpopmaildir@/include/

	$(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/man_html
	$(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/doc_html
	$(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
	  doc/man_html/* $(DESTDIR)@vpopmaildir@/doc/man_html/

	$(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
	  doc/doc_html/* $(DESTDIR)@vpopmaildir@/doc/doc_html/

fix-priv:
	if test -r $(MYSQLCONF); then \
	  chown @vpopuser@  $(MYSQLCONF) ; \
	  chgrp @vpopgroup@ $(MYSQLCONF) ; \
	  chmod 

[vchkpw] Re: Re: vmysql:_can't_read_settings_from_ ...

2003-09-22 Thread Frank
 What happens when you run `strings ~vpopmail/bin/vdelivermail | grep
 vpopmail.mysql`?

 You should get a single line with vpopmail.mysql on it.

That's exactly what I get:
# strings vdelivermail | grep vpopmail.mysql
vpopmail.mysql
#

  vmysql: sql error[1]: Can't create database 'vpopmail'. Database exists

 Did you work out your problems with the vpopmail.mysql file?

Yes. I don't seem to be getting that sql error anymore. BTW,

# pwd
/usr/home/vpopmail/etc
# ls -l vpopmail.mysql
-rw-r-  1 vpopmail  vchkpw  45 Sep 11 14:16 vpopmail.mysql
# cat vpopmail.mysql
localhost|0|vpopmailuser|vpoppasswd|vpopmail
#


 Again, I'm not sure where the weird filenames are coming from
 (/home/vpopmail/domains/mydomain.com,,mydomain.com).

 What does the .qmail-default file look like for mydomain.com?

# pwd
/usr/home/vpopmail/domains/mydomain.com
# cat .qmail-default
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/mydomain.com/frank

Noting: I've sed 's/myactualdomain.com/mydomain.com'


Thanks Tom for continuing to look into this. I think I migh have
something that might help...

I deleted my domain (/home/vpopmail/bin/vdeldomains mydomain.com)
and recreated it (/home/vpopmail/bin/vadddomain mydomain.com pass).
It wiped out everything under the /home/vpopmail/domains/mydomain.com
directory, including some important emails. But at least no more
vmysql:_can't_read_settings_from... error anymore.

But emails to non-existent accounts were mail looping endlessly. Trying
to stop it, I decided to backup my new important emails this time:
# cd /home/vpopmail/domains/mydomain.com/frank/Maildir
# tar -czf /tmp/myemails.tar.gz cur new

And deleted the domain and recreated it with my user again:
# /home/vpopmail/bin/vadeldomain mydomain.com
# /home/vpopmail/bin/vadddomain mydomain.com pass
# /home/vpopmail/bin/vadduser [EMAIL PROTECTED] pass

Then restored my important emails.
# cd /home/vpopmail/domains/mydomains.com/frank/Maildir
# tar -xzf /tmp/myemails.tar.gz

I noted that the queue name format didn't look like every other because
I moved queues around. I had moved emails in my system account's
Maildir to my vpopmail user account's Maildir:

# mv /home/frank/Maildir/new/*
/home/vpopmail/domains/mydomain.com/frank/Maildir/new/*

I looked at the emails (which moved everything in new to cur). Now those
email name formats don't have quite the same format:
# ls -l cur new
cur:
total 176
-rw---  1 vpopmail  vchkpw2314 Sep 23 03:41
1063608441.18859.www.mydomain.com:2,S
-rw---  1 vpopmail  vchkpw2441 Sep 23 03:41
1063777535.26975.www.mydomain.com:2,S
-rw---  1 vpopmail  vchkpw1367 Sep 18 01:14
1063815291.28928.www.mydomain.com,S=1328:2,RS
-rw---  1 vpopmail  vchkpw1384 Sep 18 08:46
1063842377.79354.www.mydomain.com,S=1345:2,RS
-rw---  1 vpopmail  vchkpw1626 Sep 18 08:49
1063842558.79572.www.mydomain.com,S=1587:2,S
-rw---  1 vpopmail  vchkpw  132134 Sep 18 12:17
1063855052.93458.www.mydomain.com,S=132095:2,RS
-rw---  1 vpopmail  vchkpw3577 Sep 18 13:37
1063859866.98209.www.mydomain.com,S=3538:2,RS
-rw---  1 vpopmail  vchkpw2615 Sep 19 09:03
1063929803.61907.www.mydomain.com,S=2576:2,RS
-rw---  1 vpopmail  vchkpw5691 Sep 21 03:10
1064081408.82962.www.mydomain.com,S=5652:2,S
-rw---  1 vpopmail  vchkpw2256 Sep 22 17:46
1064220386.86347.www.mydomain.com,S=2217:2,RS
-rw---  1 vpopmail  vchkpw1980 Sep 23 01:42
1064248923.87123.www.mydomain.com,S=1941:2,S
-rw---  1 vpopmail  vchkpw1601 Sep 23 01:52
1064249545.87168.www.mydomain.com,S=1562:2,S

After all that, when I send myself a email: [EMAIL PROTECTED],
I get the same error in /var/log/maillog:
Sep 23 04:13:32 www qmail: 1064258012.943110 starting delivery 5: msg 468246
to
local [EMAIL PROTECTED]
Sep 23 04:13:32 www qmail: 1064258012.943985 status: local 1/10 remote 0/20
Sep 23 04:13:32 www qmail: 1064258012.954235 delivery 5: deferral:
vmysql:_can't
_read_settings_from_/home/vpopmail/etc/vpopmail.mysql//home/frank,,mydomain.
com/
Sep 23 04:13:32 www qmail: 1064258012.954616 status: local 0/10 remote 0/20

And the email I sent myself stays in /var/qmail/queue :
# pwd
/var/qmail/queue
# find . -type f
./mess/12/468246
./info/12/468246
./local/12/468246
./lock/tcpto
./lock/sendmutex


Can moving old emails into vpopmail's Maildirs cause this?
Does vpopmail keep track of mail queue numbers?
Sorry if these are dumb questions, but I've been up all
night and nothing is going clicking anymore...

Frank






Re: [vchkpw] Re: vpopmail 5.3.27 -- problem with bin and lib permissions

2003-09-22 Thread Tom Collins
On Monday, September 22, 2003, at 12:21  PM, X-Istence wrote:
+   chmod 700 $(DESTDIR)@vpopmaildir@/@domains_dir@
+   chown -R @vpouser@ $(DESTDIR)@vpopmaildir@
+   chgrp -R @vpopgroup@ $(DESTDIR)@vpopmaildir@
+   chown -R root $(DESTDIR)@vpopmaildir@/lib
+   chgrp -R root $(DESTDIR)@vpopmaildir@/lib
If @vpopmaildir@ is /usr/local, you've just screwed up a LOT of stuff.  
This is what we're trying to avoid.

We need to insert something in Makefile.am like this:

if  test ! -r $(DESTDIR)@vpopmaildir@/bin; then \
  $(INSTALL) -d -g @vpopgroup@ -m 0755 -o @vpopuser@ 
$(DESTDIR)@vpopmaildir@/bin \
fi

But it needs to happen before Makefile installs the programs.

There should also be something I can set that will alter the options 
INSTALL uses when installing the programs, so we get the permissions 
correct on them as well.

If no one has ideas, I'll look into it.  I think that it is possible to 
use install to create directories (and set their permissions) if they 
don't exist, and to leave them alone (and not alter permissions) if 
they don't exist.

--
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] Re: vpopmail 5.3.27 -- problem with bin and lib permissions

2003-09-22 Thread X-Istence
Tom Collins wrote:

On Monday, September 22, 2003, at 12:21  PM, X-Istence wrote:

+chmod 700 $(DESTDIR)@vpopmaildir@/@domains_dir@
+chown -R @vpouser@ $(DESTDIR)@vpopmaildir@
+chgrp -R @vpopgroup@ $(DESTDIR)@vpopmaildir@
+chown -R root $(DESTDIR)@vpopmaildir@/lib
+chgrp -R root $(DESTDIR)@vpopmaildir@/lib


If @vpopmaildir@ is /usr/local, you've just screwed up a LOT of 
stuff.  This is what we're trying to avoid.

We need to insert something in Makefile.am like this:

if  test ! -r $(DESTDIR)@vpopmaildir@/bin; then \
  $(INSTALL) -d -g @vpopgroup@ -m 0755 -o @vpopuser@ 
$(DESTDIR)@vpopmaildir@/bin \
fi

But it needs to happen before Makefile installs the programs.

There should also be something I can set that will alter the options 
INSTALL uses when installing the programs, so we get the permissions 
correct on them as well.

If no one has ideas, I'll look into it.  I think that it is possible 
to use install to create directories (and set their permissions) if 
they don't exist, and to leave them alone (and not alter permissions) 
if they don't exist.

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




Uhm, looking at the install of the lib and the rest of the files to that 
same dir, i would not have screwed upa lot of things note:

$(INSTALL) -d -g @vpopgroup@ -m 0700 -o @vpopuser@ \
  $(DESTDIR)@vpopmaildir@/@domains_dir@
Creates the correct dir, and chown's i to the right user, and chmod's it 
correctly. So from that we can assume that $(DESTDIR)@vpopmaildir@ is 
pointing /usr/local/vpopmail/, otherwise all the other files would fail 
to install correctly as well. Right or wrong?




Re: [vchkpw] Spamassassin + qmail + vpopmail + procmail + courier-imapd + squirrelmail + qmail-scanner + clamav

2003-09-22 Thread Adam Hooper
Warning: may be a red herring:

You might want to consider using qmail-scanner to call spamassassin as 
well as clamav. By default (I think) it puts a X-Spam-Status: Yes/No 
header in the mails, which can be filtered on any client.

--
Adam Hooper
[EMAIL PROTECTED]
Vpopmail List wrote:
Hello list ..

I tried the gentoo list with this problem, but no luck ..

I have finally taken the shot at trying to get this working ..

What is working?

Qmail, vpopmail, courier-imapd, qmail-pop3d and squirrelmail, qmail-scanner,
clamav(minor problems)
this all works ...

what I am trying to involve now is
procmail and spamassassin
there really isn't much documentation to get this all working especially
under gentoo .. but I don't think there is much to configure with either of
these packages ..
.. so I was wondering if I'd get any help here ..
I think that vpopmail being involved is what is confusing me ..

most have the $HOME as /home/USER/.maildir

well with vpopmail I have it as ..

/var/vpopmail/domains/USER/Maildir/ and from there it is new, cur, etc ..

also I do not see this X-Spam file anywhere?

any help is appreciated ..

thanks ..






Re: [vchkpw] Re: vpopmail 5.3.27 -- problem with bin and lib permissions

2003-09-22 Thread Tom Collins
On Monday, September 22, 2003, at 01:16  PM, X-Istence wrote:
Uhm, looking at the install of the lib and the rest of the files to 
that same dir, i would not have screwed upa lot of things note:

$(INSTALL) -d -g @vpopgroup@ -m 0700 -o @vpopuser@ \
  $(DESTDIR)@vpopmaildir@/@domains_dir@
Creates the correct dir, and chown's i to the right user, and chmod's 
it correctly. So from that we can assume that $(DESTDIR)@vpopmaildir@ 
is pointing /usr/local/vpopmail/, otherwise all the other files would 
fail to install correctly as well. Right or wrong?
vpopmaildir could be /usr/local, instead of /usr/local/vpopmail.

In that case, domains would be /usr/local/domains and binaries are 
installed to /usr/local/bin.

--
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] Spamassassin + qmail + vpopmail + procmail + courier-imapd + squirrelmail + qmail-scanner + clamav

2003-09-22 Thread Alex Martin

Hello,

Yes, there is no clear documentation for this setup. After piecing together
many snippets, it is now working very well for me.

Like someone else mentioned, I would suggest using qmail-scanner. This way,
all mail is scanned and tagged with the X-Spam-Status header before final
delivery. Qmail-scanner can be used to run clamav (this is what I do), maybe
with less cpu usage (if you are running it as a file access-run daemon).
Qmail-Scanner needs the qmail-queue patch for qmail, to allow an alternate
program (ie qmail-scanner) to run instead of qmail-queue.

See this to imagine the qmailqueue patch:
http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif (this helped me
a lot. I am not sure where the original location for this was, somewhere
related to the qmail sites, oh well)

But, as you say you have clamav running, then you may be fine with using the
.qmail files to scan and filter the messages, ie without qmail-scanner. You
are using procmail, but I imagine something very similar to the following
setup could be created (as this guide uses maildrop for message filtering)

http://www.mail-archive.com/[EMAIL PROTECTED]/msg13511.html
Where is says [EMAIL PROTECTED] in the above document, use [EMAIL PROTECTED]
Also, I had to change a few things to fet this to work for me, like the
locations of the binaries, and the X-Spam-Status header name, etc.

This way the current virtual user enviroment variables are used to get
proper Maildir delivery information. Hope this helps.

Also, if you consider the qmail-scanner route, I found this to be very
helpful: (though I would not use their spamassassin configuration beyond
installation, as it is out of date)
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#SPAM_VIRUS
Do note that I would use tcp.smtp to control who (in relation to ip
adressing) gets their smtp traffic scanned, where in the above document,
they enable scanning of all mail (by nature of how they set the QMAILQUEUE
environment variable) when you might want only inbound mail scanned (to save
resources). The tcp.smtp setup example is in the qmail-scanner
documentation.

I am happy to help further, as I am interested in writing this procedure up,
as a HOWTO based on the various documents mentioned. I also had a long list
of questions that I ultimately answered.

So keep on this thread if you have more questions, so I can disect it later.

Good luck,

Alex Martin
http://www.rettc.com



- Original Message - 
From: Vpopmail List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 12:14 PM
Subject: [vchkpw] Spamassassin + qmail + vpopmail + procmail + courier-imapd
+ squirrelmail + qmail-scanner + clamav


Hello list ..

I tried the gentoo list with this problem, but no luck ..

I have finally taken the shot at trying to get this working ..

What is working?

Qmail, vpopmail, courier-imapd, qmail-pop3d and squirrelmail, qmail-scanner,
clamav(minor problems)

this all works ...

what I am trying to involve now is
procmail and spamassassin

there really isn't much documentation to get this all working especially
under gentoo .. but I don't think there is much to configure with either of
these packages ..
.. so I was wondering if I'd get any help here ..

I think that vpopmail being involved is what is confusing me ..

most have the $HOME as /home/USER/.maildir

well with vpopmail I have it as ..

/var/vpopmail/domains/USER/Maildir/ and from there it is new, cur, etc ..

also I do not see this X-Spam file anywhere?

any help is appreciated ..

thanks ..






[vchkpw] vpopmail and local users - user_over_quota message

2003-09-22 Thread David McMahon

Hi,


I have a single IP system hosting 8 domains.  1/2 my
users are real /etc/passwd users with home directories
I'd like to store their e-mail in ~/Maildir and then there
are a bunch of other forward-only people and some virtual
(non /etc/passwd) users I want vpopmail to handle
and store their email.

Is there a simple how-to guide on the web explaining how to set this up.
The vpopmail doc only seems to talk specifically about the virtual side
and I'm not seeing how to make it work with qmail and do what I want to
do (non-virt  virt).

I used www.qmail.ru lazydog setup with a number of patches
(maildir++) and all-in-one feature set.

I get the following in my maillog when I try sending to
a local user.

Sep 20 23:35:26 host1 qmail: 1064115326.821226 delivery 274: failure:
User_over_quota._(#5.1.1)/

This is a brand new RH9 system with NO mail on it at all.  There's no
way the user is over quota.  I'm thinking that vpopmail is
somehow intercepting the local mail now, but I'm not exactly
sure how (or why) that's happening.

What's the best way to set up a combo local and vpopmail
system?

Can anyone be of assistance?

dave




Re: [vchkpw] vpopmail and local users - user_over_quota message

2003-09-22 Thread Raboo Treed
Hi, I'm the author of www.qmail.nu, I guess that is what you meant, not .ru.

For now my lazydog script have no setup for local deliver(it will come in a
not so distant future).
but I guess for now you can follow the qmail-1.03 documentation to make it
do local delivery, I guess it won't be all to hard hence everything is
installed and all the daemoons are running.

Also there are lots of HOWTO's like
http://www.lwq.org
http://www.shupp.org/
http://www.jerfu.com/toaster/FullToaster_1.0.6.html

And if you just search for qmail HOWTO on google I'm almost shure you'll get
a lot of HOWTOs

- Original Message - 
From: David McMahon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 5:35 AM
Subject: [vchkpw] vpopmail and local users - user_over_quota message



 Hi,


 I have a single IP system hosting 8 domains.  1/2 my
 users are real /etc/passwd users with home directories
 I'd like to store their e-mail in ~/Maildir and then there
 are a bunch of other forward-only people and some virtual
 (non /etc/passwd) users I want vpopmail to handle
 and store their email.

 Is there a simple how-to guide on the web explaining how to set this up.
 The vpopmail doc only seems to talk specifically about the virtual side
 and I'm not seeing how to make it work with qmail and do what I want to
 do (non-virt  virt).

 I used www.qmail.ru lazydog setup with a number of patches
 (maildir++) and all-in-one feature set.

 I get the following in my maillog when I try sending to
 a local user.

 Sep 20 23:35:26 host1 qmail: 1064115326.821226 delivery 274: failure:
 User_over_quota._(#5.1.1)/

 This is a brand new RH9 system with NO mail on it at all.  There's no
 way the user is over quota.  I'm thinking that vpopmail is
 somehow intercepting the local mail now, but I'm not exactly
 sure how (or why) that's happening.

 What's the best way to set up a combo local and vpopmail
 system?

 Can anyone be of assistance?

 dave