Re: [vchkpw] RE : [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fa

2002-12-30 Thread Nathan Chan
G'Day Alex,

Yes i can telnet to host:110,  but the auth for my pass always fails 
until i revert to the old vchkpw file... ie the new vchkpw doesn't 
seem to be able to read the old vpasswd.cdb file...for the domains...

Nathan

> What then is the problem you are having?
> 
> can you 'telnet mail.you.com 110'?
> 
> I did not see where you said that you having trouble authenticating with
> POP.
> 
> -alex
> 
> - Original Message -
> From: "Nathan Chan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 30, 2002 7:58 PM
> Subject: [vchkpw] RE : [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fa
> 
> 
> Alex,
> 
> > I had to 'chown root.root /home/vpopmail/bin/vchkpw'.
> 
> > Will check this.
> 
> No go. My previous version of vchkpw was vpopmail:vchkpw and so was my new
> version. I tried it root:root but still no go.
> 
> Nathan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 








[vchkpw] RE : [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fa

2002-12-30 Thread Nathan Chan
Alex,

> I had to 'chown root.root /home/vpopmail/bin/vchkpw'.

> Will check this.

No go.  My previous version of vchkpw was vpopmail:vchkpw and  so was my new version.  I tried it root:root but still no go.

Nathan






Re: [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fails

2002-12-30 Thread Nathan Chan
G'Day Alex,

> 1)
> I had to 'chown root.root /home/vpopmail/bin/vchkpw'.

Will check this.

> 2) Also, try this:
> 
> make the 'authmodulelist=' line in
> /usr/local/sqwebmail/authdaemonrc look like:
> authmodulelist="authvchkpw"
> 
> Because I think sqwebmail gets confused if authvchkpw is not first in the
> list, as earlier entries take precedence for authorization, and any othe
> authmodules you may have compiled may be complicating the situation. See
> next suggestion.

Not even worrying about sqwebmail at the moment.  Normal 
popping in doesn't work, so i didn't even get that far as to test the 
sqwebmail part..
 
> 3)
> 
> /usr/local/src/vpopmail-5.2.1# ./configure --help |grep sqwebmail  :
> "  --enable-sqwebmail-pass=y|n   Turn on support for sqwebmail passwords (y)
> or off (n) default is no. For sqwebmail-3.0 and above use default no"
> Hmm?
> 
> Try to explicitly set all configure options, especially auth options for
> both sqwebmail and vpopmail:

Again not even worried about the sqwebmail part yet..
 
> /usr/local/src/vpopmail-5.2.1# ./configure --help
> /usr/local/src/sqwebmail-3.4.0.20021223# ./configure --help
> 
> like for sqwebmail:
> ./configure --with-(only module you need probably
> authvchkpw) --without-(everything you dont need)
> and etc for vpopmail.
> 
> These suggestions may help. Please let me know if they do.
> 
> [EMAIL PROTECTED]

Regards
Nathan
 
> 
> - Original Message -
> >From: "Nathan Chan" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Monday, December 30, 2002 4:57 PM
> >Subject: [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fails
> >
> 
> >G'Day All,
> >
> >I have had a stable and working qmail + vpopmail + qmailadmin +
> >sqwebmail system running for some 2 years now except for one
> >little prob under sqwebmail for quota's.  Upon reading some info i
> >believe this quirk is now gone under sqwebmail in the new versions
> >but to do that upgrade of course i need to upgrade vpopmail, which
> >was fine, except that the new version won't auth anyone with the
> >new vchkpw...
> >
> >Info for system below :
> >Qmail 1.03 (of course)
> >vpopmail-3.4.11-1
> >
> >my configure line for the new vpopmail (5.2.1) is :
> >./configure --enable-ip-alias-domains=y --enable-logging=e --enable-
> >vpopuser=vpopmail  --enable-md5-passwords=y --enable-
> >defaultquota=20M --enable-clear-passwd=n
> >
> >(i have tried with enable-clear-passwd=y but no difference.)
> >
> >I run Qmail under tcpserver as follows :
> >tcpserver -R -H 0 pop3 /var/qmail/bin/qmail-popup
> >domainxyz.com.au /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-
> >pop3d Maildir&
> >
> >The domains all have their vpasswd/vpasswd.cdb files, but for some
> >reason when i update the vchkpw it fails to auth.  As soon as i
> >revert no probs.
> >
> >Any help would be greatly appreciated.
> >
> >Thanks
> >Nathan
> >
> >
> >Out the 100TX, through the switch, down the cable modem, over the fiber
> >optics, off the bridge, past the head end office nothing but 'Net.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 








Re: [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fails

2002-12-30 Thread Alex Martin

Hello,

I recently setup a vpopmail + qmail + sqwebmail box.

NOTE: I may be confusing some of the following suggestions with courier-imap
install issues I had. Sorry if im off here.

1)

I had to 'chown root.root /home/vpopmail/bin/vchkpw'.

2)

Also, try this:

make the 'authmodulelist=' line in
/usr/local/sqwebmail/authdaemonrc look like:
authmodulelist="authvchkpw"

Because I think sqwebmail gets confused if authvchkpw is not first in the
list, as earlier entries take precedence for authorization, and any othe
authmodules you may have compiled may be complicating the situation. See
next suggestion.

3)

/usr/local/src/vpopmail-5.2.1# ./configure --help |grep sqwebmail  :
"  --enable-sqwebmail-pass=y|n   Turn on support for sqwebmail passwords (y)
or off (n) default is no. For sqwebmail-3.0 and above use default no"
Hmm?

Try to explicitly set all configure options, especially auth options for
both sqwebmail and vpopmail:

/usr/local/src/vpopmail-5.2.1# ./configure --help
/usr/local/src/sqwebmail-3.4.0.20021223# ./configure --help

like for sqwebmail:
./configure --with-(only module you need probably
authvchkpw) --without-(everything you dont need)
and etc for vpopmail.

These suggestions may help. Please let me know if they do.

[EMAIL PROTECTED]


