[vchkpw] Re: virtual domain separator

2003-02-13 Thread Peter Palmreuther
Hello Cyrille,

On Thursday, February 13, 2003 at 8:41:01 AM you wrote (at least in
part):

 I would like to know if the virtual domain separator is easilly
 configurable.

No.
[...]
 Is that possible via configuration
 or have I to hack the source and recompile vpopmail ??

You have to recompile vpopmail after changing the line

#define ATCHARS @%/

in 'vpopmail.h' to addtionally include the '!'.
-- 
Best regards
Peter Palmreuther

It's even worse than that! He's dead Jim.





Re: [vchkpw] Re: virtual domain separator

2003-02-13 Thread cyrille
Peter Palmreuther a écrit:

Hello Cyrille,

On Thursday, February 13, 2003 at 8:41:01 AM you wrote (at least in
part):



I would like to know if the virtual domain separator is easilly
configurable.



No.
[...]


Is that possible via configuration
or have I to hack the source and recompile vpopmail ??



You have to recompile vpopmail after changing the line

#define ATCHARS @%/

in 'vpopmail.h' to addtionally include the '!'.


Thanks !

have a nice day ;o)

cyrille





Re: [vchkpw] Re: virtual domain separator

2003-02-13 Thread cyrille
Peter Palmreuther a écrit:

Hello Cyrille,

On Thursday, February 13, 2003 at 8:41:01 AM you wrote (at least in
part):



I would like to know if the virtual domain separator is easilly
configurable.



No.
[...]


Is that possible via configuration
or have I to hack the source and recompile vpopmail ??



You have to recompile vpopmail after changing the line

#define ATCHARS @%/

in 'vpopmail.h' to addtionally include the '!'.


ok,

but for installation ...

I'm on a production running server, so I prefer to check that :
after running configure, and make,
can I do a make install
or I've to copy files by hand ???

I'm afraid about erasing current configuration files ...

cyrille





Re: [vchkpw] Re: virtual domain separator

2003-02-13 Thread cyrille
cyrille a écrit:

Peter Palmreuther a écrit:


Hello Cyrille,

On Thursday, February 13, 2003 at 8:41:01 AM you wrote (at least in
part):


I would like to know if the virtual domain separator is easilly
configurable.


No.
[...]


Is that possible via configuration
or have I to hack the source and recompile vpopmail ??


You have to recompile vpopmail after changing the line

#define ATCHARS @%/

in 'vpopmail.h' to addtionally include the '!'.


ok,

but for installation ...

I'm on a production running server, so I prefer to check that :
after running configure, and make,
can I do a make install
or I've to copy files by hand ???

I'm afraid about erasing current configuration files ...

cyrille



Ok, I did install-strip with crossing my fingers ...

It's working very well, all stuffs still running after a RE-installation of vpopmail.

ouf ;o)
cyrille






[vchkpw] vpopmail 5.3.16 oddities

2003-02-13 Thread Jim
I've been using vpopmail 5.3.9 for a while, with [seemingly] no problems.  I
upgraded to vpopmail 5.3.16, and noticed some new behavior.

i have my server hosting a non-registered domain -- jimtest.com.  i have two
users on this domain; [EMAIL PROTECTED] and [EMAIL PROTECTED]  I also have a
.qmail-default and a .qmail-jim which contains:

| /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/jimtest.com/jim
[EMAIL PROTECTED]

this lets me send mail to [EMAIL PROTECTED], [EMAIL PROTECTED], et al.  it is
all piped through spamc and is all delivered correctly.


now, the wierd part is when i send mail to [EMAIL PROTECTED], the message is
piped through spamc and delivered to the spam mailbox..  i've verified that
i have no .qmail-spam or .qmail inside the spam Maildir.


Am I doing something wrong here?  I'm not sure If this was the same behavior
in 5.3.9 or not; I am just realizing it now.

One thing i did do recently was i put qmail under daemontools -- i then
moved everything back to the csh style, and i dont see a difference.

