[vchkpw] vpopmail

2003-07-29 Thread Cvetan Simeonov
Hi,

Is there an archives for this mailing list, to see them and to save over
again questions?

Regards,
Cvetan Simeonov
--
Sitem Ltd.
Veliko Tarnovo 5000, P.O.B.409
BULGARIA
phone: +359-62-620115
fax:   +359-62-623891




Re: [vchkpw] Conversion to mysql...

2003-07-29 Thread Evren Yurtesen
are you using cdb? there is a program coming vpopmail to convert from cdb
to anything almost.
Evren

On Mon, 28 Jul 2003, Harry Zink wrote:

 
 I've been running a small mail server with qmail + vpopmail + qmailadmin for
 a couple of years now. Great little toast.
 
 I am currently in the process of an upgrade of the system, and have decided
 to upgrade to qmail-toaster (www.qmailtoaster.com), which supports mysql.
 
 How do I convert my existing accounts over to the ones handled under mysql?
 IOW, how do I convert to mysql?
 
 Any tools or tips for that endeavor?
 
 
 Harry
 
 
 




[vchkpw] RE : [vchkpw] vpopmail

2003-07-29 Thread Rodriguez Pierre
From : Cvetan Simeonov

Hi, 

 Is there an archives for this mailing list, to see them and to save over
again questions?

Have a look here : http://bluedot.net/mail/archive/list.php?f=2

Regards, 

Pierre Rodriguez 
Conseil Général de Lot et Garonne
47000  Agen 
France



Re: [vchkpw] RE : [vchkpw] vpopmail

2003-07-29 Thread Michael Bowe

 Is there an archives for this mailing list, to see them and 
 to save over again questions?
 
 Have a look here : http://bluedot.net/mail/archive/list.php?f=2


That archive appears to be broken
The posts stored on that archive stop as of March 2003

Michael.



[vchkpw] routing of outgoing messages

2003-07-29 Thread Rudi Ahlers
Hi again

I hope someone can shed some light on this topic. I have an ISDN dailup
connection, with a FBDS + qmail + vpopmail + mysql box on my LAN. When I
send emails to local users, all is fine. But, when I send email to
www.webmail.co.za, I get the following message:

Knocky qmail: 1059263981.990167 delivery 7: deferral:
Connected_to_196.35.40.11_but_greeting_failed./Remote_ho
st_said:_553_Your_IP_address_196.22.188.100_is_blackholed_by_dnsbl.njabl.org
._/

My internal LAN is on the 192.168.0.0 IP range, and I send email to my
server (192.168.0.250), which then directly sends it out on the net.
Is there a way to deliver local mail locally, and all other mail to my
upstream ISP?
As per the FAQ, I have to add my upstream mail server address, and then
disable local delivery (hash it out in /etc/inetd), but then it doesn't run
at all.

Any ideas?



Kind Regards
Rudi Ahlers
Océ Software Support
+27 (11) 661-9000

The basic difference between an ordinary man and a warrior is that a
warrior takes everything as a challenge while an ordinary man takes
everything either as a blessing or a curse.






Re: [vchkpw] vpopmail

2003-07-29 Thread J. Kendzorra
Cvetan Simeonov:
 Is there an archives for this mailing list, to see them and to save
 over again questions?

Try this one: http://marc.theaimsgroup.com/?l=vchkpwr=1w=2
Juergen




Re: [vchkpw] Re: error:domain already exsits

2003-07-29 Thread lixiang
hi,Jens:

 i don't want to change qmail-pop3d to courier-pop3d because i want to ensure the 
combination of qmail+vpopmail feasible.
BTW, even i start the slapd with the  -s  debug  parameters, i cann't find any 
information in the syslog ( /var/log/message.*) ..




- Original Message - 
From: Jens Jahr [EMAIL PROTECTED]
To: lixiang [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 27, 2003 8:12 PM
Subject: Re: [vchkpw] Re: error:domain already exsits


 Zitat von lixiang [EMAIL PROTECTED]:
 
 Hi lixiang,
 
i  removed the cdb file, then  the problem is solved. thank you . :-)
then , everything seems normal, except the pop authentication.  if i
 
 Fine ;-)
 
  telnet localhost 110, and input the correct username and password, it
  reports:
err aack, child crashed.
  
  
 
 OK, I use courier pop3d which works fine, so you might try this one.
 One very important parameter is to tell courier to do vchkpw - - auth
 
 AUTHMODULES=authcustom authvchkpw
 
 
 So add this line to your courier-pop3d conf-file than it should work.
 
 If this doesn't help, have a look at you syslog if there is any LDAP-query and 
 what is the result. So please post your syslog when this error occurs !
 
 Cheers
 Jens
 
 
 P.S:
 @LIST OK, next time I will post patches to SF, sorry for that mistake ;-) 
 


[vchkpw] Domain Limits

2003-07-29 Thread Clayton Milos
I am running a mail serer and i enabled domain quotas. I would like to know
how to set the quotas for each domain.

This is what i get in my maillogs currently

