Re: having trouble w/ vQregister install

2001-03-09 Thread Michael23

Thanks a lot!
All seems to be working.
Ciao
Michael23

Faried Nawaz wrote:

 Michael23 wrote:

   Is that check only necessary for qmail-remote...

 Yes, only qmail-remote.




SMTP data size limit for a specific domain

2001-03-09 Thread Le Van Chi



Dear all,

Could somebody tell me how to set a SMTP data size 
limit for a specific destination domain?

For example, I want to set 4MB for mail destined to 
aaa.com domain and 1MB for mail destined to bbb.com domain.

Thanks


Fwd: Re: Problems with IP based domains

2001-03-09 Thread Marcel von Birgelen

Date: Fri, 9 Mar 2001 15:27:51 +0100
To: Ken Jones [EMAIL PROTECTED]
From: Marcel von Birgelen [EMAIL PROTECTED]
Subject: Re: Problems with IP based domains
Cc:
Bcc:
X-Attachments:

Somehow, it still doesn't work.. it's like vchkpwd doesn't recognise 
the local IP number at all, maybe there goes something wrong at 
compile time?! I'll keep trying.

Thanks anyway!

Pull down the latest development version 4.9.9. I updated it this
morning.
Switch to using the vipmap command. It's fairly straight forward

./vipmap -a IP domainname
that will add a new mapping

./vipmap -p
that will print out the current mapping

./vipmap -d IP domainname
that will delete the IP -- domainname mapping

Ken Jones
inter7

