[vchkpw] may I convert the users and passwords in the file /etc/passwd into the users and passwords of qmail?

2002-10-30 Thread lawy
hi, every guy.
I have a question about user and password. 
I'm planing to setup a email server using qmail, and now I have had a email server 
with sendmail running on linux 7.0, my question is, that may I convert the users and 
passwords of sendmail, which use the file /etc/passwd as its list of users, into the 
users and passwords of qmail,which will use virtual domain and virtual users of 
itself, without any operations of adding user and renew password? I don't want to use 
the file /etc/passwd as the user file of qmail this time.
any guy could give me some advices? 
thank you very much.

Best Regards.


lawy
[EMAIL PROTECTED]





[vchkpw] Please Help Me out Some one

2002-10-30 Thread Michael Christie



Hi all ,
I have InatslledThe OpenBSD qmail Toaster 0n 
open bsd 3.1 using the info on the dutnux web page , most of the server is 
working well but I can not get autorespond-2.0.3 to 
compile clean even when I use gmake , The qmailadmin and sqwebmail are working 
as thay should I can send mail using sqwebmail but can not receive it , when I 
try to telnet to the pop or IMAP port "telnet localhost 
110" "telnet localhost 143" I get the following 
message below , how do I correct this, and how do I change +OK [EMAIL PROTECTED] 
to my domain

thanks ,
Michael


autorespond-2.0.3 Error ,

gcc -Wall -o autorespond 
autorespond.cautorespond.c: In function 
`send_message':autorespond.c:260: warning: passing arg 1 of `gmtime' from 
incompatible pointer type


zak# ./vadduser [EMAIL PROTECTED]Please 
enter password for [EMAIL PROTECTED]:enter 
password again:zak# telnet localhost 110Trying ::1...telnet: connect 
to address ::1: Connection refusedTrying 127.0.0.1...Connected to 
localhost.Escape character is '^]'.+OK [EMAIL PROTECTED]user 
mrc+OKpass 123456-ERR authorization failedConnection closed by 
foreign host.zak# Oct 31 05:31:33 zak vpopmail[1371]: 
vchkpw-pop3:vpopmail user not found [EMAIL PROTECTED]:127.0.0.1[EMAIL PROTECTED]:127.0.0.1


