I am confused regarding what current versions are

2001-09-20 Thread burrett

Roger wrote:

Hi All,

I am a little confused as to what are the latest versions that will work
properly together.

ie. is vpopmail ver 5-pre5 the latest working version and what works
with it

I need vpopmail, qmailadmin and sqwebmail

Thanks in advance

Regards
Roger




Problem back - Setting up remotely & can't change to directory & domains dont exist

2001-09-20 Thread burrett

Roger wrote:

Hi All,

Earlier today Tren Blackburn was helping me sort out a problem regarding
not being able to setup users in vpopmail with qmailadmin, and I was
getting the message:
Error: could not change to directory

The problem seemed to be solved when I added another domain (test2.com)
and that worked.
However now, a few hours later, the problem has returned because I am
now getting the error with (test2.com) as well.

The fact that it worked when I added this domain the first time would
indicate that the system was working.
Now I decided to delete the 2 domains in vpopmail and start again, only
to find that vdeldomain came back and says both domains do not exist,
yet they are as plain as day in the "domain" directory of vpopmail.

If I try to add a user via vadduser in ~vpopmail/bin I am getting an
error that there are no tables that it is able to open, but if I check
mysql with phpmyadmin, vpopmail tables are there and have the
"test2.com" entry, and yes mysql is running.

I am assumimg that there may be a problem with ver0.81 of Qmailadmin
and/or a problem with Vpopmail ver5 pre5 or both on my system, but don't
have a clue how to fix either.

Is it possible that I have somehow installed a broken vpopmail ie.
accidentally changed another version to ver5 pre5 and is ver5 pre 5 the
correct version to use?

Help would be much appreciated urgently

Thanks in advance
Regards
Roger




Where is the authlib directory

2001-06-04 Thread burrett

Roger Arnold wrote:

Hello All,

I have just downloaded "vpopmail-4.10.14" and noticed on the download
page that if "sqwebmail" is going to be used, a file has to be changed
in the "authlib" directory,
so where is the directory?

I couldn't find it in the vpopmail-4.10.14 source directory, nor can I
find it in the ~vpopmail/ directory tree after compilation.

I need sqwebmail so I need to find this directory, please help

Thanks in advance
Regards
Roger




Clearopensmtp problem with mysql - please help

2001-06-07 Thread burrett

Roger Arnold wrote:

Hello All,

I have a problem when I tried to run "clearopensmtp" with the result as
follows:

could not connect to mysql update server
could not create relay table create table relay ( ip_addr char(18) not
null, timestamp char(12), primary key (ip_addr) )

I have tried to follow the example in the vpopmail FAQ question/answer
4. and after (copying the example) writing the startup script into
rc.local ran /home/vpopmail/bin/clearopensmtp which I assume creates a
table in mysql for relays.

I used vpopmail-4.10.14 to install vpopmail and configured it it use
mysql. I also altered the vmysql.h file to suit my mysql
username/password etc.

I am now at a loss as to how to get all this to work, not being familiar
with vpopmail and smtp, and with only a passing knowledge of mysql.
Could someone with more knowledge help me sort this out please?

Thanks in advance for any and all help

Regards
Roger




Re: Clearopensmtp problem with mysql - please help

2001-06-08 Thread burrett

Roger Arnold wrote:

Thanks for the reply Dushyanth,

I thought that --enable-mysql-replication=-n was the default, and that if
there was no update server it would then automatically access the main
server assigned to Vpopmail.

Please clarify?

I am happy to reconfigure anyway, but I just need this clarified :)

Again thanks
Regards
Roger

Dushyanth Harinath wrote:

> Hi,
>
> >
> > could not connect to mysql update server
> > could not create relay table create table relay ( ip_addr char(18) not
> > null, timestamp char(12), primary key (ip_addr) )
>
> Do u have the update mysql server configured.. (i,e) Have u set the
> permissions in the mysql user table in the update server to access that
> server from the primary server..
>
> If u dont want this replication feature reconfigure vpopmail with
> --enable-mysql-replication=-n
>
> regards
> dushyanth
>
> --
>
> As we enjoy great advantages from the inventions of
> others, we should be glad of an opportunity to serve others by any
> invention of ours; and this we should do freely and generously."
>  -- Benjamin Franklin
>
> Dushyanth Harinath
> Archean Infotech Limited
> Ph No:091-040-3228666,6570704,3228674
> http://www.archeanit.com