- Original Message -
>From: "Nathan Chan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, December 30, 2002 4:57 PM
>Subject: [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fails
>

>G'Day All,
>
>I have had a stable and working qmail + vpopmail + qmailadmin +
>sqwebmail system running for some 2 years now except for one
>little prob under sqwebmail for quota's.  Upon reading some info i
>believe this quirk is now gone under sqwebmail in the new versions
>but to do that upgrade of course i need to upgrade vpopmail, which
>was fine, except that the new version won't auth anyone with the
>new vchkpw...
>
>Info for system below :
>Qmail 1.03 (of course)
>vpopmail-3.4.11-1
>
>my configure line for the new vpopmail (5.2.1) is :
>./configure --enable-ip-alias-domains=y --enable-logging=e --enable-
>vpopuser=vpopmail  --enable-md5-passwords=y --enable-
>defaultquota=20M --enable-clear-passwd=n
>
>(i have tried with enable-clear-passwd=y but no difference.)
>
>I run Qmail under tcpserver as follows :
>tcpserver -R -H 0 pop3 /var/qmail/bin/qmail-popup
>domainxyz.com.au /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-
>pop3d Maildir&
>
>The domains all have their vpasswd/vpasswd.cdb files, but for some
>reason when i update the vchkpw it fails to auth.  As soon as i
>revert no probs.
>
>Any help would be greatly appreciated.
>
>Thanks
>Nathan
>
>
>Out the 100TX, through the switch, down the cable modem, over the fiber
>optics, off the bridge, past the head end office nothing but 'Net.











[vchkpw] Looking up Vpopmail passwords

2002-12-30 Thread Alan Murrell
Hello,

We will be moving our mail system over to a
Qmail/Vpopmail solution very soon, and I am just
trying to decide between using the default "flat" file
format, or a MySQL backend.  My only concern at this
point is allowing our tech staff to look up a client's
password, should it become necessary.  Currently, the
email accounts are tied in to our billing database,
but this will no longer be the case.  I guess my
questions are:

  1. Is it possible to look up an email user's
password regardless of whether a the "flat file"
format is used, or the MySQL backend?  (i.e., is there
a web-based admin tool that will allow our tech staff
to do this)?
  2. Would using MySQL tend to be faster or slower
than using the "flat file" format?  We have just over
1200 email users, and expect this to grow
significantly in the next 12-18 months, so I would
like to have the better of the two in place now,rather
than looking at upgrading down the road.  (I like the
idea of using MySQL as the back end, as I think it
will allow us to write a custom interface, as well as
make certain things easier, like Spamassassin
administration, whcih we will be implementing, no?)

TIA for your input.

Alan Murrell <[EMAIL PROTECTED]>


__ 
Post your free ad now! http://personals.yahoo.ca




[vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fails

2002-12-30 Thread Nathan Chan
G'Day All,

I have had a stable and working qmail + vpopmail + qmailadmin + 
sqwebmail system running for some 2 years now except for one 
little prob under sqwebmail for quota's.  Upon reading some info i 
believe this quirk is now gone under sqwebmail in the new versions 
but to do that upgrade of course i need to upgrade vpopmail, which 
was fine, except that the new version won't auth anyone with the 
new vchkpw...

Info for system below :
Qmail 1.03 (of course)
vpopmail-3.4.11-1

my configure line for the new vpopmail (5.2.1) is :
./configure --enable-ip-alias-domains=y --enable-logging=e --enable-
vpopuser=vpopmail  --enable-md5-passwords=y --enable-
defaultquota=20M --enable-clear-passwd=n

(i have tried with enable-clear-passwd=y but no difference.)

I run Qmail under tcpserver as follows :
tcpserver -R -H 0 pop3 /var/qmail/bin/qmail-popup 
domainxyz.com.au /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-
pop3d Maildir&

The domains all have their vpasswd/vpasswd.cdb files, but for some 
reason when i update the vchkpw it fails to auth.  As soon as i 
revert no probs.

Any help would be greatly appreciated.

Thanks
Nathan


Out the 100TX, through the switch, down the cable modem, over the fiber
optics, off the bridge, past the head end office nothing but 'Net.






Re: [vchkpw] vpopmail clustering examples

2002-12-30 Thread John Runnels
Scott do you also mount the queue dir's from the netapp ???


- Original Message -
From: "Scott Helms" <[EMAIL PROTECTED]>
To: "Duane Wylie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 11:16 AM
Subject: Re: [vchkpw] vpopmail clustering examples


> Duane,
>
> We use Alteons to do the load balancing and a pair of NetApp F810c's
for
> the HA NFS system.  I won't include any details since its easy enough to
get
> the data from the guys at Netapp.  We run 7 qmail/vpopmail servers with 3
> mysql servers (one master and 2 slaves that are read only).
>
> Scott
> - Original Message -
> From: "Duane Wylie" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 30, 2002 1:41 PM
> Subject: RE: [vchkpw] vpopmail clustering examples
>
>
> > Sorry 'bout sending that last message as 'Super-User'...
> >
> > We're using F5's load balancer and it's been working great for us.  It
has
> > similar features as the Foundry switch you mentioned (and the service
> > monitoring is great!).
> >
> > The main worry I have at this point is the NFS server.  Even though the
> file
> > system in question is RAID 5, and is in a separate disk enclosure, I
don't
> > like having that one NFS server as a single point of failure.
> >
> > Is anyone using some sort of HA storage solution?  If so, care to share
> > details?
> >
> > Thanks,
> > Duane Wylie
> >
> > -Original Message-
> > From: Andre Fortin [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 30, 2002 11:53 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [vchkpw] vpopmail clustering examples
> >
> >
> > We have a very similar set up.  We have a third machine as the MySQL
> master
> > which doesnt directly interact as a mail server, but it makes the MySQL
> > database triple-redundant without sacrificing performance.
> >
> > For load balancing/redundancy, we are using Foundry
> > (http://www.foundrynetworks.com/) switches with the SLB (Server Load
> > Balancing) code.  Very powerful; it not only detects if the server is
> > running, or listening to port 25/110, but it actually understands SMTP
and
> > POP3 and will make sure the SMTP and POP3 servers are responding
properly
> as
> > part of its 'heartbeat' tests.. So, for example, if you had a machine
that
> > had a problem and would still listen to port 25 but couldnt actually
> answer
> > with a '220', it would be treated as 'offline' instead of opening dead
> > connections for clients..  It also allows you to load balance between X
> > number of servers rather than just failing over in 'worst case scenario'
> > situations..
> >
> > Andre
> >
> >
> >
>
>
>





Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Ajai Khattri
Keith?

Please switch off your Return-Receipt - it is most annoying.

--
Aj.
Systems Administrator / Developer





Re: [vchkpw] vpopmail clustering examples

2002-12-30 Thread Scott Helms
Duane,

We use Alteons to do the load balancing and a pair of NetApp F810c's for
the HA NFS system.  I won't include any details since its easy enough to get
the data from the guys at Netapp.  We run 7 qmail/vpopmail servers with 3
mysql servers (one master and 2 slaves that are read only).

Scott
- Original Message -
From: "Duane Wylie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 1:41 PM
Subject: RE: [vchkpw] vpopmail clustering examples


> Sorry 'bout sending that last message as 'Super-User'...
>
> We're using F5's load balancer and it's been working great for us.  It has
> similar features as the Foundry switch you mentioned (and the service
> monitoring is great!).
>
> The main worry I have at this point is the NFS server.  Even though the
file
> system in question is RAID 5, and is in a separate disk enclosure, I don't
> like having that one NFS server as a single point of failure.
>
> Is anyone using some sort of HA storage solution?  If so, care to share
> details?
>
> Thanks,
> Duane Wylie
>
> -Original Message-
> From: Andre Fortin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 30, 2002 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] vpopmail clustering examples
>
>
> We have a very similar set up.  We have a third machine as the MySQL
master
> which doesnt directly interact as a mail server, but it makes the MySQL
> database triple-redundant without sacrificing performance.
>
> For load balancing/redundancy, we are using Foundry
> (http://www.foundrynetworks.com/) switches with the SLB (Server Load
> Balancing) code.  Very powerful; it not only detects if the server is
> running, or listening to port 25/110, but it actually understands SMTP and
> POP3 and will make sure the SMTP and POP3 servers are responding properly
as
> part of its 'heartbeat' tests.. So, for example, if you had a machine that
> had a problem and would still listen to port 25 but couldnt actually
answer
> with a '220', it would be treated as 'offline' instead of opening dead
> connections for clients..  It also allows you to load balance between X
> number of servers rather than just failing over in 'worst case scenario'
> situations..
>
> Andre
>
>
>





[vchkpw] Pop Before Relay?

2002-12-30 Thread buffalo
Greetings,

Another newbie question:

What has to be done to allow POP before SMTP relay authentication?

I have:

1) Set up mysql

2) Set up Qmail.

3) Set up VPOPmail (with the "enable roaming users" switch, mysql switch,
etc.)

4) Read the VOPmail INSTALL file, and the FAQ

So far, the only combination of things that seems to partially work is:

a) Starting up tcpserver:

tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u506 -g505 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

where 506 is "qmaild" and 505 is "nofiles"

b) Starting up qmail:

/bin/csh -cf '/var/qmail/rc &'

Current Behavior:

If I start only the tcpserver, mail is accepted by the machine, but never 
delivered locally.

If I start the tcpserver AND qmail, mail is accepted and delivered 
locally and can be successfully POPed by a virtuser account.

BUT: attempts to relay through the server after successfully POPing fail
with the 5.7.1 error message: "sorry that domain isn't in my list of
allowed rcpthosts".

I'm sure this is obvious, but sadly, not to me.

TIA for any pointers/suggestions...

--Duncan





RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Tom Walsh
Keith,

In an effort to troubleshoot this particular problem... Would it be possible
for you to alter the assign file to also include an entry for kelnet.net_
but point to the same information as the other entry in the assign file?

Then see if it works... (this would test the rest of the vpopmail
installation as it sits.)

I am pretty sure it will because of the stray _ in there.

I have to wonder where that is coming from.

Seems like it might be a bug with the gcc compiler or the glibc itself... as
I have heard there are some issues with that gcc compiler... I am not really
sure... As I understand the process qmail-smtpd receives the mail and then
hands it over to vckpw which mangles the user information into the EXT
compatiable format [EMAIL PROTECTED] (which vdelievermail uses when the
variables come from qmail-local/qmail-command).

It might be possible that vckpw is suspect in RH8.0 when compiled with that
version of gcc... I read that you tried the compiled binaries on RH8.0 but I
think you are talking about qmail not vpopmail (which is where the issue
probably resides).

Good luck on getting it sorted... I could dig through the code, but I am
having my own issues that I am trying to dig through the code to find right
now... (post forth coming shortly).

Let me know what you find out.

I am always curious when something odd like this pops up.

Tom Walsh
Network Administrator
http://www.ala.net/

