Re: [vchkpw] bounce bounce messages

2003-05-29 Thread dWi sAsonO b
i'm sorry i miss Michael Bowe point of view
dont Geoff Sweet ask about sending bounced message to virtual domain rather than 
localmachinename ?

yes there is some problem handling email bounce on virtual domain and had them fixed 
that problem with their client
but i dont see any problem with simple program that placed on .qmail postmaster 
localmachine that parsing email and sending to postmaster virtual machine
i dont had that kind program yet, but that a simple program and all person with some 
education on programming can do that him self
nor perhaps hire freelance programmer to do that

ps.
im sorry if i miss some point of view my self
im not native on english but i still learning here :)
im sorry if this not on the topic of vpopmail

danke thought


On Wed, 28 May 2003 17:45:39 +1000
Michael Bowe [EMAIL PROTECTED] wrote:

 This is a qmail issue
 
 If you want to override the standard qmail behaviour and have all the
 double-bounces to go to [EMAIL PROTECTED], then you can do this :
 
 echo 'someone'  /var/qmail/control/doublebounceto
 echo 'somedomain.com'  /var/qmail/control/doublebouncehost
 
 I dont believe it is possible to dynamically send the doublebounce to the
 postmaster of the domain of the original recipient (if that makes sense!!)
 
 Michael.
 
 - Original Message - 
 From: Geoff Sweet [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, May 28, 2003 5:30 PM
 Subject: [vchkpw] bounce bounce messages
 
 
  Perhaps I missed something in the documentation, but in my install I am
  having bounced bounce messages returning to
  [EMAIL PROTECTED]  So if I have a machine called mail.bob.com
  and I host a dozen or so domains, all the bounced bounce messages are
  coming to [EMAIL PROTECTED]
 
  Shouldn't those messages be going to [EMAIL PROTECTED] Maybe I
  have something misconfigured?
 
  Any insight would be helpful.
 
  Geoff
 
 
 
 
 
 


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] Change an account name?

2003-05-29 Thread dWi sAsonO b
just change pw_name, change pw_dir, and move whole user directory
watch out for broken dependency if you change pw_name only
i dont know vadduser check user directory if it create new user
and validity check with all user registration like vregister, etc


On Wed, 28 May 2003 09:24:19 -0500
Dave Richardson - Lists [EMAIL PROTECTED] wrote:

 I don't see a command to change a username for a vpopmail account.
 Is there a procedure to simply change the name of an account without 
 having to literally pick up a maildir manually and drop it into a new 
 account for the new name?
 
 
 
 


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] qmail + vpopmail woes

2003-05-27 Thread dWi sAsonO b
try getting email manual throught pop3 port
you can get your answer there

i suppose it because softlimit program