Jul 29 11:02:03 server qmail: 1059469323.287333 delivery 972: success:
vmysql:_can't_find_limits_for_domain_'theinnovationfactory.co.za',_using_def
aults./address:_/usr/local/vpopmail/domains/theinnovationfactory.co.za/clay/
Maildir//quota:_1073741824/did_0+0+1/


Thanks guys

Clay




Re: [vchkpw] Domain Limits

2003-07-29 Thread John Simpson
On Tuesday 29 July 2003 05:11, Clayton Milos wrote:
 I am running a mail serer and i enabled domain quotas. I would like to
 know how to set the quotas for each domain.

it never fails to amaze me how many people don't bother to read the 
documentation that comes with the software...

first read http://catb.org/~esr/faqs/smart-questions.html

then read the file README.quotas in the source.

-- 
---
| John Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/[EMAIL PROTECTED] |
---


pgp0.pgp
Description: signature


[vchkpw] tcpserver: fatal: unable to bind: address already used

2003-07-29 Thread Javier

Hi

I've installed qmail following Lfe with qmail and vpopmail with the
scripts that allow roaming users to use our smtp server without opening
  the machine up to everyone on the internet.

Now I've the subject error. I guess it's produced because qmail
supervise is running from the original Life with qmail configuration.

How could avoid supervise to start or how could I use FAQ scripts with
supervise to avoid to receive subject error in
/var/qmail/log/smtpd/current and pop3d/current ?

Thanks in advance !

jl






Re: [vchkpw] Re: error:domain already exsits

2003-07-29 Thread Jens Jahr
Zitat von lixiang [EMAIL PROTECTED]:

  i don't want to change qmail-pop3d to courier-pop3d because i want to
 ensure the combination of qmail+vpopmail feasible.
 BTW, even i start the slapd with the  -s  debug  parameters, i cann't
 find any information in the syslog ( /var/log/message.*)
 ..
 

Hi lixiang,

so it is probably not an LDAP-issue but an qmail-pop3d issue.
So check if the qmail-pop3d-user is able to execute LINK_TO/vchkpw.

Check if the start-up of qmail-pop3d is set up properly.
( from inetd )

It should be : ( in a single line )

--- snip 
pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup 
YOUR_FQDN_OF_POP_HOST /home/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir
--- snap

Cheers
Jens








[vchkpw] Telenet 110: NOooooooooooooooo

2003-07-29 Thread eslatino
I have some dificulties with vpopmail (or qmail perhaps):

1. I cutpaste
# /var/qmail/bin/qmail-popup serlocal.casa qmail-pop3d
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass jotaka
-ERR unable to write pipe
[EMAIL PROTECTED] root]#

I've checked the script /var/qmail/supervise/pop3d/run and permissions but I
don't find the cause.

2. I can't tlenet 192.168.1.1 110 from remote, but I can in local. I can
connect by telnet to 192.168.1.1 on port 25 (SMTP). So, I can send message
by I can't download message.

The logs does'nt show any error. That's my pop3d log

[EMAIL PROTECTED] qmail-pop3d]# tail -f current
@40003f2573370c6a8cfc tcpserver: pid 16199 from 127.0.0.1
@40003f2573370c75fac4 tcpserver: ok 16199 localhost:127.0.0.1:110
:127.0.0.1::32777
@40003f25735a16cc3c2c tcpserver: end 16199 status 256
@40003f25735a16cc539c tcpserver: status: 0/100
@40003f2587ce2d7ef324 tcpserver: status: 1/100
@40003f2587ce2d7f06ac tcpserver: pid 16422 from 192.168.1.1
@40003f2587ce2d959804 tcpserver: ok 16422
mail.serlocal.casa:192.168.1.1:110 :192.168.1.1::32778
@40003f2587d406b19d8c tcpserver: end 16422 status 256
@40003f2587d406b1b114 tcpserver: status: 0/100
@40003f2633153312bec4 tcpserver: status: 0/100

It doesn't change when I try telnet from remote, but it do when I do telenet
from local.

I supose this both problems are related, but I'm not sure.

Configuration:
Server: Linux Red Hat 9 in a AMD 1300, 512 Mb RAM, IDE 40 Gb. Apache. SSH.
vsFTP
Remote: Windos XP.
(192.168.1.1 is my mail IP in serlocal.casa server)

Linux is not connected internet, only to the windows machine (this one is
connected to internet by ADSL and to the Linux server by ethernet).

Please, I'm becoming silly with this problem... : )








[vchkpw] Merging maildrop and mailbot into vdelivermail

2003-07-29 Thread Gerald Villemure
- Original Message - 
From: spork [EMAIL PROTECTED]

 When the next devel cycle happens, I think it would be worthwhile to
look
 at turning vpopmail into a fully db-backed delivery agent.  Some goals
 that that would help accomplish are:

 -easy development of a web frontend in any language that can talk SQL
 -easy integration with other web products, such as squirrelmail
 -ability to use vpopmail with other MTAs
 -easy integration with many billing backends
 -more efficiency; instead of having to read upwards of five files for
 every delivery and executing as many programs, one db call and one
call
 to a filteing program.

 It seems to me that vdelivermail is very close to being able to do
this.