::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 12:21 PM
::To: Tom Walsh; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::Tom,
::
::Thanks for the info although I believe that everything is configured
::correctly.  I did notice something interesting though.  When I send mail
::to the 8.0 server and watch the log file for the starting delivery
::messages I see this:
::
::@40003e108cb13a39e81c new msg 196739
::@40003e108cb13a39ff8c info msg 196739: bytes 57171 from
::<[EMAIL PROTECTED]> qp 13176 uid 502
::@40003e108cb13ac7439c starting delivery 1: msg 196739 to local
::[EMAIL PROTECTED]
::@40003e108cb13ac75b0c status: local 1/10 remote 0/20
::@40003e108cb13b17b944 delivery 1: failure:
::Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
::@40003e108cb13b17d884 status: local 0/10 remote 0/20
::
::Notice where it says starting delivery 1: msg 196739 to local
::[EMAIL PROTECTED] there is a _ attached to kelnet.net_.  This
::would explain why qmail is not talking to vpopmail.  I am not sure why
::this is happening because when I do the same thing on the 7.3 box, the
::extra _ is not there and the correct virtual domain is found as shown
::below:
::
::@40003e1089a12edf07f4 new msg 58686
::@40003e1089a12edf234c info msg 58686: bytes 57192 from
::<[EMAIL PROTECTED]> qp 3843 uid 502
::@40003e1089a1342ae96c starting delivery 21: msg 58686 to local
::[EMAIL PROTECTED]
::@40003e1089a1342b04c4 status: local 1/10 remote 0/20
::@40003e1089a137502ddc delivery 21: success: did_0+0+1/
::@40003e1089a137504d1c status: local 0/10 remote 0/20
::@40003e1089a1375054ec end msg 58686
::
::For grins, I recompiled qmail on the 7.3 box and installed the compiled
::binaries on the 8.0 box but still have this problem.  My thoughts were
::that the 7.3 box is using gcc 2.96 and the 8.0 box is using gcc 3.2.
::
::Any thoughts or should I possibly defer to the qmail board or maybe
::downgrade to 7.3 from 8.0 redhat?
::
::-Original Message-
::From: Tom Walsh [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 11:09 AM
::To: Lapidus, Keith; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::Keith,
::
::I have seen this problem one time in the past when I was setting up a
::Free BSD machine.
::
::I don't recall the specific details as to why it was doing this, just
::that is was.
::
::I think the problem is related to the configuration of qmail and
::specifically the assign file. Make sure that your assign file references
::the correct domain name and storage path...
::
::The storage path for the domian is highly important as it is where qmail
::looks for the .qmail-default that vdelivermail ends up running from...
::
::Hope that helps.
::
::Tom Walsh
::Network Administrator
::http://www.ala.net/
::
::
-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 10:22 AM
To: Tom Walsh; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8


I understand where you are coming from, and I have installed and
reinstalled vpopmail many times on the 8.0 machine, and have tried
::local ::commands to make sure vpopmail works and it does.  For some
::reason, ::qmail is not using vpopmail.  Do you think this is actually a
::qmail ::problem?

-Original Message-
From: Tom Walsh [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 20

RE: [vchkpw] Newbie ?: Errno 13

2002-12-30 Thread buffalo
On Mon, 30 Dec 2002, Tom Walsh wrote:

Tom,

> double check the dirs below that...
> 
> ./tmp
> ./new
> ./cur
> 
> Make sure they have the correct permissions and ownership.

Thanks. Restarting tcp server and qmail seemed to resolve the problem(?).

--Duncan






[vchkpw] Domains permissions

2002-12-30 Thread Michel Gallant
Ignore my last message, I was burnt and was forgetting to use sudo in my
scripts :)  Sorry.

Michel Gallant
[EMAIL PROTECTED]
MindSweep Inc
(506) 855-2536





RE: [vchkpw] Domains permissions

2002-12-30 Thread Duane Wylie
I don't think qmail would play well with group writable directories, though
I'm not certain.

You could write setuid wrapper scripts for the vpopmail commands...

Thanks,
Duane Wylie


-Original Message-
From: Michel Gallant [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 12:43 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Domains permissions


Hello,
I am trying to give a user permissions to administer my vpopmail
domains.  I have given him access to the vpopmail commands by sudo, but
when he tries to run any of them, he gets an unable to chdir to
vpopmail/domains directory error.  All new domain directories are
created drwx--.  Is there a way to have them created drwxrwx--- so I
could simple add this user to the vchkpw group?  I'm just trying to
avoid letting this user have full root priveleges.

Michel Gallant





Re: [vchkpw] vpopmail clustering examples

2002-12-30 Thread John Runnels
in my experience nfs has been less that reliable.

What I was trying to do was have two independent systems that the database
is in sync with. The nfs solves the problem but what happens if the nfs
server goes down ??? and on a side note. in my experience nfs on Linux under
a high load environment is not reliable. and I was using redhat 7.2. but
this was my experience.

nfs on sun in rock solid.

I was trying to stay away from using nfs if possible. but I might have to go
to that.

and as always thanks for responding to my question sir.

John
- Original Message -
From: "Super-User" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 9:32 AM
Subject: Re: [vchkpw] vpopmail clustering examples


> Well, I don't have any "examples", but here is what we are doing (using
> mysql for authentication):
>
> Ingredients:
>
> 2 qmail/vpopmail/mysql servers(load balanced)
> 2 mysql servers
> 1 nfs server
>
> Preheat the oven to 350...
>
> mysql:
> One mysql server is the primary, and one the secondary (the secondary is
> not
> necessary, but I wanted a 'warm' standby).  In addition, the 2 vpopmail
> servers are running a local mysql daemon.  The secondary server, and the
> 2
> vpopmail servers are replication slaves of the primary.  (For
> replication
> information, see the documentation on the mysql site, its fairly
> straightforward)
>
> nfs:
> The ~vpopmail/domains directory is nfs mounted from the nfs server.  The
> /var/qmail/control directory and the /var/qmail/users directory are also
> nfs
> mounted.  (I had some trouble getting nfs to work.  In the mount
> options, I
> had to set anon=89 to get it to work properly)
>
> Vpopmail:
> Edit the vmysql.h header file so that the MYSQL_UPDATE_SERVER is the
> primary
> mysql server, and the MYSQL_READ_SERVER is localhost.  I'm sure that you
> could set your read server to a remote host, but I think localhost would
> be
> faster, and it reduces network traffic.
>
> So basically, each qmail/vpopmail server is running its own queue.
> Mysql
> updates are sent to the primary server, and replicated through to the
> secondary, and the local mysql daemons.  The Maildirs and the control
> files
> are on nfs to ensure that both boxes are as similar as possible.
>
> In the vipmap, for each domain we have the public IP, and the 2 private
> IPs
> set up.  I'm not certain whether having the public IP in the map is
> necessary, but I don't think it hurts anything, so why not.
>
> If you are using cdb for authentication, my first suggestion would be to
> try mounting it over nfs so that all clients are working with the same
> info.  This could cause some problems since multiple client's updates
> might stomp on each other.  I'm not a cdb guru so maybe someone else has
> some input?
>
> By the way, in the near future, we're considering replacing our current
> Solaris nfs box with 2 Redhat boxes, using heartbeat for failover, with
> fibre channel for storage.  Is anyone doing something similar with
> vpopmail or heartbeat?  If so, any input?
>
>
> Thanks,
> Duane Wylie
>
>
>
>
> > -Original Message-
> > From: John Runnels [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, December 29, 2002 8:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: [vchkpw] vpopmail clustering examples
> >
> > is there anyone out there in vpopmail land that knows where there is any
> > information on clustering or loadbalancing vpopmail. what I mean by this
is
> > having multiple copies of vpopmail running on more than one server.
> >
> > the reason why I am asking the group in I am running into problems where
the
> > systems are not in sync
> >
> > Help !!!
> >
> > I see the option in the compile but I have found no instructions on how
to
> > implement this.
> >
> > anyway thanks in advance of  all of the responses.
> >
> > (Including the flames)
>
>





[vchkpw] Domains permissions

2002-12-30 Thread Michel Gallant
Hello,
I am trying to give a user permissions to administer my vpopmail
domains.  I have given him access to the vpopmail commands by sudo, but
when he tries to run any of them, he gets an unable to chdir to
vpopmail/domains directory error.  All new domain directories are
created drwx--.  Is there a way to have them created drwxrwx--- so I
could simple add this user to the vchkpw group?  I'm just trying to
avoid letting this user have full root priveleges.

Michel Gallant





RE: [vchkpw] vpopmail clustering examples

2002-12-30 Thread Duane Wylie
Sorry 'bout sending that last message as 'Super-User'...

We're using F5's load balancer and it's been working great for us.  It has
similar features as the Foundry switch you mentioned (and the service
monitoring is great!).

The main worry I have at this point is the NFS server.  Even though the file
system in question is RAID 5, and is in a separate disk enclosure, I don't
like having that one NFS server as a single point of failure.

Is anyone using some sort of HA storage solution?  If so, care to share
details?

Thanks,
Duane Wylie

-Original Message-
From: Andre Fortin [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] vpopmail clustering examples


We have a very similar set up.  We have a third machine as the MySQL master
which doesnt directly interact as a mail server, but it makes the MySQL
database triple-redundant without sacrificing performance.

For load balancing/redundancy, we are using Foundry
(http://www.foundrynetworks.com/) switches with the SLB (Server Load
Balancing) code.  Very powerful; it not only detects if the server is
running, or listening to port 25/110, but it actually understands SMTP and
POP3 and will make sure the SMTP and POP3 servers are responding properly as
part of its 'heartbeat' tests.. So, for example, if you had a machine that
had a problem and would still listen to port 25 but couldnt actually answer
with a '220', it would be treated as 'offline' instead of opening dead
connections for clients..  It also allows you to load balance between X
number of servers rather than just failing over in 'worst case scenario'
situations..

Andre





[vchkpw] Problems getting unsubscribe

2002-12-30 Thread Joe Oaks
Hey anyone know whats going on with inter7?
I have tried several times now to unsubscribe from the list
with no success. I even sent an email to them and it bounced.

Joe





RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Lapidus, Keith
Tom,

Thanks for the info although I believe that everything is configured
correctly.  I did notice something interesting though.  When I send mail
to the 8.0 server and watch the log file for the starting delivery
messages I see this:

@40003e108cb13a39e81c new msg 196739
@40003e108cb13a39ff8c info msg 196739: bytes 57171 from
<[EMAIL PROTECTED]> qp 13176 uid 502
@40003e108cb13ac7439c starting delivery 1: msg 196739 to local
[EMAIL PROTECTED]
@40003e108cb13ac75b0c status: local 1/10 remote 0/20
@40003e108cb13b17b944 delivery 1: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@40003e108cb13b17d884 status: local 0/10 remote 0/20

Notice where it says starting delivery 1: msg 196739 to local
[EMAIL PROTECTED] there is a _ attached to kelnet.net_.  This
would explain why qmail is not talking to vpopmail.  I am not sure why
this is happening because when I do the same thing on the 7.3 box, the
extra _ is not there and the correct virtual domain is found as shown
below:

@40003e1089a12edf07f4 new msg 58686
@40003e1089a12edf234c info msg 58686: bytes 57192 from
<[EMAIL PROTECTED]> qp 3843 uid 502
@40003e1089a1342ae96c starting delivery 21: msg 58686 to local
[EMAIL PROTECTED]
@40003e1089a1342b04c4 status: local 1/10 remote 0/20
@40003e1089a137502ddc delivery 21: success: did_0+0+1/
@40003e1089a137504d1c status: local 0/10 remote 0/20
@40003e1089a1375054ec end msg 58686

For grins, I recompiled qmail on the 7.3 box and installed the compiled
binaries on the 8.0 box but still have this problem.  My thoughts were
that the 7.3 box is using gcc 2.96 and the 8.0 box is using gcc 3.2.

Any thoughts or should I possibly defer to the qmail board or maybe
downgrade to 7.3 from 8.0 redhat?

-Original Message-
From: Tom Walsh [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 30, 2002 11:09 AM
To: Lapidus, Keith; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8


Keith,

I have seen this problem one time in the past when I was setting up a
Free BSD machine.

I don't recall the specific details as to why it was doing this, just
that is was.

I think the problem is related to the configuration of qmail and
specifically the assign file. Make sure that your assign file references
the correct domain name and storage path...

The storage path for the domian is highly important as it is where qmail
looks for the .qmail-default that vdelivermail ends up running from...

Hope that helps.

Tom Walsh
Network Administrator
http://www.ala.net/


::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 10:22 AM
::To: Tom Walsh; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::I understand where you are coming from, and I have installed and
::reinstalled vpopmail many times on the 8.0 machine, and have tried
local ::commands to make sure vpopmail works and it does.  For some
reason, ::qmail is not using vpopmail.  Do you think this is actually a
qmail ::problem?
::
::-Original Message-
::From: Tom Walsh [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 9:59 AM
::To: Lapidus, Keith; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::From the error message, you can determine that vpopmail is not being
run ::on that particular mailbox.
::
::failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
::
::Note the lack of vpopmail in that line... A typical vpopmail bounce
::(meaning that it got to the vdeliver application but when the look up
::went to the DB it didn't find it) will read:
::
::Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)
::
::Check your vpopmail install on the RH 8.0 machine.
::
::Tom Walsh
::Network Administrator
::http://www.ala.net/
::
::
::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 9:45 AM
::To: [EMAIL PROTECTED]
::Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::
::
::Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box.
::As for the user accounts, the mysql server is running on the 7.3 as a
::primary and is replicated on the 8.0 server.  In fact, I currently
have ::vpopmail setup to read from the 8.0 box mysql server and write to
the ::7.3 box mysql server.  That works just fine. -Original
Message-
::From: Matt Darcy [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 4:53 PM
::To: Lapidus, Keith; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::
::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: 30 December 2002 06:50
::To: [EMAIL PROTECTED]
::Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::I have two servers; one with Redhat 8 installed and one with redhat
7.3 ::installed. They both have mysql and qmail installed and configured
::identically. The redhat 7.3 server can send 

RE: [vchkpw] vpopmail clustering examples

2002-12-30 Thread Andre Fortin
We have a very similar set up.  We have a third machine as the MySQL master
which doesnt directly interact as a mail server, but it makes the MySQL
database triple-redundant without sacrificing performance.

For load balancing/redundancy, we are using Foundry
(http://www.foundrynetworks.com/) switches with the SLB (Server Load
Balancing) code.  Very powerful; it not only detects if the server is
running, or listening to port 25/110, but it actually understands SMTP and
POP3 and will make sure the SMTP and POP3 servers are responding properly as
part of its 'heartbeat' tests.. So, for example, if you had a machine that
had a problem and would still listen to port 25 but couldnt actually answer
with a '220', it would be treated as 'offline' instead of opening dead
connections for clients..  It also allows you to load balance between X
number of servers rather than just failing over in 'worst case scenario'
situations..

Andre

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Super-User
Sent: Monday, December 30, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail clustering examples


Well, I don't have any "examples", but here is what we are doing (using
mysql for authentication):

Ingredients:

2 qmail/vpopmail/mysql servers(load balanced)
2 mysql servers
1 nfs server

Preheat the oven to 350...

mysql:
One mysql server is the primary, and one the secondary (the secondary is
not
necessary, but I wanted a 'warm' standby).  In addition, the 2 vpopmail
servers are running a local mysql daemon.  The secondary server, and the
2
vpopmail servers are replication slaves of the primary.  (For
replication
information, see the documentation on the mysql site, its fairly
straightforward)

nfs:
The ~vpopmail/domains directory is nfs mounted from the nfs server.  The
/var/qmail/control directory and the /var/qmail/users directory are also
nfs
mounted.  (I had some trouble getting nfs to work.  In the mount
options, I
had to set anon=89 to get it to work properly)

Vpopmail:
Edit the vmysql.h header file so that the MYSQL_UPDATE_SERVER is the
primary
mysql server, and the MYSQL_READ_SERVER is localhost.  I'm sure that you
could set your read server to a remote host, but I think localhost would
be
faster, and it reduces network traffic.

So basically, each qmail/vpopmail server is running its own queue.
Mysql
updates are sent to the primary server, and replicated through to the
secondary, and the local mysql daemons.  The Maildirs and the control
files
are on nfs to ensure that both boxes are as similar as possible.

In the vipmap, for each domain we have the public IP, and the 2 private
IPs
set up.  I'm not certain whether having the public IP in the map is
necessary, but I don't think it hurts anything, so why not.

If you are using cdb for authentication, my first suggestion would be to
try mounting it over nfs so that all clients are working with the same
info.  This could cause some problems since multiple client's updates
might stomp on each other.  I'm not a cdb guru so maybe someone else has
some input?

By the way, in the near future, we're considering replacing our current
Solaris nfs box with 2 Redhat boxes, using heartbeat for failover, with
fibre channel for storage.  Is anyone doing something similar with
vpopmail or heartbeat?  If so, any input?


Thanks,
Duane Wylie




> -Original Message-
> From: John Runnels [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 29, 2002 8:40 PM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] vpopmail clustering examples
>
> is there anyone out there in vpopmail land that knows where there is any
> information on clustering or loadbalancing vpopmail. what I mean by this
is
> having multiple copies of vpopmail running on more than one server.
>
> the reason why I am asking the group in I am running into problems where
the
> systems are not in sync
>
> Help !!!
>
> I see the option in the compile but I have found no instructions on how to
> implement this.
>
> anyway thanks in advance of  all of the responses.
>
> (Including the flames)





Re: [vchkpw] Rbl + vpopmail single domain

2002-12-30 Thread David Phillips
Remo Mattei writes:
> HI guys I was looking for rbl for a single domain with vpopmail any
> suggestions?

I use these and I'm satisfied with the results:

relays.ordb.org -- Verified open relays
bl.spamcop.net -- http://spamcop.net/bl.shtml

Be aware that overly aggressive RBLs like SPEWS list hosts that do not send
spam.  If you use these, you WILL lose mail.

--
David Phillips <[EMAIL PROTECTED]>
http://david.acz.org/





Re: [vchkpw] vpopmail clustering examples

2002-12-30 Thread Super-User
Well, I don't have any "examples", but here is what we are doing (using
mysql for authentication):

Ingredients:

2 qmail/vpopmail/mysql servers(load balanced)
2 mysql servers
1 nfs server

Preheat the oven to 350...

mysql:
One mysql server is the primary, and one the secondary (the secondary is
not
necessary, but I wanted a 'warm' standby).  In addition, the 2 vpopmail
servers are running a local mysql daemon.  The secondary server, and the
2
vpopmail servers are replication slaves of the primary.  (For
replication
information, see the documentation on the mysql site, its fairly
straightforward)

nfs:
The ~vpopmail/domains directory is nfs mounted from the nfs server.  The
/var/qmail/control directory and the /var/qmail/users directory are also
nfs
mounted.  (I had some trouble getting nfs to work.  In the mount
options, I
had to set anon=89 to get it to work properly)

Vpopmail:
Edit the vmysql.h header file so that the MYSQL_UPDATE_SERVER is the
primary
mysql server, and the MYSQL_READ_SERVER is localhost.  I'm sure that you
could set your read server to a remote host, but I think localhost would
be
faster, and it reduces network traffic.

So basically, each qmail/vpopmail server is running its own queue. 
Mysql
updates are sent to the primary server, and replicated through to the
secondary, and the local mysql daemons.  The Maildirs and the control
files
are on nfs to ensure that both boxes are as similar as possible.

In the vipmap, for each domain we have the public IP, and the 2 private
IPs
set up.  I'm not certain whether having the public IP in the map is
necessary, but I don't think it hurts anything, so why not.

If you are using cdb for authentication, my first suggestion would be to
try mounting it over nfs so that all clients are working with the same
info.  This could cause some problems since multiple client's updates
might stomp on each other.  I'm not a cdb guru so maybe someone else has
some input?

By the way, in the near future, we're considering replacing our current
Solaris nfs box with 2 Redhat boxes, using heartbeat for failover, with
fibre channel for storage.  Is anyone doing something similar with
vpopmail or heartbeat?  If so, any input?


Thanks,
Duane Wylie



 
> -Original Message-
> From: John Runnels [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 29, 2002 8:40 PM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] vpopmail clustering examples
> 
> is there anyone out there in vpopmail land that knows where there is any
> information on clustering or loadbalancing vpopmail. what I mean by this is
> having multiple copies of vpopmail running on more than one server.
> 
> the reason why I am asking the group in I am running into problems where the
> systems are not in sync
> 
> Help !!!
> 
> I see the option in the compile but I have found no instructions on how to
> implement this.
> 
> anyway thanks in advance of  all of the responses.
> 
> (Including the flames)




RE: [vchkpw] Newbie ?: Errno 13

2002-12-30 Thread Tom Walsh
double check the dirs below that...

./tmp
./new
./cur

Make sure they have the correct permissions and ownership.

Tom Walsh
Network Administrator
http://www.ala.net/

::-Original Message-
::From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 10:57 AM
::To: vpopmail list
::Subject: [vchkpw] Newbie ?: Errno 13
::
::
::Greetings,
::
::Sorry if this is an obvious one, but I can't find anything in the FAQ or
::docs that covers this error. Also, I'll admit right up front that I'm a
::(very) newly recovering sendmail user.
::
::The install is qmail + vpopmail + mysql (all latest versions) on a fully
::patched/updated RedHat 7.3 box.
::
::After successfully creating a virtuser and attempting to send mail to that
::virtuser, I get a bounce message back:
::
::<[EMAIL PROTECTED]>:
::/var/qmail/alias,buffalo,foo.bar.com
::can not open new email file errno=13
::file=/home/vpopmail/domains/foo.bar.com/buffalo/Maildir/tmp/10
::41266208.165
::5.guest.yml.com,S=647
::
::The dir in question has (I believe) the appropriate ownerships:
::
::drwx--5 vpopmail vchkpw   4096 Dec 28 15:08 Maildir
::
::Any clues for the clueless would be greatly appreciated.
::
::TIA,
::
::--Duncan
::
::





RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Tom Walsh
Keith,

I have seen this problem one time in the past when I was setting up a Free
BSD machine.

I don't recall the specific details as to why it was doing this, just that
is was.

I think the problem is related to the configuration of qmail and
specifically the assign file. Make sure that your assign file references the
correct domain name and storage path...

The storage path for the domian is highly important as it is where qmail
looks for the .qmail-default that vdelivermail ends up running from...

Hope that helps.

Tom Walsh
Network Administrator
http://www.ala.net/


::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 10:22 AM
::To: Tom Walsh; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::I understand where you are coming from, and I have installed and
::reinstalled vpopmail many times on the 8.0 machine, and have tried local
::commands to make sure vpopmail works and it does.  For some reason,
::qmail is not using vpopmail.  Do you think this is actually a qmail
::problem?
::
::-Original Message-
::From: Tom Walsh [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 9:59 AM
::To: Lapidus, Keith; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::From the error message, you can determine that vpopmail is not being run
::on that particular mailbox.
::
::failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
::
::Note the lack of vpopmail in that line... A typical vpopmail bounce
::(meaning that it got to the vdeliver application but when the look up
::went to the DB it didn't find it) will read:
::
::Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)
::
::Check your vpopmail install on the RH 8.0 machine.
::
::Tom Walsh
::Network Administrator
::http://www.ala.net/
::
::
::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 9:45 AM
::To: [EMAIL PROTECTED]
::Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::
::
::Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box.
::As for the user accounts, the mysql server is running on the 7.3 as a
::primary and is replicated on the 8.0 server.  In fact, I currently have
::vpopmail setup to read from the 8.0 box mysql server and write to the
::7.3 box mysql server.  That works just fine. -Original Message-
::From: Matt Darcy [mailto:[EMAIL PROTECTED]]
::Sent: Monday, December 30, 2002 4:53 PM
::To: Lapidus, Keith; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::
::-Original Message-
::From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
::Sent: 30 December 2002 06:50
::To: [EMAIL PROTECTED]
::Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8
::
::
::I have two servers; one with Redhat 8 installed and one with redhat 7.3
::installed. They both have mysql and qmail installed and configured
::identically. The redhat 7.3 server can send and receive email just fine
::using vpopmail 5.2.1. When I configure the Redhat 8 server to be the
::primary mailserver with vpopmail, always gives me the following error:
:: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
:: I've tried the newer version of vpopmail but have not gotten it to
::work. Has anyone else gotten qmail and vpopmail to work with Redhat 8?
::
::[Matt Darcy] Looks like your user accounts are on the 7.3 server and
::database.
::
::export the vpopmail database and import it on the 8.0 box and copy the
::domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0
::$VPOPMAILHOME/domains
::
::Just a thought
::
::





[vchkpw] Newbie ?: Errno 13

2002-12-30 Thread buffalo
Greetings,

Sorry if this is an obvious one, but I can't find anything in the FAQ or
docs that covers this error. Also, I'll admit right up front that I'm a
(very) newly recovering sendmail user.

The install is qmail + vpopmail + mysql (all latest versions) on a fully
patched/updated RedHat 7.3 box.

After successfully creating a virtuser and attempting to send mail to that
virtuser, I get a bounce message back:

<[EMAIL PROTECTED]>:
/var/qmail/alias,buffalo,foo.bar.com
can not open new email file errno=13
file=/home/vpopmail/domains/foo.bar.com/buffalo/Maildir/tmp/1041266208.165
5.guest.yml.com,S=647

The dir in question has (I believe) the appropriate ownerships:

drwx--5 vpopmail vchkpw   4096 Dec 28 15:08 Maildir

Any clues for the clueless would be greatly appreciated.

TIA,

--Duncan





[vchkpw] Rbl + vpopmail single domain

2002-12-30 Thread Remo Mattei
HI guys I was looking for rbl for a single domain with vpopmail any
suggestions?

REMO




RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Lapidus, Keith
With the exception of rcpthosts, both the 7.3 and 8.0 boxes qmail are
configured and installed from the same source.  Below are the requested
file contents:

/var/qmail/control/virtualdomains
kelnet.net:kelnet.net

/var/qmail/control/rcpthosts
localhost
ns1.kelnet.net
q.kelnet.net
smtp1.kelnet.net
kelnet.net
.kelnet.net

/var/qmail/users/assign
+kelnet.net-:kelnet.net:89:89:/var/vpopmail/domains/kelnet.net:-::
.

-Original Message-
From: Clayton Weise [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 30, 2002 10:37 AM
To: vchkpw
Subject: Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8


What do your qmail control files look like?

/var/qmail/control/virtualdomains
/var/qmail/control/rcpthosts
/var/qmail/users/assign

I'm assuming they're correct, otherwise we'd probably get an error 
about that domain not being in qmail's allowed list of rcpthosts.  But 
it can't hurt to check.  I'd be most interested in 
/var/qmail/users/assign.

On Monday, December 30, 2002, at 08:22 AM, Lapidus, Keith wrote:

> I understand where you are coming from, and I have installed and 
> reinstalled vpopmail many times on the 8.0 machine, and have tried 
> local commands to make sure vpopmail works and it does.  For some 
> reason, qmail is not using vpopmail.  Do you think this is actually a 
> qmail problem?
>
> -Original Message-
> From: Tom Walsh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 30, 2002 9:59 AM
> To: Lapidus, Keith; [EMAIL PROTECTED]
> Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
>
>
> From the error message, you can determine that vpopmail is not being
> run
> on that particular mailbox.
>
> failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>
> Note the lack of vpopmail in that line... A typical vpopmail bounce 
> (meaning that it got to the vdeliver application but when the look up 
> went to the DB it didn't find it) will read:
>
> Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)
>
> Check your vpopmail install on the RH 8.0 machine.
>
> Tom Walsh
> Network Administrator
> http://www.ala.net/
>
>
> -Original Message-
> From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 30, 2002 9:45 AM
> To: [EMAIL PROTECTED]
> Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8
>
>
>
>
> Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box. 
> As for the user accounts, the mysql server is running on the 7.3 as a 
> primary and is replicated on the 8.0 server.  In fact, I currently 
> have vpopmail setup to read from the 8.0 box mysql server and write to

> the 7.3 box mysql server.  That works just fine. -Original 
> Message-
> From: Matt Darcy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 30, 2002 4:53 PM
> To: Lapidus, Keith; [EMAIL PROTECTED]
> Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8
>
>
>
> -Original Message-
> From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
> Sent: 30 December 2002 06:50
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8
>
>
> I have two servers; one with Redhat 8 installed and one with redhat 
> 7.3 installed. They both have mysql and qmail installed and configured

> identically. The redhat 7.3 server can send and receive email just 
> fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be 
> the primary mailserver with vpopmail, always gives me the following 
> error:
>  failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>  I've tried the newer version of vpopmail but have not gotten it to
> work. Has anyone else gotten qmail and vpopmail to work with Redhat 8?
>
> [Matt Darcy] Looks like your user accounts are on the 7.3 server and 
> database.
>
> export the vpopmail database and import it on the 8.0 box and copy the

> domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 
> $VPOPMAILHOME/domains
>
> Just a thought
>
>
>







Re: [vchkpw] max accounts limit?

2002-12-30 Thread Tien Duc Nguyen
vpopmail doesn't seem to handle properly domains with many,many users.
if i add one or more users, the # of users displayed by the vdominfo
program isn't incremented, but everything else works (maildir creation,
sending/receiving emails for that user,etc.)

i've found also that the weird path comes from the dir_control table,
specifically the field called the_dir: on my installation, the value is
'0//'.

apparently, the code in vpopmail related to the bigdir feature isn't
working

does someone has any clue on why vpopmail is behaving this way?
is this related to my domain having to many users?

On Thu, 2002-12-26 at 12:19, Tien Duc Nguyen wrote:
> Hello all,
> 
> Just wondering if vpopmail has a limit in the number of accounts.
> I'm finding the following very odd:
> 
> vdominfo .com
> domain: .com
> uid:65534
> gid:65534
> dir:/u4/vpopmail/domains/iwantumail.com
> users:2147479639
> 
> vadduser [EMAIL PROTECTED]
> vuserinfo [EMAIL PROTECTED]
> name: test
> passwd:xxx
> clear passwd: xxx
> uid: 0
> gid: 0
> all services available
> dir: /usr/vpopmail/domains/.com/0///test
> quota: 1500
> usage:0%
> 
> notice the /// after 0
> is that normal?
> 
> my setup is:
> qmail 1.03 with no patches
> vpopmail 5.2.1 with no patches, compiled with --enable-many-domains=n
> 
> Thanks,
> 
> -- 
> Tien Duc N.
> Technical Support
> 
> 
> Thank you for your business and please let us know of any further
> comments or questions you may have about our services.
> 
> Feel free to check our online FAQ:
> ttp://www.wisol.com/en/technical_faq/
> 
> http://www.wisol.com - Your Internet Business Solutions
> 
> 
> 
-- 
Tien Duc N.
Technical Support


Thank you for your business and please let us know of any further
comments or questions you may have about our services.

Feel free to check our online FAQ:
ttp://www.wisol.com/en/technical_faq/

http://www.wisol.com - Your Internet Business Solutions





RE: [vchkpw] Help in vqsignup

2002-12-30 Thread Steve Sobka
May I suggest you try VQRegister rather than VQSignup.
The lastest version of VQRegister is 2.6, which is needed for Vpopmail
5.1.x or great (IIRC).

Also, if your looking at the Lions site as a demo, that's VQRegister.

Here's the steps to install just in case you need to see them.


1) Download VQRegister:
wget http://www.inter7.com/vqregister/vqregister-2.6.tar.gz

2) Decompress it:
tar -zxvpf vqregister-2.6.tar.gz

3) Enter Directory:
cd vqregister-2.6

4) Edit the vqregister.conf file to suit your configuration:

vi vqregister.conf

# NOTE: There are a few changes that need to be made, you will need to
read through the file.
# NOTE: When you edit the vqregister.conf file, you will need to put
your domains like:
# NOTE: (Each on a separate line)

AllowDomain test.com
AllowDomain test2.com
AllowDomain test.net

5) Edit the vqregister.email to suite your configuration (If you send a
welcome letter):

vi vqregister.email

6) Edit the badhosts file if you want to use it, (Must be turned on in
vqregister.conf):

vi badhosts

7) Edit the 'Makefile' file. This is the important step, if you do this
wrong it probably won't compile.

vi Makefile

# Edit the following Lines:

# Change to home directory of your vpopmail
VDIR = /home/vpopmail

# Name of your compiler (leave as is)
CC = gcc

# I left alone
BIN = vqregister

# Change to path of your MySQL include directory: (My RedHat 7.3 is
located at: /usr/include/mysql)
DEFS = -I$(VDIR)/include -I/usr/local/mysql/include

# I left alone
LINKDEFS =

# Change to path of your MySQL lib directory: (My RedHat 7.3 is located
at: /usr/lib/mysql)
LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/local/mysql/lib/mysql
-lmysqlclient
OBJS = main.o cgi.o template.o global.o misc.o config.o register.o
password.o \
   vpopmail.o db.o field.o badhosts.o