Marcel von Birgelen wrote:

  I just subscribed to this mailinglist because I'm having a problem
  with IP based domains.

  I'm using a FreeBSD 4.2 based platform with qmail and vpopmail. Here
  is an example session with my POP3 server:

  Trying 212.206.9.51...
  Connected to faibur.com.
  Escape character is '^]'.
  +OK [EMAIL PROTECTED]
  user webmaster%faibur.com
  +OK
  pass test
  +OK
  quit
  +OK
  Connection closed by foreign host.

  Trying 212.206.9.51...
  Connected to faibur.com.
  Escape character is '^]'.
  +OK [EMAIL PROTECTED]
  user webmaster
  +OK
  pass test
  -ERR authorization failed
  Connection closed by foreign host.

  I'm using an old version of vpopmail now because the new version uses
  an IP-map and I wasn't able to figure that out either.

  The forward and reverse lookup (from my local machine) work correctly
  (there are some issues with our upstream provider and Reverse lookup,
  but they don't affect the local resolving). I've also written a
  little script to ensure that tcpserver assigns the corect values to
  the environment variables $TCPLOCALIP and $TCPLOCALHOST.

  Here is the output for "faibur.com" at IP 212.206.9.51:

  # telnet faibur.com 
  Trying 212.206.9.51...
  Connected to faibur.com.
  Escape character is '^]'.
  TCPLOCALIP=212.206.9.51
  TCPLOCALHOST=faibur.com
  Connection closed by foreign host.

  My startup line for tcpserver and pop3 is:

  env - PATH="/var/qmail/bin:/usr/local/bin:/home/vpopmail/bin" \
tcpserver 0 pop3 qmail-popup blackhole.neoplasma.pxinfra.net \
vchkpw qmail-pop3d Maildir 

  I used some other parameters with tcpserver, but no success.

  Is there somebody out there that can help me?! (BTW: I know I can use
  a default-domain, but since I'm running about 20 domains this is not
  an option and I also know for sure that I compiled it with
  --enable-ip-alias-domains=y)

  Thanks for your time!!
  --
  Met vriendelijke groet,
 Marcel von Birgelen
  AM Bridge BV
  
www.ambridge.nl   www.macwinkel.nl   www.maccenter.nl 

-- 
Met vriendelijke groet,
   Marcel von Birgelen
   AM Bridge BV

 www.ambridge.nl   www.macwinkel.nl   www.maccenter.nl 



Fwd: Re: SMTP data size limit for a specific domain

2001-03-09 Thread Marcel von Birgelen
Title: Fwd: Re: SMTP data size limit for a specific
domain


Sorry.. I messed up the reply a little bit...

Date: Fri, 9 Mar 2001 15:25:19 +0100
To: Le Van Chi [EMAIL PROTECTED]
From: Marcel von Birgelen [EMAIL PROTECTED]
Subject: Re: SMTP data size limit for a specific domain
Cc:
Bcc:
X-Attachments:

As far as I know,

That's not possible with vpopmail
at the moment, but I'm currently hacking a little bit around in the
source code (I'm also trying to implement a domain based quota), maybe
there wil be some support for it in the future :)

Dear
all,

Could
somebody tell me how to set a SMTP data size limit for a specific
destination domain?

For example,
I want to set 4MB for mail destined to aaa.com domain and 1MB for mail
destined to bbb.com domain.

Thanks



-- 
Met vriendelijke groet,
 Marcel von Birgelen
 AM Bridge BV

 www.ambridge.nl   www.macwinkel.nl 
 www.maccenter.nl 



Re: dir_control question...

2001-03-09 Thread Ken Jones

Chris Scheller wrote:
 
 with the newer versions of vpopmail storing dir_control info in sql,
 how are sites that still use files handled if i upgrade my current
 setup?
 
 Chris Scheller
 Network One Internet, inc.
 http://www.networkone.net/
 System/Network Administration
 1.888.GOT.NET1

There is a new conversion program to handle this.


Download the lastest vpopmail-4.9.9 development version.
It was updated 5 minutes ago.

In the contrib directory you will find two new files
vcdir.README - instructions on how to compile and use the new vcdir
program
vcdir.c  - source code for new vcdir program

usage: vcdir "domain name"

vcdir reads in a domain's .dir_control file then writes it into
the new mysql dir_control table. 

This provides a clean upgrade path to the new dir_control table
method in the mysql module.

Ken Jones



Re: Use alias uid instead of qmaild uid in vpopmail?

2001-03-09 Thread Ken Jones

ling wrote:
 
 Ken JonesHI
 
I've read vpopmail-FAQ No.4 carefully, This is what I found:
 
 tcpserver -H -R -x /path/to/vpopmail/etc/tcp.smtp.cdb \
 -c20 -u504 -g503 0 smtp \
 /var/qmail/bin/qmail-smtpd 21  /dev/null 
 
 modify the -u503 and -g503 to match your systems alias users
 user id and group id
 
 This is what I found in qmail-FAQ 9.1:
 
 tcpserver -v -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
 21 | /var/qmail/bin/splogger smtpd 3 
 
 Replace 7770 with your qmaild uid, and replace 2108 with your nofiles gid.
 
 Does vpopmail must change the user to run qmail-smtdp?
 Use alias uid instead of qmaild uid?
 
 THANKS!
 

The vpopmail FAQ is wrong. Here is the new updated FAQ entry.
4. How do I allow roaming users to use our smtp server without opening
   the machine up to everyone on the internet?

   Your startup script for the qmail smtp server must use the
   tcpserver -x file command similar to this startup line.

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -x /path/to/vpopmail/etc/tcp.smtp.cdb \
-c20 -u504 -g503 0 smtp \
/var/qmail/bin/qmail-smtpd 21  /dev/null 

Here are our qmail /etc/passwd entries
alias:x:503:503::/var/qmail/alias:/bin/bash
qmaild:x:504:503::/var/qmail:/bin/bash
qmaill:x:505:503::/var/qmail:/bin/bash
qmailp:x:506:503::/var/qmail:/bin/bash
qmailq:x:507:504::/var/qmail:/bin/bash
qmailr:x:508:504::/var/qmail:/bin/bash
qmails:x:509:504::/var/qmail:/bin/bash

modify the -u503 and -g503 to match your systems 
qmaild user id and group id



Re: having trouble w/ vQregister install

2001-03-09 Thread Ken Jones



Right, it calls qmail-remote directly.

Michael23, I think it's working. You just didn't configure vqregister
correctly ;]

I received about 10 vqregister emails today with Michael in most of
the names. It was sent to the default address at inter7.com ;]