Re: Clearopensmtp problem with mysql - please help

2001-06-09 Thread burrett

Roger Arnold wrote:

Hello Ken,

OK, I have downloaded the 4.10.16 version and it was ok untill I compiled it,
and then I got heaps and heaps of errors in "vauth.c", and I mean heaps, 30 to
40 at least, and far to many to try and list here.
So I went back to version 4.10.14 and compiled with no errors, except
"clearopensmtp" still didn't work, and just to be on the safe side I defined
"--enable-mysql-replication" equal to NO as suggested by someone else.

You wanted the configure script so here it is as follows, however I am about
to give up with VpopMail as it's just to hard for a non-programmer to get
going, and I need an email server running yesterday if not sooner.
Alternatively I will try a standard form of authentication, I really don't
know what I will do, I've been at this for weeks...

./configure --mandir=/usr/share/man --enable-roaming-users=y
--enable-auth-logging=y
--enable-logging=v --enable-mysql=y --enable-mysql-replication=n
--enable-valias=y
--enable-passwd=n --enable-hardquota=300

As I said before, it compiles ok on version 4.10.14 but I can't run
clearopensmtp, and it just causes heaps of errors in vauth.c in version
4.10.16

Hope you can help ASAP please

Thanks in advance
Regards
Roger

Ken Jones wrote:

> What configuration options did you use.
>
> Also, download the vpopmail-4.10.16 version. I posted
> it about an hour ago. I was able to run clearopensmtp
> with no problem. But I am using the mysql replication
> feature.
>
> If you send me your configuration options I can test
> it here to see if I get the same results.
>
> Thanks
> Ken Jones
>
> burrett writes:
>
> > Roger Arnold wrote:
> >
> > Hello All,
> >
> > I have a problem when I tried to run "clearopensmtp" with the result as
> > follows:
> >
> > could not connect to mysql update server
> > could not create relay table create table relay ( ip_addr char(18) not
> > null, timestamp char(12), primary key (ip_addr) )
> >
> > I have tried to follow the example in the vpopmail FAQ question/answer
> > 4. and after (copying the example) writing the startup script into
> > rc.local ran /home/vpopmail/bin/clearopensmtp which I assume creates a
> > table in mysql for relays.
> >
> > I used vpopmail-4.10.14 to install vpopmail and configured it it use
> > mysql. I also altered the vmysql.h file to suit my mysql
> > username/password etc.
> >
> > I am now at a loss as to how to get all this to work, not being familiar
> > with vpopmail and smtp, and with only a passing knowledge of mysql.
> > Could someone with more knowledge help me sort this out please?
> >
> > Thanks in advance for any and all help
> >
> > Regards
> > Roger
> >
>




Could someone please clarify the authentication method of vpopmail

2001-06-10 Thread burrett

Roger Arnold wrote:

I have now successfully installed "vpopmail" thanks to Ken releasing
version 4.10.17 it compiled and installed like a charm and
"clearopensmtp" worked flawlessly, thankyou Ken.

I would now be gratefull if someone can clarify the authentication
method used by vpopmail as it's got me stumpped, and I need to now
install "Courier Imap" and "Squirrelmail".

I installed vpopmail with "roaming-users" and with "mysql" but not with
replication, however on looking through the /home/vpopmail/domains
directory I noticed that "sqwebmail-pass" was in the Maildir's. Does
this mean that I am using "Sqwebmail's" password type authentication?
If so, how will that effect me setting up and using "Squirrelmail" and
"Courier-Imap" for webmail?
Will it force me to use "Sqwebmail" instead?
How can I change the authentication used by "vpopmail" to something more
universal that would suit "Squirrelmail and Courier-Imap"?
Lastly, has anyone setup a combination such as [Qmail - Vpopmail -
Courier-Imap - Squirrelmail] and possibly Qmailadmin successfully, that
could give me a few pointers please?

Thanks in advance for any and all help, it's much appreciated
Regards
Roger




Re: error when vadddomain, what's wrong ?

2001-06-10 Thread burrett

Roger Arnold wrote:

Hello Said,

I am not sure but I think you will find this to be a permission problem.