# Change to path of your Apache CGI Directory (Stock RedHat is 7.x is
/var/www/cgi-bin)
INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister

# Name of binary cgi to be created (vqregister.cgi)
INSTALL_BIN = vqregister.cgi

# Username of Vpopmail User
INSTALL_UID = vpopmail

# Group of Vpopmail User
INSTALL_GID = vchkpw

# End of changes to Makefile


8) Edit the webpages in the /html directory to suite your site.

9) Compile the entire thing by typing:

make
make install

10) Go check out your work!
http://www.yourdomain.com/cgi-bin/vqregister/vqregister.cgi



BTW, IF you need a copy of my vqregister or Makefile and my customized
HTML, let me know I will be happy to share it with you.
Hope this helped.

You can see what it looks like running at my website, I don't think it's
proper to advertise here, so email me if you would like the url.

Steve Sobka
[EMAIL PROTECTED]



-Original Message-
From: zafar rizvi [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 30, 2002 3:49 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Help in vqsignup


hello ppl
 i want to know information about vqsignup.
Modify the Makefile:

which make file i modify i can't understand.

modify the compile line 

in which compile file i write ???

so plz tell me how can i full configure it.

Bcz first two steps are very strange

thanks

zafar









Re: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Clayton Weise
What do your qmail control files look like?

/var/qmail/control/virtualdomains
/var/qmail/control/rcpthosts
/var/qmail/users/assign

I'm assuming they're correct, otherwise we'd probably get an error 
about that domain not being in qmail's allowed list of rcpthosts.  But 
it can't hurt to check.  I'd be most interested in 
/var/qmail/users/assign.

On Monday, December 30, 2002, at 08:22 AM, Lapidus, Keith wrote:

I understand where you are coming from, and I have installed and
reinstalled vpopmail many times on the 8.0 machine, and have tried 
local
commands to make sure vpopmail works and it does.  For some reason,
qmail is not using vpopmail.  Do you think this is actually a qmail
problem?

-Original Message-
From: Tom Walsh [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 9:59 AM
To: Lapidus, Keith; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8


From the error message, you can determine that vpopmail is not being 
run
on that particular mailbox.

failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

Note the lack of vpopmail in that line... A typical vpopmail bounce
(meaning that it got to the vdeliver application but when the look up
went to the DB it didn't find it) will read:

Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)

Check your vpopmail install on the RH 8.0 machine.

Tom Walsh
Network Administrator
http://www.ala.net/


-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8




Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box.
As for the user accounts, the mysql server is running on the 7.3 as a
primary and is replicated on the 8.0 server.  In fact, I currently have
vpopmail setup to read from the 8.0 box mysql server and write to the
7.3 box mysql server.  That works just fine. -Original Message-
From: Matt Darcy [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 4:53 PM
To: Lapidus, Keith; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8



-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 06:50
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8


I have two servers; one with Redhat 8 installed and one with redhat 7.3
installed. They both have mysql and qmail installed and configured
identically. The redhat 7.3 server can send and receive email just fine
using vpopmail 5.2.1. When I configure the Redhat 8 server to be the
primary mailserver with vpopmail, always gives me the following error:
 failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
 I've tried the newer version of vpopmail but have not gotten it to
work. Has anyone else gotten qmail and vpopmail to work with Redhat 8?

[Matt Darcy] Looks like your user accounts are on the 7.3 server and
database.

export the vpopmail database and import it on the 8.0 box and copy the
domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0
$VPOPMAILHOME/domains

Just a thought








Re: [vchkpw] Help in vqsignup

2002-12-30 Thread Keith K
ps - my fingers are a little fast today:

VQREGISTER that is... not vregister.

forgive me in advance..

kjk


On Monday 30 December 2002 10:42 am, Keith K wrote:
> Hello Zafar --
>
> Use vregister - vqsignup is legacy...
>
> http://www.inter7.com/vqregister/
>
> sign-up for the mailing list at 
>
> see a sample HTML demographics to collect at www.rockdays.com
>
> 
>
> Hope this is slightly helpful.
>
>
>
> kjk





Re: [vchkpw] Help in vqsignup

2002-12-30 Thread Keith K
Hello Zafar --

Use vregister - vqsignup is legacy...

http://www.inter7.com/vqregister/

sign-up for the mailing list at 

see a sample HTML demographics to collect at www.rockdays.com 



Hope this is slightly helpful.



kjk
-- 
Keith Kouzmanoff  |  Company Sales Manager
  Inter7 Internet Technologies, Inc.
t. 847.492.0470  |  f. 847.492.0632 
t. 866.528.3530  |  c. 773.206.3200

On Monday 30 December 2002 5:49 am, zafar rizvi wrote:
> hello ppl
>  i want to know information about vqsignup.
> Modify the Makefile:
>
> which make file i modify i can't understand.
>
> modify the compile line
>
> in which compile file i write ???
>
> so plz tell me how can i full configure it.
>
> Bcz first two steps are very strange
>
> thanks
>
> zafar







RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Lapidus, Keith
I understand where you are coming from, and I have installed and
reinstalled vpopmail many times on the 8.0 machine, and have tried local
commands to make sure vpopmail works and it does.  For some reason,
qmail is not using vpopmail.  Do you think this is actually a qmail
problem? 

-Original Message-
From: Tom Walsh [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 30, 2002 9:59 AM
To: Lapidus, Keith; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8


>From the error message, you can determine that vpopmail is not being run
on that particular mailbox.

failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

Note the lack of vpopmail in that line... A typical vpopmail bounce
(meaning that it got to the vdeliver application but when the look up
went to the DB it didn't find it) will read:

Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)

Check your vpopmail install on the RH 8.0 machine.

Tom Walsh
Network Administrator
http://www.ala.net/


-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8




Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box.
As for the user accounts, the mysql server is running on the 7.3 as a
primary and is replicated on the 8.0 server.  In fact, I currently have
vpopmail setup to read from the 8.0 box mysql server and write to the
7.3 box mysql server.  That works just fine. -Original Message-
From: Matt Darcy [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 4:53 PM
To: Lapidus, Keith; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8



-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 06:50
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8


I have two servers; one with Redhat 8 installed and one with redhat 7.3
installed. They both have mysql and qmail installed and configured
identically. The redhat 7.3 server can send and receive email just fine
using vpopmail 5.2.1. When I configure the Redhat 8 server to be the
primary mailserver with vpopmail, always gives me the following error:
 failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
 I've tried the newer version of vpopmail but have not gotten it to
work. Has anyone else gotten qmail and vpopmail to work with Redhat 8?

[Matt Darcy] Looks like your user accounts are on the 7.3 server and
database.

export the vpopmail database and import it on the 8.0 box and copy the
domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0
$VPOPMAILHOME/domains

Just a thought





RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Tom Walsh
>From the error message, you can determine that vpopmail is not being run on
that particular mailbox.

failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

Note the lack of vpopmail in that line... A typical vpopmail bounce (meaning
that it got to the vdeliver application but when the look up went to the DB
it didn't find it) will read:

Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)

Check your vpopmail install on the RH 8.0 machine.

Tom Walsh
Network Administrator
http://www.ala.net/


-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8




Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 box.  As
for the user accounts, the mysql server is running on the 7.3 as a primary
and is replicated on the 8.0 server.  In fact, I currently have vpopmail
setup to read from the 8.0 box mysql server and write to the 7.3 box mysql
server.  That works just fine.
-Original Message-
From: Matt Darcy [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 4:53 PM
To: Lapidus, Keith; [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8



-Original Message-
From: Lapidus, Keith [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 06:50
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail + vpopmail + mysql + Redhat 8


I have two servers; one with Redhat 8 installed and one with redhat 7.3
installed. They both have mysql and qmail installed and configured
identically. The redhat 7.3 server can send and receive email just fine
using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary
mailserver with vpopmail, always gives me the following error:
 failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
 I've tried the newer version of vpopmail but have not gotten it to work.
Has anyone else gotten qmail and vpopmail to work with Redhat 8?

[Matt Darcy] Looks like your user accounts are on the 7.3 server and
database.

export the vpopmail database and import it on the 8.0 box and copy the
domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0
$VPOPMAILHOME/domains

Just a thought





FW: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Lapidus, Keith
Title: Message



 
Actually, vpopmail on the 8.0 box and is NFS exported to the 7.3 
box.  As for the user accounts, the mysql server is running on the 7.3 as a 
primary and is replicated on the 8.0 server.  In fact, I currently have 
vpopmail setup to read from the 8.0 box mysql server and write to the 7.3 box 
mysql server.  That works just fine.

  
  -Original Message-From: Matt Darcy 
  [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 
  4:53 PMTo: Lapidus, Keith; [EMAIL PROTECTED]Subject: RE: 
  [vchkpw] qmail + vpopmail + mysql + Redhat 8
   
  
-Original Message-From: Lapidus, Keith 
[mailto:[EMAIL PROTECTED]]Sent: 30 December 2002 
06:50To: [EMAIL PROTECTED]Subject: [vchkpw] qmail + 
vpopmail + mysql + Redhat 8
I have two servers; one with Redhat 8 
installed and one with redhat 7.3 installed. They both have mysql and qmail 
installed and configured identically. The redhat 7.3 server can send and 
receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 
server to be the primary mailserver with vpopmail, always gives me the 
following error:
 failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/  I've tried the newer version of vpopmail but 
have not gotten it to work. Has anyone else gotten qmail and vpopmail to 
work with Redhat 8? 
[Matt Darcy] Looks like your user accounts are on the 7.3 
server and database.
 
export the vpopmail database and import it on the 8.0 box and 
copy the domains from $VPOPMAILHOME/domains on the 7.3 machine to the 
8.0 $VPOPMAILHOME/domains
 
Just a thought 
 


RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: rm [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 06:58
Cc: [EMAIL PROTECTED]; vchkpw mailing list
Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, 2002-12-30 at 16:34, Matt Darcy wrote:
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 30 December 2002 07:15
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
> logging.
>
>
> Matt Darcy wrote:
>
> >  #!/bin/sh
> > exec /usr/local/bin/softlimit -m 500 \
> > /usr/local/bin/tcpserver -H -R 0 pop-3
/var/qmail/bin/qmail-popup
> \
> > alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> > /var/qmail/bin/qmail-pop3d Maildir 2>&1
> >
> > I can't see anything wrong with the startup script...
>
> Well Matt from looking at this and the fact that I also run Redhat 7.3 I
see
> one thing wrong. Your default /etc/services file has your pop-3 as pop3.
> There
> are several ways to fix this, 1) either modify the /etc/services [bad
idea],
> 2) Modify your run script to say pop3 [good choice], or 3) modify your run
> script to say 110 instead of pop-3 [best choice, unless you use a
different
> port number]. Hope that helps some.
>
> Joe
>
>
>
> This the question I have just asked.I have modified the script again
as
> suggested to reference pop3 instead of pop-3.
>
> I still cannot get the qmail-pop3d daemon to stay up longer than 1 second.
>
> I need to know if 1 second is whats expected as I would not expect the
pop3
> daemon to stay up all the time just spawn when called. I could be wrong
> though.
>
> Thanks,
>
> Matt.
>
>

The pop daemon should be up all the time.

You may want to check your qmailctl script for any possible errors in
calling the pop3 daemon.  Also, a few times I've had problems with
different text editors leaving some trash characters in the script when
I'v entered tabs of spaces.  That especially was a problem when I used
gedit (I run redhat too)

hope that helps some

good luck

regis


I'll check the qmailctl script - although I am quite sure it is working well
as the PID for pop3d keeps changing.


My text editor should be fine as it was vi, and I have checked it and it
looks ok. Good advice though. Any other options / suggestions ??

Thanks,

Matt.









[vchkpw] Help unsubscribing from the list

2002-12-30 Thread Gilberto J. Palau
I would appreciate some help in unsubscribing from this list.  I have tried
to get off it a million times.

Please help






RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread rm
On Mon, 2002-12-30 at 16:34, Matt Darcy wrote:
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 30 December 2002 07:15
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
> logging.
> 
> 
> Matt Darcy wrote:
> 
> >  #!/bin/sh
> > exec /usr/local/bin/softlimit -m 500 \
> > /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
> \
> > alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> > /var/qmail/bin/qmail-pop3d Maildir 2>&1
> >
> > I can't see anything wrong with the startup script...
> 
> Well Matt from looking at this and the fact that I also run Redhat 7.3 I see
> one thing wrong. Your default /etc/services file has your pop-3 as pop3.
> There
> are several ways to fix this, 1) either modify the /etc/services [bad idea],
> 2) Modify your run script to say pop3 [good choice], or 3) modify your run
> script to say 110 instead of pop-3 [best choice, unless you use a different
> port number]. Hope that helps some.
> 
> Joe
> 
> 
> 
> This the question I have just asked.I have modified the script again as
> suggested to reference pop3 instead of pop-3.
> 
> I still cannot get the qmail-pop3d daemon to stay up longer than 1 second.
> 
> I need to know if 1 second is whats expected as I would not expect the pop3
> daemon to stay up all the time just spawn when called. I could be wrong
> though.
> 
> Thanks,
> 
> Matt.
> 
> 
 
The pop daemon should be up all the time.

You may want to check your qmailctl script for any possible errors in
calling the pop3 daemon.  Also, a few times I've had problems with
different text editors leaving some trash characters in the script when
I'v entered tabs of spaces.  That especially was a problem when I used
gedit (I run redhat too)

hope that helps some

good luck

regis
 
 






RE: [vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Matt Darcy
Title: qmail + vpopmail + mysql + Redhat 8



 

  -Original Message-From: Lapidus, Keith 
  [mailto:[EMAIL PROTECTED]]Sent: 30 December 2002 
  06:50To: [EMAIL PROTECTED]Subject: [vchkpw] qmail + 
  vpopmail + mysql + Redhat 8
  I have two servers; one with Redhat 8 
  installed and one with redhat 7.3 installed. They both have mysql and qmail 
  installed and configured identically. The redhat 7.3 server can send and 
  receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 
  server to be the primary mailserver with vpopmail, always gives me the 
  following error:
   failure: 
  Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/  I've tried the newer version of vpopmail but have 
  not gotten it to work. Has anyone else gotten qmail and vpopmail to work with 
  Redhat 8? 
  [Matt Darcy] Looks like your user accounts are on the 7.3 
  server and database.
   
  export the vpopmail database and import it on the 8.0 box and 
  copy the domains from $VPOPMAILHOME/domains on the 7.3 machine to the 8.0 
  $VPOPMAILHOME/domains
   
  Just 
  a thought 
   


[vchkpw] qmail + vpopmail + mysql + Redhat 8

2002-12-30 Thread Lapidus, Keith
Title: qmail + vpopmail + mysql + Redhat 8






I have two servers; one with Redhat 8 installed and one with redhat 7.3 installed. They both have mysql and qmail installed and configured identically. The redhat 7.3 server can send and receive email just fine using vpopmail 5.2.1. When I configure the Redhat 8 server to be the primary mailserver with vpopmail, always gives me the following error:

 failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

 I've tried the newer version of vpopmail but have not gotten it to work. Has anyone else gotten qmail and vpopmail to work with Redhat 8? 





RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 07:15
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


Matt Darcy wrote:

>  #!/bin/sh
> exec /usr/local/bin/softlimit -m 500 \
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
\
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir 2>&1
>
> I can't see anything wrong with the startup script...

Well Matt from looking at this and the fact that I also run Redhat 7.3 I see
one thing wrong. Your default /etc/services file has your pop-3 as pop3.
There
are several ways to fix this, 1) either modify the /etc/services [bad idea],
2) Modify your run script to say pop3 [good choice], or 3) modify your run
script to say 110 instead of pop-3 [best choice, unless you use a different
port number]. Hope that helps some.

Joe



This the question I have just asked.I have modified the script again as
suggested to reference pop3 instead of pop-3.

I still cannot get the qmail-pop3d daemon to stay up longer than 1 second.

I need to know if 1 second is whats expected as I would not expect the pop3
daemon to stay up all the time just spawn when called. I could be wrong
though.

Thanks,

Matt.








RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: Cory Wright [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 05:57
To: vpopmail usergroup
Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, Dec 30, 2002 at 01:49:54PM -0800, Matt Darcy wrote:

> [root@jordan qmail-pop3d]# ps ax|grep readproc
>  1164 ?S  0:01 readproctitle service errors: ... unable to
start
> qma
> il-pop3d/run: exec format error?supervise: fatal: unable to start
> qmail-pop3d/ru
> n: exec format error?supervise: fatal: unable to start qmail-pop3d/run:
exec
> for
> mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
> error?s
> upervise: fatal: unable to start qmail-pop3d/run: exec format
> error?supervise: f
> atal: unable to start qmail-pop3d/run: exec format error?
>  4575 pts/1R  0:00 grep readproc
> [root@jordan qmail-pop3d]#

It would be great if you could turn off line wrapping in your mailer.
Thanks.

> [root@jordan qmail-pop3d]# cat -e run
>  #!/bin/sh$
> exec /usr/local/bin/softlimit -m 500 \$
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
\$
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qma
> il-pop3d Maildir 2>&1$
> $

It is hard to tell with the line wrapping, but after looking at your first
post of this file I believe the problem is that '/var/qmail/bin/qmail-pop3d`
is on a new line, when it should either be immediately after vchkpw or there
should be a \ as the last character on the vchkpw line.  Fix this, the pop3d
service should start within 5 seconds after its fixed.

What you have:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 2>&1

What it should be:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw \
  /var/qmail/bin/qmail-pop3d Maildir 2>&1

Good luck,

Cory


Hi Cory,thanks for the input. the wrapping is not from my email client it is
the fact that I am using ms telnet and that is wrapping the text - I can't
turn this off it is just ms telnet is rubbish.


I have added the / as you suggested, and the pop3 daemon starts up for 1
second then the status shows it never lives longer than a second.


[root@jordan qmail-pop3d]# ps ax|grep readproc
 1164 ?S  0:01 readproctitle service errors: ... unable to start
qma
il-pop3d/run: exec format error?supervise: fatal: unable to start
qmail-pop3d/ru
n: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec
for
mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
error?s
upervise: fatal: unable to start qmail-pop3d/run: exec format
error?supervise: f
atal: unable to start qmail-pop3d/run: exec format error?
 7056 pts/1R  0:00 grep readproc
[root@jordan qmail-pop3d]#


(sorry about the wrap - )

and the script now looks like

[root@jordan qmail-pop3d]# cat -e run
 #!/bin/sh$
exec /usr/local/bin/softlimit -m 500 \$
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \$
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw \
/var/qmail/bin/q
mail-pop3d Maildir 2>&1$
$
[root@jordan qmail-pop3d]#


I still can't connect - I am assuming this is because pop3 daemon is not
staying up longer than 1 second. I am re-reading the vchkpw documents I used
to install and configure vpopmail and it mentions setting up the qmail-pop3d
run script referencing the pop3 service from /etc/services

[root@jordan qmail-pop3d]# cat /etc/services | grep pop
# unfortunately the poppassd (Eudora) uses a port which has already
# been assigned to a different service. We list the poppassd as an
#3com-tsmux 106/tcp poppassd
#3com-tsmux 106/udp poppassd
pop2109/tcp pop-2   postoffice  # POP version 2
pop2109/udp pop-2
pop3110/tcp pop-3   # POP version 3
pop3110/udp pop-3
pop3s   995/tcp # POP-3 over SSL
pop3s   995/udp # POP-3 over SSL
kpop1109/tcp# Pop with Kerberos
poppassd106/tcp # Eudora
poppassd106/udp # Eudora

I am assuming pop-3 is the correct alias to put in the run script (as you
can see above) should it be pop3 though ?

Thanks for your time on this,

Matt.








RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread trell
Matt Darcy wrote:

>  #!/bin/sh
> exec /usr/local/bin/softlimit -m 500 \
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir 2>&1
> 
> I can't see anything wrong with the startup script...

Well Matt from looking at this and the fact that I also run Redhat 7.3 I see
one thing wrong. Your default /etc/services file has your pop-3 as pop3. There
are several ways to fix this, 1) either modify the /etc/services [bad idea], 
2) Modify your run script to say pop3 [good choice], or 3) modify your run
script to say 110 instead of pop-3 [best choice, unless you use a different
port number]. Hope that helps some.

