Ken Jones | 1 Oct 2002 15:55
Favicon

Re: vpopmail and .qmail files

From the 5.3.9 ChangeLog

09/05/02   "Steve Fulton" steve at esoteric dot ca
           - vdelivermail now handles error return codes 100 and 99
             when processing users .qmail files. Support for autoresponder
             exiting with 99.

On Monday 30 September 2002 05:03 pm, Jeremiah Gowdy wrote:
> vdelivermail improperly translates .qmail commands that return 99 into 111,
> which is a soft delivery failure.  99 is a success, but stop interpreting
> further .qmail commands.  This causes problems with condredirect and
> bouncesaying.  The following patch resolves the issue.
>
> *** vpopmail-5.3.8/vdelivermail.c       Thu Jun 20 16:13:25 2002
> --- vpopmail-5.3.8.patched/vdelivermail.c       Mon Sep 23 13:24:52 2002
> ***************
> *** 727,732 ****
> --- 728,734 ----
>     switch(wait_exitcode(wstat))
>      {
>       case 64: case 65: case 70: case 76: case 77: case 78: case 112:
> _exit(100); +     case 99: _exit(99);
>       case 0: break;
>       default: _exit(111);
>      }
>
>
> As stated in this paragraph:
>
> command's exit codes are interpreted as  follows:   0  means
(Continue reading)

Ken Jones | 1 Oct 2002 16:01
Favicon

Re: patch illustrating bug in tcprules_open.

I've been looking for this one for a long time :)
Nice one. It will be in 5.3.11 version.

Ken Jones

On Saturday 28 September 2002 12:24 pm, John Fessenden wrote:
> vpopmail-folk.
>
> If this is the wrong forum to post these things
> please let me know the appropriate forum
>
> in vpopmail.c: update_rules()
> there is an attempt to delete the tcprules temporary file by unlinking
> 'relay_template'  which was set in tcprules_open
>
> however relay_template is only the extension added onto TCP_FILE
> and not the actual tempfile passed to tcprules program.
>
> this seems to be the case in both 5.2.1 and 5.3.8
>
> the following patch should fix that, or at the very least illustrate the
> problem.  I am not the worlds best c coder, so use the patch at your
> discretion.
>
> --- vpopmail.c.orig     Sat May 18 06:25:49 2002
> +++ vpopmail.c  Sat Sep 28 10:04:07 2002
>  <at>  <at>  -2167,7 +2167,8  <at>  <at>  long unsigned tcprules_open()
>         memset(bin0,0,BUFF_SIZE);
>         memset(bin1,0,BUFF_SIZE);
>         memset(bin2,0,BUFF_SIZE);
(Continue reading)

Ken Jones | 1 Oct 2002 16:02
Favicon

Re: more roaming user problems

Make sure there is a /home/vpopmail directory owned by vpopmail.vchkpw
Looks like the configure script is unable to create the /home/vpopmail/etc 
directory. 

Ken Jones

On Friday 27 September 2002 03:48 pm, rm wrote:
> I seem to be going backwards with this.  I've decided to completely drop
> the mysql vpopmail database, delete the current vpopmail installation,
> remove all domain references from qmail control and rcpt host
> files,removed domain references from /qmail/usrs/assign & cdb, run
> qmail-newu, send killall -HUP to qmail-send, and completely reinstall
> vpopmail 5.2.1 from a new source download.
>
> I used the following configure options
> ./configure  --enable-roaming-users=y --enable-relay-clear-minutes=60
> --enable-mysql-logging=y --enable-clear-passwd=y
> --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y
> --enable-mysql-replication=y --enable-valias
> --enable-tcprules-prog=/usr/local/bin/tcprules
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-auth-logging=y
>
> I got a warning when running the above configure line -
> mkdir: cannot create directory /home/vpopmail/etc: No such file or dir
> configure: warning: maiking a vpopmail etc directory
> ./configure: /home/vpopmail/etc/lib_deps: No such file or directory
> ./configure: /home/vpopmail/etc/inc_deps: No such file or directory
>
> It does make and install without error - but..
(Continue reading)

Eduardo Gargiulo | 1 Oct 2002 18:33

handle more than one domain

Hi all

I'm new to vpopmail. I'm looking for the standar vpopmail's
configuration for manage more than one virtual domains with only one
vpopmail domain (hmm, very unclear!).

The problem is that I want that a virtual domain account belongs to more
than one virtual domain (same account). Is it clear? i hope ...

thanks and sorry for my english