I had a similar problem when I installed Vpopmail as "root" because the
install directories had "root's" permissions and an ordinary user (such
as Qmail etc) could not enter the directories or put anything in them.
I just went through all the Vpopmail directories and changed their
permissions to either "vchkpw or vpopmail" respectively.
The same goes with Qmail.
If I am wrong about any of this can someone on the list please correct
me, as I am only just starting to help others, as I have been helped :)

Regards
Roger

Said Madrus wrote:

> Dear all,i have already install vpopmail+ldap, when try tovadddomain
> then error message appear like this :Error: Unable to chdir to
> vpopmail/users directoryanybody know what does it mean ?thanks in
> advance ~madrus




A bit off vpopmail topic but would appreciate some feedback please

2001-06-11 Thread burrett

Roger Arnold wrote:

Hi everyone,
I sent this email to the qmailadmin group but as yet have had no replies
that helped
so I wondered if anyone here had some idea's on the subject to get me
going please?

I have just finished getting "Qmail & Vpopmail" to work (thanks to Ken)
but have now run into a strange problem/problems with Qmailadmin, and am

hoping someone can help me as quickly as possible please.

Qmailadmin compiled and installed alright, but that's where it stopped.
If I try and access qmailadmin over the web with the qmail default
domain/user qmailadmin displays fine, but won't allow anyone to log on,
which is reasonable considering it has not been setup as a vpopmail
domain.

However if a domain that has been setup with vpopmail using "vadddomain"

tries to access Qmailadmin over the web, all that displays is the text
without any graphics, even though the default domain had full graphics
displayed.

The more serious problem came next, when I tried to log in to
Qmailadmin.
It simply rejected any attempt to gain access (domain name and password
were checked against the name and password the domain was installed as).

Master Account: postmaster
Domain Name:   totalauto.com.au
Password:  aircon

All thats returned is "Invalid Login"

This happens for any and all domains installed on this machine, that
have been setup with "vadddomain", I just can't get past that "invalid
logon".
I'm hoping that someone with experience with Qmailadmin will have some
idea's how to solve this problem

Any and all help to fix this would be very appreciated
Thanks in advance
Roger




Re: A bit off vpopmail topic but would appreciate some feedback please

2001-06-11 Thread burrett

Roger Arnold wrote:

Part of this problem is now fixed, all I had to do is create a symlink in each
of the domains to the qmailadmin images directory in the web tree.

Thanks for the help, all I have to do now is find out why I can't gain access
to qmailadmin and I am home free :)

Thanks again
Regards
Roger

Ken Jones wrote:

> burrett wrote:
> >
> > Roger Arnold wrote:
> >
> > Hi everyone,
> > I sent this email to the qmailadmin group but as yet have had no replies
> > that helped
> > so I wondered if anyone here had some idea's on the subject to get me
> > going please?
> >
> > I have just finished getting "Qmail & Vpopmail" to work (thanks to Ken)
> > but have now run into a strange problem/problems with Qmailadmin, and am
> >
> > hoping someone can help me as quickly as possible please.
> >
> > Qmailadmin compiled and installed alright, but that's where it stopped.
> > If I try and access qmailadmin over the web with the qmail default
> > domain/user qmailadmin displays fine, but won't allow anyone to log on,
> > which is reasonable considering it has not been setup as a vpopmail
> > domain.
> >
> > However if a domain that has been setup with vpopmail using "vadddomain"
> >
> > tries to access Qmailadmin over the web, all that displays is the text
> > without any graphics, even though the default domain had full graphics
> > displayed.
>
> Sounds like a httpd configuration issue. The graphics directory,
> images/qmailadmin has to be available.
>
> >
> > The more serious problem came next, when I tried to log in to
> > Qmailadmin.
> > It simply rejected any attempt to gain access (domain name and password
> > were checked against the name and password the domain was installed as).
> >
> > Master Account: postmaster
> > Domain Name:   totalauto.com.au
> > Password:  aircon
> >
> > All thats returned is "Invalid Login"
> >
> > This happens for any and all domains installed on this machine, that
> > have been setup with "vadddomain", I just can't get past that "invalid
> > logon".
> > I'm hoping that someone with experience with Qmailadmin will have some
> > idea's how to solve this problem
>
> Looks like either a httpd configuration issue, permissions/ownership
> of the qmailadmin binary, or where a mysql issue.
>
> Can you authenticate with pop?
>
> Ken Jones