Joe






Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Cory Wright
On Mon, Dec 30, 2002 at 01:49:54PM -0800, Matt Darcy wrote:

> [root@jordan qmail-pop3d]# ps ax|grep readproc
>  1164 ?S  0:01 readproctitle service errors: ... unable to start
> qma
> il-pop3d/run: exec format error?supervise: fatal: unable to start
> qmail-pop3d/ru
> n: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec
> for
> mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
> error?s
> upervise: fatal: unable to start qmail-pop3d/run: exec format
> error?supervise: f
> atal: unable to start qmail-pop3d/run: exec format error?
>  4575 pts/1R  0:00 grep readproc
> [root@jordan qmail-pop3d]#

It would be great if you could turn off line wrapping in your mailer. Thanks.

> [root@jordan qmail-pop3d]# cat -e run
>  #!/bin/sh$
> exec /usr/local/bin/softlimit -m 500 \$
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \$
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qma
> il-pop3d Maildir 2>&1$
> $

It is hard to tell with the line wrapping, but after looking at your first 
post of this file I believe the problem is that '/var/qmail/bin/qmail-pop3d`
is on a new line, when it should either be immediately after vchkpw or there
should be a \ as the last character on the vchkpw line.  Fix this, the pop3d
service should start within 5 seconds after its fixed.