I compiled the new vpopmail with:
./configure \
--enable-defaultquota=10485760S \
--enable-many-domains=n \
--enable-logging=v

---
now something i've _just_ noticed, is that if i remove the .qmail-default,
then i get  a bounce message when i try to send to [EMAIL PROTECTED]


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

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

I've done a ~vpopmail/bin/vdeluser [EMAIL PROTECTED] and
~vpopmail/bin/vadduser [EMAIL PROTECTED] and the behavior is unchanged.

Oh boy. :)  Suggestions ?



-jim







[vchkpw] Message Wall

2003-02-13 Thread mike



hi
I wonder if anyone got Messagewall to work with a 
vpopmail setup .


Thankd
BEGIN:VCARD
VERSION:2.1
N:Tawafig;Mike
FN:Mike Tawafig
ORG:Hooper Holmes
TITLE:Lan Admin
ADR;WORK:;;;Basking Ridge;NJ;;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Basking Ridge, NJ=0D=0AUSA
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20030213T122703Z
END:VCARD



Re: [vchkpw] Message Wall

2003-02-13 Thread Jens Gassmann
yes, we have!

Jens

[EMAIL PROTECTED] wrote:

hi
I wonder if anyone got Messagewall to work with a vpopmail setup .
 
 
Thankd





[vchkpw] no $HOME/Maildir

2003-02-13 Thread Roland Schmid
Hello,

I am using vpopmail with mysql.
Logging telnet pop.mydomain.com 110 works.
I have the user [EMAIL PROTECTED]
Authentification of the user works. But then the server complains, that
there is no $HOME/Maildir.
Home of the users is /home/vpopmail/domains/domain/user.
How can I make it work?

Roland





Re: [vchkpw] no $HOME/Maildir

2003-02-13 Thread Peter Palmreuther
Hi Roland,

On Thu, 13 Feb 2003 16:24:09 +0100 Roland Schmid
[EMAIL PROTECTED] wrote:

 Authentification of the user works. But then the server complains, that
 there is no $HOME/Maildir.

Execute as root (on a command line)

qmail-popup `hostname -f` /home/vpopmail/bin/vchkpw \
/bin/sh -c echo \$HOME/Maildir