Check over your configuration and files.

Ken Jones

Frank Precissi wrote:
 
 I had the same problem.  I think the scripts calls the qmail-remote
 script (since it sends the conformation e-mails to outside e-mail
 servers, but not to any domains locally hosted on the machine) instead
 of injecting straight into the queue.
 
 Just a guess.. :)
 
 Frank
 
 Michael23 wrote:
 
  Hello...
  I'm running:
  --
  qmail-1.03
  sqwebmail-1.2.4
  qmailadmin-0.42
  vpopmail-4.9.8
  
  and I'm trying to install vQregister..
  The software installs ok...
  the mail accounts are created...
  I can see them in qmailadmin...
  the only thing is, it is not sending out the e-mail confirmations...
  I have Verify on in the config file...
 
  I'm pretty new to qmail in general...
  am I missing something?
 
  after registering I get the basic confirmation screen...
  but no e-mail is sent.
 
  Any ideas...
 
  Thanks,
  [EMAIL PROTECTED]
 
 
 
 
 



Re: crontab for clearopensmtp

2001-03-09 Thread Ken Jones

Rick Yu wrote:
 
 Hi,
   I'm using qmail and vpopmail now,my /etc/tcp.smtp is
 
127.:allow, RELAYCLIENT=""
 
   only local user can post mail,
 
   and I configure vpopmail is with --enable-roaming-users=y.
 
   after get mail, I can sendmail now.
 
   I want to know if I should add clearopensmtp to my crontab manualy, or the program 
it self will call it automatically.
 
   Thanks.
 
 
 
 Rick Yu
 [EMAIL PROTECTED]

Follow the INSTALL directions.

5. Setup crontab for --enable-roaming-users=y (default is disabled)
Add a line to roots crontab
$ su
# crontab -e

add a line like the following:

40 * * * * /home-dir-of-vpopmail/bin/clearopensmtp 21 
/dev/null

replace "home-dir-of-vpopmail" with the home directory of
vpopmail user. 
To find the home dir of vpopmail:
grep vpopmail /etc/passwd
pick out the entry for the home dir

vpopmail:x:502:502::/home/vpopmail:/bin/bash

You have to set it up manually. It is not setup automatically.

Ken



Use user instead of user%dominio

2001-03-09 Thread SRE Puebla

Hi all

Now , i'm working with
qmail-1.03
vpopmail-4.9.8-1
qmailadmin-0.42
sqwebmail-1.2.5

thank all for you help
But i want users don't need to authenticate with usr%dominio, i want
them use only user.
I read FAQ, and i have to use ./configure --enable-ip-alias-domains=y

My complete line to configure vpopmail is
./configure --enable-loggin=y --enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw
--enable-default-domain=webcorreo.sicomnet.edu.mx
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
--enable-ip-alias-domains=y --enable-roaming-users=y

Further, i'm using ip aliases for virtual machines, so i'm using an IP
address per domain, also
i've configured my dns. For example i have the domain sre.pue.gob.mx
when i ask to nslookup
with
nslookup -q=mx sre.pue.gob.mx   i got10.21.1.242
when i ask to nslookup for 10.21.1.242  i got sre.pue.gob.mx
i think this is correct, but users need to authenticate user%domain

Where is the problem?
thanks in advance





Re: dir_control question...

2001-03-09 Thread Chris Scheller

  so this has to be run manualy on all domains the server hosts?
 Yes.
ok so perl script to loop through domains then :)

 It only comes into effect when adding new users.
ok, thanks for info.

Chris Scheller
Network One Internet, inc.
http://www.networkone.net/
System/Network Administration
1.888.GOT.NET1




Re: dir_control question...

2001-03-09 Thread Chris Scheller

 vcdir.c  - source code for new vcdir program

 usage: vcdir "domain name"
so this has to be run manualy on all domains the server hosts? the new code
will ignore the files, is this correct? and just to make sure i understand,
the dir_control has no effect on delivering and or reading mail, on comes
into play when adding domains/users?



 vcdir reads in a domain's .dir_control file then writes it into
 the new mysql dir_control table.

 This provides a clean upgrade path to the new dir_control table
 method in the mysql module.

 Ken Jones