Hmmm interesting... vdelivermail could stop trying to use .qmail files
altogether and simply rely totaly on SQL.

One way to do this would be to merge maildrop's filtering laguage and
mailbot's autoresponder functionalty into vdelivermail.  Perhaps
something like a sub-module.

The point here is that vdelivermail would read ALL the settings from SQL
and take care of everything right down to dropping the mail in the
Maildir.

Well that would take care of our SETUID problems.

My 2 cents,
Gérald




Re: [vchkpw] tcpserver: fatal: unable to bind: address already used

2003-07-29 Thread Rudi Ahlers
Have you checked your /etc/inetd for anything starting with SMTP? Hash it
out, and restart inetd. That will probably solve the tcpserver: fatal:
unable to bind: address already used, if you have an SMTP server running
from there. Else, kill sendmail / postfix / exim if it apprears in ps ax
Regarding your second question, depending on the platform used, you can cp
/var/qmail/bin/maildir /var/qmail/rc  /var/qmail/rc start
Goto /var/qmaill/docs/ and checkout the README.* files, to see which file
from /var/qmail/bin you want to use.

- Original Message -
From: Javier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 11:42 AM
Subject: [vchkpw] tcpserver: fatal: unable to bind: address already used



Hi

I've installed qmail following Lfe with qmail and vpopmail with the
scripts that allow roaming users to use our smtp server without opening
  the machine up to everyone on the internet.

Now I've the subject error. I guess it's produced because qmail
supervise is running from the original Life with qmail configuration.

How could avoid supervise to start or how could I use FAQ scripts with
supervise to avoid to receive subject error in
/var/qmail/log/smtpd/current and pop3d/current ?

Thanks in advance !

jl











Re: [vchkpw] Telenet 110: NOooooooooooooooo

2003-07-29 Thread Tiago N. Sampaio
do you have firewall in this machine?

It´s possible, because your firewall is blocking any tcp packtes comming
from
the LAN, but not from the same.

Its only a kick..

Hugs.

--
Tiago N. Sampaio
Bauru/São Paulo/Brazil
[EMAIL PROTECTED]
(14) 9715-0222

- Original Message -
From: eslatino [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 6:59 AM
Subject: [vchkpw] Telenet 110: NOooo


 I have some dificulties with vpopmail (or qmail perhaps):

 1. I cutpaste
 # /var/qmail/bin/qmail-popup serlocal.casa qmail-pop3d
 +OK [EMAIL PROTECTED]
 user [EMAIL PROTECTED]
 +OK
 pass jotaka
 -ERR unable to write pipe
 [EMAIL PROTECTED] root]#

 I've checked the script /var/qmail/supervise/pop3d/run and permissions
but I
 don't find the cause.

 2. I can't tlenet 192.168.1.1 110 from remote, but I can in local. I
can
 connect by telnet to 192.168.1.1 on port 25 (SMTP). So, I can send
message
 by I can't download message.

 The logs does'nt show any error. That's my pop3d log

 [EMAIL PROTECTED] qmail-pop3d]# tail -f current
 @40003f2573370c6a8cfc tcpserver: pid 16199 from 127.0.0.1
 @40003f2573370c75fac4 tcpserver: ok 16199 localhost:127.0.0.1:110
 :127.0.0.1::32777
 @40003f25735a16cc3c2c tcpserver: end 16199 status 256
 @40003f25735a16cc539c tcpserver: status: 0/100
 @40003f2587ce2d7ef324 tcpserver: status: 1/100
 @40003f2587ce2d7f06ac tcpserver: pid 16422 from 192.168.1.1
 @40003f2587ce2d959804 tcpserver: ok 16422
 mail.serlocal.casa:192.168.1.1:110 :192.168.1.1::32778
 @40003f2587d406b19d8c tcpserver: end 16422 status 256
 @40003f2587d406b1b114 tcpserver: status: 0/100
 @40003f2633153312bec4 tcpserver: status: 0/100

 It doesn't change when I try telnet from remote, but it do when I do
telenet
 from local.

 I supose this both problems are related, but I'm not sure.

 Configuration:
 Server: Linux Red Hat 9 in a AMD 1300, 512 Mb RAM, IDE 40 Gb. Apache.
SSH.
 vsFTP
 Remote: Windos XP.
 (192.168.1.1 is my mail IP in serlocal.casa server)

 Linux is not connected internet, only to the windows machine (this one
is
 connected to internet by ADSL and to the Linux server by ethernet).

 Please, I'm becoming silly with this problem... : )











[vchkpw] sendmail2vpopmail v0.0.4 :)

2003-07-29 Thread Evren Yurtesen
Well to people who put this script to their homepages or something.
There was a little bug about if the virtual user names are with capital
letters, the script was creating forward files with capital letters also
and this confuses qmailadmin etc.

Evren
#!/usr/bin/perl