What you have:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 2>&1

What it should be:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw \
  /var/qmail/bin/qmail-pop3d Maildir 2>&1

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: Cory Wright [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 05:42
To: vpopmail usergroup
Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, Dec 30, 2002 at 01:28:57PM -0800, Matt Darcy wrote:

> [root@jordan pop3d]# ps ax | grep read
>  1164 ?S  0:01 readproctitle service errors: ... unable to
start
> qma

This is not enough.  Do this:  `ps ax|grep readproc`.


> [root@jordan qmail-pop3d]# cat run
>  #!/bin/sh
> exec /usr/local/bin/softlimit -m 500 \
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
\
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir 2>&1

Not `cat run`, `cat -e run`.

Cory



Ok,  little better attention to detail


[root@jordan qmail-pop3d]# ps ax|grep readproc
 1164 ?S  0:01 readproctitle service errors: ... unable to start
qma
il-pop3d/run: exec format error?supervise: fatal: unable to start
qmail-pop3d/ru
n: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec
for
mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
error?s
upervise: fatal: unable to start qmail-pop3d/run: exec format
error?supervise: f
atal: unable to start qmail-pop3d/run: exec format error?
 4575 pts/1R  0:00 grep readproc
[root@jordan qmail-pop3d]#

and the script

[root@jordan qmail-pop3d]# cat -e run
 #!/bin/sh$
exec /usr/local/bin/softlimit -m 500 \$
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \$
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qma
il-pop3d Maildir 2>&1$
$

Thanks,

Matt

<>

Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Cory Wright
On Mon, Dec 30, 2002 at 01:28:57PM -0800, Matt Darcy wrote:

> [root@jordan pop3d]# ps ax | grep read
>  1164 ?S  0:01 readproctitle service errors: ... unable to start
> qma

This is not enough.  Do this:  `ps ax|grep readproc`.


> [root@jordan qmail-pop3d]# cat run
>  #!/bin/sh
> exec /usr/local/bin/softlimit -m 500 \
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir 2>&1

Not `cat run`, `cat -e run`.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy


-Original Message-
From: Cory Wright [mailto:[EMAIL PROTECTED]]
Sent: 30 December 2002 05:20
To: vpopmail usergroup
Subject: Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No
logging.


On Mon, Dec 30, 2002 at 12:41:09PM -0800, Matt Darcy wrote:
> /service/qmail-pop3d: up (pid 31995) 0 seconds
> /service/qmail-pop3d/log: up (pid 1173) 2989243 seconds

There is a problem in your /service/qmail-pop3d/run script.  Post the 
output of `cat -e /service/qmail-pop3d/run`.  Also, when you run `ps ax`
you should see a program called 'readproctitle' running.  What is listed
after "readproctitle service errors:" ?

Cory



Ok here we go

[root@jordan pop3d]# ps ax | grep read
 1164 ?S  0:01 readproctitle service errors: ... unable to start
qma
[root@jordan pop3d]#


And the script

[root@jordan qmail-pop3d]# cat run
 #!/bin/sh
exec /usr/local/bin/softlimit -m 500 \
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 2>&1


I can't see anything wrong with the startup script...




<>

Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Cory Wright
On Mon, Dec 30, 2002 at 12:41:09PM -0800, Matt Darcy wrote:
> /service/qmail-pop3d: up (pid 31995) 0 seconds
> /service/qmail-pop3d/log: up (pid 1173) 2989243 seconds

There is a problem in your /service/qmail-pop3d/run script.  Post the 
output of `cat -e /service/qmail-pop3d/run`.  Also, when you run `ps ax`
you should see a program called 'readproctitle' running.  What is listed
after "readproctitle service errors:" ?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




[vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Matt Darcy
hi,

I have a redhat 7.3 system running qmail/vpopmail/vqadmin/ and sqwebmail.

All appears to be working well, ie send and recive messages from virtual
accounts, webmail auth works fine, however I cannot get my pop3 clients to
authorise and download mail.

My Mail server has to interfaces, one connects to the internet
(alesi.projecthugo.co.uk) the other is on my local lan (jordan.no-dns.co.uk)

I have a domain called mdlan.co.uk - and an account matthew.darcy on
mdlan.co.uk
if I login to [EMAIL PROTECTED] using sqwebmail I can send / recived
mail, make folders etc etc, however when I connect to it via pop3 using MS
Outlook 2000 I get a poor MS connection error.

I have tried connecting to the mail server via the internal address
jordan.no-dns.co.uk and via the external system alesi.projecthugo.co.uk
using the usernames [EMAIL PROTECTED] or matthew.darcy%mdlan.co.uk -
same connection error every time

qmail stats show pop3 is not staying up for longer than 1 second

[root@jordan pop3d]# qmailctl stat
/service/qmail-send: up (pid 30961) 925 seconds
/service/qmail-send/log: up (pid 1171) 2989243 seconds
/service/qmail-smtpd: up (pid 30963) 925 seconds
/service/qmail-smtpd/log: up (pid 1172) 2989243 seconds
/service/qmail-pop3d: up (pid 31995) 0 seconds
/service/qmail-pop3d/log: up (pid 1173) 2989243 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0

I am not sure if this is normal as shouldn't the pop3d daemon only start up
when called - if via a login request ?

Also my logs in /var/log/qmail/pop3 have no information in them

[root@jordan pop3d]# ls -la
total 8
drwxr-xr-x2 qmaill   root 4096 Dec 30 12:56 .
drwxr-xr-x4 qmaill   root 4096 Dec 30 12:30 ..
-rw-r--r--1 qmaill   nofiles 0 Nov  9 19:22 current
-rw---1 qmaill   nofiles 0 Sep 29 10:14 lock
-rw-r--r--1 qmaill   nofiles 0 Nov  9 19:22 state

Any suggestions on how to debug this / progress this / fix this.

Thanks,

Matt.









[vchkpw] Help in vqsignup

2002-12-30 Thread zafar rizvi
hello ppl
 i want to know information about vqsignup.
Modify the Makefile:

which make file i modify i can't understand.

modify the compile line 

in which compile file i write ???

so plz tell me how can i full configure it.

Bcz first two steps are very strange

thanks

zafar