pretend you're a user logging in 
(means: type 'user usernameenterpass passwordenter)
and watch the output. Should be a directory.

No tell us what

ls -lisad directory

states.

 How can I make it work?

You don't really ask this, arent you? I hope _for you_ this question is
rhetorical, because the answer is obviously: do it right.
-- 
Peter




Re: [vchkpw] Message Wall

2003-02-13 Thread Jens Gassmann
Hi,

we use differents IPs for the messagewall and vpopmail, so our customer 
sent mail over smtp.domain.tld and the mail from other servers came in 
over mx-entrys. At the Moment that the only way to do it. Later 
Messagewall will implent a checkpasswd api.

And no angst, we run this configuration, for an half year and there 
where no spam over the smtp.domain.tld.

Hope this helps,

Jens

[EMAIL PROTECTED] wrote:
hi
Thanks for your reply . Do you utilize smtp-auth on you server . I am
looking of info on how enable smtp-auth on
messagewall using my current vpopmail setup ( auth from a mysql table ). Any
info would be appreciated .

thanks
- Original Message -
From: Jens Gassmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 7:33 AM
Subject: Re: [vchkpw] Message Wall




yes, we have!

Jens

[EMAIL PROTECTED] wrote:


hi
I wonder if anyone got Messagewall to work with a vpopmail setup .


Thankd












RE: [vchkpw] no $HOME/Maildir

2003-02-13 Thread Roland Schmid
Hi Peter,

yes, the output is a directory /root/Maildir
but the path to the Maildir is
/home/vpopmail/domains/mydomain.com/user/Maildir/

Roland


 Execute as root (on a command line)

 qmail-popup `hostname -f` /home/vpopmail/bin/vchkpw \
 /bin/sh -c echo \$HOME/Maildir

 pretend you're a user logging in
 (means: type 'user usernameenterpass passwordenter)
 and watch the output. Should be a directory.






RE: [vchkpw] Duplicate Messages.

2003-02-13 Thread Jonas Pasche
Hi Bruce,

 (a) Before I created the file .qmail-lists
 
 Feb 10 12:40:20 radar mail: 1044898820.602392 new msg 103789
 Feb 10 12:40:20 radar mail: 1044898820.605824 info msg 103789: bytes 2455
 from [EMAIL PROTECTED] qp 2616 uid 500
 Feb 10 12:40:20 radar mail: 1044898820.734291 starting delivery 88: msg
 103789 to local [EMAIL PROTECTED]
 Feb 10 12:40:20 radar mail: 1044898820.736996 status: local 1/10 remote 0/20
 Feb 10 12:40:22 radar mail: 1044898822.189478 delivery 88: success:
 did_0+0+2/
 Feb 10 12:40:22 radar mail: 1044898822.248579 status: local 0/10 remote 0/20
 Feb 10 12:40:22 radar mail: 1044898822.532584 end msg 103789

Ok, please tell us the output of:

grep bknonix.com /var/qmail/users/assign

And the output of:

ls -la home-directory-of-that-domain

And the output of:

cat home-directory-of-that-domain/.qmail-default

Jonas





Re: [vchkpw] no $HOME/Maildir

2003-02-13 Thread Peter Palmreuther
Hi Roland,

On Thu, 13 Feb 2003 19:41:34 +0100
Roland Schmid [EMAIL PROTECTED] wrote:

 Execute as root (on a command line)

 qmail-popup `hostname -f` /home/vpopmail/bin/vchkpw \
 /bin/sh -c echo \$HOME/Maildir

 pretend you're a user logging in
 (means: type 'user usernameenterpass passwordenter)
 and watch the output. Should be a directory.
 
 yes, the output is a directory /root/Maildir
 but the path to the Maildir is
 /home/vpopmail/domains/mydomain.com/user/Maildir/

So either you did something wrong with compiling vpopmail or you didn't
execute the command line I've given.
Please, do yourself a favour and _copy / paste_ it, Don't try to retype
it. The backticks are important, as well as the backslash. Your output
tells

- either you've done something wrong when executing the command line and
  $HOME was interpreted by the shell before qmail-popup was called
- or there's something _really_ wrong with your vchkpw as it sets $HOME
  to home of root

If you're unsure about having copied the command line correctly save the
following code into /tmp/foobar


#!/bin/sh

echo $HOME/Maildir


do 'chmod 755 /tmp/foobar' and run

 #qmail-popup `hostname -f` /home/vpopmail/bin/vchkpw /tmp/foobar

instead of the one given first.
This will _in any case_ prevent $HOME from being evaluated to early.
-- 
Peter




RE: [vchkpw] no $HOME/Maildir

2003-02-13 Thread Roland Schmid
Hi Peter,

 - either you've done something wrong when executing the command line and
   $HOME was interpreted by the shell before qmail-popup was called
 - or there's something _really_ wrong with your vchkpw as it sets $HOME
   to home of root
 
 If you're unsure about having copied the command line correctly save the
 following code into /tmp/foobar
 
 
 #!/bin/sh
 
 echo $HOME/Maildir
 
 
 do 'chmod 755 /tmp/foobar' and run
 
  #qmail-popup `hostname -f` /home/vpopmail/bin/vchkpw /tmp/foobar
 

The output is also /root/Maildir
What should the output be.
Can I install the vpopmail a second time, or do I run into trouble.

Roland




Re: [vchkpw] Duplicate Messages.

2003-02-13 Thread martynas sklizmantas
hello,

i have that kind of problem (duplicate messages) too, but not related to
mailling lists:

@40003e4bf2a80c7c1d14 new msg 1110022
@40003e4bf2a80c7c2cb4 info msg 1110022: bytes 5412796 from
[EMAIL PROTECTED] qp 9544 uid 501
@40003e4bf2a813c1461c starting delivery 1246040: msg 1110022 to
local [EMAIL PROTECTED]
@40003e4bf2a813c159a4 status: local 2/120 remote 0/120
@40003e4bf2a9093867ac end msg 1110022
@40003e4bf2a9096c317c new msg 1110116
@40003e4bf2a9096c4504 info msg 1110116: bytes 5412917 from
[EMAIL PROTECTED] qp 9552 uid 501
@40003e4bf2a90fb53f74 starting delivery 1246042: msg 1110116 to
local [EMAIL PROTECTED]
@40003e4bf2a90fb54f14 status: local 2/120 remote 0/120


grep chaud-devant.fr /var/qmail/users/assign
+chaud-devant.fr-:chaud-devant.fr:501:503:/usr/local/vpopmail/domains/z/
chaud-devant.fr:-::

chaud-devant.fr]# ls -al
total 112
drwx--3 vpopmail vchkpw   4096 Jan 22 11:26 .
drwx--  3219 vpopmail vchkpw  81920 Feb 13 15:03 ..
-rw-r--r--1 vpopmail vchkpw 34 Jan 22 11:26 .dir-control
drwx--3 vpopmail vchkpw   4096 Dec 10 23:28 postmaster
-rw-r--r--1 root vchkpw 60 Dec 10 23:28
.qmailadmin-limits
-rw---1 vpopmail vchkpw 69 Dec 10 23:28 .qmail-default
-rw---1 vpopmail vchkpw102 Dec 10 23:28 vpasswd
-rw---1 vpopmail vchkpw   2172 Dec 10 23:28 vpasswd.cdb
-rw---1 vpopmail vchkpw  0 Dec 10 23:28 .vpasswd.lock

cat .qmail-default
| /usr/local/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

cat postmaster/.qmail
[EMAIL PROTECTED]

(i am not sure how this .qmail was created ;)

when i remove .qmail in postmaster directory or just replced
[EMAIL PROTECTED] to ./Maildir/ - message is delivered (look
at the file size ;):
 new]# ls -la
total 5360
drwx--2 vpopmail vchkpw   4096 Feb 13 20:38 .
drwx--5 vpopmail vchkpw   4096 Dec 10 23:28 ..
-rw---1 vpopmail vchkpw5466007 Feb 13 20:38
1045165130.13891.webmail,S=5465939

new]# head 1045165130.13891.webmail\,S\=5465939
Return-Path: [EMAIL PROTECTED]
Delivered-To:
Received: (qmail 13885 invoked by uid 501); 13 Feb 2003 19:38:49 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13873 invoked by uid 501); 13 Feb 2003 19:38:48 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13865 invoked by uid 501); 13 Feb 2003 19:38:47 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13852 invoked by uid 501); 13 Feb 2003 19:38:46 -
Delivered-To: [EMAIL PROTECTED]