On Wed, 28 May 2003 09:03:44 +0800
Eugene Chua [EMAIL PROTECTED] wrote:

 qmail + vpopmail woes
 Hi!
 
 I've got qmail installed and working great!
 qsend, qsmtp and qpop3d is working.
 
 Backend is MySQL 3.23.55 + AutoResponder + ezmlm + IDX
 
 I've installed vpopmail and created a virtual domain.
 
 I've also added user via the /vpopmail/bin/vadduser
 
 i did a vuserinfo on the account and the following
 
 # ./vuserinfo testemail%virtual.net
 name: testemail
 passwd: $1$wasdSRsJ$jAONIancd7JBdX.4fNl.D0
 clear passwd: **
 uid: 0
 gid: 0
 gecos: 
 all services available
 dir: /var/vpopmail/domains/virtual.net/testemail
 quota: 20971520S
 usage: 0%
 account created: Wed May 28 04:45:02 2003
 last auth: Never logged in
 
 I tried sending out email and it's can receive the email sent to the
 user on the virtual domain.
 
 Listing of my testemail directory:
 # pwd
 /var/vpopmail/domains/virtual.net/testemail/Maildir
 # ls -al
 total 12
 drwx-- 5 vpopmail vchkpw 512 May 28 04:57 .
 drwx-- 3 vpopmail vchkpw 512 May 28 04:45 ..
 drwx-- 2 vpopmail vchkpw 512 May 28 04:45 cur
 -rw--- 1 vpopmail vchkpw 21 May 28 04:45 maildirsize
 drwx-- 2 vpopmail vchkpw 512 May 28 04:45 new
 drwx-- 2 vpopmail vchkpw 512 May 28 04:45 tmp
 #
 
 listing of the new dir under Maildir
 
 # pwd
 /var/vpopmail/domains/virtual.net/testemail/Maildir/new
 # ls -al
 total 10
 drwx-- 2 vpopmail vchkpw 512 May 28 04:45 .
 drwx-- 5 vpopmail vchkpw 512 May 28 04:57 ..
 -rw--- 1 vpopmail vchkpw 2208 May 28 04:45 1054068329.28307.virtual.net,S=2145
 #
 
 I was able to receive emails sent from other networks.
 
 But the funny part is I couldn't get my Outlook Express to login to
 the mailserver to retrieve the email.
 
 I used testemail%virtual.net and password but apparently cannot login.
 
 I've checked the services,
 root 18643 0.0 0.5 32 308 ?? I 2:31AM 0:00.02 supervise qmail-pop3d
 qmaill 9789 0.0 0.5 44 300 ?? I 2:31AM 0:00.03 /usr/local/bin/multilog t s100 
 n10 /var/log/qmail/pop3d
 root 15009 0.0 0.5 140 344 p1 S+ 5:28AM 0:00.01 grep pop
 
 And the services are running fine.
 
 What have I left out?
 
 Thanks!
 
 Eugene
 [EMAIL PROTECTED]
 
 
 


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] vpopmail/qmailadmin migration

2003-05-12 Thread dWi saSonO b
On Mon, 12 May 2003 13:13:31 -0400
John McGivern [EMAIL PROTECTED] wrote:

 Has anyone ever migrated a qmail/vpopmail install to another server or is this 
 possible?\

yes, i had on my university server.
kill all email service for a hour, check qmail-stat for pending email and the move 
email to other server
i dont see any problem

 
 Ideally, I would like to set up a new server with all the lastest patches and what 
 naught and then just somehow backup everything from the one server and put it on the 
 other without having to to the individual set up of each domain. 
 
 If you can't do it directly like that - is there some kind of migration tool in the 
 works for such a task?

no, i dont think so.
i believe Novell got one of that tools (Novell 5.0 last time i am using)

 
 Thanks!
 
 John McGivern 
 
 


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-28 Thread dWi saSonO b
On Fri, 28 Mar 2003 09:53:47 +0100
Lucas Valdeón [EMAIL PROTECTED] wrote:

 
  Hi,
 
  Talking about reverse dns I have a little problem.
 In the same machine there are several ips. In the first ip .71 there is no
 service.
 In the second one .72 mail is running ( pop3, smtp ).
 .71 has reverse dns ( ssh.x.com )
 .72 has reverse dns ( mail.x.com )
 Qmail send mail from default route .71, so it has reverse dns, but it is not
 mail.landm.net.
 So I supossed I have to patch qmail to send from a different ip, or move
 mail service to another one.
 Is correct to send mail from a reverse dns in the same domain, but different
 hostname that MX entry ?
 
   Thank you in advance,
 
   Lucas
 
 

errr correct me if im wrong.
reverse dns needed with smtp to validate IP and nameserver ?
some of smtp server around the world need reverse dns to validate your smtp server
some time if your smtp server can't be validate .. there's posibility your email 
message denied.

ps.
i dont know if this in RFC thought


-- 
thx
onOs
UPPTI - Universitas Brawijaya



[vchkpw] quota message

2003-03-26 Thread dWi saSonO b
add to: header on vdeliveries today
here some patch