[vchkpw] Sorry, no mailbox here by that name. vpopmail (#5.1.1)

2002-10-30 Thread Ben Tripin
first of all im sorry if this a dupe, I somehow found out how to post to the archive 
(search - newtopic) thinking it was a forum, then realizing its a mailing list I 
thought it proably didnt make it to the list the first time...

ok, I have used vpopmail before and I cant figure out the problem...
Im running debian testing, it links qmail so it behaves like a normal install...

I apt'd qmail and ucspi-tcp, I compiled vpopmail normally only with a default domain...
Ive ./vaddomain dragon.bz and nayr.net with a couple users, I am able to pop the 
accounts just fine, but when I try to send email to the addresses from a my lycos 
account I get the reply..

Hi. This is the qmail-send program at gohan.dragon.bz.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.


:
Sorry, no mailbox here by that name. vpopmail (#5.1.1)

this is what /var/log/mail.info had to say:
Oct 30 03:55:24 gohan qmail: 1035975324.273531 new msg 764123
Oct 30 03:55:24 gohan qmail: 1035975324.273660 info msg 764123: bytes 1010 from 
[EMAIL PROTECTED] qp 20534 uid 64011
Oct 30 03:55:24 gohan qmail: 1035975324.301782 starting delivery 1: msg 764123 to 
local [EMAIL PROTECTED]
Oct 30 03:55:24 gohan qmail: 1035975324.301871 status: local 1/10 remote 0/20
Oct 30 03:55:24 gohan qmail: 1035975324.313728 delivery 1: failure: 
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Oct 30 03:55:24 gohan qmail: 1035975324.313840 status: local 0/10 remote 0/20
Oct 30 03:55:24 gohan qmail: 1035975324.370512 bounce msg 764123 qp 20537
Oct 30 03:55:24 gohan qmail: 1035975324.370628 end msg 764123


needless to say nothing is showing up in ~vpopmail/domains/nayr.net/admin/new


here are some configs that may help
gohan:/var/qmail/control# cat virtualdomains
dragon.bz:dragon.bz
nayr.net:nayr.net

gohan:/var/qmail/users# tail -3 assign
+dragon.bz-:dragon.bz:89:89:/home/vpopmail/domains/dragon.bz:-::
+nayr.net-:nayr.net:89:89:/home/vpopmail/domains/nayr.net:-::
.

I am not sure whats wrong and any help would be appricated

-Ryan


__
Outgrown your current e-mail service? Get 25MB Storage, POP3 Access,
Advanced Spam protection with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus




Re: [vchkpw] 90% CPU in vchkpw

2002-10-30 Thread Luís Gustavo Facioni Barcellos
Hi, Justin,
well, there's no one more simple :)
the most options are *no* by default, so I just use:

./configure  --enable-qmaildir=/usr/local/qmail

thanks,

Gustavo



Luis, which options did you use when compiling vpopmail?



top shows a vchkpw process consuming more then 90% CPU and I get a
*server busy* on client.

#!/bin/sh
env - PATH=/usr/local/qmail/bin:/usr/local/bin
MAXCON=40
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -H -R -c $MAXCON 0 pop3 \
 /usr/local/qmail/bin/qmail-popup mydomain.here.com \
 /usr/local/vpopmail/bin/vchkpw /usr/local/qmail/bin/qmail-pop3d
Maildir 21






[vchkpw] Bug in vqadmin

2002-10-30 Thread zafar
hello all
 i send two question but can't get any reply.
i think that thing has no solution.
Actually i am using qmail on redhat and i use vqadmin to allot quota and i
allot the quota to 3mb per user.
i use imap to read mail and create folders but quota can't work properly on
that maildirectory.
i want to apply quota on all folder which user create and also include INBOX
but vqadmin set quota on only INBOX and sometime mail can be recived after
quota exceeding.
so any solution to this problem.
i think it  must have solution ,i search on many sites but i can't get any
reply or thing which is suitable for that problem.
so guide me how i manage it.
thanks





Fw: [vchkpw] Reason for MYSQL

2002-10-30 Thread Carl A Jeptha
Michael, I apologise for sending this direct to you.

You have a good day now,

Carl
- Original Message -
From: Carl A Jeptha
To: Michael Bowe
Sent: Wednesday, October 30, 2002 8:55 AM
Subject: Re: [vchkpw] Reason for MYSQL


Hi,

I read your instructions. QMail is already running, hence this email;-)
Mysql was installed with Mandrake 8.2. Created database with webmin. Did the
./configure. When running make receive errors and I think only the first one
counts as the others are related to it. The error is:

vauth.c:35: parse error before 'mysql_update'

Below is what is at line 35 in vauth.c:

static MYSQL mysql_update

Any suggestions please.

You have a good day now,

Carl
- Original Message -
From: Michael Bowe
To: vpopmail
Sent: Monday, October 28, 2002 3:02 PM
Subject: Re: [vchkpw] Reason for MYSQL


Hi Carl

Yes, all the vpopmail account information is stored in the MySQL database if
you enable MySQL backend support. It totally eliminates the .cdb files

One of the benefits of this is it allows you to easily write web based tools
(eg in ASP or PHP) that can talk to the database and then present easy to
use interface for your support staff to manage the user accounts.

Also, you can add additional columns to the database to store other per-user
information without affecting the operation of vpopmail

If you are having trouble compiling/installing vpopmail w/MySQL, I have a
quick guide available online at
http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm
Maybe take a look there to see if it helps solve your install problems.

Hope that helps!

Michael.

- Original Message -
From: Carl A Jeptha
To: vpopmail
Sent: Tuesday, October 29, 2002 2:02 AM
Subject: [vchkpw] Reason for MYSQL


Is MySQL used for storing user information so that we the ISP can use it for
tech support , etc. I cannot compile vpopmail with mysql support.

You have a good day now,

Carl





[vchkpw] tcpserver-mysql patch

2002-10-30 Thread Neo Wee Teck
/*   
server  sql.mailserver.com
port3306
databasevpopmail
table   relay
uservpopmail
passsecret
time1800
*/  

there is this line inside the db.c

should we uncomment it and replace with our settings?





Re: [vchkpw] tcpserver-mysql patch

2002-10-30 Thread Justin R. Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Said Neo Wee Teck on Wed, Oct 30, 2002 at 11:55:31PM +0800:

 /*   
 server  sql.mailserver.com
 port3306
 databasevpopmail
 table   relay
 uservpopmail
 passsecret
 time1800
 */  
 
 there is this line inside the db.c
 
 should we uncomment it and replace with our settings?

No, create a /var/qmail/control/sql that contains that info. 

- -- 
[!] Justin R. Miller [EMAIL PROTECTED]
Encrypted email preferred (key 0xC9C40C31)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9wAXD94d6K8nEDDERAhj7AKCVTlf/w8vLGJhyJkT5s6y2iMr6CACfRxmY
B7MNCLu7PpuX90SxvlZp8vY=
=wWpI
-END PGP SIGNATURE-




Re: [vchkpw] vpopmail 5.2.1

2002-10-30 Thread escher

Hey, I have modified the qmail script under /etc/init.d for tcpserver  
pop3d, now it's ok, virtual user log in for read pop. 
But, the system does not delivery local mail. If i send email outbox it work 
fine, but does not receive. In the log file I found this:

starting delivery 1: msg 4620329 to local userdomain
status: local 1/10 remote 0/20
delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

And now?




[vchkpw] Vpopmail and ezmlm

2002-10-30 Thread Zeno Davatz
Hi List

I am a Newbie to Vpopmail and ezmlm.

Do these two work fine together?
Is there a special howto to follow?

Thanks for any help and hints.

Zeno





[vchkpw] Unable to deliver locally

2002-10-30 Thread Jeff Koch

Our /var/log/qmail logs are littered with entries like this:

@40003dc01764097a5a7c starting delivery 2439317: msg 2405158 to local 
[EMAIL PROTECTED]
@40003dc01764097ae334 status: local 1/10 remote 0/20

@40003dc01761323a21a4 status: local 2/10 remote 0/20
@40003dc0176139ee2d64 delivery 2439314: deferral: 
Unable_to_chdir_to_maildir._(#4.2.1)

Can there be something wrong with our vpopmail installation that is 
preventing qmail from finding/chdir/delivering messages to 'root' and the 
local server? This also happens to messages addressed to 'postmaster' on 
the local machine.

Otherwise, mail addressed to virtual domain email accounts are delivered 
fine.

Best Regards, Jeff Koch
Intersessions.com
--





Re: [vchkpw] Vpopmail Debian - Problem sending Mials

2002-10-30 Thread David Phillips
Zeno Davatz writes:
 What will this help me?

It's just a cleaner and nicer way of doing it.  qmail-conf sets up the run
script that way.  Functionally, there is no difference.

 Now on my online setup I got the following problem:
 In my office I am sitting behind a firewall. I got a t1 connection
 but I do _not_have_a fix IP.

 I am obviously sending mails only from the domains listed in
 rcpthosts but somehow I still get the 5.7.1 error! Argh.

That is good.  It means you aren't an open relay.  If you authenticate via
POP3 first, then you should be able to send mail from that IP.

 Do I have to check this or has this already been done automatically?

The POP-before-SMTP stuff is automatic.  That is why you use the
tcp.smtp.cdb file in the vpopmail/etc directory.  clearopensmtp is not
automatic, as the vpopmail makefile will not go adding things to crontab for
you.  I do believe that Debian vpopmail package sets this up.  However, it
just requires adding a single like to root's crontab:

40 * * * * root /path/to/vpopmail/bin/clearopensmtp  /dev/null 21

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





[vchkpw] MRTG Graphing and qmail

2002-10-30 Thread Jeremy Oddo
FYI:  For those using my toaster HOW-TO as the basis for their mail server
(or anyone else that may be interested), I have added MRTG to the HOW-TO.
MRTG will visual graph mail and spam stats.  It was a big wishlist item,
so I decided to add it...plus it's pretty ;)

You can access it via:
http://www.jerfu.com/toaster








Re: [vchkpw] Multilog problem.

2002-10-30 Thread Sky Schumacher
Ok, i found my problem:

my /var/qmail/rc had the following

#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to Maildir format by default

exec env - PATH=/var/qmail/bin:$PATH \
qmail-start ./Maildir/ splogger qmail

i took out the splogger qmail and it all worked great :D

Sky S.

- Original Message -
From: Sky Schumacher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 1:48 PM
Subject: [vchkpw] Multilog problem.


| Hi, I am having a bit of a weird problem with my logging of QMail +
| VPopmail.
|
| System OS::
| FreeBSD 4.7 (fresh install)
|
| I launch qmail via services
| (http://matt.cadillac.net/computing/mail/toaster/toaster-2.3.shtml)
| and added my own logging script in /services/send/log
|
| #!/bin/sh
| exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s10
| n20 /var/log/qmail
|
| what is weird is... it makes the files that are required in /var/log/qmail
| (current, lock, state)
| [root@geeky qmail]# pwd
| /var/log/qmail
| [root@geeky qmail]# ls -l
| total 0
| -rw-r--r--   1 qmaill   qmail   0 Oct 30 13:41 current
| -rw---   1 qmaill   qmail   0 Oct 30 13:41 lock
| -rw-r--r--   1 qmaill   qmail   0 Oct 30 13:41 state
|
|
| but it won't write to the 'current' file, YET all the logs are going in
| /var/log/maillog
|
| any idea's???
|
| Need more info???
|
|
| Vpopmail compile
|
|
| ./configure --enable-mysql=y --enable-default-domain=simerson.net \
| --enable-roaming-users=y \
| --enable-defaultquota=1S,1C \
| --enable-learn-passwords=y \
| --enable-mysql-replication=y \
| --enable-logging=p \
| --enable-mysql-logging=y \
| --enable-log-name=vpopmail \
| --enable-clear-passwd=y \
| --enable-valias=y \
| --enable-passwd=n \
| --enable-many-domains=n
|
| Sky S.
|
|
|
|
|
|
|






Re: [vchkpw] Unable to deliver locally

2002-10-30 Thread Ken Jones
Qmail won't deliver to root for security reasons. 
Setup a /var/qmail/alias/.qmail-root file
to forward root's mail to a non root user account. 

Ken Jones

On Wednesday 30 October 2002 12:30 pm, Jeff Koch wrote:
 Our /var/log/qmail logs are littered with entries like this:

 @40003dc01764097a5a7c starting delivery 2439317: msg 2405158 to local
 [EMAIL PROTECTED]
 @40003dc01764097ae334 status: local 1/10 remote 0/20

 @40003dc01761323a21a4 status: local 2/10 remote 0/20
 @40003dc0176139ee2d64 delivery 2439314: deferral:
 Unable_to_chdir_to_maildir._(#4.2.1)

 Can there be something wrong with our vpopmail installation that is
 preventing qmail from finding/chdir/delivering messages to 'root' and the
 local server? This also happens to messages addressed to 'postmaster' on
 the local machine.

 Otherwise, mail addressed to virtual domain email accounts are delivered
 fine.

 Best Regards, Jeff Koch
 Intersessions.com
 --





[vchkpw] smtp auth

2002-10-30 Thread Lists @ Apted Technologies Inc.
i realize this may be a qmail list question and i have another email in my
drafts folder just for the occasion but i thought it would post it here
first (people tend to get eaten alive on the qmail list also :).  i have set
up qmail_smtpauth_qmailqueue_maildir++/vpopmail/mysql.

i can pop in fine:
Oct 30 15:59:33 query vpopmail[9467]: vchkpw-pop3: (PLAIN) login success
[EMAIL PROTECTED]:209.124.141.171

smtp auth is returning user unknown:
Oct 30 15:59:27 query vpopmail[9465]: vchkpw-smtp: vpopmail user not found
[EMAIL PROTECTED]:209.124.141.171

startups are:
/usr/bin/tcpserver -u 63 -g 65 -l -R -H 0 smtp /var/qmail/bin/qmail-smtpd \
 query.aptedtech.com /var/vpopmail/bin/vchkpw /bin/true 
/usr/bin/tcpserver -u 60 -g 60 -l -R -H 0 pop3 /var/qmail/bin/qmail-popup \
 query.aptedtech.com /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d
Maildir 

smtp-auth literature says qmail-smtpd needs three arguments when started
(hostname, pass chekc program, subprogram).

i have vpopmail installed with config of:
./configure \
--enable-tcprules-prog=/usr/bin/tcprules \
--enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \
--enable-mysql=y \
--enable-logging=v \
--enable-valias=y \
--enable-many-domains=y \
--enable-auth-logging=y \
--enable-md5-passwords=y \
--enable-clear-passwd=y \
--enable-learn-passwords=y \
--enable-file-sync=y \
--enable-file-locking=y \
--enable-ip-alias-domains=y \
--enable-qmail-ext=y \
--enable-make-seekable=y \
--enable-defaultquota=5242880

   vpopmail 5.3.9
Current settings
---

vpopmail directory = /var/vpopmail
   uid = 60
   gid = 60
  ip alias = ON  --enable-ip-alias-domains=y
address extentions = ON  --enable-qmail-ext=y
 roaming users = OFF --enable-roaming-users=n default
user quota = 5242880 -enable-hardquota=5242880
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = ON  --enable-file-sync=y enable vdelivermail fsync
 make seekable = ON  --enable-make-seekable=y default
  auth logging = ON  --enable-auth-logging=y default
 mysql logging = OFF --enable-mysql-logging=n default
  clear passwd = ON  --enable-clear-passwd=y (default)
 users big dir = ON  --enable-users-big-dir=y (default)
 valias processing = ON  --enable-valias=y
pop syslog = log success and errors including passwords
 --enable-logging=v
default domain =  --enable-default-domain=
  auth inc = -I/usr/include/mysql
  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz

the patches all applied without error to qmail
Bill Shupp www.shupp.org
qmail-maildir++.patch
http://www.shupp.org/patches/qmail-maildir++.patch

Krzysztof Dabrowski [EMAIL PROTECTED]
Eric M. Johnston [EMAIL PROTECTED]
smtp-auth Patch v. 0.31
http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-auth-0.31.
tar.gz

Bruce Guenter [EMAIL PROTECTED]
qmail-queue patch
http://www.qmail.org/qmailqueue-patch

just want to get smtp-auth working but im not really sure where to start
looking from here.  thanks all.

-chris





Re: [vchkpw] Added MRTG to toaster HOW-TO

2002-10-30 Thread H. D. Lee
On 2002.10.30_12:03:33_+, Jeremy Oddo wrote:
 FYI:  For those using my toaster HOW-TO as the basis for their mail
 server (or anyone else that may be interested), I have added MRTG to
 the HOW-TO.  MRTG will visual graph mail and spam stats.  It was a big
 wishlist item, so I decided to add it...plus it's pretty ;)
 

You might want to consider my qmailmrtg+rrdtool package. It builds more
eye catching graphic than MRTG. Flexibility is another thing come to
mind. It is available at the URL on my sig.

Also, I recalled submitting a small patch to Ken a while back. It fixed
the get_tai function in qmailmrtg7 to return the correct time. Seems
like the patch have not been incorporated though.

 You can access it via: http://www.jerfu.com/toaster
 

Good work. 

Shameless plug: Everyone is doing a toaster. Actually, I have written an
OpenBSD toaster couple months ago. It is in 0.3 beta version.

http://www.dutnux.com/article/toaster/html/index.html

-- 
H. D. Lee
http://www.dutnux.com





Re: [vchkpw] Vpopmail and ezmlm

2002-10-30 Thread Cory Wright
On Wed, Oct 30, 2002 at 07:14:13PM +0100, Zeno Davatz wrote:
 
 Do these two work fine together?
 Is there a special howto to follow?

They work file together.  Remember to su to the vpopmail user before
running ezmlm-make, otherwise you will have to chown -R the list dir
to vpopmail.vchkpw.

Regards,

Cory Wright




[vchkpw] Added MRTG to toaster HOW-TO

2002-10-30 Thread Jeremy Oddo
FYI:  For those using my toaster HOW-TO as the basis for their mail server
(or anyone else that may be interested), I have added MRTG to the HOW-TO.
MRTG will visual graph mail and spam stats.  It was a big wishlist item,
so I decided to add it...plus it's pretty ;)

You can access it via:
http://www.jerfu.com/toaster