[vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-10 Thread Peter Palmreuther
Hello Luis,

On Monday, December 9, 2002 at 11:54:06 PM you wrote:

 I'm using Qmail with Vpopmail. I need to LOG all incoming and outgoing
 messages on an specific virtualdomain (not all domains on my mail
 server).

Get

http://www.untroubled.org/qmail+patches/current/release-19.tar.gz

from Bruce Guenter's web site.
It contains a file named 'qmail-1.03-msglog.patch'.
Patch your qmail, re-compile and re-install it.
Create a file ~alias/.qmail-msglog and read 'dot.qmail-msglog' form
the downloaded tar.gz for having a template for this file.
Pipe all mails to a script or program, that checks if the message is
from or to this particular domain you're trying to observer. If so log
the message, if not simply drop the message.

That's it.

There's no known way to log outgoing mails in a different way, except
maybe making use of QMAILQUEUE patch, which is in the above mentioned
tar.gz as file 'qmail-1.03-queuevar.patch'.
Nevertheless you'll have to patch and re-compile/re-install qmail.
-- 
Best regards
Peter Palmreuther





Re: [vchkpw] SpamAssassin on a per user basis

2002-12-10 Thread Gabriel Ambuehl
Hi John Stile,
you wrote.

JS I am using vpopmail version 5.20 and trying to get SpamAssassin working
JS on a per user basis. Modifying .qmail-default and .qmail-user files,
JS according to past threads in this list, fail to work, causing mail to
JS bounce.

JS Do I have to up upgrade above 5.20 to get it working or is it possible
JS to get it working with what I have?

Basically, you could have (it worked for me some time back)
.qmail-user for each user, containing
| sh -c spamassassin options |vdelivermail options

but that has the overhead of invoking sh for each user AND kinda
defeats the point of vpopmail if you need to have an alias file for
each user.

I've been thinking about implementing this directly into vdelivermail
on various occasions but I can't find the time to do so (now, of
course, if someone were to pay for it and release it under the GPL
this would change rapidly ;-).



Regards,
Gabriel





[vchkpw] Almost working... vpopmail+maildrop+mailadmin

2002-12-10 Thread Fernando Costa de Almeida
Hi,

After hours of fight my setup is working:

1) maildrop 1.5.0
2) vpopmail 5.2
3) qmailadmin 1.0.4
4) sqwebmail 3.3.3

I have just one problem:

I dont need to loose the catchall feature of vpopmail, so I cant use a
.qmail-default in the domain dir to instruct qmail to use maildrop. One
possible solution is to keep the .qmail-default untouched, and create a
.qmail-user for every user in the domain, with the following:
_
| /usr/local/bin/maildrop /etc/maildroprc
_

and maildroprc
_
VHOME=`/var/vpopmail/bin/vuserinfo -d $EXT@$HOST`

include $VHOME/Maildir/.mailfilter
_

the user .mailfilter contains the following:
_
#MFMAILDROP=2
#
# DO NOT EDIT THIS FILE.  This is an automatically generated filter.

MAILDIRQUOTA=10S
FROM='[EMAIL PROTECTED]'
import SENDER
if ($SENDER eq )
{
 SENDER=$FROM
}

##Op:contains
##Header:
##Value:teste
##Folder:*Seu email contem teste
##From:
##PlainString
##Body
##Name:Teste

to | /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
_


This way, I dont loose the vdelivermail features (like quota), and use the
maildrop filtering too. The .mailfilter file is created by the sqwebmail. My
problem is that this way, I will have to create a .qmail-user file to
every user in every domain, and maintain this sincronized How can I
avoid this? Im thinking in hack qmailadmin, but this is a 'last resort'.


Thanks in advance,

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