[EMAIL PROTECTED] vpopmail-5.2.1]# diff -Naur vdelivermail.c /tmp/vdelivermail.c
--- vdelivermail.c  Sat May 18 13:25:50 2002
+++ /tmp/vdelivermail.c Wed Mar 26 14:58:26 2003
@@ -1087,6 +1087,8 @@
 /* read the quota message in chunks and write it to the new file */
 if((fs=fopen(quotawarnmsg, ro)) != NULL) {
 while(fgets(buf, MSG_BUF_SIZE, fs)) {
+   if(strncmp(buf,To:,3)==0)
+  sprintf(buf,To: %s\n,maildir_to_email(newdir));
 if ( write(write_fd,buf,strlen(buf)) == -1 ) {
 close(write_fd);

[EMAIL PROTECTED] vpopmail-5.2.1]#


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] Domain quotas

2003-03-26 Thread dWi saSonO b
On Wed, 26 Mar 2003 08:14:30 -0500
Rick Root [EMAIL PROTECTED] wrote:

 Is it possible to set a quota for an entire domain using vpopmail?
 
   - Rick
 
 
 
nope, what i think of.
but some person try to complete that using hard quota.


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] quota message

2003-03-26 Thread dWi saSonO b
there is quickiest way rather than entering some sily procedure

