Re: [vchkpw] vpopmail clustering examples

2003-01-13 Thread Fredrik Steen
* Andrea Cerrito [EMAIL PROTECTED] [021231 15:50]:
 
 We're using LVS to do load balancing.
 Instead of NFS, we're using Opengfs. We have two mail servers and two
 mysql servers. The sql servers are both r/w in a two-way replica.

We're using LVS too to do the load balancing with great success.

What is your experiences with OpenGFS?

-- 
.Fredrik Steen
- http://www.stone.nu/ -




Re: [vchkpw] Re: LDAP working :(

2003-01-13 Thread Sunagawa Koji / $B:=@n(B $B9';y(B
Hi Jens,

Jens Jahr [EMAIL PROTECTED] wrote:
- In my CVS-Tree I thought about dynamically using LDAP-entries, because
  hardcoding a special row for a special entrie makes it worse to add more new 
  LDAP-entries, because you have a bunge of #ifdefs and you will have to 
  doublecheck the whole code where direct access to an LDAP-entry is made

As a result I think it is nice to just address an LDAP-Entrie via pointers.
e.g.
QMAILDOMAIN = 1;
CLEAR_PW = 2;
qmailUID = 3;
etc

which are dynamically setup.

So general access to it would be

#ifdef CLEAR_PW
lm[CLEAR_PW]-mod_values[0] = strdup(password);
#endif

next would be 

lm[QMAILDOMAIN]-mod_values[0] = strdup(password);

no matter if I ifdefed CLEAR_PW or not.
This make code much more easy and readable.

Hope you understand my point and tell me what do you think.

I think so, too.

It was difficult to understand the source, when I made the patch.


---
Sunagawa Koji[EMAIL PROTECTED]
 Okinawa FreeBSD Users Group  http://www.ofug.net/~koj/





[vchkpw] Postgres support?

2003-01-13 Thread Andrew Kohlsmith
Back in April of last year I'd asked about Postgres support in vpopmail and 
Bill had mentioned that it was in the development version.  Has that been 
abandoned altogether?  I didn't see it in the current stable release, and 
there's been a few releases between 04/02 and now.  :-)

Regards,
Andrew




RE: [vchkpw] SMTP Problems

2003-01-13 Thread Clayton Weise
Ok.. why would you post open relay as a suggestion?  Don't ever put
:allow,RELAYCLIENT=””.  That will make your server open relay, which is BAD.
Check the archives, I know there have been discussions before about courier
imap authentication and vpopmail’s “romaing users” option.  Also make sure
you compiled vpopmail with --enable-roaming-users.

-Clayton

-Original Message-
From: Jens Jahr [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 12, 2003 2:47 PM
To: Nate Davis
Cc: [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP Problems


Zitat von Nate Davis [EMAIL PROTECTED]:


Hi,

well,
that domain is not in my allowed rcpthosts

means that you are not allowed to relay this host.
Please refer to the tcprules where you adjust your settings
like that:

--- snip
127.0.0.:allow,RELAYCLIENT=
192.168.:allow,RELAYCLIENT=
:allow,REQUIREAUTH=
-smap

which means that all execpt localhost and 192.168.x.x
have to authenticate before sending mail.

If you just all let relay your server just add  simpple:
:allow,RELAYCLIENT=

and you are done.

Note that this is absolutely not the recommendes way !!!

Cheers
Jens







[vchkpw] not updating tcp.smtp.cdb??

2003-01-13 Thread Andrew Kohlsmith
I'm running 5.2.1 with roaming users enabled, but upon successful POP3 or 
IMAP4 logins the tcp.smtp.cdb file is not being updated. 

I've checked file permissions (going as far as to set mode 666 on both 
tcp.smtp and tcp.smtp.cdb) and verified that the ones I'm looking at are the 
ones that vpopmail is supposed to know about.

My configure line looks like this:
./configure  --enable-roaming-users=y --enable-learn-passwords=y --enable-clea
r-passwd=y --enable-logging=p --enable-default-domain=gate-way.net 
--enable-qmail-ext=y --enable-defaultquota=500 --enable-valias=y

I have vpopmail's home directory to be /usr/local, which puts tcp.smtp[.cdb] 
in /usr/local/etc, and all of the utilities in /usr/local/bin.  

$ ls -l /usr/local/etc/tcp.smtp*
-rw-r--r--1 vpopmail vchkpw315 Jan 11 22:53 
/usr/local/etc/tcp.smtp
-rw-r--r--1 vpopmail vchkpw   2523 Jan 11 22:53 
/usr/local/etc/tcp.smtp.cdb

I am using courier-imap's POP3 and IMAP4 servers, and authdaemon is set to use 
vchkpw, as shown here:

authmodulelist=authvchkpw

Any ideas?  tcpserver is using the file just fine, but I just can't get 
roaming users to work.  :-(

Regards,
Andrew




Re: [vchkpw] not updating tcp.smtp.cdb??

2003-01-13 Thread Rick Macdougall
Hi,

Not sure if this is related, but I had a problem with courier and vipmap
domains.  It appears that courier was passing an IPv6 IP address and not an
IPv4 ip address.

Bill fixed the problem in the latest beta (5.3.12) but I'm not sure if this
could be related to roaming users as well.

Regards,

Rick

- Original Message -
From: Andrew Kohlsmith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 11:30 AM
Subject: [vchkpw] not updating tcp.smtp.cdb??


I'm running 5.2.1 with roaming users enabled, but upon successful POP3 or
IMAP4 logins the tcp.smtp.cdb file is not being updated.

I've checked file permissions (going as far as to set mode 666 on both
tcp.smtp and tcp.smtp.cdb) and verified that the ones I'm looking at are the
ones that vpopmail is supposed to know about.

My configure line looks like this:
./configure  --enable-roaming-users=y --enable-learn-passwords=y --enable-cl
ea
r-passwd=y --enable-logging=p --enable-default-domain=gate-way.net
--enable-qmail-ext=y --enable-defaultquota=500 --enable-valias=y

I have vpopmail's home directory to be /usr/local, which puts tcp.smtp[.cdb]
in /usr/local/etc, and all of the utilities in /usr/local/bin.

$ ls -l /usr/local/etc/tcp.smtp*
-rw-r--r--1 vpopmail vchkpw315 Jan 11 22:53
/usr/local/etc/tcp.smtp
-rw-r--r--1 vpopmail vchkpw   2523 Jan 11 22:53
/usr/local/etc/tcp.smtp.cdb

I am using courier-imap's POP3 and IMAP4 servers, and authdaemon is set to
use
vchkpw, as shown here:

authmodulelist=authvchkpw

Any ideas?  tcpserver is using the file just fine, but I just can't get
roaming users to work.  :-(

Regards,
Andrew






[vchkpw] Vpopmail's 'tcp.smtp' question...

2003-01-13 Thread Alan Murrell
Hello,

I meant to ask this a while ago, but never got around
to it...

I have noticed that when Vpopmail is installed, it has
it's own 'tcp'smtp' file.  If Qmail is installed, does
one use Qmail's 'tcp.smtp' file instead, or are both
'tcp.smtp' files used at the same time?  Or
alternatively, if Vpopmail's has a different function
altogether, what would it be?

Thank you, in advance, for your help.

Alan Murrell [EMAIL PROTECTED]


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




Re: [vchkpw] not updating tcp.smtp.cdb??

2003-01-13 Thread Andrew Kohlsmith
 Not sure if this is related, but I had a problem with courier and vipmap
 domains.  It appears that courier was passing an IPv6 IP address and not an
 IPv4 ip address.

That would seem to indicate that it was still trying to update the 
tcp.smtp[.cdb] files, but that is not the case here -- the timestamps on 
these files never change from when I manually run tcprules.

I will check the changelogs and see if I can't find a courier option to 
disable ipv6, just in case.

Regards,
Andrew




Re: [vchkpw] Postgres support?

2003-01-13 Thread Caffeinate The World

--- Andrew Kohlsmith [EMAIL PROTECTED] wrote:
 Back in April of last year I'd asked about Postgres support in
 vpopmail and 
 Bill had mentioned that it was in the development version.  Has that
 been 
 abandoned altogether?  I didn't see it in the current stable release,
 and 
 there's been a few releases between 04/02 and now.  :-)

I checked with the guy who did the original Postgresql patch, but he
hacked together the Configure files etc to make it compile. He has not
done any work on it and someone else seemed to have taken over the
work.

What I ended up doing was using qmail-sql available at:

  http://qmail-sql.digibel.be

Then I patched courier-imap for configurable custom SELECT and UPDATE
SQL queries for use with IMAP and POP3. I sent the patch back to Sam
(author of Courier). 

Courier IMAP SQL uses its own table schema which is different from
qmail-sql. Having customizable SELECT and UPDATE queries allow you to
glue the two together.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




[vchkpw] qmail-local problem

2003-01-13 Thread Andre Fortin
Heya,

In my logs I'm noticing a problem delivering local mail..

deferral:
/var/vpopmail/bin/vdelivermail:_Cannot_fork:_Resource_temporarily_unavailabl
e/

The drive it is trying to write to is accessible to the system for
read/write functions and doesnt appear to be bogged down.  The permissions
are set properly.

Has anyone run into this before?

Andre





RE: [vchkpw] qmail-local problem

2003-01-13 Thread Andre Fortin
Scratch that;

Something had done the equivalent of 'which vdelivermail  `which
vdelivermail`' and overwrote the contents of the file with its own
pathname.. Odd..  In any case, I restored from a backup and it seems alright
now.. Sorry for the waste of space :P

Andre

-Original Message-
From: Andre Fortin [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] qmail-local problem


Heya,

In my logs I'm noticing a problem delivering local mail..

deferral:
/var/vpopmail/bin/vdelivermail:_Cannot_fork:_Resource_temporarily_unavailabl
e/

The drive it is trying to write to is accessible to the system for
read/write functions and doesnt appear to be bogged down.  The permissions
are set properly.

Has anyone run into this before?

Andre






[vchkpw] Auth Problem

2003-01-13 Thread Ferencz Tamas
 try to find a list arch, but nothing.

I just installed a qmail system with vpopmail, and everything works fine,
except one but big thing.
I am not able to download my mails. When i try to connect to the pop3 server
everything work fine till i need to give my password. it is not working. not
accept any of the specified forms. I try to install a qmail admin it was
succes, but i'm not able to login.
I try to use a cdb auth. metod.
the system is debian with a deb-src package qmail, and everything else came
from deb package (the latest woody)

Any ida?

TLoF







RE: [vchkpw] Auth Problem

2003-01-13 Thread Clayton Weise
What does your pop3d startup script look like?

-Original Message-
From: Ferencz Tamas [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 2:05 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Auth Problem


 try to find a list arch, but nothing.

I just installed a qmail system with vpopmail, and everything works fine,
except one but big thing.
I am not able to download my mails. When i try to connect to the pop3 server
everything work fine till i need to give my password. it is not working. not
accept any of the specified forms. I try to install a qmail admin it was
succes, but i'm not able to login.
I try to use a cdb auth. metod.
the system is debian with a deb-src package qmail, and everything else came
from deb package (the latest woody)

Any ida?

TLoF









RE: [vchkpw] SMTP Problems

2003-01-13 Thread Jens Jahr
Zitat von Clayton Weise [EMAIL PROTECTED]:

 Ok.. why would you post open relay as a suggestion?  Don't ever put
 :allow,RELAYCLIENT=””.  That will make your server open relay, which is BAD.
 Check the archives, I know there have been discussions before about courier
 imap authentication and vpopmail’s “romaing users” option

Hey,

why are you blaming me ?
If you will read my posting _carefully_ you will recognize a sentence like that:

Note that this is absolutely not the recommendes way !!!

Did you see the !!! and the word absolutely ???

What else should I do telling someone that there is a possibilty which is
definitivly not recommended ?

I can tell you to just format you HD and your are save that no one will relay
your server. 

Listen ! 

I do not want to start I flame war at all !!! 
so lets keep on beeing polite!!

It was meant as a hint nothing else 

Cheers
Jens






Re: [vchkpw] vacation and aliases

2003-01-13 Thread Jonas Thomsen
 -Oprindelig meddelelse-
 I have an account with about 2 or 3 aliases.
 When I enable the vacation-program which comes with vpopmail
 5.3.8 and QmailAdmin 1.0.6.

 The vacation works for the main-address, but not for the
 aliases. The aliases are also added the normal way. I guess
 the problem is this:
 /home/vpopmail/domains/domain.com/username/Maildir/

 I have a thought that if I use vdelivermail or forward, it
 would work, but I haven't tested this yet, mostly because the
 style i reffered to is the standard way of creating an
 alias... but then the vacation-message won't show when people
 mail to the alias addresses...

 Has anyone looked into this?

I have the exact same problem and I suspect the same to be responsible. I am
also curious to know if anyone as a better solution than disallowing aliases
and just allow forwards? I had a quite angry customer on the phone
complaining about this :)


Regards,

Jonas Thomsen,
JT-COM







Re: [vchkpw] Vpopmail's 'tcp.smtp' question...

2003-01-13 Thread Ken Jones
On Monday 13 January 2003 10:39 am, Alan Murrell wrote:
 Hello,

 I meant to ask this a while ago, but never got around
 to it...

 I have noticed that when Vpopmail is installed, it has
 it's own 'tcp'smtp' file.  If Qmail is installed, does
 one use Qmail's 'tcp.smtp' file instead, or are both
 'tcp.smtp' files used at the same time?  Or
 alternatively, if Vpopmail's has a different function
 altogether, what would it be?

vpopmail and qmail-smtpd need to share the same
tcp.smtp and tcp.smtp.cdb. For permission reasons,
it's better to have those files under ~vpopmail/etc
directory. 

If --enable-roaming-users=y during configuration, 
the vpopmail configure script attempts to auto-discover
if there is an /etc/tcp.smtp file already on the system and
use that. If it doesn't find one it will create a ~vpopmail/etc/tcp.smtp
file automatically. 

Ken Jones







[vchkpw] vpopmail 5.3.13

2003-01-13 Thread Bill Shupp
Ken, All:

I have posted my vpopmail 5.3.13:

Download:
http://shupp.org/patches/vpopmail-5.3.13.tar.gz


From the ChangeLog:

   - major changes to vdeloldusers
  - Works with any module that supports auth-logging 
(mysql, cdb)
  - lots of cleanup.. removed all mysql specific code
  - deprecated -r switch, replaced it with -V (verbose)
  - users are NOT deleted by default.. a new -D argument is
required to actually delete users
  - brought back the -d option to specify only one domain

The changes are only to vdeloldusers, but they were significant enough 
that I just went ahead and updated the version number.  Please help 
test.  I can find no problems on cdb or mysql.

Regards,

Bill Shupp




[vchkpw] Vpopmail installation

2003-01-13 Thread Frank A
Hello All:

I installed Qmail today with Vpopmail.  The thing is I use Postfix for my
SMTP server and still want to.  I have Postfix configured to send mail to
Qmail's sendmail program like was shown on the inter7 website.  I just use
transport maps instead of fallback transport.  Either way, the mail comes
into Postfix and I see it being sent to qmail, but never gets delivered.  I
checked the qmail queue directory and I found the mail sitting in the todo/
directory.

My question is how do I start up Qmail to just run the queue and not have
it try and bind to port 25.  I want Postfix to remain bound to port 25 and
act as my SMTP server.  I just need Qmail to deliver mail to the
vpopmail/domains/whatever Maildir's so people can get their mail.

Please let me know what I need to startup Qmail do accomplish what I need.
Maybe, as soon as I get used to Qmail, I may use it to do all my mail
services.  I have just been using Postfix for so many years that I do not
want to stop using it to accept mail just yet.  I love the Virtual Mail
though, vpopmail is fantastic..

Thanks for you help in advance..

Frank






Re: [vchkpw] Vpopmail installation

2003-01-13 Thread Rick Widmer
At 09:20 PM 1/13/03 -0500, Frank A wrote:

My question is how do I start up Qmail to just run the queue and not have
it try and bind to port 25.


That pretty much is the answer too...  Run qmail, but don't start it 
listening on port 25.  Running qmail is related to a .rc file in the 
/var/qmail directory, or something copied into your startup scripts to run 
qmail-send.  Listening on port 25 is started in inetd, xinetd or tcpserver 
is run from your startup scripts.  It depends on who's instructions you 
used to set up qmail, and what OS you are on.


Please let me know what I need to startup Qmail do accomplish what I need.
Maybe, as soon as I get used to Qmail, I may use it to do all my mail
services.


I bet you would save a lot of time and headaches if you just follow the 
instructions on one of the qmail + vpopmail + qmailadmin toasters and go 
for a standard setup.  The biggest problem I've seen with qmail, is that it 
goes so long between problems that you have forgotten everything you once 
knew about it when you need to work on it.  :)


Rick

Who hasn't had to mess with my mail server in over 302 days.




Re: [vchkpw] Vpopmail's 'tcp.smtp' question...

2003-01-13 Thread Alan Murrell
Hello,

--- Ken Jones [EMAIL PROTECTED] wrote:
 If --enable-roaming-users=y during configuration,

Okay, so unless I have enabled romaining-users, then I
don't really need to worry about tcp.smtp for
Vpopmail, then?  Makes sense, I guess :-)

Alan


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