Chris Scheller
Network One Internet, inc.
http://www.networkone.net/
System/Network Administration
1.888.GOT.NET1




Re: Use user instead of user%dominio

2001-03-09 Thread Ken Jones

SRE Puebla wrote:
 
 Hi all
 
 Now , i'm working with
 qmail-1.03
 vpopmail-4.9.8-1
 qmailadmin-0.42
 sqwebmail-1.2.5
 
 thank all for you help
 But i want users don't need to authenticate with usr%dominio, i want
 them use only user.
 I read FAQ, and i have to use ./configure --enable-ip-alias-domains=y
 
 My complete line to configure vpopmail is
 ./configure --enable-loggin=y --enable-vpopuser=vpopmail
 --enable-vpopgroup=vchkpw
 --enable-default-domain=webcorreo.sicomnet.edu.mx
 --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
 --enable-ip-alias-domains=y --enable-roaming-users=y
 
 Further, i'm using ip aliases for virtual machines, so i'm using an IP
 address per domain, also
 i've configured my dns. For example i have the domain sre.pue.gob.mx
 when i ask to nslookup
 with
 nslookup -q=mx sre.pue.gob.mx   i got10.21.1.242
 when i ask to nslookup for 10.21.1.242  i got sre.pue.gob.mx
 i think this is correct, but users need to authenticate user%domain
 
 Where is the problem?
 thanks in advance

vpopmail-4.9.8 doesn't rely on reverse DNS anymore. It uses
a IP -- domain mapping file. Use the vipmap program to
administer this file.

For example;

vipmap -a 1.2.3.4 domain1.com

Wiil add a new mapping of 1.2.3.4 to domain1.com

vipmap -p
will print out the current mapping.

Ken Jones



Re: dir_control question...

2001-03-09 Thread Ken Jones

Chris Scheller wrote:
 
  vcdir.c  - source code for new vcdir program
 
  usage: vcdir "domain name"
 so this has to be run manualy on all domains the server hosts? 

Yes.

 the new code
 will ignore the files, is this correct? 

Yes. It will act like you started a new set of users. Things will
still work correctly. Instead of 100 users per directory you will
get 200 users per directory for the directories that were already
created.

 and just to make sure i understand,
 the dir_control has no effect on delivering and or reading mail, on comes
 into play when adding domains/users?

It only comes into effect when adding new users.

Ken
 
 
  vcdir reads in a domain's .dir_control file then writes it into
  the new mysql dir_control table.
 
  This provides a clean upgrade path to the new dir_control table
  method in the mysql module.
 
  Ken Jones
 
 
 Chris Scheller
 Network One Internet, inc.
 http://www.networkone.net/
 System/Network Administration
 1.888.GOT.NET1



Trying to use qmail on CODA? Read this

2001-03-09 Thread Andrea Cerrito

Hi to all

I'm sending this mail to prevent nightmares to all users trying to use CODA
and qmail together.

qmail use a cool way to copy files between dirs (link() function) unallowed
on CodaFS. So, the first thing is to modify qmail, with qmail-coda.patch.

But if you are using Vpopmail too (http://www.inter7.com/vpopmail/), well
your nightmares aren't gone away: vpopmail (before 4.9.9, develop as the
time of this mail) uses the same function as qmail, so the problem will
persist.

You have two choices: (preferred) use the new version of vpopmail,
(deferred) use vpopmail-coda.patch
(note: the patch remove link() function and new vpopmail integrate a check
to see if hardlinks are allowed - if not, rename will be used: of course,
last choice is to be preferred).

I hope it helps and thanks to all people around making these great
softwares.

References:
1) Jan Harkes speaks about link() and coda =
http://www.coda.cs.cmu.edu/maillists/codalist-2000/0719.html
2) Me and Ken Jones speaking about vdelivermail.c =
http://www.mail-archive.com/vchkpw%40inter7.com/msg03255.html
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni SpA
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372

 vpopmail-coda.patch
 qmail-coda.patch