# USE AT YOUR OWN RISK!!! Sendmail2Vpopmail.pl v0.0.1  Date:21.07.2003
#
# v0.0.2* Fixed the bug in chmod/chown not working and default forwards
# limit not assigned.
# v0.0.3* Fixed the bug of creating aliases/forwards with . inside
# v0.0.4* Fixed the bug of creating aliases/forwards with capital letters
#
# This script should convert sendmail users including users from virtusertable
# files to vpopmail. It only works for vpopmail installations which DOES NOT
# utilize LARGE_SITE. Although it would be trivial to include large site support.
# Script also can read the system quota limits for the directory where the mail
# of users is located and transfer it to vpopmail system
#
# FEATURES
#
# * Supports converting system quotas
# * Supports setting a minimum quota for users with or without quota
# * Supports setting a default quota if system quota is not used
#   or if a user doesnt have system quota
# * Supports virtusertable file
# * Supports setting QmailAdmin and vQadmin limits
# * Supports system traditional system mail spool directory or
#   if the mail is stored in user directory.
# * Supports processing of password file for a default domain name
#   for the users which do not exist in virtusertable
# * Suports creating aliases or forwards from virtusertable file for
#   users whouse virtual username is not same with system username
# * Supports putting all users to default domain without processing
#   virtusertable file
# * Supports creating duplicate accounts in default domain for the 
#   users already processed in virtusertable file
# * Supports processing of alias file
# * Works with DES or MD5 passwords on FreeBSD
#
# TODO
#
# * Script could log its actions...
# * LARGE_SITE support...
# * Script could support aliases file better...
# * Cleaning variables!
#
# BUGS
#
# * There is no simple way to know (at least for me) the domain's directory
#   path in vpopmail system. This script is just assuming that since postmaster
#   is the first account to be created, it must be in the domain's first
#   level. Then extracts one directory and finds the domain directory.
# * If a username is aliased to aliased alias then this wont work.
#   If somebody knows how to fix this then please contact me!
# * Too many variables used...
# * If a username is under multiple virtual domains, then it wont be
#   created for the other domains. (unless duplicate is selected?)
#
# For any comments or if you add new features, please contact with me.
# Evren Yurtesen [EMAIL PROTECTED]
#
# I have tested this script on a FreeBSD system with about 1 users with
# quotas and the mail files stored on user directories. The rest is untested!
# So if you have any experiences please write!


#there is no doubt these modules MUST be installed in your system! :)
use DBI;
use Quota;

# debuglevel: increase the number for more and more messages
# currently only 0-10-20 levels exist
$DEBUG=0;
#waiting time after a debug message
$SLEEPTIME=1;

#system alias file
#if an empty file is given then it will be ignored
#(/dev/null would suffice perhaps)
#it is needed if you have been using alias file in
#conjunction with virtusertable file. For example
#if you have this in your virtusertable file
[EMAIL PROTECTED]abc
#and in your alias file
#abc:   abc1,abc2,abc3
$ALIASFILE=/etc/aliases;
#$ALIASFILE=/dev/null;

#system virtusertable file
#if an empty file is given then all users in password file 
#will be added to defaultdomain (/dev/null would suffice)
$VIRTFILE=virtusertable;
#$VIRTFILE=/dev/null;

#do you want to create all users in password file, also in the
#default domain? even if they were previously created because
#they exist in virtusertable file? if set to 1 then duplicates
#will be created
$DUPLICATE=0;

#FreeBSD password file (might work for Linux shadow?)a
$PASSFILE=/etc/master.passwd;

#do you want to use system quota? if enabled then the script
#will find the hard limit of the user.
#the inode limit is not processed!
#to disable, set to 0
$SYSTEMQUOTA=1;

#default quota for all moved users (in bytes) or if SYSTEMQUOTA
#is set, then this effects the users who doesnt have quota if
#DEFAULTQUOTA is set to 0 then the users wont have quota if
#SYSTEMQUOTA is also disabled. If SYSTEMQUOTA is enabled then the
#users who doesnt have system quotas will not have quota
$DEFAULTQUOTA=1000S;

#well considering the hard drive technology is advancing quite fast,
#you might want to increase the minimum quota for your users.
#lets say if they have a quota of 6000kbyte then you can increase
#it to 1kbyte if MINQUOTA is set to 1.
#if the user has 12000kbyte then it wont effect anything
#if set to 0 then 

[vchkpw] About ssh

2003-07-29 Thread eslatino



While tring to fix a pop3 problem I made a X11 
forward

ssh -L 1100:mail.mydom.edu:110 
mail.mydom.edu

To forward port 
110 throug a secure 22 port (thats to try a SSH pop3)How can I eliminate 
this X11 forward?
I Know it write 
in $HOME/..ssh/known_hosts and I think it recongureiptables, but I don't 
know if it modify any other file.Please, 
help


[vchkpw] Telnet fixed

2003-07-29 Thread eslatino



Whwn I stopped iptables I could connect with telnet 
via port 110. 
Now the problem is toadd the 
apropiatepop3 rule Any idea?

Thnks




[vchkpw] Re: Telnet fixed

2003-07-29 Thread Sérgio Manuel Rosa
eslatino writes: 

Whwn I stopped iptables I could connect with telnet via port 110. 
Now the problem is to add the apropiate pop3 rule Any idea? 

Thnks 

Hi, 

if you're doing port forwarding with SourceNAT and Destination NAT you 
should put something like this in your FW rules (iptables ONLY) 