-ejg

Clayton Weise | 1 Oct 2002 17:46
Picon

RE: handle more than one domain

You mean an aliased domain?

For example...

If you email somebody <at> somedomain.com you also want it to be the same as
emailing somebody <at> someotherdomain.com.

-Clayton

-----Original Message-----
From: Eduardo Gargiulo [mailto:ejg-qmail <at> ar.homelinux.org]
Sent: Tuesday, October 01, 2002 9:33 AM
To: vchkpw <at> inter7.com
Subject: [vchkpw] handle more than one domain

Hi all

I'm new to vpopmail. I'm looking for the standar vpopmail's
configuration for manage more than one virtual domains with only one
vpopmail domain (hmm, very unclear!).

The problem is that I want that a virtual domain account belongs to more
than one virtual domain (same account). Is it clear? i hope ...

thanks and sorry for my english

-ejg

Eduardo Gargiulo | 1 Oct 2002 18:45

Re: handle more than one domain

Clayton Weise <clayton <at> iswest.net> wrote:
> You mean an aliased domain?
> 
> For example...
> 
> If you email somebody <at> somedomain.com you also want it to be the same as
> emailing somebody <at> someotherdomain.com.
> 
> -Clayton

Yes, my poor english is not to bad ;) That is what I want.
I'd tried the following

$ echo someotherdomain.com:somedomain.com >> control/virtualdomains
$ echo someotherdomain.com >> control/rcpthosts

but it didn't work. How can I do that?

TIA and sorry for my english

-ejg

Alfredo Perez | 1 Oct 2002 17:47
Picon
Favicon

Re: handle more than one domain

Hi  Eduardo,

 Try using the utilities provided by vpopmail....  Inside the
/home/vpopmail/bin  directory you'll find a command vadddomain and also
a vadduser.  That's what you must use in order to have virtual domains.

 If you need help in spanish, just tell me.

 Good Luck

El mar, 01-10-2002 a las 10:45, Eduardo Gargiulo escribió:
> Clayton Weise <clayton <at> iswest.net> wrote:
> > You mean an aliased domain?
> > 
> > For example...
> > 
> > If you email somebody <at> somedomain.com you also want it to be the same as
> > emailing somebody <at> someotherdomain.com.
> > 
> > -Clayton
> 
> Yes, my poor english is not to bad ;) That is what I want.
> I'd tried the following
> 
> $ echo someotherdomain.com:somedomain.com >> control/virtualdomains
> $ echo someotherdomain.com >> control/rcpthosts
> 
> but it didn't work. How can I do that?
> 
> TIA and sorry for my english
(Continue reading)

Peter Palmreuther | 1 Oct 2002 17:45
Picon

Re: handle more than one domain

On Tue, 1 Oct 2002 12:33:14 -0400
Eduardo Gargiulo <ejg-qmail <at> ar.homelinux.org> wrote:

> I'm new to vpopmail. I'm looking for the standar vpopmail's
> configuration for manage more than one virtual domains with only one
> vpopmail domain (hmm, very unclear!).
> 
> The problem is that I want that a virtual domain account belongs to
> more than one virtual domain (same account). Is it clear? i hope ...

If I got you right here you're looking for an 'aliasdomain'.

Have a look for the vpopmail command

vaddaliasdomain
--

-- 
Pit

Peter Palmreuther | 1 Oct 2002 18:02
Picon

Re: handle more than one domain

On Tue, 1 Oct 2002 12:45:56 -0400
Eduardo Gargiulo <ejg-qmail <at> ar.homelinux.org> wrote:

> I'd tried the following
> 
> $ echo someotherdomain.com:somedomain.com >> control/virtualdomains
> $ echo someotherdomain.com >> control/rcpthosts
> 
> but it didn't work. How can I do that?

It will not work as 'vdelivermail' itself is looking in
'/var/qmail/users/cdb' for the recipient domain and how to handle it. So
you'd have to insert an appropriate line into '/var/qmail/users/assign'
and call qmail-newu too or simplier call 'vaddaliasdomain', as all
you've done is the very same this command does, only more 'fail safe'
:-)
--

-- 
Pit

Malachi de AElfweald | 2 Oct 2002 01:49

clear passwords

Any idea why vpopmail (version 5.3.8) is storing clear text
passwords when I didn't specify clear-text on the ./configure options?
Was it on by default?  Is there any way to change this without
rebuilding and possibly breaking the link with qmailadmin and qmail?

Thanks,
Malachi


Gmane