How can I check a pop3 server to a virtual domain authentication

2001-06-11 Thread burrett

Roger Arnold wrote:

Hello All,

I need to check that pop3 is authenticating passwords properly to
temporary domains, however I am not sure of how email travels through
qmail - vpopmail.
I know this is documented, and I will read up on it, but I need a
quicker way if there is one.
Mail sent to the temporary domains is being received and is lodged in
the domains directory, however I have spent so long getting qmail and
vpopmail running, that I have omitted to learn how to connect to the
server from the outside world with an email client to receive email (I
know the username is the full email address and not just the name).

What I need now is a quick way to confirm pop3 is being authenticated
properly?

Any direct pointers to this information which is documented would also
be appreciated

Thanks for any and all help

Regards
Roger




Re: How can I check a pop3 server to a virtual domain authentication

2001-06-11 Thread burrett

Roger Arnold wrote:

Hello Ken,

Thanks for the reply and help, please find results below

Ken Jones wrote:

> burrett wrote:
> >
> > Roger Arnold wrote:
> >
> > Hello All,
> >
> > I need to check that pop3 is authenticating passwords properly to
> > temporary domains, however I am not sure of how email travels through
> > qmail - vpopmail.
>
> These are two different things
> 1) pop authentication
> telnet hostname 110
> user "enter your user@domain here"
> pass "enter your password"
> If it says OK each time then it authentication.

OK, this is working and I am able to telnet in using the above parrameters

>
>
> 2) Email delivery
> echo "to: user@domain" | /var/qmail/bin/qmail-inject

This is also working, so I guess authentication is functioning and mail is
being delivered internally

>
>
> It should show up in the users Maildir/new directory.
> If not, look at your qmail-send log file for answers.
>
> 3) Mail delivery from the outside world.
>This depends on your DNS. Which is another issue :)

Mail delivery from the outside world is also working, as the mail sent is
arriving in the users Maildir directory

So now I am really stuck, Qmailadmin still will not let anyone in, and
basically says that username/password is wrong, even though I have just
confirmed it works.
Should I try reinstalling Qmailadmin and see if that works?
As far as httpd.conf is concerned what configuration for qmailadmin would be
in there?
Also what permissions would stop qmailadmin authenticating a user?
I have just done a straight install, however does it make any difference if
the install is performed by an ordinary user or by root, because thats the
only thing I can think of that would alter permissions?

Again thanks for your help

Regards
Roger

>
>
> Ken
>
> > I know this is documented, and I will read up on it, but I need a
> > quicker way if there is one.
> > Mail sent to the temporary domains is being received and is lodged in
> > the domains directory, however I have spent so long getting qmail and
> > vpopmail running, that I have omitted to learn how to connect to the
> > server from the outside world with an email client to receive email (I
> > know the username is the full email address and not just the name).
> >
> > What I need now is a quick way to confirm pop3 is being authenticated
> > properly?
> >
> > Any direct pointers to this information which is documented would also
> > be appreciated
> >
> > Thanks for any and all help
> >
> > Regards
> > Roger




Re: How can I check a pop3 server to a virtual domain authentication

2001-06-11 Thread burrett

Roger Arnold wrote:

The authentication tests you supplied worked.
Qmailadmin still dosen't work :(
My Apache was installed by Redhat RPM on installation, I take it that you
recommend installing apache from scratch?

Still, thanks to you I am half way to a complete installation, and I am gratefull
to you for that.

One last thing is, do you know what all the settings are to access vpopmail-qmail
from a windows PC running Eudora5.1.
I note the username should be " user%virtual_domain_name@pophost " of which most I
understand except for "pophost" which I don't understand.
Also I take it that the "dots" in the domain name are replaced with underscores,
but again I am not sure?

I would have thought the following would work:

Login Name :   totalauto%totalauto_com_au
Mail Account Password:  aircon
Incoming mail Server:   totalauto.com.au (pop3)
Outgoing mail Server:   totalauto.com.au (pop3)

But it doesn't, any idea's please?

Again thanks in advance for all your help
Regards
Roger

Ken Jones wrote:

> burrett wrote:
> >
> > So now I am really stuck, Qmailadmin still will not let anyone in, and
> > basically says that username/password is wrong, even though I have just
> > confirmed it works.
>
> You confirmd qmailadmin works or the above things worked?
>
> > Should I try reinstalling Qmailadmin and see if that works?
>
> That's what I always do.
>
> > As far as httpd.conf is concerned what configuration for qmailadmin would be
> > in there?
>
> If you install apache from source code it works. With all the defaults.
> That's what I always do.
>
> > Also what permissions would stop qmailadmin authenticating a user?
> > I have just done a straight install, however does it make any difference if
> > the install is performed by an ordinary user or by root, because thats the
> > only thing I can think of that would alter permissions?
> it has to be by root, or it can't set the permissions correctly.
>
> >
> > Again thanks for your help
>
> No problem.




Need to know in what directories qmailadmin is located please

2001-06-11 Thread burrett

Roger Arnold wrote:

Hello All,

I wonder if someone knows what all the directories that parts of
Qmailadmin are in and what permissions each part should have assigned to
it, please?
I am still having trouble getting Qmailadmin to authenticate anyone,
although the graphics problem I had earlier is now solved.

Any help someone can give me would be much appreciated

Thanks in advance
Regards
Roger




Unable to compile without errors - off topic I think, but would appreciate help

2001-06-13 Thread burrett

Roger Arnold wrote:

Hi All,

(Sorry Ken but it's me again) :)

I just tried to compile courier-imap, but it didn't like the Vpopmail
authentication, which I was afraid of earlier in another email. The
problem seems to relate to the Mysql parts of vpopmail because it's
returning with "undefined reference" and all the errors are pointing to
Mysql.
I used the same configure as you gave me Ken as the one where you didn't
have any trouble, mainly because it seems if you point to files in
different locations from default it can stuff things up :)

./configure --without-authuserdb --without-authpam \
--without-authpwd --without-authshadow --without-authldap \
--with-authvchkpw --enable-workarounds-for-imap-client-bugs

The errors returned are:

collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory '/usr/src/courier-imap-1.3.8.1/authlib'
make: *** [all-recursive] Error 1

There were lots & lots of references to mysql i.e.:

undefined reference to 'mysql_query'
undefined reference to 'mysql_store_result'
undefined reference to 'mysql_free_result'
undefined reference to 'mysql_fetch_row'
etc. etc.

Anyone know what configure item I need to correct the problem, or how
else to fix it?
I don't know enough about programming to change any of the files, unless
I am just copying what someone else writes, and with directions on where
to put it :)

Any and all help will be appreciated
Thanks in advance
Regards
Roger

PS
Sorry for sending another email to the list so soon Ken but I can't fix
this one easily :)
BTW everyone, Ken is the greatest and deserves many thanks from me,
which I would like to do publicly :)




Strange behaviour when adding a new domain Please help

2001-06-15 Thread burrett

Roger Arnold wrote:

Hello All,

I am getting strange behavior when adding a new domain, as I can't seem
to send any mail to it, but I can with other domains.
I have checked the MX records on the nameserver, and they are set the
same as the domains that I can send mail to, and no matter what I do,
this domain refuses to accept any mail.
I have also checked the logs but there is no record of any mail even
reaching the server. I have also checked the mail spool file on the
nameserver (still sendmail) which is setup as a backup mail server, and
the mail has reached there and is waiting to be collected (another
request for help there, but will put in a different email).

I have set the MX on the nameserver at 100 and MX 10 on the
Qmail/Vpopmail box.

Why are the other domains receiving copies of the same email, but not
the domain in question that it was sent to?

Also I can access the problem domain in Qmailadmin, and install and/or
delete new users

Very strange problem

Hope someone can help ASAP

Thanks in advance
Regards
Roger





Mailserver backup problem

2001-06-15 Thread burrett

Roger Arnold wrote:

Hello All,

I have setup a machine as a backup email server with an MX of 100 while
the main mailserver has an MX of 10.

The problem is that I don't know how to get the backup machine to
automatically re-send all the mail to the main email server when that
server comes back up after an outage, or for the backup server to accept
all the email for the main server without having to assign all the email
addresses in /etc/passwd, which would be impossible.

When I have sorted out all/and any problems, I will be changing the
backup server to Qmail/Vpopmail, which I hope won't be very far away.

Would someone know of documentation/How-To's on this subject they could
point me to, or alternatively help me to set this up please?

Thanks in advance for any help

Regards
Roger