--- vdelivermail.c  Sat May 18 13:25:50 2002
+++ /tmp/vdelivermail.c Wed Mar 26 14:58:26 2003
@@ -1087,6 +1087,8 @@
 /* read the quota message in chunks and write it to the new file */
 if((fs=fopen(quotawarnmsg, ro)) != NULL) {
 while(fgets(buf, MSG_BUF_SIZE, fs)) {
+   if(strncmp(buf,To:,3)==0)
+  sprintf(buf,To: [EMAIL PROTECTED],getenv(EXT),getenv(HOST));
 if ( write(write_fd,buf,strlen(buf)) == -1 ) {
 close(write_fd);



-- 
thx
onOs
UPPTI - Universitas Brawijaya



[vchkpw] quota exceeded

2003-03-25 Thread dWi saSonO b
i read some code in vpopmain and qmail buat it to difficult for vdeliveries to force 
qmail to pending an email for some lifetime under qmail.
other way i can think of is to make vdeliveries to send email to thrash.
but not all web based enable auto purge, sqwebmail with using 0 values, it make 
disable the feature
but if i send to thrash ... pop3 access can get his new mail.
perhaps i should stick with find return code from qmail after all.



-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] customizing quota messages

2003-03-25 Thread dWi saSonO b
On Mon, 24 Mar 2003 14:48:55 -0600
Nick Harring [EMAIL PROTECTED] wrote:

 Michael -
 Thanks for the reply, however it begs a follow up question. If I put full
 headers in the file, does vpopmail write the quota message directly into the
 users maildir, or does it use qmail-inject to run the message through the
 normal local delivery path?
 Thanks,
 Nick
 

the easiest way i see that from code is using .quotawarn.msg 

   /* Look in the domain for a .quotawarn.msg */
sprintf(quotawarnmsg, %s/.quotawarn.msg, TheDomainDir);
if ( ((fdin=open(quotawarnmsg, O_RDONLY))  0) ||
   (stat(quotawarnmsg, sb)0)) {

/* if that fails look in vpopmail dir */
sprintf(quotawarnmsg, %s/domains/.quotawarn.msg, VPOPMAILDIR);
if ( ((fdin=open(quotawarnmsg, O_RDONLY))  0) ||
  (stat(quotawarnmsg, sb)0)) {
return(0);

changing all fopen .quotawarn.msg to user side and give user each own quotawarn msg 
with his to: header

the other way is full debug on source to get user address and make some parse message 
to user


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] delete old mails

2003-03-24 Thread dWi saSonO b

 at least paul said it in a way i could understand:
 he wants to delete _old_ mail in case new mail arrives but would be bounced if 
 that _old_ mail wasn't deleted.
 
 old mail could be mail in the Maildir/cur directory. However, if you retrieve 
 mail but do not delete it from your pop3 account, this could be for a reason, 
 don't you think? If I'm on the road and just check my mail via web2mail.com 
 (or something similar).. I might expect the very important job offer/customer 
 request/. to still be in my pop3 account and not being deleted for some 
 dumb 7mb spam.
 
 and even if that 7mb mail was more important than any old mail i still have 
 in my pop3 account: the sender is notified, that i did not get it and may 
 therefor send it again.
 
 Pail: if you really want to do this, i think you would have to alter 
 vdelivermail.c yourself, as there is no patch, that i know of.
 
 -- 
 Mit internetten Grüßen / Best Regards
 ---
 Justin Heesemannionium Technologies
 [EMAIL PROTECTED]www.ionium.org
 
 
 

yeah you said that, problem with pop3 that dont change email from unread to read status
perhaps from deliveries qmail to hold a couple of day before it said over quota ?? 
and some notification to user that quota exceded ?
i think it wil be nice to user.


-- 
thx
onOs



Re: [vchkpw] virtual domain problem

2003-03-24 Thread dWi saSonO b
 new msg 1256690
 info msg 1256690: bytes 528 from [EMAIL PROTECTED] qp 7024 uid 506
 starting delivery 1: msg 1256690 to local
 [EMAIL PROTECTED]
 status: local 1/10 remote 0/20
 delivery 1: failure:
 Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
 status: local 0/10 remote 0/20
 bounce msg 1256690 qp 7028
 end msg 1256690
 

hehehe today i got that kind message too
i test vpopmail 5.2.1 long time ago and it work

this sample using command mail under console, no MX available

@40003e7fc20c32dbd814 starting delivery 76: msg 110293 to local [EMAIL PROTECTED]
@40003e7fc20c3357073c status: local 1/10 remote 0/20
@40003e7fc20c3365e7d4 delivery 76: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

but to postmaster its work 

@40003e7fc20d02965c74 starting delivery 78: msg 110292 to local [EMAIL PROTECTED]
@40003e7fc20d03250fb4 status: local 1/10 remote 0/20
@40003e7fc20d08a8e564 delivery 78: success: did_0+1+0/qp_14897/
@40003e7fc20d09fe2c94 status: local 0/10 remote 0/20

but now with addition new mysql 4 it dont work :(
anyone confirm with mysql 4 with source vpopmail compile on it .. cant work ?
i'm using MySQL-server-4.0.12-0.i386.rpm built from source


-- 
thx
onOs



Re: [vchkpw] virtual domain problem

2003-03-24 Thread dWi saSonO b
  new msg 1256690
  info msg 1256690: bytes 528 from [EMAIL PROTECTED] qp 7024 uid 506
  starting delivery 1: msg 1256690 to local
  [EMAIL PROTECTED]
  status: local 1/10 remote 0/20
  delivery 1: failure:
  Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
  status: local 0/10 remote 0/20
  bounce msg 1256690 qp 7028
  end msg 1256690
  

sorry false prosedure instalation
i mixed up with problem localhost and virtual domain  again
hehehehe
i apologize guys :)


-- 
thx
onOs



Re: [vchkpw] delete old mails

2003-03-23 Thread dWi saSonO b
i have the same idea with this kind problem
where user can get email his latest email only
all email that not filter nor move is automaticaly delete
i think this need some changing on vpopmail code

what do you think abaut this idea ??
is this wasting time only ??



On Sun, 23 Mar 2003 23:52:26 +0100
Paul Tritscher [EMAIL PROTECTED] wrote:

 Hi all!
 One question concerning deletion on old mails!
 How do I accomplish the deletion of mails, when a user is at the end of
 his quotalimit?
 say a user has 10MB mailbox storage and is at 95% of his quota limit. A
 message arrives with 7MB attachments. Now I want vpopmail to kill all
 old messages, so that the 7MB mail can still be recieved!
 Thx for your answer
 Paul Tritscher
 
 
 


-- 
thx
onOs



Re: [vchkpw] aliases

2003-03-19 Thread dWi saSonO b
perhap he need more spesific. i had experience when i make input wrongly.
where valias_line i give them input alias
and alias is the real email address

for more this is my configuration
table alias under mysql is onos -- for alias
and valias_line is [EMAIL PROTECTED] -- real email address

dont mixed up ok, or your script dont work.



On 19 Mar 2003 20:41:17 +0100
Jonas Pasche [EMAIL PROTECTED] wrote:

 Hi Payal,
 
  I don't remember how I missed this command. I searched for almost a day
  in the directory.
  
  But still I am unable to figure how to use it. Can you give an example?
 
 Well... :-)
 
 # valias 
 must supply alias email address
 valias: usage: [options] email_address 
 options: -v ( display the vpopmail version number )
  -s ( show aliases, can use just domain )
  -d ( delete alias )
  -i alias_line (insert alias line)
 
 Isn't that enough? valias isn't _that_ complex...
 
 Jonas
 
 
 
 


-- 
thx
onOs



Re: [vchkpw] *.domain

2003-03-17 Thread dWi saSonO b
i got lost the point here ??
is your point to make all subdomain email under 1 mail server ??
i think this is just setting up your mx in ns server
and mail server configure for virtual for all subdomain

and i dont think there is *.domain under vpopmail
but if you change some code you may add them just with *.domain




On Tue, 18 Mar 2003 00:24:34 +0100
Raboo [EMAIL PROTECTED] wrote:

 how do you like add in vpopmail?
 *.domain???
 
 if i want to get the mail for all the subdomains of a domain


-- 
thx
onOs



Re: [vchkpw] List ettiquite (was Re: [vchkpw] Moving qmail queue)

2003-02-18 Thread dWi saSonO b

  This is strictly a qmail problem. it has zippo to do with vpopmail.
  Answering this question only encourages further abuse of the list.
 
 Agreed, but disagreed at the same time.  :-)

why should we bother with a little help 
if that help still less perhaps other can help some more
i think that what this mailing list is for ?

 My father used to do something similar to me -- What's [insert word here] 
 mean?  Go look it up. -- He knew the answer, and it would have taken less 
 energy and effort to just tell me in a single sentence or two, but instead he 
 made me go look it up -- what did it teach me?  Virtually nothing.  His 
 theory was that by looking it up I'd remember it but that's got no basis in 
 reality.  I already knew how to do research (and was quite good at it) and 
 how to operate a dictionary, but if I was in the middle of a good book or 
 something it was more of a waste of time and laziness on both our parts to 
 have to go look it up.  I have three children of my own now and that's one 
 thing I am certainly not going to do to them.
 
 Now if you replied with the answer and said the resources are over here and 
 there, and this really isn't on-topic -- that's different.  You've given the 
 answer, provided links and it's now in the archives so that anyone else who 
 comes and searches (which the OP apparently didn't do, and I didn't realize) 
 will find the answer.  The end result:  The list helps not only the OP but 
 anyone coming afterward who practices a it of ettiquite before 
 indiscriminately asking questions.
 
 Yeah it's more work on the answerer's part but really the point is moot -- if 
 you're going to spend a minute to reply, why not spend two and reply with an 
 answer that will help more than just the one person?
 

i wonder what would you become if your father keep telling the answer for all the 
question ?
my concept is simple, that is try it
on my experience not all the answer is 100% guarantee success
you got to dig up a little more for some problem and side effect from answer that you 
will do

i'm sorry, it's not flaming the other or so, just my opinion.
as long as no OP ... why should we bother ?



-- 
thx
onOs




Re: [vchkpw] switching database servers

2003-02-14 Thread dWi saSonO b
why not ?
just add some code of fopen and fgetc with parsing a little string ... and ... *pouf* 

your vpopmail is not working at all
hehehehehehe

On Fri, 14 Feb 2003 14:40:16 -0700
Benjamin Tomhave [EMAIL PROTECTED] wrote:

 What would it take for this to be a configurable parameter instead of a
 compiled-in parameter?  In other words, would it be possible to add a config
 file, read at startup, from, say vpopmail/etc or qmail/control or similar?
 It seems to me that this would make a lot more sense than requiring the
 server, user and password to be compiled into the program itself.
 
  -Original Message-
  From: Clayton Weise [mailto:[EMAIL PROTECTED]]
  Sent: Friday, February 14, 2003 1:47 PM
  To: 'Benjamin Tomhave'; [EMAIL PROTECTED]
  Subject: RE: [vchkpw] switching database servers
 
 
  Recompile.  And do it from fresh source, don't just do a make clean and
  reconfigure it.
 
  -Clayton
 
  -Original Message-
  From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]]
  Sent: Friday, February 14, 2003 10:41 AM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] switching database servers
 
 
  Hello,
 
  If I want to switch from using localhost to another remote host for my
  vpopmail, does that require a rebuild/recompile, or is there a
  configurable
  parameter somewhere that can be modified to make that adjustment?
   My notes
  seem to imply that the only way to change this is by editting the proper
  values in the vmysql.h file.
 
  Thank you,
 
  -ben
 
  
  Benjamin Tomhave, Senior Systems Engineer
  [EMAIL PROTECTED]
  Sofast Communications  www.sofast.net
 
 
 
 
 
 
 
 
 