new]# grep Delivered-To 1045165130.13891.webmail\,S\=5465939 | wc -l
44654

few such accounts and load goes up two or three times ;)

are there any solutions for that?

regards,

martynas







[vchkpw] user/assign .qmail help

2003-02-13 Thread Trevor_Little


I need to be able send email to [EMAIL PROTECTED]

where xxx could be any length and containing numbers.
[EMAIL PROTECTED] or [EMAIL PROTECTED] would be valid.

once the users/assign file matches it, it's passed off to a .qmail file
and processed by another program.  but vpopmail does not let me do this!

before using vpopmail i was able to use something like this in users/assign

+m-:alias:1005:1005:/var/qmail/alias:::

it would match any m-  email address (like the examples above) and the
.qmail-default file would process it.
just like the life with qmail manual says it should

(from manual:   +prefix:user:uid:gid:directory:dash:prepend:
What this means is that messages received for addresses
of the form prefixrest will be delivered as user user, with the
specified uid and gid, and the file directory/.qmaildashprependrest
will specify how the messages are to be delivered.)

vpopmail does not let me do this, i think because it rewrites address as
domain-user@domain

how can i match email address of [EMAIL PROTECTED] like i used to?

**






Re: [vchkpw] user/assign .qmail help

2003-02-13 Thread Rick Romero