Using pop to get email from sqwebmail

2001-03-09 Thread Lee Lewis

Can anyone tell me why pop does not respond in SQwebmail and what to check
for?
When you use webmail everything is great.
But try and get your email from outside you get the below.

Unable to connect to server.(account: 'domain.com'POP3 Server:
'domain.com', Error Number 0x800ccc0e)

This is starting to happen alot.
I can't figure it out.
Please, Please, Please Help.




Re: Using pop to get email from sqwebmail

2001-03-09 Thread Dan Phoenix



Have i been smoking drugs to much or you?
Since when does sqwebmail port 80 http have to do with port 110?



On Fri, 9 Mar 2001, Lee Lewis wrote:

 Date: Fri, 9 Mar 2001 17:23:03 -0500
 From: Lee Lewis [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Using pop to get email from sqwebmail
 
 Can anyone tell me why pop does not respond in SQwebmail and what to check
 for?
 When you use webmail everything is great.
 But try and get your email from outside you get the below.
 
 Unable to connect to server.(account: 'domain.com'POP3 Server:
 'domain.com', Error Number 0x800ccc0e)
 
 This is starting to happen alot.
 I can't figure it out.
 Please, Please, Please Help.
 




RE: Using pop to get email from sqwebmail

2001-03-09 Thread Tim Hunter

sqwebmail does not use pop, it is strictly a web based email server.

you are quite confused.

-Original Message-
From: Lee Lewis [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 5:23 PM
To: [EMAIL PROTECTED]
Subject: Using pop to get email from sqwebmail


Can anyone tell me why pop does not respond in SQwebmail and what to check
for?
When you use webmail everything is great.
But try and get your email from outside you get the below.

Unable to connect to server.(account: 'domain.com'POP3 Server:
'domain.com', Error Number 0x800ccc0e)

This is starting to happen alot.
I can't figure it out.
Please, Please, Please Help.





RE: Using pop to get email from sqwebmail

2001-03-09 Thread Lee Lewis

Dan,
You did not have to bash me.
Was you ever new?
I am very sorry if I used the wrong list.
Still new to this.
Don't they both work together somehow or another?


-Original Message-
From: Dan Phoenix [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 5:21 PM
To: Lee Lewis
Cc: [EMAIL PROTECTED]
Subject: Re: Using pop to get email from sqwebmail

Have i been smoking drugs to much or you?
Since when does sqwebmail port 80 http have to do with port 110?



On Fri, 9 Mar 2001, Lee Lewis wrote:

 Date: Fri, 9 Mar 2001 17:23:03 -0500
 From: Lee Lewis [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Using pop to get email from sqwebmail

 Can anyone tell me why pop does not respond in SQwebmail and what to check
 for?
 When you use webmail everything is great.
 But try and get your email from outside you get the below.

 Unable to connect to server.(account: 'domain.com'POP3 Server:
 'domain.com', Error Number 0x800ccc0e)

 This is starting to happen alot.
 I can't figure it out.
 Please, Please, Please Help.






Re: Using pop to get email from sqwebmail

2001-03-09 Thread Daniel Hardaker

 Dan,
 You did not have to bash me.
 Was you ever new?
 I am very sorry if I used the wrong list.
 Still new to this.
 Don't they both work together somehow or another?

Dont worry about this Lee, after a while you learn to ignore him and his
abusive comments, he does it to everyone including the coders, its not just
you ;)

Regards to your problem, send us as much detail as you can, send us the
startup script (line) that you are using to start your POP3 service.  Does
anything happen immedately before the service goes down?  Any unusual CPU
usage?  Any crontab jobs etc?  Does it come back up itself?  How long is it
down for?

The more you can tell us, the better answer you will get, stick with it, its
worth it evantually ;)






Limiting amount of email addresses a user can send an email to

2001-03-09 Thread Leonardo Magallon

Hey guys,
   how can I set limits so my users can only send to as many as X number of
people per email they compose?

Regards,

Leo.




RE: Using pop to get email from sqwebmail

2001-03-09 Thread Lee Lewis

That is the problem.
You can't catch it when it happens.
Nothing out of the ordinary, except I did find a webmail.cgi script in a
users dir.
I am kinda questioning that.
Brock has just informed me that entire problem is dns related, it isn't
qmail related.
Without dns, qmail won't work.
The reverse delegation is the problem. The server is able to look up the
reverse delegation as it is.
But.. the dns service crashes occassionally.
But I say nothing is affected except Pop.
Everything else runs smooth.
as far as cron analog is running and checkservice when accessed..
I guess I am on wrong list?? but seemed so right.
Sorry to bother you all.
Anyone recommend a good admin Redhat Linux Book and DNS???.
Thanks.


-Original Message-
From: Daniel Hardaker [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 6:21 PM
To: Lee Lewis
Cc: [EMAIL PROTECTED]
Subject: Re: Using pop to get email from sqwebmail


 Dan,
 You did not have to bash me.
 Was you ever new?
 I am very sorry if I used the wrong list.
 Still new to this.
 Don't they both work together somehow or another?

Dont worry about this Lee, after a while you learn to ignore him and his
abusive comments, he does it to everyone including the coders, its not just
you ;)

Regards to your problem, send us as much detail as you can, send us the
startup script (line) that you are using to start your POP3 service.  Does
anything happen immedately before the service goes down?  Any unusual CPU
usage?  Any crontab jobs etc?  Does it come back up itself?  How long is it
down for?

The more you can tell us, the better answer you will get, stick with it, its
worth it evantually ;)







Re: Using pop to get email from sqwebmail

2001-03-09 Thread Daniel Hardaker

 Anyone recommend a good admin Redhat Linux Book and DNS???.
 Thanks.


As for DNS, id recommend the O'Reilly DNS and BIND book. Although its based
on V8 (at the moment) and most people now use V9 due to a security problem,
the ideas are the same.  If you need a real quick fix to it, try installing
webmin (www.webmin.com) or if youre stuck on that,  I can probably help you
if you email me i'll write you some instructions on getting a quick  reverse
DNS running.

Id recommend you dont buy a redhat linux book, it wont help you much, just
buy books for individual software, as you will find the more experienced
with redhat you get, the more need you will feel to change it ;)