-- 
thx
onOs
Divisi Pusat dan Pengawasan Jaringan
UPPTI - Universitas Brawijaya
Gedung Rektorat Lama Lt. 2
Jl. Veteran Malang 65145
Malang, Jawa Timur
mobile phone : (+62) 08563529463
office phone : (+62) 0341 575878




Re: [vchkpw] switching database servers

2003-02-14 Thread dWi saSonO b
perhaps, but still can use autdaemon without vpopmail become daemon
if i remember sqwebmail using kind of this
using memory as read and write is more faster than disk
but it about easy and not easy



On Fri, 14 Feb 2003 13:46:59 -0800
Clayton Weise [EMAIL PROTECTED] wrote:

 That might be feasable.. if vpopmail ran as a daemon.  But vpopmail gets
 called on by qmail.  So if vpopmail had a config file it could damper it's
 performance (on slower systems, quite heavily) because every single time
 vpopmail was run it would have to read that config file.  Remember that
 vpopmail is called on upon every message delivery, password check, etc etc.
 
 -Clayton
 
 -Original Message-
 From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, February 14, 2003 1:40 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] switching database servers
 
 
 What would it take for this to be a configurable parameter instead of a
 compiled-in parameter?  In other words, would it be possible to add a config
 file, read at startup, from, say vpopmail/etc or qmail/control or similar?
 It seems to me that this would make a lot more sense than requiring the
 server, user and password to be compiled into the program itself.
 
  -Original Message-
  From: Clayton Weise [mailto:[EMAIL PROTECTED]]
  Sent: Friday, February 14, 2003 1:47 PM
  To: 'Benjamin Tomhave'; [EMAIL PROTECTED]
  Subject: RE: [vchkpw] switching database servers
 
 
  Recompile.  And do it from fresh source, don't just do a make clean 
  and reconfigure it.
 
  -Clayton
 
  -Original Message-
  From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]]
  Sent: Friday, February 14, 2003 10:41 AM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] switching database servers
 
 
  Hello,
 
  If I want to switch from using localhost to another remote host for my 
  vpopmail, does that require a rebuild/recompile, or is there a 
  configurable parameter somewhere that can be modified to make that 
  adjustment?  My notes
  seem to imply that the only way to change this is by editting the proper
  values in the vmysql.h file.
 
  Thank you,
 
  -ben
 
  
  Benjamin Tomhave, Senior Systems Engineer
  [EMAIL PROTECTED]
  Sofast Communications  www.sofast.net
 
 
 
 
 
 
 
 
 
 
 
 
 