You need to compile vpopmail with --enable-qmail-ext=y , IIRC 

check ./configure --help to be sure

Rick

On Thu, 2003-02-13 at 15:17, [EMAIL PROTECTED] wrote:
 I need to be able send email to [EMAIL PROTECTED]
 
 where xxx could be any length and containing numbers.
 [EMAIL PROTECTED] or [EMAIL PROTECTED] would be valid.
 
 once the users/assign file matches it, it's passed off to a .qmail file
 and processed by another program.  but vpopmail does not let me do this!
 
 before using vpopmail i was able to use something like this in users/assign
 
 +m-:alias:1005:1005:/var/qmail/alias:::
 
 it would match any m-  email address (like the examples above) and the
 .qmail-default file would process it.
 just like the life with qmail manual says it should
 
 (from manual:   +prefix:user:uid:gid:directory:dash:prepend:
 What this means is that messages received for addresses
 of the form prefixrest will be delivered as user user, with the
 specified uid and gid, and the file directory/.qmaildashprependrest
 will specify how the messages are to be delivered.)
 
 vpopmail does not let me do this, i think because it rewrites address as
 domain-user@domain
 
 how can i match email address of [EMAIL PROTECTED] like i used to?
 
 **
 






[vchkpw] trouble with relay clearing

2003-02-13 Thread Paul Theodoropoulos

howdy,

i'm running vpopmail 5.3.16 with mysql backend (mysql 3.23.54a for solaris 
2.9 sparc), and courier imap 1.6.2. i've noticed that even though i have 
the --enable-relay-clear-minutes set to 180, my ability to relay seems to 
always stop after about 30 minutes when using IMAP (i don't use pop3 so 
havent tested that).

is the enable-relay-clear valid with the mysql backend? or am i missing 
something somewhere else?


Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net  





[vchkpw] Vpopmail help

2003-02-13 Thread Scooter
Yes,

I run qmail with vpopmail on a gentoo server I have setup.

Another admin of the box did an emerge world and now I get these errors
in the log file when someone tries to pop or it tries to receive email.


@40003e4c3ff5265554e4 delivery 2253: deferral:
could_not_connect_to_mysql_update_server_Access_denied_for_user:_'vpopma
il@localhost'_(Using_password:_YES)_with_database/could_not_connect_to_m
ysql_update_server_Access_denied_for_user:_'vpopmail@localhost'_(Using_p
assword:_YES)/

Worked peachy up to the point of the emerge world

vpopmail-5.2.1-r4.ebuild

Is the ebuild I'm using

Any help would be appreciated.


Scooter
www.tuxnet.net (Home Page)
www.gentoouser.org (Gentoo Linux Group)






Re: [vchkpw] Vpopmail help

2003-02-13 Thread John Johnson
 The vpopmail account on the MySQL server doesn't have access.. You need to
make sure
the account is there and that it has the proper access.

-John

- Original Message -
From: Scooter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 5:02 PM
Subject: [vchkpw] Vpopmail help


 Yes,

 I run qmail with vpopmail on a gentoo server I have setup.

 Another admin of the box did an emerge world and now I get these errors
 in the log file when someone tries to pop or it tries to receive email.


 @40003e4c3ff5265554e4 delivery 2253: deferral:
 could_not_connect_to_mysql_update_server_Access_denied_for_user:_'vpopma
 il@localhost'_(Using_password:_YES)_with_database/could_not_connect_to_m
 ysql_update_server_Access_denied_for_user:_'vpopmail@localhost'_(Using_p
 assword:_YES)/

 Worked peachy up to the point of the emerge world

 vpopmail-5.2.1-r4.ebuild

 Is the ebuild I'm using

 Any help would be appreciated.


 Scooter
 www.tuxnet.net (Home Page)
 www.gentoouser.org (Gentoo Linux Group)









RE: [vchkpw] Duplicate Messages.

2003-02-13 Thread Bknonix Lists
Ok.

Here you go.