Re: [vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-10 Thread Steve Fulton
At 09:22 10/12/2002 +0100, Peter Palmreuther wrote:


There's no known way to log outgoing mails in a different way, except
maybe making use of QMAILQUEUE patch, which is in the above mentioned
tar.gz as file 'qmail-1.03-queuevar.patch'.
Nevertheless you'll have to patch and re-compile/re-install qmail.


Actually there is, using recordio.  It is indiscriminate and obviously 
requires a lot of diskspace, but it is possible.  I've used it for session 
debugging with clients, though it has other uses, particularly compliance 
with court ordered monitoring.

There are instructions on www.qmail.org .. do a search for recordio.

-- Steve




[vchkpw] Qmailadmin not working

2002-12-10 Thread Jeremy Doolin
Hello,

I'm having fits getting qmailadmin to authenticate properly.  Here is 
my setup:

qmail, vpopmail, autoresponder, ezmlm, apache 2.0, squirrelmail, 
courier-imap.

I can authenticate with my virtual user ([EMAIL PROTECTED]) via 
squirrelmail, sqwebmail, pop3 and IMAP, but not qmailadmin.  I enter 
postmaster for the user account, domain.com for the domain name and 
my password and I continue to get Invalid User.  Any help with this 
would be greatly appreciated.  Thanks.

Jeremy Doolin




Re: [vchkpw] Configure script errors...

2002-12-10 Thread Clayton Weise
Log name has nothing to do with the log file name.  It has to do with 
what vpopmail calls itself to syslog.  Don't put .log, just vpopmail 
should be sufficient, you can setup syslog in /etc/syslog.conf to log 
vpopmail stuff to it's own log file.  It's possible that invalid log 
name might be causing the problem with logging not being verbose.

On Tuesday, December 10, 2002, at 08:41 AM, Anders Norrbring wrote:

Can anyone please tell me what's wrong with the configure command I 
give
to vpopmail-5.2.1 ?

It' like this:

./configure --enable-roaming-users=y --enable-relay-clear-minutes=10
--enable-mysql=y --enable-clear-passwd=y \
	--enable-valias=y --enable-logging=v
--enable-log-name=vpopmail.log

The result gives this:

   vpopmail 5.2.1
Current settings
---

vpopmail directory = /var/vpopmail
   uid = 89
   gid = 89
  ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
 roaming users = ON  --enable-roaming-users=y
tcpserver file = /etc/tcp.smtp
open_smtp file = /var/vpopmail/etc/open-smtp
user quota = OFF --enable-defaultquota=NOQUOTA default
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = OFF --enable-file-sync=n default disable
vdelivermail fsync
  auth logging = ON  --enable-auth-logging=y default
 mysql logging = OFF --enable-mysql-logging=n default
  clear passwd = ON  --enable-clear-passwd=y (default)
 valias processing = ON  --enable-valias=y
pop syslog = show only failure attempts
 --enable-logging=e default
default domain =  --enable-default-domain=
  auth inc = -I/usr/include/mysql
  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz

As you can see, the log file is *not* set to verbose as I asked for, 
and
the log file name is *not* set to vpopmail.log as I also asked for.  
So,
what about the enable-relay-clear-minutes ?  Is that *still* 180
minutes??

I also tried to set quota check on, that didn't work either...  Any
ideas?  I'm running on a SuSE 8.1 system.

Anders Norrbring
Norrbring Consulting.









[vchkpw] when vdelivermail creates directory like 0, 1.. ?

2002-12-10 Thread erti
Hi,

I have noticed a directory named '0' (zero) in ~vpopmail/domains directory.
Why and when it was created and when '1' will bi created?

Thanks
Ertan Yusufoglu





Re: [vchkpw] Re: Log/back up all in/out msgs on a unique virtualdomain

2002-12-10 Thread Peter Palmreuther
Hi Steve,

On Tue, 10 Dec 2002 11:10:06 -0500
Steve Fulton [EMAIL PROTECTED] wrote:

 There's no known way to log outgoing mails in a different way, except
 maybe making use of QMAILQUEUE patch, which is in the above mentioned
 tar.gz as file 'qmail-1.03-queuevar.patch'.  Nevertheless you'll have
 to patch and re-compile/re-install qmail.

 Actually there is, using recordio.

I'm sorry, I stand corrected.
Albeit in this case I'd still prefer patching qmail :-)
-- 
Peter




Re: [vchkpw] Qmailadmin not working

2002-12-10 Thread Peter Palmreuther
Hi Jeremy,

On Tue, 10 Dec 2002 11:40:11 -0500
Jeremy Doolin [EMAIL PROTECTED] wrote:

 I'm having fits getting qmailadmin to authenticate properly.  Here is 
 my setup:
 
 qmail, vpopmail, autoresponder, ezmlm, apache 2.0, squirrelmail, 
 courier-imap.
 
 I can authenticate with my virtual user ([EMAIL PROTECTED]) via 
 squirrelmail, sqwebmail, pop3 and IMAP, but not qmailadmin.  I enter 
 postmaster for the user account, domain.com for the domain name
 and my password and I continue to get Invalid User.  Any help with
 this would be greatly appreciated.  Thanks.

Have a look into system log, maybe vchkpw logs the reason of rejection.
Might be it's only your qmailadmin cgi is not properly set SUID and
therefore refused to authenticate.
-- 
Pit




Re: [vchkpw] when vdelivermail creates directory like 0, 1.. ?

2002-12-10 Thread Peter Palmreuther
Hi erti,

On Tue, 10 Dec 2002 19:15:36 +0200
erti [EMAIL PROTECTED] wrote:

 I have noticed a directory named '0' (zero) in ~vpopmail/domains
 directory. Why and when it was created

When the threshold of number of users per domain to put into one
directory was reached (default 100???)

 and when '1' will bi created?

When the next threshold is reached ... 200??

Search in your vpopmail sources for a dir named

doc/doc_html

and have a look at vpopmail.html

saerch for Virtual domain user directory structure
-- 
Peter




[vchkpw] Configure script *and* domain creation errors!

2002-12-10 Thread Anders Norrbring

Thanx Clayton,

However, it still didn't work out..  I entered this in syslog.conf and
even restarted the computer to get rid of any mistakes...

mail.*  -/var/log/mail
vpopmail-/var/log/vpopmail


I ran ./configure like this:

./configure --enable-roaming-users=y --enable-relay-clear-minutes=10 \
--enable-mysql=y --enable-clear-passwd=y --enable-valias=y \
--enable-logging=v  --enable-log-name=vpopmail

And got this...

   vpopmail 5.2.1
Current settings
---

vpopmail directory = /var/vpopmail
   uid = 89
   gid = 89
  ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
 roaming users = ON  --enable-roaming-users=y
tcpserver file = /etc/tcp.smtp
open_smtp file = /var/vpopmail/etc/open-smtp
user quota = OFF --enable-defaultquota=NOQUOTA default
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = OFF --enable-file-sync=n default disable
vdelivermail fsync
  auth logging = ON  --enable-auth-logging=y default
 mysql logging = OFF --enable-mysql-logging=n default
  clear passwd = ON  --enable-clear-passwd=y (default)
 valias processing = ON  --enable-valias=y
pop syslog = show only failure attempts
 --enable-logging=e default
default domain =  --enable-default-domain=
  auth inc = -I/usr/include/mysql
  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz


After compiling and installing, I get no log at all when generating a
faulty login.

I also have another EXTREMELY irritating problem, when a run
vadddomain it's telling me the domain already exists, but the MySQL
database is absolutely clean, nothing at all in there.  The same goes
for vpopmail/domains directory, absolutely empty!

I really need this to get up and running real soon, so any ideas are
welcome!

Anders Norrbring
Norrbring Consulting.




-Ursprungligt meddelande-
Från: Clayton Weise [mailto:[EMAIL PROTECTED]] 
Skickat: den 10 december 2002 18:00
Till: Anders Norrbring
Kopia: [EMAIL PROTECTED]
Ämne: Re: [vchkpw] Configure script errors...

Log name has nothing to do with the log file name.  It has to do with 
what vpopmail calls itself to syslog.  Don't put .log, just vpopmail 
should be sufficient, you can setup syslog in /etc/syslog.conf to log 
vpopmail stuff to it's own log file.  It's possible that invalid log 
name might be causing the problem with logging not being verbose.

On Tuesday, December 10, 2002, at 08:41 AM, Anders Norrbring wrote:

 Can anyone please tell me what's wrong with the configure command I 
 give
 to vpopmail-5.2.1 ?

 It' like this:

 ./configure --enable-roaming-users=y --enable-relay-clear-minutes=10
 --enable-mysql=y --enable-clear-passwd=y \
   --enable-valias=y --enable-logging=v
 --enable-log-name=vpopmail.log

 The result gives this:

vpopmail 5.2.1
 Current settings
 ---

 vpopmail directory = /var/vpopmail
uid = 89
gid = 89
   ip alias = OFF --enable-ip-alias-domains=n (default)
 address extentions = OFF --enable-qmail-ext=n (default)
  roaming users = ON  --enable-roaming-users=y
 tcpserver file = /etc/tcp.smtp
 open_smtp file = /var/vpopmail/etc/open-smtp
 user quota = OFF --enable-defaultquota=NOQUOTA default
auth module = mysql --enable-mysql=y
  mysql replication = OFF --enable-mysql-replication=n default
 table optimization = many domains --enable-many-domains=y default
   system passwords = OFF --enable-passwd=n default
   file locking = ON  --enable-file-locking=y default
  file sync = OFF --enable-file-sync=n default disable
 vdelivermail fsync
   auth logging = ON  --enable-auth-logging=y default
  mysql logging = OFF --enable-mysql-logging=n default
   clear passwd = ON  --enable-clear-passwd=y (default)
  valias processing = ON  --enable-valias=y
 pop syslog = show only failure attempts
  --enable-logging=e default
 default domain =  --enable-default-domain=
   auth inc = -I/usr/include/mysql
   auth lib = -L/usr/lib/mysql  -lmysqlclient -lz

 As you can see, the log file is *not* set to verbose as I asked for, 
 and
 the log file name is *not* set to vpopmail.log as I also asked for.  
 So,
 what about the enable-relay-clear-minutes ?  Is that *still* 180
 minutes??

 I also tried to set quota check on, that didn't work either...  Any
 ideas?  I'm running on a SuSE 8.1 system.

 Anders Norrbring
 Norrbring Consulting.










[vchkpw] relaying not allowed

2002-12-10 Thread Tobias Åman
Hi! i´m back again : P

Someone who has setup vpopmail with roaming users who have some suggestions
for a beginner

I have succeded so far that the pop 3 server writes to the file open-smtp
with correct ip and timestamp but the smtp server
do not read it or maybe the permisions have been setup wrong. I have looked
allover for info but havent found any solutions yet

the smtp server says

The message could not be sent because one of the recipients was rejected by
the server. The rejected e-mail address was x. Subject '', Account:
, Server: , Protocol: SMTP, Server Response: '553 sorry,
that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79

maybe there is some file owner permision setup failure here´s a ls -la on
the etc dir of home/vpopmail

drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
-rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
-rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
-rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
-rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
-rw-r--r--1 root root0 Dec  9 12:52 open-smtp.tmp.10753
-rw-r--r--1 root root0 Dec  8 19:06 open-smtp.tmp.10766
-rw-r--r--1 root root0 Dec  9 16:16 open-smtp.tmp.11173
-rw-r--r--1 root root0 Dec  7 16:03 open-smtp.tmp.11200
-rw-r--r--1 root root0 Dec  9 18:46 open-smtp.tmp.11281
-rw-r--r--1 root root0 Dec  9 14:46 open-smtp.tmp.11880
-rw-r--r--1 root root0 Dec  9 15:05 open-smtp.tmp.12481
-rw-r--r--1 root root0 Dec  9 13:42 open-smtp.tmp.12500
-rw-r--r--1 root root0 Dec  9 21:46 open-smtp.tmp.12663
-rw-r--r--1 root root0 Dec  7 21:14 open-smtp.tmp.12861
-rw-r--r--1 root root0 Dec  9 15:42 open-smtp.tmp.12869
-rw-r--r--1 root root0 Dec  8 01:45 open-smtp.tmp.13274
-rw-r--r--1 root root0 Dec  8 21:27 open-smtp.tmp.14119
-rw-r--r--1 root root0 Dec  8 00:45 open-smtp.tmp.14307
-rw-r--r--1 root root0 Dec  8 14:31 open-smtp.tmp.14327
-rw-r--r--1 root root0 Dec  7 16:03 open-smtp.tmp.14825
-rw-r--r--1 root root0 Dec  9 17:46 open-smtp.tmp.14895
-rw-r--r--1 root root0 Dec  7 18:35 open-smtp.tmp.15191
-rw-r--r--1 root root0 Dec  9 19:16 open-smtp.tmp.15331
-rw-r--r--1 root root0 Dec  7 22:14 open-smtp.tmp.15618
-rw-r--r--1 root root0 Dec  9 16:46 open-smtp.tmp.15881
-rw-r--r--1 root root0 Dec  9 20:16 open-smtp.tmp.16429
-rw-r--r--1 root root0 Dec  7 18:36 open-smtp.tmp.16483
-rw-r--r--1 root root0 Dec  8 02:16 open-smtp.tmp.1719
-rw-r--r--1 root root0 Dec  8 01:15 open-smtp.tmp.17426
-rw-r--r--1 root root0 Dec  9 13:23 open-smtp.tmp.18732
-rw-r--r--1 root root0 Dec  8 14:28 open-smtp.tmp.19621
-rw-r--r--1 root root0 Dec  9 19:46 open-smtp.tmp.19655
-rw-r--r--1 root root0 Dec  8 23:03 open-smtp.tmp.1983
-rw-r--r--1 root root0 Dec  8 17:46 open-smtp.tmp.20357
-rw-r--r--1 root root0 Dec  8 04:54 open-smtp.tmp.20512
-rw-r--r--1 root root0 Dec  9 13:49 open-smtp.tmp.21280
-rw-r--r--1 root root0 Dec  7 17:04 open-smtp.tmp.21672
-rw-r--r--1 root root0 Dec  7 23:45 open-smtp.tmp.21711
-rw-r--r--1 root root0 Dec  8 22:14 open-smtp.tmp.21890
-rw-r--r--1 root root0 Dec  7 18:39 open-smtp.tmp.22001
-rw-r--r--1 root root0 Dec  9 13:29 open-smtp.tmp.22186
-rw-r--r--1 root root0 Dec  7 18:57 open-smtp.tmp.22391
-rw-r--r--1 root root0 Dec  9 14:01 open-smtp.tmp.22793
-rw-r--r--1 root root0 Dec  9 15:46 open-smtp.tmp.23728
-rw-r--r--1 root root0 Dec  9 14:56 open-smtp.tmp.23873
-rw-r--r--1 root root0 Dec  7 18:35 open-smtp.tmp.2400
-rw-r--r--1 root root0 Dec  8 23:33 open-smtp.tmp.245
-rw-r--r--1 root root0 Dec  7 22:44 open-smtp.tmp.24970
-rw-r--r--1 root root0 Dec  7 21:44 open-smtp.tmp.25149
-rw-r--r--1 root root0 Dec  8 22:03 open-smtp.tmp.25184
-rw-r--r--1 root root0 Dec  8 03:46 open-smtp.tmp.25444
-rw-r--r--1 root root0 Dec  8 18:47 open-smtp.tmp.26248
-rw-r--r--1 root root0 Dec  8 18:56 open-smtp.tmp.26956
-rw-r--r--1 root root

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Brian Kolaci

Hi Tobias,

I've seen a similar thing recently, however I'm using MySQL
rather than files and my users have received the same error
message.  I checked and found their IP in the table, however
they were still not allowed to send/relay mail.

I had to resort to manually configure static blocks of IP's in
the tcp.stmp file rather than let the roaming feature work.

Its strange, it works for 99% of our customers, but then I
find that some people get stuck from certain areas.

Brian

   Hi! i´m back again : P
   
   Someone who has setup vpopmail with roaming users who have some suggestions
   for a beginner
   
   I have succeded so far that the pop 3 server writes to the file open-smtp
   with correct ip and timestamp but the smtp server
   do not read it or maybe the permisions have been setup wrong. I have looked
   allover for info but havent found any solutions yet
   
   the smtp server says
   
   The message could not be sent because one of the recipients was rejected by
   the server. The rejected e-mail address was x. Subject '', Account:
   , Server: , Protocol: SMTP, Server Response: '553 sorry,
   that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
   Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
   
   maybe there is some file owner permision setup failure here´s a ls -la on
   the etc dir of home/vpopmail
   
   drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
   drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
   -rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
   -rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
   -rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
   -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
   -rw-r--r--1 root root0 Dec  9 12:52 open-smtp.tmp.10753
   -rw-r--r--1 root root0 Dec  8 19:06 open-smtp.tmp.10766
   -rw-r--r--1 root root0 Dec  9 16:16 open-smtp.tmp.11173
   -rw-r--r--1 root root0 Dec  7 16:03 open-smtp.tmp.11200
   -rw-r--r--1 root root0 Dec  9 18:46 open-smtp.tmp.11281
   -rw-r--r--1 root root0 Dec  9 14:46 open-smtp.tmp.11880
   -rw-r--r--1 root root0 Dec  9 15:05 open-smtp.tmp.12481
   -rw-r--r--1 root root0 Dec  9 13:42 open-smtp.tmp.12500
   -rw-r--r--1 root root0 Dec  9 21:46 open-smtp.tmp.12663
   -rw-r--r--1 root root0 Dec  7 21:14 open-smtp.tmp.12861
   -rw-r--r--1 root root0 Dec  9 15:42 open-smtp.tmp.12869
   -rw-r--r--1 root root0 Dec  8 01:45 open-smtp.tmp.13274
   -rw-r--r--1 root root0 Dec  8 21:27 open-smtp.tmp.14119
   -rw-r--r--1 root root0 Dec  8 00:45 open-smtp.tmp.14307
   -rw-r--r--1 root root0 Dec  8 14:31 open-smtp.tmp.14327
   -rw-r--r--1 root root0 Dec  7 16:03 open-smtp.tmp.14825
   -rw-r--r--1 root root0 Dec  9 17:46 open-smtp.tmp.14895
   -rw-r--r--1 root root0 Dec  7 18:35 open-smtp.tmp.15191
   -rw-r--r--1 root root0 Dec  9 19:16 open-smtp.tmp.15331
   -rw-r--r--1 root root0 Dec  7 22:14 open-smtp.tmp.15618
   -rw-r--r--1 root root0 Dec  9 16:46 open-smtp.tmp.15881
   -rw-r--r--1 root root0 Dec  9 20:16 open-smtp.tmp.16429
   -rw-r--r--1 root root0 Dec  7 18:36 open-smtp.tmp.16483
   -rw-r--r--1 root root0 Dec  8 02:16 open-smtp.tmp.1719
   -rw-r--r--1 root root0 Dec  8 01:15 open-smtp.tmp.17426
   -rw-r--r--1 root root0 Dec  9 13:23 open-smtp.tmp.18732
   -rw-r--r--1 root root0 Dec  8 14:28 open-smtp.tmp.19621
   -rw-r--r--1 root root0 Dec  9 19:46 open-smtp.tmp.19655
   -rw-r--r--1 root root0 Dec  8 23:03 open-smtp.tmp.1983
   -rw-r--r--1 root root0 Dec  8 17:46 open-smtp.tmp.20357
   -rw-r--r--1 root root0 Dec  8 04:54 open-smtp.tmp.20512
   -rw-r--r--1 root root0 Dec  9 13:49 open-smtp.tmp.21280
   -rw-r--r--1 root root0 Dec  7 17:04 open-smtp.tmp.21672
   -rw-r--r--1 root root0 Dec  7 23:45 open-smtp.tmp.21711
   -rw-r--r--1 root root0 Dec  8 22:14 open-smtp.tmp.21890
   -rw-r--r--1 root root0 Dec  7 18:39 open-smtp.tmp.22001
   -rw-r--r--1 root root0 Dec  9 13:29 open-smtp.tmp.22186
   -rw-r--r--1 root root0 Dec  7 18:57 open-smtp.tmp.22391
   -rw-r--r--1 root root0 Dec  9 14:01 open-smtp.tmp.22793
   -rw-r--r--1 root root0 Dec  9 15:46 open-smtp.tmp.23728
   -rw-r--r--1 root root   

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Tobias Åman
Okay but should the option Accepted local and relay domains be set to Any
Domain ?

Regards /Tobias


- Original Message -
From: Brian Kolaci [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 9:14 PM
Subject: Re: [vchkpw] relaying not allowed



Hi Tobias,

I've seen a similar thing recently, however I'm using MySQL
rather than files and my users have received the same error
message.  I checked and found their IP in the table, however
they were still not allowed to send/relay mail.

I had to resort to manually configure static blocks of IP's in
the tcp.stmp file rather than let the roaming feature work.

Its strange, it works for 99% of our customers, but then I
find that some people get stuck from certain areas.

Brian

   Hi! i´m back again : P
  
   Someone who has setup vpopmail with roaming users who have some
suggestions
   for a beginner
  
   I have succeded so far that the pop 3 server writes to the file
open-smtp
   with correct ip and timestamp but the smtp server
   do not read it or maybe the permisions have been setup wrong. I have
looked
   allover for info but havent found any solutions yet
  
   the smtp server says
  
   The message could not be sent because one of the recipients was rejected
by
   the server. The rejected e-mail address was x. Subject '',
Account:
   , Server: , Protocol: SMTP, Server Response: '553 sorry,
   that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
   Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
  
   maybe there is some file owner permision setup failure here´s a ls -la
on
   the etc dir of home/vpopmail
  
   drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
   drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
   -rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
   -rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
   -rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
   -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
   -rw-r--r--1 root root0 Dec  9 12:52
open-smtp.tmp.10753
   -rw-r--r--1 root root0 Dec  8 19:06
open-smtp.tmp.10766
   -rw-r--r--1 root root0 Dec  9 16:16
open-smtp.tmp.11173
   -rw-r--r--1 root root0 Dec  7 16:03
open-smtp.tmp.11200
   -rw-r--r--1 root root0 Dec  9 18:46
open-smtp.tmp.11281
   -rw-r--r--1 root root0 Dec  9 14:46
open-smtp.tmp.11880
   -rw-r--r--1 root root0 Dec  9 15:05
open-smtp.tmp.12481
   -rw-r--r--1 root root0 Dec  9 13:42
open-smtp.tmp.12500
   -rw-r--r--1 root root0 Dec  9 21:46
open-smtp.tmp.12663
   -rw-r--r--1 root root0 Dec  7 21:14
open-smtp.tmp.12861
   -rw-r--r--1 root root0 Dec  9 15:42
open-smtp.tmp.12869
   -rw-r--r--1 root root0 Dec  8 01:45
open-smtp.tmp.13274
   -rw-r--r--1 root root0 Dec  8 21:27
open-smtp.tmp.14119
   -rw-r--r--1 root root0 Dec  8 00:45
open-smtp.tmp.14307
   -rw-r--r--1 root root0 Dec  8 14:31
open-smtp.tmp.14327
   -rw-r--r--1 root root0 Dec  7 16:03
open-smtp.tmp.14825
   -rw-r--r--1 root root0 Dec  9 17:46
open-smtp.tmp.14895
   -rw-r--r--1 root root0 Dec  7 18:35
open-smtp.tmp.15191
   -rw-r--r--1 root root0 Dec  9 19:16
open-smtp.tmp.15331
   -rw-r--r--1 root root0 Dec  7 22:14
open-smtp.tmp.15618
   -rw-r--r--1 root root0 Dec  9 16:46
open-smtp.tmp.15881
   -rw-r--r--1 root root0 Dec  9 20:16
open-smtp.tmp.16429
   -rw-r--r--1 root root0 Dec  7 18:36
open-smtp.tmp.16483
   -rw-r--r--1 root root0 Dec  8 02:16
open-smtp.tmp.1719
   -rw-r--r--1 root root0 Dec  8 01:15
open-smtp.tmp.17426
   -rw-r--r--1 root root0 Dec  9 13:23
open-smtp.tmp.18732
   -rw-r--r--1 root root0 Dec  8 14:28
open-smtp.tmp.19621
   -rw-r--r--1 root root0 Dec  9 19:46
open-smtp.tmp.19655
   -rw-r--r--1 root root0 Dec  8 23:03
open-smtp.tmp.1983
   -rw-r--r--1 root root0 Dec  8 17:46
open-smtp.tmp.20357
   -rw-r--r--1 root root0 Dec  8 04:54
open-smtp.tmp.20512
   -rw-r--r--1 root root0 Dec  9 13:49
open-smtp.tmp.21280
   -rw-r--r--1 root root0 Dec  7 17:04
open-smtp.tmp.21672
   -rw-r--r--1 root root0 Dec  7 23:45
open-smtp.tmp.21711
   -rw-r--r--1 root root0 Dec  8 22:14
open-smtp.tmp.21890
   -rw-r--r--1 root root0 Dec  7 18:39
open-smtp.tmp.22001
   -rw-r--r--1 root root0 Dec  9 13:29

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Brian Kolaci

Well, it looks like in your case, the problem appears
to be that the tcp.smtp.cdb file isn't being updated.
This is the file that the server uses to allow relaying
or not, and its timestamp is older than your tcp.smtp file.

Brian

   Okay but should the option Accepted local and relay domains be set to Any
   Domain ?
   
   Regards /Tobias
   
   
   - Original Message -
   From: Brian Kolaci [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Tuesday, December 10, 2002 9:14 PM
   Subject: Re: [vchkpw] relaying not allowed
   
   
   
   Hi Tobias,
   
   I've seen a similar thing recently, however I'm using MySQL
   rather than files and my users have received the same error
   message.  I checked and found their IP in the table, however
   they were still not allowed to send/relay mail.
   
   I had to resort to manually configure static blocks of IP's in
   the tcp.stmp file rather than let the roaming feature work.
   
   Its strange, it works for 99% of our customers, but then I
   find that some people get stuck from certain areas.
   
   Brian
   
  Hi! i´m back again : P
 
  Someone who has setup vpopmail with roaming users who have some
   suggestions
  for a beginner
 
  I have succeded so far that the pop 3 server writes to the file
   open-smtp
  with correct ip and timestamp but the smtp server
  do not read it or maybe the permisions have been setup wrong. I have
   looked
  allover for info but havent found any solutions yet
 
  the smtp server says
 
  The message could not be sent because one of the recipients was rejected
   by
  the server. The rejected e-mail address was x. Subject '',
   Account:
  , Server: , Protocol: SMTP, Server Response: '553 sorry,
  that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
  Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
 
  maybe there is some file owner permision setup failure here´s a ls -la
   on
  the etc dir of home/vpopmail
 
  drwxr-xr-x2 89   vchkpw   4096 Dec 10 21:01 ./
  drwxr-xr-x8 89   vchkpw   4096 Dec  6 17:23 ../
  -rw-r--r--1 89   vchkpw 25 Dec  6 17:22 inc_deps
  -rw-r--r--1 89   vchkpw 32 Dec  6 17:22 lib_deps
  -rw-r--r--1 root root   60 Dec 10 21:01 open-smtp
  -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock
  -rw-r--r--1 root root0 Dec  9 12:52
   open-smtp.tmp.10753
  -rw-r--r--1 root root0 Dec  8 19:06
   open-smtp.tmp.10766
  -rw-r--r--1 root root0 Dec  9 16:16
   open-smtp.tmp.11173
  -rw-r--r--1 root root0 Dec  7 16:03
   open-smtp.tmp.11200
  -rw-r--r--1 root root0 Dec  9 18:46
   open-smtp.tmp.11281
  -rw-r--r--1 root root0 Dec  9 14:46
   open-smtp.tmp.11880
  -rw-r--r--1 root root0 Dec  9 15:05
   open-smtp.tmp.12481
  -rw-r--r--1 root root0 Dec  9 13:42
   open-smtp.tmp.12500
  -rw-r--r--1 root root0 Dec  9 21:46
   open-smtp.tmp.12663
  -rw-r--r--1 root root0 Dec  7 21:14
   open-smtp.tmp.12861
  -rw-r--r--1 root root0 Dec  9 15:42
   open-smtp.tmp.12869
  -rw-r--r--1 root root0 Dec  8 01:45
   open-smtp.tmp.13274
  -rw-r--r--1 root root0 Dec  8 21:27
   open-smtp.tmp.14119
  -rw-r--r--1 root root0 Dec  8 00:45
   open-smtp.tmp.14307
  -rw-r--r--1 root root0 Dec  8 14:31
   open-smtp.tmp.14327
  -rw-r--r--1 root root0 Dec  7 16:03
   open-smtp.tmp.14825
  -rw-r--r--1 root root0 Dec  9 17:46
   open-smtp.tmp.14895
  -rw-r--r--1 root root0 Dec  7 18:35
   open-smtp.tmp.15191
  -rw-r--r--1 root root0 Dec  9 19:16
   open-smtp.tmp.15331
  -rw-r--r--1 root root0 Dec  7 22:14
   open-smtp.tmp.15618
  -rw-r--r--1 root root0 Dec  9 16:46
   open-smtp.tmp.15881
  -rw-r--r--1 root root0 Dec  9 20:16
   open-smtp.tmp.16429
  -rw-r--r--1 root root0 Dec  7 18:36
   open-smtp.tmp.16483
  -rw-r--r--1 root root0 Dec  8 02:16
   open-smtp.tmp.1719
  -rw-r--r--1 root root0 Dec  8 01:15
   open-smtp.tmp.17426
  -rw-r--r--1 root root0 Dec  9 13:23
   open-smtp.tmp.18732
  -rw-r--r--1 root root0 Dec  8 14:28
   open-smtp.tmp.19621
  -rw-r--r--1 root root0 Dec  9 19:46
   open-smtp.tmp.19655
  -rw-r--r--1 root root0 Dec  8 23:03
   open-smtp.tmp.1983
  

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Johan Almqvist
* Brian Kolaci [EMAIL PROTECTED] [021210 21:22]:
 Well, it looks like in your case, the problem appears
 to be that the tcp.smtp.cdb file isn't being updated.
 This is the file that the server uses to allow relaying
 or not, and its timestamp is older than your tcp.smtp file.

Tobias,

you should probably try to attache strace or something like that
to qmail-popop (with child process tracing) or to vchkpw. The problem may
be that your system is looking for the tcprules program in the wrong
place.

-Johan



msg10149/pgp0.pgp
Description: PGP signature


Re: [vchkpw] relaying not allowed

2002-12-10 Thread Tobias Åman
I solved the problem!!

the tcprules app for some reason updates the /etc/tcp.smtp.cdb database and
not the one in /home/vpopmail/etc
as described in th FAQ so i changed in the run sript for tcprules to use the
one in the /etc dir and then it worked
as it should do...

If this is not right someone tell me why this works then : )

Regards / Tobias
- Original Message -
From: Johan Almqvist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 10:18 PM
Subject: Re: [vchkpw] relaying not allowed







[vchkpw] Error somewhere, I don't know...

2002-12-10 Thread Anders Norrbring

The problems never ends...

Look at this, I did it manually from the console just to see why nothing
happened from a client.


root@berit telnet localhost 110
root@berit Connected to localhost.
root@berit Escape character is '^]'.
root@berit +OK [EMAIL PROTECTED]
root@berit USER [EMAIL PROTECTED]
root@berit +OK
root@berit PASS whatever
root@berit /var/vpopmail/bin/vchkpw: error while loading shared
libraries: libc.so.6: failed to map segment from shared object:
  Cannot allocate memory
root@berit -ERR authorization failed
root@berit Connection closed by foreign host.

Any ideas please?

Anders Norrbring
Norrbring Consulting.





RE: [vchkpw] Error somewhere, I don't know...

2002-12-10 Thread Tren Blackburn
Please check the list archives.  This has been gone over.  You need to
raise your softlimit.

Regards,

Tren

-Original Message-
From: Anders Norrbring [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 10, 2002 3:29 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Error somewhere, I don't know...



The problems never ends...

Look at this, I did it manually from the console just to see why nothing
happened from a client.


root@berit telnet localhost 110
root@berit Connected to localhost.
root@berit Escape character is '^]'.
root@berit +OK [EMAIL PROTECTED]
root@berit USER [EMAIL PROTECTED]
root@berit +OK
root@berit PASS whatever
root@berit /var/vpopmail/bin/vchkpw: error while loading shared
libraries: libc.so.6: failed to map segment from shared object:
  Cannot allocate memory
root@berit -ERR authorization failed
root@berit Connection closed by foreign host.

Any ideas please?

Anders Norrbring
Norrbring Consulting.








[vchkpw] vpopmail bouncing problems

2002-12-10 Thread nbari
Does some one has vpopmail with procmail running and getting bouncing
messages fine?

i am using a general filter for all my virtual domain users, puting on the
file .qmail-default the following line:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

filter works perfect, the problems are when bouncing a message to a sender
that has email someone that is not a valid user.

any ideas?

Regardas



BTW:

This is my actual situation, i am using vpopmail with some virtual domains
and i use procmail so users that have webmail can filter unwanted email,
for that i am using the sqblock.rc file that is a set of rules for the
squirrelmail webmail and they work fine.

on my virtual host i have

~vpopmail/domains/unixmexico.org/.qmail-default

and in that file i have:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

now, on /etc/procmailrc i have:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox


the sqblock.rc has :

--
# Location of the SquirrelMail user data files
SQDATA=/usr/local/squirrelmail/data

# Location of the user's SM Trash file ($HOME represents the user's home
dir) SQTRASH=/dev/null

# Full, absolute path of the test utility on the system
TESTPATH=/bin/test

# Full, absolute path of the formail utility on the system
FORMAILPATH=/usr/local/bin/formail

# Full, absolute path of the grep utility on the system
GREPPATH=/usr/bin/grep

# Full, absolute path of the sed utility on the system
SEDPATH=/usr/bin/sed
VERBOSE=yes
LOGABSTRACT=yes
LOGFILE=/var/log/procmail.log
LOG=


:0
* ? $TESTPATH -f $SQDATA/$BLOCKLIST
{
   # Get the sender's email address
   :0h
   SENDER=|$FORMAILPATH -IReply-To: -rtzxTo:

   # Grab the domain from the sender
   DOMAIN=\*@`echo $SENDER|sed s/^.*@//`

   :0
   * 1^0 ? $GREPPATH $SENDER $SQDATA/$BLOCKLIST
   * 1^0 ? $GREPPATH $DOMAIN $SQDATA/$BLOCKLIST
   {
  DROPPRIVS=yes
  :0
  $SQTRASH
   }
}

--

now this works fine users can block unwanted email, the filter works Ok.
the problem is that if some one send an email to a user that is not on the
virtualhost, he dont get bounced back

for example if i email to [EMAIL PROTECTED] i wont get a respond from
MAILER-DAEMOND telling me that the user no_user don't exists


this is the output of my log, when sending an email to [EMAIL PROTECTED]

---
procmail: Assigning LOG=


procmail: Executing
/bin/test,-f,[EMAIL PROTECTED]
procmail: Non-zero exitcode (1) from /bin/test
procmail: No match on /bin/test -f
[EMAIL PROTECTED]
procmail: Executing
/usr/local/vpopmail/bin/vdelivermail,,bounce-no-mailbox procmail:
Program failure (100) of /usr/local/vpopmail/bin/vdelivermail procmail:
Assigning LASTFOLDER=/usr/local/vpopmail/bin/vdelivermail
bounce-no-mailboxFrom [EMAIL PROTECTED] Thu Dec 05 05:06:14 2002
 Subject: test
  Folder: **Bounced**
---


now  if i put EXITCODE=100 on the /etc/procmailrc at the end of the rules:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
EXITCODE=100

bounce works but the bounce messages has something like this:

From: [EMAIL PROTECTED]

Hi. This is the qmail-send program at ns3.unixmexico.net.
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.

[EMAIL PROTECTED]:
procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


here instead of getting a message like saying NO MAILBOX FOUND. i get

procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


now, my questions are

how can i chage this bounce message, or do i have an error on my rules ?


should i use .qmail or .qmail-default under my vhost

should i use:
|preline /usr/local/bin/procmail -p -m /etc/procmailrc
or
|preline /usr/bin/procmail

how can i call or make the  line |/var/qmail/bin/bouncesaying 'Sorry, go
away' to work

what should i modify on my config o what do i am doing wrong ?
why if i just put an EXITCODE=100 bounce start working but sending
procmail lines like logs of procmail instead of a custom message.


regards







[vchkpw] IMAP Relay export vpopmail

2002-12-10 Thread Remo Mattei
Hi Guys I can never remember how to set the variable before setting Imap up
so that it works with vpopmail user relay agent.

Thanks, 
Remo