-- 
thx
onOs




Re: [vchkpw] switching database servers

2003-02-14 Thread dWi saSonO b
On 14 Feb 2003 22:45:05 -
[EMAIL PROTECTED] wrote:

 
 To let vpopmail read a config file is nothing
 but waste
 
 =d0Mi=
 
example program to get server name,user, and passwd.

#include stdio.h
#include string.h

char server[20];
char user[20];
char passwd[20];

int main(void )
{

FILE *fd;
char data[100];

if((fd=fopen(/tmp/test.conf,r))==NULL) {
printf(file tidak bisa dibuka\n);
exit(1);
}
fgets(data,sizeof(data),fd);
strcpy(server,data);
strtok(server,\n);
//printf(server = %s\n,server);
fgets(data,sizeof(data),fd);
strcpy(user,data);
strtok(user,\n);
//printf(username = %s\n,user);
fgets(data,sizeof(data),fd);
strcpy(passwd,data);
strtok(passwd,\n);
//printf(passwd = %s\n,passwd);
fclose(fd);
}

[onOs@shadow tmp]$ time ./test

real0m0.002s
user0m0.000s
sys 0m0.002s

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.91 seconds =141.25 MB/sec
 Timing buffered disk reads:  64 MB in  3.19 seconds = 20.07 MB/sec