From: Jonas Pasche [mailto:[EMAIL PROTECTED]] 
Sent: February 13, 2003 14:05
Hi Bruce,

 (a) Before I created the file .qmail-lists
 
 Feb 10 12:40:20 radar mail: 1044898820.602392 new msg 103789 Feb 10 
 12:40:20 radar mail: 1044898820.605824 info msg 103789: bytes 2455 
 from [EMAIL PROTECTED] qp 2616 uid 
 500 Feb 10 12:40:20 radar mail: 1044898820.734291 starting delivery 
 88: msg 103789 to local [EMAIL PROTECTED] Feb 10 12:40:20 
 radar mail: 1044898820.736996 status: local 1/10 remote 0/20 Feb 10 
 12:40:22 radar mail: 1044898822.189478 delivery 88: success: 
 did_0+0+2/ Feb 10 12:40:22 radar mail: 1044898822.248579 status: local 
 0/10 remote 0/20 Feb 10 12:40:22 radar mail: 1044898822.532584 end msg 
 103789

Ok, please tell us the output of:

grep bknonix.com /var/qmail/users/assign

+bknonix.com-:bknonix.ca:89:89:/home/VMail/domains/bknonix.ca:-::


And the output of:

ls -la home-directory-of-that-domain

drwx--5 vpopmail vchkpw   4096 Feb 10 21:28 .
drwx--4 vpopmail vchkpw   4096 Feb  9 13:02 ..
drwx--3 vpopmail vchkpw   4096 Jan  7 01:02 bknonix
drwx--3 vpopmail vchkpw   4096 Jan  7 01:02 bruce
-rw---1 vpopmail vchkpw 34 Feb  8 17:04 .dir-control
drwx--3 vpopmail vchkpw   4096 Jan  7 01:02 lists
-rw---1 vpopmail vchkpw 57 Feb  9 21:10 .qmail-abuse
-rw---1 vpopmail vchkpw 53 Feb 10 21:16 .qmail-bknonix
-rw---1 vpopmail vchkpw 51 Feb 10 21:14 .qmail-bruce
-rw---1 vpopmail vchkpw109 Feb  9 21:10 .qmail-default
-rw---1 vpopmail vchkpw 51 Feb 10 21:16 .qmail-lists
-rw---1 vpopmail vchkpw 53 Feb  9 21:10 .qmail-postmaster
-rw---1 vpopmail vchkpw311 Feb  5 00:48 vpasswd
-rw---1 vpopmail vchkpw   2425 Feb  5 00:48 vpasswd.cdb
-rw---1 vpopmail vchkpw  0 Feb  5 00:48 .vpasswd.lock


And the output of:

cat home-directory-of-that-domain/.qmail-default

| /home/VMail/bin/vdelivermail '' [EMAIL PROTECTED]
| /home/VMail/bin/vdelivermail '' bounce-no-mailbox


Jonas





Re: [vchkpw] Vpopbull format?

2003-02-13 Thread vqsignup
Hi all,

I think the present version of vpopbull is having a problem

[vpopmail@mail bin]$ ./vpopbull -v
version: 5.2.1

I have a small script which gives me new users. 
This does not work after I installed the above version

below is the script.

--
#!/bin/bash
echo NEW USERS + `date`
echo ---
/home/vpopmail/bin/vpopbull -V -n metta.lk  /home/vpopmail/bin/stats/new
sdiff /home/vpopmail/bin/stats/new /home/vpopmail/bin/stats/cur -s
/home/vpopmail/bin/vpopbull -V -n metta.lk  /home/vpopmail/bin/stats/cur

-

I do not get any users when I execute the command
/home/vpopmail/bin/vpopbull -V -n metta.lk

The older version of vpopbull is working OK
and I am using it at present instead of the newer version.

Perhaps this needs to be looked into 
or may have been fixed already.

regards
Mettavihari

-- 
A saying of the Buddha from http://metta.lk/ 
This I say to you all who has assemblied here: Dig up the root of craving like one in 
quest of Birana's sweet root. Let not Mara crush you again and again as a flood 
(crushes) a reed. 
Random Dhammapada Verse 337