Vpopmail-4.9.8-1 and Ezmlm-IDX 0.53

2001-03-09 Thread David Crawshaw

Hi everyone, I was sort of hoping someone here could help me.

I have a Qmail Server running with Vpopmail-4.9.8-1, and it works well. I
can use the vadduser and vadddomain to create users, and I can pick up mail
over pop and smtp is working well, after a bit of playing around.

Now I've installed ezmlm-idx 0.53 on my system, and all seems good. I run
the ezmlm-make like this:

ezmlm-make /home/vpopmail/domains/domainname/listname \
/home/vpopmail/domains/domainname/.qmail-listname \
listname domainname

And the command runs without problem, and adds the directory and a whole lot
of stuff in it. I then run:

ezmlm-sub /home/vpopmail/domains/domainname/listname \
[EMAIL PROTECTED]

To check, I run:

ezmlm-list /home/vpopmail/domains/domainname/listname

and my e-mail address is returned. So then I go to my workstation and send
an e-mail from that address to listname@domainname. And that is that
last I see of the e-mail. Never again. :-S

I went looking through some files, and found a command in the .qmail file
that says ezmlm-send /home/vpopmail/domains/domainname/listname. I
figured I'd give it a go and run it myself, and it just sits there, as if
it's working, but it's not doing anything. Eventually, I have to Ctrl+C out.

Can anyone help me out with this? I'm really stuck here.

-
David




Re: Limiting amount of email addresses a user can send an email to

2001-03-09 Thread Bill Shupp

on 3/9/01 6:17 PM, Leonardo Magallon at [EMAIL PROTECTED] wrote:

 Hey guys,
 how can I set limits so my users can only send to as many as X number of
 people per email they compose?

This is an smtp related question, not pop.  You might try on the qmail list.

-Bill