why waste ??
running simple program like that only use resources 0.002 s
that mean every 500 message had lost delay 1 s
and my hardisk only use QUANTUM FIREBALLlct20 20, ATA DISK drive
how abaut SCSI IBM with 160 MB/s ??
it is not usefull ?


-- 
thx
onOs




Re: [vchkpw] qmailadmin probs when configure

2003-01-22 Thread dWi saSonO b
On Wed, 22 Jan 2003 17:59:10 +0100
Tobias Åman [EMAIL PROTECTED] wrote:

 I have installed the latest qmail and the latest vpopmail stable
 but now i installed the dev version of vpopmail and i worke better
 
 /Tobias
 - Original Message -
 From: Clayton Weise [EMAIL PROTECTED]
 To: Tobias Åman [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, January 22, 2003 4:45 PM
 Subject: RE: [vchkpw] qmailadmin probs when configure
 
 
  This is probably better for the qmailadmin list.  But chances are you
  installed an older version of vpopmail.  What version of vpopmail do you
  have installed, and what version of qmailadmin are you trying to install?
 
  -Original Message-
  From: Tobias Åman [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 22, 2003 2:13 AM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] qmailadmin probs when configure
 
 
  Hi!
 
  I have now installed vpopmail with mysql support from scratch and followed
 a
  very good guide
  and it works super nice.
 
  But now i´m trying to install the qmailadmin but under the configure
 process
  it says
 
  cat: /home/vpopmail/etc/inc_deps: No such file or directory
  cat: /home/vpopmail/etc/lib_deps: No such file or directory
 
  i configure with these options
 
 
 ./configure --enable-htmldir=/var/www/htdocs --enable-cgibindir=/var/www/cgi
  -bin --enable-maxusersperpage=12 --enable-ma
 
 xaliasesperpage=12 --enable-no-cache=y --enable-ezmlmdir=none --enable-vpopu
  ser=vpopmail --enable-vpopgroup=vchkpw
 
  and when i try to compile i get errors like
 
  gcc -I.   -g -O2 -c qmailadmin.c
  qmailadmin.c:29: vpopmail.h: No such file or directory
  qmailadmin.c:30: vauth.h: No such file or directory
 
  i have searched tha archives but haven´t found a solution yet.. someone
 who
  has these files or knows how to
  correct these errors ?
 
  Regards Tobias
 
 
 
 
 
 

under vpopmail 5.2.1 these two file create after running configure
/home/vpopmail/etc/inc_deps
/home/vpopmail/etc/lib_deps


-- 
thx
onOs