$IPTABLES -t nat -A PREROUTING -d YOUR PUB IP ADDRESS -p tcp --dport 110 
-j DNAT --to YOUR PRIVATE IP ADDRESS
$IPTABLES -t nat -A POSTROUTING -s YOUR PRIVATE IP ADDRESS -o eth0 -j SNAT 
--to YOUR PUB IP ADDRESS
$IPTABLES -A FORWARD -p tcp -i eth0 -o eth1 -d YOUR PRIVATE IP ADDRESS 
--dport 110 -j ACCEPT 

This assumes that your default rules are BLOCK ALL 

If you just want to let traffic in
$IPTABLES -A INPUT -i eth0 -p tcp -d YOUR PUBLIC IP --dport 110 -j ACCEPT 

Also dont forget the OUTPUT rules. You must allow STABLISHED and RELATED 
connections pass to your clients. 

Also, you can read the man iptables man pages. 

Best luck
srosa 





Re: [vchkpw] New architecture

2003-07-29 Thread Jesse Guardiani
On Monday 28 July 2003 20:05, Sérgio Manuel Rosa wrote:
 Hi List,

 I've got to build a new server. This server is going to hold a great number
 of users and a lot of traffic.

 My question is: should I use mySQL, ldap or none?

MySQL.  Without a doubt.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





[vchkpw] Re: New architecture

2003-07-29 Thread Sérgio Manuel Rosa
Jesse Guardiani writes: 

On Monday 28 July 2003 20:05, Sérgio Manuel Rosa wrote:
Hi List, 

I've got to build a new server. This server is going to hold a great number
of users and a lot of traffic. 

My question is: should I use mySQL, ldap or none?
MySQL.  Without a doubt.
Thanks Jesse,
I was guessing that... Well it's never late to learn new stuff. 

Regards
srosa
--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net 

 





[vchkpw] Authentication failed..

2003-07-29 Thread sebastian
Hi, I have an qmail/vpopmail/courierimap/sqwebmail-server. And, I have a problem.. 
I´m not really sure if it is about the vchkpw -program, but that´s my guess
The problem is, that if I start the imapserver, and/or the sqwebmailserver, the first 
minutes I can log in without any problems, or let´s say, the first time. But, when I 
try to login in again, with the same account or with another, authentication fails.. 
Whery strange. I uses plain-password style for authdaemond.plain for imap. For the 
local users /etc/passwd the problem inly apears sometimes. 
Please, help me! 

And, sorry for my bad english ;)



Re: [vchkpw] Merging maildrop and mailbot into vdelivermail

2003-07-29 Thread Tom Collins
On Tuesday, July 29, 2003, at 03:20  AM, Gerald Villemure wrote:
Hmmm interesting... vdelivermail could stop trying to use .qmail files
altogether and simply rely totaly on SQL.
This is the idea behind valiases.  valias support is high on the todo 
list for qmailadmin.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] Merging maildrop and mailbot into vdelivermail

2003-07-29 Thread Jesse Guardiani
On Tuesday 29 July 2003 11:39, Tom Collins wrote:
 On Tuesday, July 29, 2003, at 03:20  AM, Gerald Villemure wrote:
  Hmmm interesting... vdelivermail could stop trying to use .qmail files
  altogether and simply rely totaly on SQL.

 This is the idea behind valiases.  valias support is high on the todo
 list for qmailadmin.

Tom,

Will valiases support program delivery lines and such? If not, will valias
support work in a mixed environment alongside .qmail files?



 --
 Tom Collins
 [EMAIL PROTECTED]
 http://sniffter.com/ - info on the Sniffter hand-held Network Tester

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





Re: [vchkpw] routing of outgoing messages

2003-07-29 Thread Peter Palmreuther
Hi Rudi,

On Tue, 29 Jul 2003 09:44:51 +0200 Rudi Ahlers wrote:

 Is there a way to deliver local mail locally, and all other mail to my
 upstream ISP?

,--- [ man qmail-remote ]
| smtproutes
|  Artificial SMTP routes.
|  [...] smtproutes may include wildcards:
|
| .af.mil:
| :heaven.af.mil
|
|  Here any address ending with .af.mil (but not af.mil itself) is
|  routed by its MX records; any other address is  artificially  routed to
|  heaven.af.mil.
`---

Everything not in 'locals' and 'virtualdomains' will be looked up in
'smtproutes' for special remote delivery instructions.

So simply put

:my.isps.smtp.server.net

in /var/qmail/control/smtproutes and you should be done.
-- 
Ciao,
 Pit



Re: [vchkpw] Authentication failed..

2003-07-29 Thread Ajai Khattri
[EMAIL PROTECTED] wrote:

Hi, I have an qmail/vpopmail/courierimap/sqwebmail-server. And, I have a problem.. 
I?m not really sure if it is about the vchkpw -program, but that?s my guess
The problem is, that if I start the imapserver, and/or the sqwebmailserver, the first minutes I can log in without any problems, or let?s say, the first time. But, when I try to login in again, with the same account or with another, authentication fails.. Whery strange. I uses plain-password style for authdaemond.plain for imap. For the local users /etc/passwd the problem inly apears sometimes. 
 

I think this problem is with authdaemond?

Solution: Do not use authdaemond.

--
Aj.
Systems Administrator / Developer




Re: [vchkpw] Re: New architecture

2003-07-29 Thread Jens Jahr
Sérgio Manuel Rosa wrote:

Jesse Guardiani writes:

On Monday 28 July 2003 20:05, Sérgio Manuel Rosa wrote:

Hi List,
I've got to build a new server. This server is going to hold a great 
number
of users and a lot of traffic.
My question is: should I use mySQL, ldap or none?


MySQL.  Without a doubt.


Thanks Jesse,
I was guessing that... Well it's never late to learn new stuff.
Regards
srosa
Hi Jesse,

bevor you decide to choose mySQL make your mind clear about the 
follwoing things:

- are you able to replicate your database with mySQL ?
- are these tables tranactional based  in mySQL ?
- are you able to do __consistent__ online backups with mySQL ? ( dont 
bother me with any mysql-dump scripts ... or something like that ... )
- did you ever do a disaster recovery with mySQL ?
- are you able to extend/migrate you database with mySQL ?

so if you really plan to setup a huge server which has to fit these 
point... well, things twice ;-))
There are more database backend's , e.g. oracle with totally fulfill 
these points.
if you are not familiar with these point , than you should choose mySQL.

Cheers
Jens




[vchkpw] D-SPAM Integration into qmail/vpopmail?

2003-07-29 Thread Jens Gassmann
Hi,

someone use the DSPAM Tool from 
http://www.networkdweebs.com/software/dspam/ with qmail/vpopmail. This 
way looks nice, no administration, simply for the user, but powerful,

How to integrate it into my vpopmail/qmail installation?

Thanks und regards,

Jens








Re: [vchkpw] Authentication failed..

2003-07-29 Thread Doug Clements

- Original Message - 
From: Ajai Khattri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:55 AM
Subject: Re: [vchkpw] Authentication failed..


 [EMAIL PROTECTED] wrote:

 Hi, I have an qmail/vpopmail/courierimap/sqwebmail-server. And, I have a
problem..
 I?m not really sure if it is about the vchkpw -program, but that?s my
guess
 The problem is, that if I start the imapserver, and/or the
sqwebmailserver, the first minutes I can log in without any problems, or
let?s say, the first time. But, when I try to login in again, with the same
account or with another, authentication fails.. Whery strange. I uses
plain-password style for authdaemond.plain for imap. For the local users
/etc/passwd the problem inly apears sometimes.
 
 
 I think this problem is with authdaemond?

 Solution: Do not use authdaemond.

You think wrong. The problem is with vpopmail. See the archives, maybe it
will get fixed someday.

--Doug




[vchkpw] Autorespond problem AUTORESPOND:_too_many_received_from_

2003-07-29 Thread Ross Davis - DataAnywhere.net
I am getting this message in my logs and mail from some users is not
being delivered to the user with the autoresponder turned on. 
... AUTORESPOND:_too_many_received_from_...

We had to disable the autoresponder and then reenable it again in order
to get the mail to go through.  Anyone have anything to add to this.  Is
there a setting that I should be increasing?


Ross Davis
DataAnywhere.net
250-470-9192




[vchkpw] Re: Authentication failed..

2003-07-29 Thread sebastian
Doug Clements writes: 

- Original Message - 
From: Ajai Khattri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:55 AM
Subject: Re: [vchkpw] Authentication failed.. 


[EMAIL PROTECTED] wrote: 

Hi, I have an qmail/vpopmail/courierimap/sqwebmail-server. And, I have a
problem..
I?m not really sure if it is about the vchkpw -program, but that?s my
guess
The problem is, that if I start the imapserver, and/or the
sqwebmailserver, the first minutes I can log in without any problems, or
let?s say, the first time. But, when I try to login in again, with the same
account or with another, authentication fails.. Whery strange. I uses
plain-password style for authdaemond.plain for imap. For the local users
/etc/passwd the problem inly apears sometimes.


I think this problem is with authdaemond? 

Solution: Do not use authdaemond.
You think wrong. The problem is with vpopmail. See the archives, maybe it
will get fixed someday. 

--Doug 




Well, thanks, but how do I get the archives? I´m a new user on the list. 





Re: [vchkpw] Autorespond problem AUTORESPOND:_too_many_received_from_

2003-07-29 Thread Paul Theodoropoulos
Yes, recompile autorespond, and modify the source, as per the Notes 
section of the README file. For some reason, the default behavior is to 
have the mail stop being delivered once the maximum count is reached, which 
strikes me as quite simply bizarre. I can't think of a good reason to do 
that, but hey, the software's free so who can argue.

At 03:22 PM 7/29/2003, Ross Davis - DataAnywhere.net wrote:
I am getting this message in my logs and mail from some users is not
being delivered to the user with the autoresponder turned on.
... AUTORESPOND:_too_many_received_from_...
We had to disable the autoresponder and then reenable it again in order
to get the mail to go through.  Anyone have anything to add to this.  Is
there a setting that I should be increasing?
Ross Davis
DataAnywhere.net
250-470-9192
Paul Theodoropoulos
http://www.anastrophe.com




Re: [vchkpw] Re: Authentication failed..

2003-07-29 Thread Doug Clements

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 3:33 PM

 Well, thanks, but how do I get the archives? I´m a new user on the list.

http://bluedot.net/mail/archive/list.php?f=2, linked from
http://inter7.com/vpopmail.html

--Doug




[vchkpw] Conversion to mysql..?

2003-07-29 Thread Harry Zink


I'm converting an existing vpopmail / qmail installation to one using mysql.

Is there anything in particular I need to look out for, anything in
particular I need to do, and are there any tools to allow doing that?

Harry




Re: [vchkpw] Conversion to mysql..?

2003-07-29 Thread Rick Macdougall
Hi,

vconvert in the bin directory of vpopmail.

Regards,

Rick

Harry Zink wrote:

I'm converting an existing vpopmail / qmail installation to one using mysql.

Is there anything in particular I need to look out for, anything in
particular I need to do, and are there any tools to allow doing that?
Harry






Re: [vchkpw] Conversion to mysql..?

2003-07-29 Thread Rick Macdougall
Hi,

And btw, I don't do responses to TDMA or tdma type systems :)  So you'll 
have to get your answer from the list.

Regards,

Rick

Rick Macdougall wrote:

Hi,

vconvert in the bin directory of vpopmail.

Regards,

Rick

Harry Zink wrote:

I'm converting an existing vpopmail / qmail installation to one using 
mysql.

Is there anything in particular I need to look out for, anything in
particular I need to do, and are there any tools to allow doing that?
Harry







Re: [vchkpw] Conversion to mysql..?

2003-07-29 Thread Harry Zink
on 7/29/03 4:13 PM, Rick Macdougall at [EMAIL PROTECTED] wrote:

 And btw, I don't do responses to TDMA or tdma type systems :)  So you'll
 have to get your answer from the list.

No problems, and thanks for your response.

Just curious - why do you not 'do responses' to TMDA systems?

Harry




Re: [vchkpw] Conversion to mysql..?

2003-07-29 Thread Cream[DONut]
I have had catastrophic consequenses in the past by runnning vconvert 
without any options.. shouldnt even run ./vconvert --help (was 3 and 2 
years ago, and it lost alot of user login/passwords)

the command works, just be sure you use the right command from the start

and when you are done, then rename vconvert it to vconvert.DONT_RUN, and 
chmod to 000 (stupid as i was i had forgotten about the first incident, and 
just ran the file again, losing alot of accounts again.

(i think it defaults to converting cdb to mysql, thereby replacing the 
already existing domain in the database (well its 2+ years ago, and my 
memory about it isnt totally clear, just be carefull)

Kris
At 16:02 29-07-2003 -0700, you wrote:

I'm converting an existing vpopmail / qmail installation to one using mysql.

Is there anything in particular I need to look out for, anything in
particular I need to do, and are there any tools to allow doing that?
Harry
Cream[DONut] - www.donut.dk
www.nethouse2000.dk - admin



[vchkpw] Re: Vpopmail won't Authenticate

2003-07-29 Thread Walt
mailto:ben%20at%20dinointernet.com?subject=Vpopmail%20won%27t%20AuthenticateBen 
Watson  wrote:
Greetings All!
I have just setup qmail, vpopmail, sqwebmail, and all seems ok, except I 
cannot authenticate through POP. I have triple checked all settings, and 
am clueless.
I'm having exactly the same problem. Mail is
being delivered to users mailboxes and
everything, but they can't login. Also, it breaks
my non-virtual host logins, so I'm using a multiple
password checking feature for that to even work.
http://andreas.hanssen.name/software/multichkpwds.c

Thanks for any help!
Walt
-~

A pattern of reaction is the sum total of the ways we act in
response to events, to words and to symbols...in their more
obvious forms we call them prejudices.
S.I. Hayakawa 




Re: [vchkpw] OT TDMA Conversion to mysql..?

2003-07-29 Thread Rick Macdougall
Hi,

No time for one off mailings.  If you were a family member or something 
I might, otherwise I can't really be bothered.  As the webmaster, 
postmaster, dns, abuse, etc etc address I get too many emails already 
and asking me to respond to a one off mailing in response to a question 
someone asked just wastes my time.

I don't mean any offense and if it works for you, great, but I'm not 
going to jump through hoops to answer someone's question(s).

My personal experience is most admin's are like this, we just shrug it 
off and hit delete.  They want us to jump through hoops to answer, we 
just don't reply.

Just my $0.02, for what it's worth.

Oh, and I top post and I reply all :)  Come on Tony, Flame me :)

Regards,

Rick

Harry Zink wrote:
No problems, and thanks for your response.

Just curious - why do you not 'do responses' to TMDA systems?

Harry





Re: [vchkpw] OT TDMA Conversion to mysql..?

2003-07-29 Thread Harry Zink
on 7/29/03 4:48 PM, Rick Macdougall at [EMAIL PROTECTED] wrote:

 I don't mean any offense and if it works for you, great, but I'm not
 going to jump through hoops to answer someone's question(s).

Well, it does work for me rather well, except for (ironically) family
members who appear too dumb to read a message... But I'm sure we all have
those types.
 
 My personal experience is most admin's are like this, we just shrug it
 off and hit delete.  They want us to jump through hoops to answer, we
 just don't reply.

Well, being in the same boat, I simply set up a rule/filter which responds
to TMDA challenges with an automatic response, and files the
challenge/response/confirmation away. No interaction needed on my part, and
the lines of communication remain open. Very simple, really.

 Just my $0.02, for what it's worth.

No, thanks, I get the occasional negative response to TMDA (the vast
majority of respondents like it), so I'm always curious why, in fact,
certain folks dislike it.

Just as an aside - your response, by the way, confirmed that you have seen
and acknowledged the challenge, and responding to the challenge probably
took less than this thread :-)  Either way, I'm happy that you responded
publicly, as this is information that might help others as well.
 
 Oh, and I top post and I reply all :)  Come on Tony, Flame me :)

LOL! 'Reply All' is my favorite activity to family members that spam me with
junk/hoaxes -- just to berate them. One public humiliation is normally all
it takes to make those stop. Ah, if only it were that easy :-)

Thanks for your response,

Harry




[vchkpw] Re: vpopmail+qmail+ldap

2003-07-29 Thread lixiang
Hi,Jens,

   i installed the ucspi-tcp, so i start qmail-pop3 through tcpserver :

 --snip  (in a single line)
 exec /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup 
mailserver.koal.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21
--snap

   it was strange that why i couldn't find any information from syslog ( 
/var/log/message.*) ,  i start openldap with  slapd -s debug,   any suggestions?   
   thanks.



- Original Message - 
From: Jens Jahr [EMAIL PROTECTED]
To: lixiang [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 5:57 PM
Subject: Re: [vchkpw] Re: error:domain already exsits


 Zitat von lixiang [EMAIL PROTECTED]:
 
   i don't want to change qmail-pop3d to courier-pop3d because i want to
  ensure the combination of qmail+vpopmail feasible.
  BTW, even i start the slapd with the  -s  debug  parameters, i cann't
  find any information in the syslog ( /var/log/message.*)
  ..
  
 
 Hi lixiang,
 
 so it is probably not an LDAP-issue but an qmail-pop3d issue.
 So check if the qmail-pop3d-user is able to execute LINK_TO/vchkpw.
 
 Check if the start-up of qmail-pop3d is set up properly.
 ( from inetd )
 
 It should be : ( in a single line )
 
 --- snip 
 pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup 
 YOUR_FQDN_OF_POP_HOST /home/vpopmail/bin/vchkpw 
 /var/qmail/bin/qmail-pop3d Maildir
 --- snap
 
 Cheers
 Jens
 
 
 
 
 


Re: [vchkpw] Re: New architecture

2003-07-29 Thread Jesse Guardiani
On Tuesday 29 July 2003 15:58, Jens Jahr wrote:
 Sérgio Manuel Rosa wrote:
  Jesse Guardiani writes:
  On Monday 28 July 2003 20:05, Sérgio Manuel Rosa wrote:
  Hi List,
  I've got to build a new server. This server is going to hold a great
  number
  of users and a lot of traffic.
  My question is: should I use mySQL, ldap or none?
 
  MySQL.  Without a doubt.
 
  Thanks Jesse,
  I was guessing that... Well it's never late to learn new stuff.
  Regards
  srosa

 Hi Jesse,

First of all, you're talking to the wrong person. I recommended MySQL,
but I didn't ask the original question.


 bevor you decide to choose mySQL make your mind clear about the
 follwoing things:

 - are you able to replicate your database with mySQL ?

Yes.


 - are these tables tranactional based  in mySQL ?

vpopmail doesn't use transactions and rollback. What's your point?
But yes, MySQL supports transactional tables in version 4.0. They're
called innodb.


 - are you able to do __consistent__ online backups with mySQL ? ( dont
 bother me with any mysql-dump scripts ... or something like that ... )

Ever heard of a tape drive? Yes. Yes you can. In a variety of ways.


 - did you ever do a disaster recovery with mySQL ?

Yup. No problem.


 - are you able to extend/migrate you database with mySQL ?

I'm  confused. I thought this was for a vpopmail/qmail mail server.

What would he be extending to? What would he be migrating to?
And yes, you CAN migrate if needed. It's SQL.




 so if you really plan to setup a huge server which has to fit these
 point... well, things twice ;-))

Sounds like you've had problems with MySQL in the past, but I think
your concerns are unfounded. I've personally been running MySQL
for over a year now with no trouble, and my employer has been running
it for many years before that. What's more, MySQL keeps getting better.

In short, I know that MySQL is a good choice for vpopmail/qmail mail
servers from experience.


 There are more database backend's , e.g. oracle with totally fulfill
 these points.

And cost more money for the same functionality too.


 if you are not familiar with these point , than you should choose mySQL.

I just don't understand your reasoning here.



 Cheers
 Jens

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net