Re: move vpopmail user account to a new qmail server

2001-07-28 Thread Ken Jones

 vincent wrote:
 
 hi,all
 i have a problem
 cd /home/vpopmail/
 tar czf domains.tgz domains
 then,i copy domains.tgz to new qmail server
 and
 cd /home/vpopmail
 tar zxvf domains.tgz
 
 after i do all above
 i use outlook express to pop mail from new qmail server,it always ask
 password autherization,i think i input the right password,what's the
 reason,can someone point me in the right direction?
 
To move all your domains you also need the entries
from /var/qmail/control/rcpthosts /var/qmail/control/morercpthosts
/var/qmail/control/virtualdomains and /var/qmail/users/assign

Also make sure the vpopmail uid/gid is the same on both machines,
otherwise you will need to change the uid/gid values in 
/var/qmail/users/assign

Ken Jones



Re: qmail logging

2001-07-05 Thread Ken Jones

phase wrote:
 
 I currently have qmail logging via syslog to maillog.   I would like to
 change the log files to log to the /var/log/qmail dir.
 
 This is my rc file.
 
 #!/bin/sh
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start ./Mailbox splogger qmail
 
 as u see it uses the splogger..
 
 I've found one example but it uses cyclog which I can't find in the
 latest daemontools where it should be?  It goes something like this..
 
 #!/bin/sh
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start ./Mailbox /usr/local/bin/accustamp \
| setuser qmaill /usr/local/bin/cyclog /var/log/qmail 
 
 In short,  can I use splogger or any other log tool  to direct logging
 to the /var/log/qmail dir  how would the rc file look like?
 
 thanxs..

Take a look at http://www.inter7.com/qmailmrtg7/
It has sample startup scripts and of course, 
mrtg graphs for all the logs.

Basicly this is the startup script (from the 
qmailmrtg7 INSTALL doc)

1. How should I start qmail, smtp and pop to create the right kind
   of logs?

First make sure you have the log directories:
mkdir /var/log/qmail
mkdir /var/log/pop3
mkdir /var/log/smtp
chown qmaill /var/log/qmail
chown qmaill /var/log/pop3
chown qmaill /var/log/smtp

Then start up qmail

env - PATH=/var/qmail/bin:/usr/local/bin \
qmail-start ./Maildir/ | /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s100 /var/log/qmail 

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -v -H -R -l$HOSTNAME -c200 0 110
/var/qmail/bin/qmail-popup \
$HOSTNAME \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
21 |  \
 /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s100 /var/log/pop3 

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -v -H -R -l$HOSTNAME -x
/home/vpopmail/etc/tcp.smtp.cdb \
-c200 -u8002 -g8001 0 25 fixcrio /var/qmail/bin/qmail-smtpd 21
| \
/usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s100 /var/log/smtp 



Re: question about email redirection with vpopmail

2001-07-04 Thread Ken Jones

 jcarreiro wrote:
 
 hello
 my qmail server with vpopmail works just fine ...
 
 I have some email redirections working in .qmail-xx files in each
 domain folder.
 for redirection i use: [EMAIL PROTECTED]
 
 now, how to do to keep the message in the user box and send a copy
 to another address ??
 
 many thanks.

Add a second line to the .qmail- file with a full path
the the users Maildir

For example:

[EMAIL PROTECTED]
/home/vpopmail/domains/somedomain/someuser/Maildir/

Ken Jones



Re: aliases with vpopmail

2001-06-26 Thread Ken Jones

 jcarreiro wrote:
 
 Hi all !
 
 actually i use aliases with fastforward and /etc/aliases
 
 i'm migrating to vpopmail and i'm wondering if there's a better
 aliases management with vpopmail ...
 
 thx in advance.

The current stable version of vpopmail puts the alias
files in each virtual domain directory. One directory
per domain.

The new development version supports this, and also
for mysql and oracle allows for putting the aliases
in the database. A new command line program, valias,
and a new set of api's provide for maintaining virtual
domain aliases, be they in a database or in the
.qmail files.

Ken Jones



mrtg for tcpserver -v

2001-06-15 Thread Ken Jones

Are there any mrtg modules to graph tcpserver -v output?

Ken Jones



Re: vpopmail ip-alias-domains

2001-03-19 Thread Ken Jones

Eric Bockstahler wrote:
 
 I've compiled vpopmail with ip-alias-domains=y but am unable to use pop on
 virtual domains without the % sign.  DNS and reverse are set up correctly.
 HELP!
 
 Eric Bockstahler
 System Administrator
 Jiffy-tite Company, Inc.
 4437 Walden Ave.
 Lancaster, NY 14086
 (716) 681-7200 voice
 (716) 681-7788 fax
 web http://www.jiffy-tite.com
 email [EMAIL PROTECTED]

vpopmail no longer depends on DNS. Use the vipmap program.

-- 
Ken Jones
"Live Free, Live GPL"
http://www.inter7.com/



[announcement] VQadmin new version 1.3 available

2001-03-13 Thread Ken Jones


A new version of vqadmin is now available.

vqadmin-1.3
Virtual Qmail Web Administrator (VqAdmin) is a CGI Web program to 
allow virtual email hosting machine administators to add, delete, 
and modify virtually hosted email domains and users using vpopmail. 
Authentication is provided by ACLs and the Apache htpasswd method.
Machine Administrators can add/delete virtual email domains, and 
tech users can admin user email accounts such as setting passwords, 
disk quotas, and privileges. 

Requires:
qmail http://cr.yp.to/qmail.html
vpopmail http://www.inter7.com/vpopmail/

Changes
http://www.vpopmail.cx/vqadmin-ChangeLog

Download
http://www.vpopmail.cx/vqadmin-1.3.tar.gz

Changes:
1) fixed problem with creating new domains

2) Added autoconf / automake scripts.
   The install procedure is now:
./configure
make
make install

3) Added support for creating virtual email domains
   under any /etc/passwd user. The default is vpopmail.

4) configure/Makefile automatically detects which
   libraries and headers to link.

5) New INSTALL documentation

Cheers,
Ken Jones
inter7



Re: What are these messages mean?

2001-03-06 Thread Ken Jones

Chrisanthy Carlane wrote:
 
 Greetings everybody!
 
 I received a bounce message like this, there are some things that I don't
 understand, can anyone help me?
 
  I tried to deliver a bounce message to this address, but the bounce
 bounced!
 
  [EMAIL PROTECTED]=20:

The line above shows you the email address it was trying to deliver to.
You'll notice that it is not a valid email address because the
domain name is not valid. 

yahoogroups.com=20 is not a valid domain.

Ken Jones

  Sorry, I couldn't find any host named yahoogroups.com=20. (#5.1.2)
 
  --- Below this line is the original bounce.
 
  Return-Path: 
 #How come there is no return path?
 
  Received: (qmail 25396 invoked from network); 7 Mar 2001 02:18:21 -
  Received: from unknown (HELO sales) (10.10.10.127)
 #I think the HELO should be the name of the mail server?



Re: Qmail and Large Scale Dynamic Mailings

2000-12-07 Thread Ken Jones

Wayne Chu wrote:
 
 I feel our discussion starts to become OT.
 I tried to be calm and I won't discuss it any more after this.

Obviously this is a hot topic for you.

So, without furthre evidence, you are obviously a person
who will exploit the edge of spam related email.

I have a question for you Sir.

Are you going to be sending these "emails" to your local
list of accounts. Or will this be going out to other
lists?

How have you received these lists of emails?

Ken Jones


 
 From: "Ken Jones" [EMAIL PROTECTED]
 
  Ah.. So you are not a spammer, except you assume all your
  "customers" want your email. Besides that moral issue,
  do you have measured information about the delivery
  statistics of qmail version other options?
 
 I said "subscriber", that means we send e-mail to users who
 willingly "subscribe" our newsletters on our web page.
 We don't send unsolicited emails to people who did not
 subscribe our newsletters.
 
 We surveyed other email options. We chose qmail because
 the information we gathered told us that qmail is one of the
 fastest MTA sending outgoing email. And we like the VERPs
 capability of qmail. With it we could effectively eliminate
 expired addresses.
 
  Are you saying that your country is a pirate economy?
  Shall I embarrase you and trace your email? or do you wish
  to reveal which country you are from?
  Does your country harbor pirates?
 
 If you so insist, I am from Taiwan.
 Here is my company:
 http://www.etwebs.com/
 http://www.etmc.com.tw/
 These pages are writen in Chines language.
 Welcome to give us a little more pageview count.
 
  Sir. If your users are on your machines, you can just copy your
  emails to thier directories. But.. it seems like your users
  are spread over other peoples machines. Hence.. by definition,
  you are a spammer, sir.
 
 What's your definition of "spammer"?
 If you mean anyone who send large quantity of email on the net,
 regardless unsolicited or solicited. I feel that this classification may
 not be fair.
 
 I don't know why you are so harsh at this issue. Maybe you have
 seen a lot of hateful spammers in your email admin career?
 But I say it again, we don't want to cause any people annoyance.
 
 If you feel discussing mass-mailing techniques on the list will benefit
 or encourage potential spammers. I agree. I did not thought about
 this danger at first. But please don't berascal people (and their country!)
 who just ask questions.
 Thank you.
 
 
  Ken Jones



Re: Qmail and Large Scale Dynamic Mailings

2000-12-07 Thread Ken Jones

Jenny Holmberg wrote:
 
 Ken Jones [EMAIL PROTECTED] writes:
 
  I appologize to easily catorgorize this person as a spammer.
  Howver, the bulk of email produced on the internet is from
  spam sites.
 
  Jenny, how much experience do you have with spam sites?
  have you designed, operated and maintained a spam site?
 
 I am postmaster at one of the largest ISPs in Sweden, and I have been
 working with antispam issues since 1995. I certainly have never been
 in any way involved in designing, operating and maintaining spam
 sites. But I am involved in running a mailinglist server, for
 confirmed opt-in mailinglists, and find the issues of how to handle
 mailinglist traffic in a non-abusive way quite important.

A very valid point of view. However you do not offer any proof of
the prior persons orignal posting. 

Of course there are valid reasons why we should develop the most
effiecent method to deliver large quantities of email. Of course.
This is part of most large ISP's daily activies.


 
 Consider, for instance, that one of our mailinglist (say, the one
 about cat care and feeding) has a whole lot of subscribers from one of
 our competitors - not an unlikely scenario for a Swedish mailinglist,
 as there aren't really that many big providers here. When a listmail
 goes out, depending on our concurrencyremote settings , it's entirely
 possible that that provider's mailserver will be tied up handling the
 list mail for quite some time. This might upset them - I know I'd get
 upset if someone was doing it to my servers. In fact, I've been forced
 to temporarily block maillist servers which behaved that way - not
 because the mails themselves were spam, but because the behaviour of
 the listserver caused problems for my servers.

Excuse me, My point was not a valid email list. My point was the 
original poster did not present a valid argument why this activity
should occur.

We are not stupid. We know this type of activity is valid for
a norrmal ISP.

My point is: shall we provide technology to pirates?

Please excuse me for deleting the rest of yoru email..
I agree with you on your points. My only disagreement
is that we are handing away exploitive technology to
abusive people.

Not only are we giving away exploitive technology, 
we are helping them become rich. And hence offering
them a step up into the uppper reaches of society.

Do you want to support pornographers becoming the
benefactors in your local town. I do not want to.

Ken Jones



Re: Quota exceeded?

2000-12-06 Thread Ken Jones

Kimberly Vher wrote:
 
 see the script mailquotacheck.sh in life with qmail at www.qmail.org
 
 At 10:07 PM 12/6/2000 -0300, Francisco André Barbosa Neto wrote:
Hi, it´s me again! I forgot to ask a question, anybody knows
  how can I configure qmail to bounce a message when a disk space of an user
 is  full, in other words, when a user´s quota exceeded?
 Andre

Qmail does not relate itself to file system quotas. If you want
to create a quota system based on your usage, perhaps you should
investigate all the possible options of efficent quota methodologies.


Ken Jones



Re: pop3 conections

2000-12-06 Thread Ken Jones

 Francisco André Barbosa Neto wrote:
 
 
 Hi, my name is Andre and I´m a new user of qmail! I read a
 lot of documentation but I didn´t found information about how to
 control the incoming pop3 conections.

POP is a different protcol from either local or remote email
delivery. And a different protocol from smtp reception.

 My system is using both qmail-smtp and qmail-pop3d with
 tcpserver, and that´s the problem, with inetd we can control the
 incoming pop3 conections based on a range of i´address using the files
 hosts.allow and hosts.deny, so how can I do the same restrictions with
 the tcpserver??

If you took the time to read the documentation on tcpserver
and it's associated allow/deny methodology, you will recognize
that it is based on IP addresses. Which implies a fundamental
weakness in DNS poisoning. Which is a different discussion.

I'm assuming you mean "i'address" means IP addresses. if you
can not limit access to your service handled by a tcpserver
process, you have not investigated the -x option and all
it entails.

Please do not bother the list with questions that can 
easily be answered by careful examination of available
documentation.

Ken Jones

 Thank you by your attention!!
 
 
 
 Andre



Re: help with virtualdomains

2000-12-06 Thread Ken Jones

Black Ice wrote:
 
 I'm having a slight problem getting qmail to deliver messages correctly for
 a virtual domain i'm trying to set up.  

First you must define what you mean by a virtual domain.

 The domain is neondesign.net,  to
 an account named raw.  

An account named raw. Shall we assume you mean an entry in
/etc/passwd with an associated entry in /etc/group, or do 
you mean something else. 

If you are not precise in your information, how can anyone
help decode your cryptic language?

 control/virtualdomains has neondesign.net:raw in
 it,  and neondesign.net is in rcpthosts and locals,  

So your "domain" (yet undefined how you use it) and the 
"account" (we shall assume you mean an /etc/passwd entry)
has a home directory. 

Shall we also assume you have a directory entry in the
/etc/passwd account for raw?

Shall we also assume you have a valid shell path for raw?

Apparently you assume we will.

 ~raw/.qmail-default
 has ./Mailbox.   

.qmail-default.. what about .qmail? you don't have a .qmail
file either?

Shall we assume your qmail-start line as well?

Did you start it up with Mailbox or Maildir?

Please be specific.

 sending mail to [EMAIL PROTECTED] works,  but no other
 [EMAIL PROTECTED] works.  
 it just gets kicked back with "no mailbox
 here by that name".   I have a feeling that it's something simple that i'm
 overlooking.  Hopefully someone can shed some light on this.   Thanks.

It would help if you read all the documentation first. And would
understand
the meaning of locals/rcpthosts/virtualdomains and the associated
processing
of virtualdomain tags, and the associated processing of
/var/qmail/users/assign
files.

Ken Jones



Re: how many connections?

2000-12-06 Thread Ken Jones

Peter Samuel wrote:
 
 On Wed, 6 Dec 2000, Martin Volesky wrote:
 
  ... Qmail lacks the ability of multiple delivery per connection that
  other MTA agents (sendmail *cough*) have.

There has been proof on this list that overall performance of
qmails delivery mechanism is more efficent that "other MTA agents"
multiple delivery mechanisms.

If you want real answers, please provide real factual proof
that can be replicated by others. Otherwise, your statements
are groundless and inflamitory.

Why are you stirring a pot you have no idea of it's contents?

Ken Jones



Re: Qmail and Large Scale Dynamic Mailings

2000-12-06 Thread Ken Jones

Mark Delany wrote:
 
 On Thu, Dec 07, 2000 at 11:15:45AM +0800, Wayne Chu wrote:
  Am Mittwoch,  6. Dezember 2000 22:04 schrieb Thomas Duterme:
How about increasing your concurrencyremote to something
like 100?  you most likely are hitting your limits.
  
   Good point.  Will try that tonight.  I've gotten some
   problems before from ISP's blocking us
   when I went up to 240...I'm not quite sure what the highest
   polite limit on this should be.
 
  My newsletter program calls qmail-qmqpc directly.
  Does qmail send mails to recpt in the order I write the address
  to qmail-qmqpc?
 
 It surely does. But that's ultimately just a queuing order and it
 doesn't necessarily mean a delivery order.

Delivery order depends on DNS servicing smtp servicing and the
exact code you are using to inject emails into qmail-pmpqc.

 
  For example, if I wrote addresses A, B, C to qmail-qmqpc.
  Will qmail first invokes qmail-remote to send mail to A
  And then (concurrently, before the first qmail-remote finishes)
  invokes another qmail-remote to B, and then to C?
 
 As it happens, yes. I don't believe that it is gauranteed in any
 documentation, therefore relying on this current behaviour may be
 risky.

Your delivery order depends on your remote concurrency limitations,
the availablity of dns results and your disk IO. 

Why are you so concerned about delivery order?

What is your ultimate goal?

Why is delivery order such a concern?

 
  If so, maybe I can sort my subscriber list first, that subscribers
  in the same mail server will be distrubuted among the whole list
  evenly. So I can minimize the chance of overflooding a certain server?
 
 Sounds like it might help, but consider the case of a particular
 domain that is not accepting mail. At the time of the first retry,
 perhaps the only recipients left are to that domain in which case it
 may well get hit with the full concurrency of your server.
 
 My point is that this *may* help in some circumstances, but it's by no
 means bullet-proof.
 
 Regards.

You are wondering how you can spread your out going smtp deliveries
across multiple recipient smtp servers. Why? What kind of email
load are you imposing on the internet?

Are you perhaps a person who has long lists of email accounts?
Perhaps they are all sorted based on host name? Perhaps alot of
the host names are yahoo.com? 

So.. You sit back.. and launch your spam list on the internet,
and you wonder why.. when it gets to the yahoo.com list...
it stalls with 255 remote deliveries, and they all take a long
time to complete. And you are upset because you can't get your
spam list delivered?

Just what kind of email are you delivering?

Your questions smack of spam problems.

Ken Jones



Re: Qmail and Large Scale Dynamic Mailings

2000-12-06 Thread Ken Jones

Mark Delany wrote:
 
 On Wed, Dec 06, 2000 at 10:41:28PM -0600, Ken Jones wrote:
  Mark Delany wrote:
  
   On Thu, Dec 07, 2000 at 11:15:45AM +0800, Wayne Chu wrote:
Am Mittwoch,  6. Dezember 2000 22:04 schrieb Thomas Duterme:
  How about increasing your concurrencyremote to something
  like 100?  you most likely are hitting your limits.

 Good point.  Will try that tonight.  I've gotten some
 problems before from ISP's blocking us
 when I went up to 240...I'm not quite sure what the highest
 polite limit on this should be.
   
My newsletter program calls qmail-qmqpc directly.
Does qmail send mails to recpt in the order I write the address
to qmail-qmqpc?
  
   It surely does. But that's ultimately just a queuing order and it
   doesn't necessarily mean a delivery order.
 
  Delivery order depends on DNS servicing smtp servicing and the
  exact code you are using to inject emails into qmail-pmpqc.
 
 Right. But all things being equal, their will be a very strong
 correlation between the injection order and the delivery order. DNS
 lookups may certainly perturb this, but don't fundamentally change it
 in anyway.

Okay. All things being equal. I can understand that. Would you please
explain what you mean "all things being equal". How do we relate an
unprecise english phrase to email delivery?

Unless you post exact information about your exact case with exact
log information..

Perhaps we should all bow down and worhship the mystical order
of the "blah blah". 

My meaning is.. Unless you post your exact information, you are just
posing a hypothetical situation. If you want answers to your
"hypothetical"
situation, that's fine. But I expect you have a defined goal in mind.
And I expect any hypothetical answer will not solve your particular
problem. 

If you wish for me to attempt to solve your problem. I'm willing
to devote my limited resources. However, you have not posted
your dns information, nor your email delivery information. 

Shall we attempt to devine your intensions from you unclear
descriptions? 
 
   As it happens, yes. I don't believe that it is gauranteed in any
   documentation, therefore relying on this current behaviour may be
   risky.
 
  Your delivery order depends on your remote concurrency limitations,
  the availablity of dns results and your disk IO.
 
 No, yes, no. Concurrency does not change order. DNS results may
 perturb order, disk IO is unlikely to change order. In other words,
 there remains a strong correlation. Your point is?

DNS order of service information completely depends on the DNS
service you are relying on. Do you attempt to decieve us and
say that all DNS services act the same?

Please provide exact information about the dns results you
are receiveing so that others may attempt to duplicate your
results.

 
  Why are you so concerned about delivery order?
 
  What is your ultimate goal?
 
 I think the original poster made that clear. He wants to minimize the
 concurrency to any one domain by sorting the recipients in such a way
 that the recipient domains are distributed across the whole list.

So, you wish to minimize the concurrency on your machine, or do you
wish to minimize the delivery speed. I suspect the original poster
is attempting to minimize the delivery to the recipient.

Can you please post delivery speed information for  multiple
reciepients to a singular domain versus alternative mail
delivery agents?

Or are you just another poser?
 
  Why is delivery order such a concern?
 
 How is this a different question from "Why are you so concerned" etc.

Because, unless you have been living in a cave, all of us email
admins have to deal with people who are concerned about "email
throughput". And most of those people are illegal spammers who
are hard to take to court.

Why did you evade my question? 
If you are a real person with a non-illegal concern, 
please post your company information, email address
dns host name, company phone number, corporate officers
names to this list. 

I'm sure you won't.

 
  So.. You sit back.. and launch your spam list on the internet,
  and you wonder why.. when it gets to the yahoo.com list...
  it stalls with 255 remote deliveries, and they all take a long
  time to complete. And you are upset because you can't get your
  spam list delivered?
 
  Just what kind of email are you delivering?
 
 Ken. You're assuming a spammer here - if you're wrong what do you
 think you're achieving apart from besmerching his name?

Prove me wrong sir.

 
 In any event, if you've worked with large lists and large delivery
 capabilities, you'll know that many sites *do* block based on
 concurrency. Why only a month or so ago I was working with a company
 that does 20+million deliveries on a busy day and they were blocked by
 hotmail based on exceeding concurrent connection limits. It took quite
 an amount of work to have hotmail remove their automat

Re: how many connections?

2000-12-06 Thread Ken Jones

Martin Volesky wrote:
 
 Ken Jones writes...
 
 There has been proof on this list that overall performance of
 qmails delivery mechanism is more efficent that "other MTA agents"
 multiple delivery mechanisms.
 
 
 Ken, I agree with you that the qmail delivery process is possibly more efficient. 
However, when talking to large mail hubs that
 use any type of connection queing/throtling mechanisms, the qmail method may run 
into problems.

Martin,

I understand your problem. However, you do not have any proof.
Please provide proof of your imagined "problem" so that real
people can design fixes to your "problem". 

Without real proof and measured performance, your supositions
are just fancifal abstractions. And have no real persumption
to reality.

Ken Jones



Re: Qmail and Large Scale Dynamic Mailings

2000-12-06 Thread Ken Jones

Wayne Chu wrote:
 
 No, I am NOT spamming.
 
 Our company runs serveral daily e-newsletter, with totally about a
 half million of subscribers. We are planning to make an "open"
 newsletter plateform, let our web site members create their own
 personal newsletter ( authenticated and supervised by our staff to
 prevent spam mail ). we estimated the total number of subscribers and
 the number of newsletter will grow even more. Surely our member
 would want their newsletters to be sent ASAP. So we have to
 increase concurrency.

Ah.. So you are not a spammer, except you assume all your 
"customers" want your email. Besides that moral issue,
do you have measured information about the delivery 
statistics of qmail version other options?

 
 And our company is not in USA. In our country, there are only few
 large major ISPs dominate the market. I don't know what's the case
 in US, but nearly half of our current subscribers come from only 4 ISPs.
 We encountered only slight SMTP blocking problems now. But we
 expect the problem will grow with our subscribers and concurrency settings.

Are you saying that your country is a pirate economy? 

Shall I embarrase you and trace your email? or do you wish
to reveal which country you are from?

Does your country harbor pirates?


 
 That's why we are looking for ways to deliver large number of
 newsletters with maximum speed possible, without overloading remote
 mail servers.  If my questions cause controversy, I apologize.
 But never did I intend to abuse Internet e-mail.

Sir. If your users are on your machines, you can just copy your
emails to thier directories. But.. it seems like your users
are spread over other peoples machines. Hence.. by definition,
you are a spammer, sir.


Ken Jones



Re: vpopmail

2000-10-17 Thread Ken Jones

Peter Green wrote:
 
 [ send e-mail to [EMAIL PROTECTED] to subscribe to the vpopmail
 mailing list. ]
 
 also sprach ch:
  Are there rpm packages available for vpopmail and qmailadmin?
 
 No. A UID and GID is required at compile-time to build the vpopmail package.
 Since there is no vpopmail RPM, I'm guessing that no one has gone through
 the trouble of making one for qmailadmin.

There is a guy, can't remember his name, that has vpopmail in the
freeBSD ports. freeBSD decided to allocate a uid/gid to vpopmail.
uid = 89, gid=89. It should be included in the next freeBSD CD
and on the ports list. Perhaps this uid/gid pair can be used
on linux too?

Ken Jones
http://www.inter7.com/vpopmail/



Re: Linux7

2000-10-17 Thread Ken Jones

Mike Jimenez wrote:
 
 Quick question has anyone run into any problems running Qmail or
 vpopmail on Linux Redhat 7?
 
 Thanks
 Mike

I compiled qmail and vpopmail on redhat 7 the other day. 
Worked great.

ken Jones
inter7



Re: Linux7

2000-10-17 Thread Ken Jones

[EMAIL PROTECTED] wrote:
 
 Ken Jones wrote:
 
  I compiled qmail and vpopmail on redhat 7 the other day.
  Worked great.
 
  ken Jones
  inter7
 
 How did you set you setup xinetd?

I don't use xinetd for anything. In fact I usually turn it off.
I use tcpserver to run smtp and pop. 

ken Jones



Re: Vpopmail question

2000-10-12 Thread Ken Jones

Kris Keele wrote:
 
 Is there a way to so that your external mail clients can check mail with
 just a user name instead of using user%domain.com?
 
 KRis

You can set up one domain to use just user instead of user%domain.com
add --enable-default-domain=domain.com in your configure options.

The only way to make this work for more than one domain is to 
use IP based domains, as opposed to the default name based domains.
Add -enable-ip-alias-domains=y to your configure options and add
the IP's for each domain to your machine. Make sure your DNS
resolves the IP's do the domain name. Then have the users pop
into the IP's for thier domain.

Ken Jones



vpopmail 4.9.5 development version available

2000-10-06 Thread Ken Jones

Changes:

Oct 5  - integrated Krzysztof Dabrowski changes to the source code for
 setting up domains under /etc/passwd users other than vpopmail.

   - vadduser: fix command line parsing, fix core dumps on
incomplete
 command line options, add check for ctrl-D break out of
 vgetpassword function.

   - updated vauth_getpw in cdb module to return error if program
 does not have permission to get a write lock

   - updated vuserinfo to have new output syntax, plus will output
 all fields for a user if no options except email address is
given.

   - removed redundant chdir() in vadduser in vpopmail.c



The major change is domain based quotas. Virtual email domains can
be added under any /etc/passwd users home directory. All email is
stored under that users uid/gid in thier home directory. Then 
operating system based user quotas will apply to the virtual
email domain.

New option to vadddomain -u username 
where username is a username from /etc/passwd

For example

vadddomain -u kbo kbo.com test

where kbo's home directory is /home/kbo

This will create a /home/kbo/domains/kbo.com directory
where all the vpopmail directories and emails get stored
as the kbo user.

It only been tested with the cdb module. I've found it works
with under any user and also under the vpopmail user. 

Thanks to Krzysztof Dabrowski for the majority of the new code.

Ken Jones
http://www.inter7.com/vpopmail/



Re: Mass Mailout Performance Tips

2000-09-07 Thread Ken Jones

[EMAIL PROTECTED] wrote:
 
 My apologies for the last incomplete message
 
 Hi,
 
 Does anyone have some tips on getting peak performance out of mass
 mailings with qmail.
 We regularly send out newsletters to over 500,000 email address's on
 a weekly/fortnightly basis.
 I've looked through the archives and there are some excellent tips
 but I'm still hoping to push it further as a full mailout takes
 nearly a day.
 
 My current setup is qmail-1.03 with Russell Nelson's big-todo patch
 conf-split is set to 47
 concurrencyremote is set to 240
 We have written a simple perl script that takes the whole mailout and
 pipes it directly to qmail-inject
 
 The mailout flies with the concurrencyremote being hit after the pipe
 to qmail-inject is closed but it takes a long long long time for the
 qmail-inject process to finish.
 
 Does anyone have any tips on how to analyse the performance
 bottle-necks .. disk / bandwidth etc ( this is a redhat linux 6.1
 box) or tips on a better way of doing this.
 
 Regards,
 
 Simon E.


I've had good luck with some rate limiting tricks.

1) Inject 500 messages then wait 2 seconds. This seems to give 
   qmail-send time to process the 500 messages and kick off more
   qmail-remotes before it has to deal with the next 500 new messages.

2) Call qmail-queue directly, saves on one fork/exec

3) have the perl script monitor the size of the queue. Slow down
   the rate of injection if the queue gets above 10K or if the
   todo gets above 2K. Qmail's ability to fork qmail-remote 
   processes drops when the inode trees get large. 

Ken Jones
inter7



Re: .qmail-default vs .qmail-user

2000-09-07 Thread Ken Jones

Manuel Gisbert wrote:
 
 Hello everybody,
 
 running
 qmail 1.03
 vpopmail 4.9
 
 I discovered the following prob, which confuses me a lot:
 
 I have set up virtualdomain without any users, instead i
 use .qmail-user files in that dir to add all incoming mail to maildirs in
 another virtual domain.
 What confuses me is, that in case of .qmail-default being present and
 nonempty .qmail-default is
 processed instead of .qmail-user while in case of .qmail-default being
 absent the
 mail is correctly routed to the proper maildir...
 Why is .qmail-default processed if .qmail-user is present and nonempty???
 
 Thanx
 Manuel

Look into how qmail-local processes mail. It is the local delivery
agent. According to the qmail-local man page, it will look for
.qmail-user first and if found use it. It will only look at
.qmail-default if a .qmail-user file is not found.

Permissions and ownerships of the .qmail files are always a
good thing to check.

ken jones
inter7



Re: Qmail DNS

2000-09-06 Thread Ken Jones

Jonathan Fanti wrote:
 
 I am setting up a mail router here at work, I realise that the box I am
 running qmail on needs also to be running DNS. Is it okay for this to be
 a name-caching only server with forwards to my ISP's DNS server?

Sure that would work. It would also work to not forward to your
ISP's dns, but to go directly to the root servers.

If you like to experiment, try installing Dan Bernstiens
local caching dns software: 

http://cr.yp.to/djbdns

Ken Jones



Re: file /users/assign

2000-09-05 Thread Ken Jones

 Marco wrote:
 
 Hi,
 I tried the diagnostic utility www.qmail.org/qmail-lint-0.55 and I
 received this message:
 
 Warning: users/assign checking not implemented
 
 The file contains the following:
 
 
+{domain.name}-:{domain.name}:{vpopmailUID}:{vpopmailGID}:/home/vpopmail/domains/{domain.name}:-::
 .

This looks correct. vadddomain will create a line exactly like the
above.

 
 The question is: what is the syntax for this file.
You can find the syntax in the qmail-users man page. 

 and what is its role
 in the message delivering to a user created with qmailadmin?

qmailadmin only allows you to add users to a virtual domain
created by vpopmail. In this case, only one line is required
in the assign file per domain. The domains should match the
domains listed in /var/qmail/control/virtualdomains

Qmail will read the /var/qmail/user/cdb file to determine what
uid/gid and directory to have qmail-local deliver a message to.

vpopmail also supports adding virtual users for accepting email
being sent to domains in your /var/qmail/control/locals file.
In this case, each new user would have two lines in the
/var/qmail/users/assign file. And qmailadmin can not be used
to admin these users.

Try sending email using qmail-inject and watching your qmail
log files.

Ken Jones

 It's not functioning properly.
 Thank you
 Marco
 [EMAIL PROTECTED]
 




Re: VopMail and multiple domains

2000-08-28 Thread Ken Jones

Fernando Costa de Almeida wrote:
 
 
 I have qmail, tcpserver and vpopmail installed in my machine. It
 appears to me that the vpopmail is a great tool to manage multiple
 domains. Now my question:
 
 Supose that I have two domains:
 
 domain1.com.br
 domain2.com.br
 
 And two users:
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 What I have to do is that all emails to user1 must be sent to
 user2, and vice-versa. How can I do this?

echo "[EMAIL PROTECTED]" 
~vpopmail/domains/domain1.com.br/.qmail-user1

echo "[EMAIL PROTECTED]" 
~vpopmail/domains/domain2.com.br/.qmail-user2

That should do it. These email deliveries are done by qmail-local.

Ken Jones



Re: qmail-mrtg w/ tai64n?

2000-07-27 Thread Ken Jones

Russell Nelson wrote:
 
 Ben Beuchler writes:
   Does Russ' qmail-mrtg work with the new daemontools and it's fondness
   for tai64n?  I know there are pipes, filters, etc to convert... Native
   support WOULD be nice, though.
 
 Yes.

What is the URL for qmail-mrtg ?

Ken Jones



Re: mail server location question

2000-07-25 Thread Ken Jones

Bruce Edge wrote:
 
 Can I run the qmail server behind a firewall?
 
 I want to rely on the dns MX records on the firewall to route mail to the
 qmail server, which is on an internal LAN, with a non Internet routable
 192.168.1 address.
 
 Will this work?, or, do I need to have the qmail server addressable from the
 internet directly?
 
 Thanks in advance, Bruce.

You could run a qmail/smtp server on the firewall that forwards
incoming mail to the internal mail server, and relays internal/outgoing
mail to the internet. 

Or you could use a public IP for your MX record and have the
firewall map it to the internal mail server IP.

Basicly, you have to have a public IP for your MX record.

Ken Jones



Re: procmail/vpopmail

2000-07-24 Thread Ken Jones

Chester Chee wrote:
 
 Hi,
 
 Does anyone has an experience using procmail with vpopmail (virtual domain)?
 I am trying to setup procmail to filter "junk" mail to specific mail folder
 for vpopmail user. And it does not seem to work at all. My vpopmail users
 access their mail via IMAP instead of Maildir. Am I using the right approach
 to taggle this problem? Any pointer or help is greatly appreciated. Thanks
 in advance.
 
 Here is my .procmailrc:-
 
 :0:
 * ^X-JunkMail: Yes
 junk-mail

Take a look at the development version of vpopmail, 4.8.6.
It contains a new filtering module.

Ken Jones
inter7



Re: OK, I've install vpopmail, where is DJB test.delivertest.recieve...

2000-07-17 Thread Ken Jones

"Steven M. Klass" wrote:
 
 Does anyone know how I can test a vpopmail installation.  I know this may
 probably be trivial, but I like DJB's instructions, especially since he
 always allows provisions for testing..
 
 Thanks
 Steven M. Klass
 Physical Design Engineering Manager
 
 Andigilog Inc.
 7404 W. Detroit Street, Suite 100
 Chandler, AZ 85226
 Ph: 602-940-6200 ext. 18
 Fax: 602-940-4255
 
 [EMAIL PROTECTED]
 http://www.andigilog.com/

Here is what I do to test a new virtual domain:

1) create the domain
~vpopmail/bin/vadddomain test.com test

2) Send email to the postmaster user
 echo "to: [EMAIL PROTECTED]" | /var/qmail/bin/qmail-inject

3) authenticate with pop
telnet 127.0.0.1 110
user [EMAIL PROTECTED]
pass test
list

You should see one message listed.

Then it works

Ken Jones



Re: Vpopmail - Installation - questions

2000-07-17 Thread Ken Jones

"Steven M. Klass" wrote:
 
 Hey all
 
 I just started working with vpopmail and I am in need of answers.
 
 1.  The install guide recommends that all domains be set up as virtual
 domains.  In the qmail/control/locals file I have my domain already
 defined.  How can I convert that to a virtual domain?  Should I?

The vadddomain program will automatically remove it from the locals file
and add it to virtualdomains for you.

 2.  The option enable-default domain = mydomain   Does this mean it will be
 a virtual domain.  The instructions aren't clear on this.

It means the vpopmail authentication code will append mydomain to any
user
authentication request that doesn't include a domain name.

 3.  The option enable-ucspi-dir   I installed this per qmail
 instructions.  I was not aware that a compiled directory existed.  I
 thought only tcpserver was placed in ../bin

If you install ucspi-tcp as per it's instructions, you do not need to
set a vpopmail --enable-ucspi-dir option.

 4.  What is Option enable-apop.  What is apop?

I recommend against using apop. 

 5.  What happens to my existing default .qmail files for postmaster, etc.

vpopmail is not destructive on installation. It will not remove any of
your
files.

 6.  How can I map several names to one address.  With .qmail files it's
 easy (I think).

Yes. You can do it with .qmail-user files

 7.  What tools are needed for vpopmail to work correctly.  I currently have
 installed qmail, uscpi, and daemontools. Anything else.

That should be enough.

 8.  Should I install qmailadmin before or after vpopmail.

After, qmailadmin uses vpopmail's library. 

 9.  At what point do I enable options ..  I am assuming the following
 command will work?
 make --enable-roaming=y --enable-default-domain=andigilog.com

those options are for the configuration script. you may want to re-read
the INSTALL file. If you are starting from a fresh unpack of a tar ball:
./configure [with your options, like --enable-roaming-users=y]
make
make install-strip
done.

 
 That's all and thanks a lot.

Good luck ;]
Ken Jones

 
 Steven M. Klass
 Systems Administrator
 
 Andigilog Inc.
 7404 W. Detroit Street, Suite 100
 Chandler, AZ 85226
 Ph: 602-940-6200 ext. 18
 Fax: 602-940-4255
 
 [EMAIL PROTECTED]
 http://www.andigilog.com/



Re: Qmail with Oracle

2000-07-07 Thread Ken Jones

Alexandre Biancalana wrote:
 
 Hi All,
 
 I have Qmail installed in Red Hat 6.2 and it works fine, but we need to 
authenticate users with Oracle.
 
 I have downloaded vpopmail package v4.8.4 but it does not seem to compile, 
because I think this
 
 package has Oracle support. Does anybody know how to compile vpopmail and then 
authenticate users with it?
 
 Where can I find some documentation or some patch in order to fix this problem?
 
 Have anybody made Oracle 8.1.6 work with Qmail?
 
 Thanks,
 
 Alexandre Biancalana

I wrote and tested the oracle module. It was built against Oracle 8
something.

I still need to add some options to the configure script to allow you to
set the path to oracle.

Send me what problem you are having on the compile, and I'll help you
work
through it. Then we can use the problems you have run into as the start
for an Oracle README file.

Ken Jones



Re: Courier IMAP / Autoresponders / SQWebMail

2000-07-07 Thread Ken Jones

Kathleen Farber wrote:
 
 Anything I should be aware of for installing Courier IMAP with
 vpop and vchkpw
 
 We would like to install sqwebmail but worried about screwing things up
 since it took a month to get it running the right way with no error messages
 ::whew::
 
 Red Hat Linux 6.2
 Current Qmail, QmailAdmin, EzMLM, vpop, vchkpw
 
 Also, if anyone knows why when using autoresponders why the mail bounces but
 yet the autoresponder goes out would be much appreciated!
 
 Kathleen

Here is my configure line for sqwebmail to work with vpopmail:
./configure --enable-webpass=vpopmail --without-authuserdb
--without-authpam \
--without-authpwd --without-authshadow --without-authldap
--with-cachedir \
--with-authvchkpw --enable-imageurl=/images/sqwebmail/ \
--enable-imagedir=dir

Here is my configure line for courier imap
./configure --without-authuserdb --without-authpam \
--without-authpwd --without-authshadow --without-authldap \
--with-authvchkpw --enable-workarounds-for-imap-client-bugs

One gotcha with the courier-imap. If you are using mysql, sybase or
oracle, you need to edit the courier-imap code. In the authlib
directory, find the vauth_getpw function call and add a vclose();
right after it.

The reason why is, a courier-imap client causes a courier-imap 
process to run on the server. Unlike pop, the courier-imap server
process stays active for the entire session. So if you have 
200 people using imap, you'll have 200 courier-imap server
processes running on your machine.

Now the reason for the vclose() is that vpopmail API doesn't
explicitly close the connection to the database. Once the
vauth_getpw() function is run, courier-imap has all the
information it ever needs from the database. At that point
we need to call vclose() to close the database connection.
If not, those 200 imap clients will cause 200 database 
connections to stay open. 

The vclose() call isn't needed if you are using the file
based authentication module in vpopmail. Since the files
are closed during each vpopmail api function call.

Ken



Re: vpopmail 4.8a Upgrade

2000-07-07 Thread Ken Jones


I'll update the next release of vpopmail to also look in
/usr/bin/tcprules

Ken Jones

Chris Tolley wrote:
 
 vpopmail isn't slanted towards RedHat RPMs, so it's expecting your tcprules
 to have been installed from source, which would put it in
 /usr/local/bin/tcprules.  The Makefile has that as a default, so when it
 can't find it, it doesn't go searching.  Just compile with the option
 
 --enable-tcprules=/usr/bin/tcprules
 
 which is where the RPM is configured to dump it, or hack the Makefile to the
 appropriate directory.
 
 As for the rest...it looks as if your glibc package is damaged or
 incomplete.  Try reinstalling from the RPM that matches the revision of your
 RedHat.  Those references are defined in the .so files located in your /lib
 directory and are owned by the glibc package.
 
 -CT
 
  -Original Message-
  From: Sylwester S. Biernacki [mailto:[EMAIL PROTECTED]]
  Sent: Friday, July 07, 2000 3:49 AM
  To: [EMAIL PROTECTED]
  Subject: Re[2]: vpopmail 4.8a Upgrade
 
 
  2000-07-07, at 02:53:22, [EMAIL PROTECTED] wrote:
 
   also sprach list:
   I'm trying to upgrade vpopmail to version 4.8a. However,
  when I try to
   ./configure, I get an error that the tcprules program
  cannot be found.
 
   You need to specify it with --enable-tcprules-prog=/path/to/tcprules
 
   Where should tcprules be coming from? What installation am
  I missing?
 
  (pcg@micah) ~ rpm -qf `which tcprules`
   ucspi-tcp-0.88-1
   ^
  So... I've got another problem with compilation vpopmail.
  gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o opensmtp.o
  libvpopmail.a -lnsl -lcrypt -lm
  libvpopmail.a(my_thr_init.o): In function `my_thread_global_init':
  my_thr_init.o(.text+0x14): undefined reference to `pthread_key_create'
  libvpopmail.a(my_thr_init.o): In function `my_thread_init':
  my_thr_init.o(.text+0xfa): undefined reference to
  `pthread_getspecific'
  my_thr_init.o(.text+0x13b): undefined reference to
  `pthread_setspecific'
  libvpopmail.a(my_thr_init.o): In function `my_thread_end':
  my_thr_init.o(.text+0x1cd): undefined reference to
  `pthread_setspecific'
  libvpopmail.a(my_thr_init.o): In function `_my_thread_var':
  my_thr_init.o(.text+0x204): undefined reference to
  `pthread_getspecific'
  collect2: ld returned 1 exit status
  make[2]: *** [vchkpw] Error 1
  make[2]: Leaving directory `/usr/src/vpopmail-4.8a'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/usr/src/vpopmail-4.8a'
  make: *** [all-recursive-am] Error 2
 
  and this goes on every gcc compiler I've used (2.95 and 2.96):
  gcc version 2.96 2606 (experimental)
  Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
  Machine is RH 6.2 with glibc-2.1.90
 
  Any suggestions ?
 
  Despite of this fact, on other machines with egcs compiler it compiles
  fine and works well.
 
  --
  greetz,
  Sylwester S. Biernacki [EMAIL PROTECTED]
 
 



Re: Qmail performance question...

2000-06-30 Thread Ken Jones

Ian Layton wrote:
 
 Hello.
 
 I have recently installed Qmail on an Alpha box for my boss. I got it to
 send a simulated 100K message per hour through a dirty benchmark I wrote. My
 boss wants more than that. I believe that the slow up is in qmail-inject. Is
 there any way to make qmail-inject faster or bypass it totally? If so...how
 is it done. Also, has anyone else gotten qmail to send anything in the range
 I have?
 
 Ian Layton

It's all because of disk I/O. Anything you can do to speed up disk 
I/O will help, including:

1) Apply the big todo patch
2) Increase the number in the conf-split file and re-install
3) Change conf-spawn to 255 and reinstall
4) Get a Flash IDE disk for your queue ... or..
5) Run qmail's queue on a disk drive all by itself
6) send qmail's log output to /dev/null

I've seen machines that at max were doing 80 qmail-remotes. 
When we put in an Flash IDE disk, that number jumped to
255 and stayed there. 

Ken Jones
inter7



Re: vacation program for qmail/vpopmail/qmailadmin

2000-06-29 Thread Ken Jones

 On Thu, 22 Jun 2000, Marco Leeflang wrote:
 
  i want a vacation program where vpopmail users can change their own
  vacation message
  any suggestion ??

Here is a perl based cgi for vpopmail users who want to setup
a vacation message.

http://www.vpopmail.cx/vpop-vacation-0.3.tar.gz

Ken Jones
inter7



Re: deferral: Can't_create_tempfile_(#4.3.0)

2000-06-10 Thread Ken Jones

zealot wrote:
 
 I repeatedly see this message in /var/log/qmail/current:
 
   delivery 787: deferral: Can't_create_tempfile_(#4.3.0)/
   status: local 0/10 remote 0/20
   starting delivery 788: msg 69232 to local
 [EMAIL PROTECTED]
 
 What causes this error message and what can I do to fix it?
 
 I'm running FreeBSD 4.0, ucspi-tcp 0.88, Qmail 1.03, and Vpopmail 3.4.11-2.
 
 Here's the setup for /var/qmail/control
 
   -rw-r--r--   1 root  qmail   11 May 27 20:01 defaultdelivery
   -rw-r--r--   1 root  qmail8 May 27 21:20 defaultdomain
   -rw-r--r--   1 root  qmail  141 Jun  9 06:51 locals
   -rw-r--r--   1 root  qmail   19 May 27 21:21 me
   -rw-r--r--   1 root  qmail8 May 27 21:21 plusdomain
   -rw-r--r--   1 root  qmail  180 Jun  6 14:34 rcpthosts
   -rw-r--r--   1 root  qmail  166 Jun  6 14:34 virtualdomains
 
 The contents of virtualdomains:
   sneakernet.dhs.org:sneakernet.dhs.org
 
 Here's the setup for virtual acccount sneakernet.dhs.org
 
   /home/vpopmail/domains/sneakernet.dhs.org
   -rw---  1 vpopmail  vchkpw34 Jun  6 21:51 .dir-control
   -rw---  1 vpopmail  vchkpw55 Jun  6 02:34 .qmail-default
   -rw---  1 vpopmail  vchkpw26 Jun  8 02:16 .qmail-root
   -rw---  1 vpopmail  vchkpw 0 Jun  6 02:34 .vpasswd.lock
   drwx--  3 vpopmail  vchkpw   512 Jun  8 02:08 postmaster
   -rw-r--r--  1 vpopmail  vchkpw   291 Jun  8 11:06 vpasswd
   -rw-r--r--  1 vpopmail  vchkpw  2405 Jun  8 11:06 vpasswd.cdb
   drwx--  3 vpopmail  vchkpw   512 Jun  6 02:34 zealot
 
 The contents of .qmail-default:
   | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 
 The contents of .qmail-root:
   [EMAIL PROTECTED]
 
 The contents of .vpasswd
 
 postmaster:xxx:1:0:Postmaster:/home/vpopmail/domains/sneakernet.dhs.org/post
 master:5000
 
 zealot:xxx:1:0:zealot:/home/vpopmail/domains/sneakernet.dhs.org/zealot:5
 000
   (password hash removed to protect the innocent)
 
 Here's the setup for [EMAIL PROTECTED]
 
   /home/vpopmail/domains/sneakernet.dhs.org/postmaster
 
   -rw---  1 vpopmail  vchkpw   26 Jun  8 02:16 .qmail
   drwx--  5 vpopmail  vchkpw  512 Jun  6 02:34 Maildir
 
 The contents of .qmail:
   [EMAIL PROTECTED]


The code is in vdelivermail.c in two places:

1) void deliver_mail(char *deliverto, struct passwd *pw_data)

sprintf(tmp_file,"tmp/%lu.%d.%s",tm,pid,hostname);
if ((mailfile = creat(tmp_file,S_IREAD | S_IWRITE)) == -1)
failtemp ("Can't create tempfile (#4.3.0)\n");

2) char *email_it(deliverto)

sprintf(tmp_file,"/tmp/%lu.%d.%s",tm,pid,hostname);
if ((mailfile = creat(tmp_file,S_IREAD | S_IWRITE)) == -1)
failtemp ("Can't create tempfile (#4.3.0)\n");

Notice that this places the temp file in /tmp...
Perhaps this should be like 1) above and place it under the
current directory.

You might want to try changing this code to:
sprintf(tmp_file,"tmp/%lu.%d.%s",tm,pid,hostname);
if ((mailfile = creat(tmp_file,S_IREAD | S_IWRITE)) == -1)
failtemp ("Can't create tempfile (#4.3.0)\n");

make ; make install
Then see if you still get the error.

Ken



Re: deferral: Can't_create_tempfile_(#4.3.0)

2000-06-10 Thread Ken Jones

clemensF wrote:
 
  Ken Jones:
 
  You might want to try changing this code to:
  sprintf(tmp_file,"tmp/%lu.%d.%s",tm,pid,hostname);
  if ((mailfile = creat(tmp_file,S_IREAD | S_IWRITE)) == -1)
  failtemp ("Can't create tempfile (#4.3.0)\n");
 
  make ; make install
  Then see if you still get the error.
 
 but the tmp directory would have to exist beforehand, right?  unlike the
 /tmp, which is already there.  but you might have found a bug there!
 
 clemens

tmp does exist if it's a correctly created Maildir.
It has cur, new and tmp

Ken



ezmlm.org

2000-06-08 Thread Ken Jones


Does anyone know what happened to the ezmlm.org site?

Ken Jones
inter7



Re: Forwarding catchall acount to multiple Maildirs?

2000-06-08 Thread Ken Jones

 Snowcrash wrote:
 
 
 I currently have a catchall account set up and it succesfully
 delivers to one user.  However I would like to have the mail delived
 to multiple people.  I'm not quite sure how to do this.  My current
 .qmail-default is:
 
 | /home/vpopmail/bin/vdelivermail ''
 /home/vpopmail/domains/foo.com/user
 
 Thanks in advance,
 Daniel Daley
 [EMAIL PROTECTED]

the vdelivermail program only accepts one account for the "catchall"
"catchall" being a horrible phrase meaning:
All those emails which neither match a .qmail-user file nor are
in the vpopmail user authentication system for this domain.

Adding lines after the vdelivermail line will not have your intended
effect. The lines after will receive all email that does not match
a .qmail-user file (standard .qmail-default processing), including
email for vpopmail pop accounts. This is not a "catchall" behavior.

What you could do is put an email address at the end of vdelivermail.
Say.. [EMAIL PROTECTED] Then create a .qmail-catchall file with the list
of Maildirs you want the catchall email to go to. This will cause
a re-injection of the "catch all'd" email into the queue. But will
do what you want.

For example:
cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

cat .qmail-catchall
./user1/Maildir/
./user2/Maildir/

Ken Jones



qmailanalog and multilog

2000-06-07 Thread Ken Jones


Does anyone have a patch to qmailanalog to read
the new multilog time format?

Ken Jones
inter7



Re: qmail IRC Channel

2000-05-23 Thread Ken Jones

kapil sharma wrote:
 
 Is there any qmail IRC channel or chat?

Yes, efnet #qmail

Ivo



Re: Does vpopmail work with Mailbox ?

2000-05-23 Thread Ken Jones

 Chester Chee wrote:
 
 Hi,
 
 I checked the web page on www.inter7.com regarding vpopmail. They
 don't really explicitly say whether vpopmail works only with Maildir
 mailbox format or not. Can anyone please enlighten me on this? Thanks
 in advance.
 

It uses Maildir 

Ken
inter7



Re: Forward to multiple people?

2000-05-22 Thread Ken Jones

Bob Rogers wrote:
 
From: "Snowcrash" [EMAIL PROTECTED]
Date: Sat, 20 May 2000 19:23:01 -0500
 
I'm running Qmail with Vpopmail from inter7.com  and I'd like to know
how I would forward one e-mail address to mutiple people.  For example
messgaes sent to [EMAIL PROTECTED] are sent to [EMAIL PROTECTED], [EMAIL PROTECTED] and
[EMAIL PROTECTED]  Probably an easy question but I'm just not getting it...

In the ~vpopmail/domains/virtual domain directory place
a .qmail-support file.

echo "[EMAIL PROTECTED]"  .qmail-support
echo "[EMAIL PROTECTED]"  .qmail-support
echo "[EMAIL PROTECTED]"  .qmail-support

Those are forwards processed by qmail-local. Which causes
the email to be sent into the qmail queue again, one for
each user.

The alternative is to place the path "full or relative" to
tom, dick and harry's Maildirs. For example, on a newly
created virtual domain foo.com

echo "./tom/Maildir/"  .qmail-support
echo "./dick/Maildir/"  .qmail-support
echo "./harry/Maildir/"  .qmail-support

This causes qmail-local to place a copy of the email in
each of these users Maildirs. More efficent than a forward.
However, this only works for vpopmail uid/gid dirs.

Ken Jones
inter7



Re: Ezmlm web front

2000-05-16 Thread Ken Jones


The next release of qmailadmin has more support for ezmlm-idx
thanks to the guys at wizoffice in singapore.  It will be released
(hopefully) in the next week or so.

If you want to try it out now download from:
http://www.inter7.com/qmailadmin/qmailadmin-0.26h-WizOffice-FROZEN-12-MAY-2000.tgz

They sent me a few patches for regex searching of pop accounts.
Which isn't in this tar ball.

ken jones
inter7

Chester Chee wrote:
 
 Doesn't qmailadmin also support mailing list administration using ezmlm???
 What is the different between this package and qmailadmin?
 
 - Original Message -
 From: "Steffan Hoeke" [EMAIL PROTECTED]
 To: "qmail" [EMAIL PROTECTED]
 Sent: Friday, May 12, 2000 3:59 PM
 Subject: Re: Ezmlm web front
 
  On Fri, May 12, 2000 at 02:23:47PM +0100, Rodney Edwards wrote:
   Does any one know anyway to create a web front for ezmlm administration
   e.g. to subscribe  un-subscribe etc..
  Try ezmlm-web... http://rucus.ru.ac.za/~guy/ezmlm/#ezmlm-web
 
  HTH,
   Steffan
  --
  http://therookie.dyndns.org
 
 



Re: db files for vpopmail and courier imap

2000-05-05 Thread Ken Jones

 Cono D'Elia wrote:
 
 Hello,
 
 Is there a limitation for the amount of users courier imap and
 vpopmail can support using the db type files? Is it better to go with
 an sql database instead?
 
 
 Thanks,
 
 Cono.

There is no limitation of cdb password files. However, modifications
to the file (add/delete/mod) start taking long amounts of time 30
seconds
when you have more than 5,000 users. 

ken jones
inter7



Re: Vpopmail error - No Mailbox

2000-04-25 Thread Ken Jones

snowcrash wrote:
 
 I installed the RPM source files provided by Bruce Guenter and added the
 vpopmail package from inter7.com.  After the initial installation everything
 appeared to be working properly.  However, about a week later I started
 recieving an error message "Sorry,_no_mailbox_here_by_that_name."  This is
 happening on every user on every virtual domain I created.  These users all
 exist.. and as I stated before.. worked fine.  I haven't changed anything
 and have no idea where to start looking to solve the problem.  Anyone have
 some ideas?
 
 Daniel Daley
 [EMAIL PROTECTED]

Check for a cron job that rebuilds /var/qmail/users/assign.
It may be over writting the file.

Ken Jones
Inter7



Re: Error at vpopmail

2000-04-25 Thread Ken Jones

Irwan Hadi wrote:
 
 I got this error by checking mail at vpopmail
 +OK [EMAIL PROTECTED]
 +OK
 -ERR aack, child crashed
 
 What this mean then ?, how to fix it ?
 this only happened when I use username, and not username@domain.
 but I;ve update the /vpopmail/users as the FAQ said.
 
 Thanks in advance ;)
 
 ---
 AFLHI 058009990407128029/089802---(102598//991024)

make sure your tcpserver for pop is running as root.

ken jones
inter7



Re: Sendmail to qmail

1999-12-01 Thread Ken Jones

"Tyler J. Frederick" wrote:
 
 Well.. yea, they use the unix passwd file so yea, the usernames are unique
 for each user, but they have the /etc/virtusertable with entries in it
 like this:
 
 [EMAIL PROTECTED]localuser
 [EMAIL PROTECTED]   localuser2
 
 Knowing this, what would I do?  I think I'd do something in ~alias, but
 I'm not necessarily sure.  I could setup vpopmail and in each domain dir
 make the appropriate .qmail file to send to a local user.. However, I
 don't want to have system accounts for each user.  Perhaps vpopmail with
 mysql support would be best?  Just throwing ideas out...  Any thoughts?

The vpopmail authentication structure contains the same fields as the
/etc/passwd data structure with the addition of a domain name.

The default vpopmail sql table definition also includes the domain name.
You can add an additional field which contains the virtualtable
mappings.
This can be done by editing vmysql.h and modifying the table definition.
The table gets created automatically on the first use of the vpopmail
api library calls.

You could then modify the vdelivermail.c (delivers mail to a directory)
and vchkpw.c (authenticates a pop connection and points pop server at
a Maildir).

Both programs could be modified to do an additional sql query to match
the sendmail virtable mappings. 

For example:
vdelivermail: select password structure where pw_virt_email = email
address
This will deliver to the pw_dir directory.

vchkpw: select password structure where pw_virt_user = localuser

Then you will need to write a program which parses the virtusertable and
updates the vpopmail sql table for these two new fields. 
pw_virt_email   pw_virt_user
 [EMAIL PROTECTED]localuser

That should do it.

Ken Jones
Inter7

 
 - T
 
 ---
 Tyler J. Frederick
 Senior Systems Engineer
 fc.com, Inc.
 
 On 2 Dec 1999, Thomas Neumann wrote:
 
  If they use their UNIX username/password right now, this means their
  usernames are unique over all virtual domains anyway right now, not
  just unique within each virtual domain, right? Then it should be
  no problem to set up a one-to-one mapping from unique, unqualified
  username to the user's virtual maildomain (perhaps using a CDB file
  that is re-generated once a day for the mapping) and implement
  a checkpassword for qmail-pop3d that uses this mapping to direct
  the user to his associated Maildir. Sounds like 30 lines of perl
  and be done. For mass-converting all currently existing folders
  to Maildir format I'd suggest a small shell script that uses
  formail (from procmail) and safecat ( see
  URL:http://www.nb.net/~lbudney/linux/software/safecat.html )
  The downtime would amount to the time that is needed for folder
  conversion, during which I would disable SMTP services (or at least
  not have qmail-send running yet) to avoid a local delivery taking
  place to a folder that is currently being converted to a Maildir.
 
  -t
 
 



vpopmail 3.4.10 stable released

1999-11-29 Thread Ken Jones


vpopmail 3.4.10 stable is now available
http://www.inter7.com/vpopmail/

All current 3.4.10 beta users are encouraged to upgrade.

New features in 3.4.10:
- mysql and cdb support
- new adaptive user directory layout which optimizes inode 
  usage for 10 to 10 million accounts
- new C api and library 
- many bug fixes and enhancements

Ken Jones
Inter7



Re: Don't seem to be receiving any mails - CheckPassword, Vpopmail question

1999-11-15 Thread Ken Jones

 john wrote:
 
 Hi,
 
 I setup everything and i managed to start the tcpserver and pop3d in
 RH6.1 but I don't seem to be
 receiving mails in the maildirectory which is under
 /home/vpopmail/users/
 
 Should I install ezmlm and also autorespond so that it works fine ?



Depends where your users and virtual domain users are. 

Did you add any? How did you do it?

What do your smtp and pop3 startup lines look like?

Ken Jones
Inter7



Re: Creating a Structured Directory in Qmail for Users

1999-11-11 Thread Ken Jones


Alphabetical distributions are not symetrical. It is better to allocate
users based on additions. vpopmail has a distribution algorythm. you can
use it if you want. I can send it to you. It is based on users being
added, with 3 levels of directories.

Ken Jones
Inter7

 john wrote:
 
 Hi,
 
 How do I go about creating a proper directory structure in qmail for
 users. Like I want to have users name starting with
 
 A to F in
 
 /home/Vpopmail/Users/A-F directory
 
 G to M in
 
 /home/Vpopmail/Users/G-M directory
 
 N to Z in
 
 /home/Vpopmail/Users/N-Z directory
 
 So that its easy for me to search the users and also the mail has to
 be delivered to these mail directories.
 
 Thanks  Regards
 John



Re: vpopmail installation error

1999-11-11 Thread Ken Jones

 john wrote:
 
 When I was installing VPOPMAIL in RH 6.1 i issued the command
 
 ./configure
 
 and then
 
 make clean
 
 immediately I got an warning message saying :
 
 Warning : Clock skew detected. Your installation may be incomplete.
 
 What could be the reason ?
 
 Could anyone let me know

It means you have REALLY fresh software.

Actually, it means the time on the machine that generated the files
(mine)
is newer than the time on your machine.

You can wait untill your's catches up with mine. Or you can do:

touch *

Then start again

make distclean
./configure
etc..

Ken



Re: Vpopmail-3.4.10 with RH6.1 problem

1999-11-11 Thread Ken Jones

 john wrote:
 
 Hi,
 
 I installed Vpopmail-.4.10 with RH6.1 it gave me an error message for
 CDB file.
 
 Later I downloaded the old version vpopmail-3.4.9 and installed it
 went through fine.
 
 

vpopmail-3.4.10 requires the ucspi-tcp compiled source code. It uses
the cdb functions. Unpack and compile ucspi at the same level as
vpopmail and the configure program will pick it up. That is:
if you are inside the vpopmail source directory , ucspi should
be at ../ucspi-tcp-0.84.

Ken Jones



Re: Mass user email

1999-11-10 Thread Ken Jones

Robert wrote:
 
 Hello,
  Thank you in advance for any help that is given.  Is there a way to
 send a single email to all the users on my system so it looks like it's
 addressed to each individual user?  I tried adding each user on the box
 to my .qmail file, but the mail that is sent out is addressed to the
 original user the email was sent to.  I looked at ezmlm, but i'm not
 interested in setting up mailing lists.  I just want to send out system
 warnings and such to my users if needed.  Any help would be greatly
 appreciated.
 
 Thank you.

popbull might work for you, or the virtual pop bull programs out there.

If not, I have a program that will send an email out to a list of users
in a file, individually addressed.

If it's all local, use a popbull program. 

Ken Jones
Inter7



Re: QMail aliases with vchkpw (vpopmail)

1999-11-03 Thread Ken Jones


Create the aliases as .qmail-user files in the
~vpopmail/domain/virtualdomain
directory. Qmail processes the .qmail files before looking for
.qmail-default,
which invokes vdeliver mail to deliver based on vpasswd users.

Ken Jones
inter7

Antonio Navarro Navarro wrote:
 
 Hello !
 
 How can I add mail aliases to a domain that has been installed using QMail and 
Vpopmail ? I can add and delete domains and users, but I don't know how to manage 
aliases...
 
 Thanks in advance !
 
 Antonio Navarro Navarro
 BemarNet Management
 [EMAIL PROTECTED]
 http://www.bemarnet.es



Re: vchkpw .qmail-default

1999-11-03 Thread Ken Jones

"Tyler J. Frederick" wrote:
Looks like a possible bug.
Check your version of qmailadmin. It should not be touching this file
unless you are setting something to be the default delivery user.

Ken

 
 Hi
 
 Over the past couple weeks, the .qmail-default file for one of my virtual
 domains has gotten changed on it's own making mail delivery not go
 through. (As the reference to the vdeliver program was removed).  Here's
 what the file SHOULD say
 
 | /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 
 However, I noticed email wasn't going through, and I checked it and it
 said
 
 | /usr/local/vpopmail/bin/alex
 
 Well, there's no bin called 'alex' in the bin dir, but this domain does
 have a user called alex.  Also, I noticed this happened right after I
 added an alias via qmailadmin. Any thoughts?  Anyone seen this kind of
 thing before?
 
 - T
 
 ---
 Tyler J. Frederick
 Senior Systems Engineer
 fc.com, Inc.



vpopmail: support for mysql and large sites

1999-11-03 Thread Ken Jones

A new beta of vpopmail-3.4.10 is on http://www.inter7.com/vpopmail

Changes tested and working on my machine are:

1) support for mysql ./configure --enable-mysql=y
   see README.mysql for details on configuration

2) Support for an adaptive directory layout structure.
   Supports a theoretical maximum of 23 million Maildirs 
   in 3 sub directory levels.

3) A conversion utility to convert old vpopmail installations
   to mysql. vsqlconvert: automatically populates the mysql 
   database with every virtual domains vpasswd information.

4) more features and fixes, see the ChangeLog

Next up on the horizon, code for sqwebmail and qmailadmin
to take advantage of the mysql code.

I tested mysql and vpopmail with creation of 65,000 accounts
on a RedHat 6.0 machine with a 3Gig disk and 128M ram also
running X/Gnome. There was no noticiable degradation in mail 
delivery or pop authentication times. Next test will be on a 
solaris machine with 500,000 accounts.

Ken Jones
Inter7



Re: Concurrencyremote for a specific host

1999-10-19 Thread Ken Jones


It can only be set on a per physical queue basis. If each "system"
uses the same physical queue, then the answer to your question is no.
If the "systems" use different physical queues, then you can do it.

Ken Jones

Stan Horwitz wrote:
 
 Hello fellow qmail users:
 
 In the qmail documentation, there's information about that says I can use
 the concurrencyremote control file to set the maximum number of concurrent
 remote mail deliveries can occur. I am wondering if this can be set on a
 per system basis. Specifically, I want to set the concurrencyremote level
 down to a value of 5 for one specific system (because its being overloaded
 with mail processing) and while allowing concurrencyremote to be set to a
 value of 50 for all other systems that might receive mail from this
 particular qmail server. Is this possible? If so, how?
 
 Thanks



Re: Selective relaying and ORBS

1999-10-10 Thread Ken Jones

I just ran the telnet test on my test qmail setup.

 MAIL FROM:[EMAIL PROTECTED]
 250 ok
 RCPT TO:[EMAIL PROTECTED]
 250 ok
Relay test result
Uh oh, host appeared to accept a message for relay.
The host may reject this message internally, however
Connection closed by foreign host.

Qmail does reject it internally.

Ken Jones
Inter7

John Newbigin wrote:
 
 I just received a message from the ORBS database.  It seems that qmail
 has a bug.feature which allows relaying of messages in the form
 jn%it.swin.edu.au@[1.2.3.4]
 Where 1.2.3.4 is the IP address of my mail server, not for
 it.swin.edu.au. (I don't want everyone on the list to try it :).
 
 The machine should accept mail for 1.2.3.4, but the message is actualy
 sent to [EMAIL PROTECTED]
 The mail relay should only accept mail for [EMAIL PROTECTED]
 
 I have tcpd set up to allow relaying only from machines inside 1.2.3.0
 
 Is there a way to dissable this feature/bug.
 
 If you want to test your system, use the telnet service from here
 http://maps.vix.com/tsi/ar-test.html
 
 I am sure that there are many people with a simalar setup which could
 pose a large spam risk.
 
 I would appreciate a speedy reply.
 
 John.
 
 --
 Information Technology Innovation Group
 Swinburne University. Melbourne, Australia
 http://uranus.it.swin.edu.au/~jn



Re: configuring users on the FLY

1999-10-08 Thread Ken Jones


Sure,

We are using:
1) qmail-1.03
2) ucspi
3) daemontools
4) vpopmail 
5) sqwebmail
6) A little cgi program that allows people to signup. 
   It will be included in the next release of vpopmail.

The next release of vpopmail will also have a new directory structure
to support 200,000 users more efficently.

Ken Jones
Inter7

Amit Vadehra wrote:
 
 HI,
 I would like to creat a hotmail kind of a free mail system where a user
 can give his/her details and create an id on my system. This means that the
 software has to interface with a few files of qmail and create a user on the
 fly.. how can i do that . is there any software in the market that will give
 me this kind of functionality.
 Thanks
 
 Amit Vadehra
 
 ICQ #: 43481951



Re: qmail-popup

1999-10-07 Thread Ken Jones


Others have reported a similar problem and traced it to a corrupted
~vpopmail/domains/sumdomain.com.au/vpasswd file

Others have reported corrupted binaries of vchkpw programs. Try
reinstalling vchkpw and checking the vpasswd file for strangeness.

ken Jones
Inter7

Brendan Pratt wrote:
 
 Hi All,
 
 After having a crash today, I've discovered that I'm now getting
 authentication errors.
 
 I'm not a programmer, so if I've missed something obvious, then you'll
 understand why. :-)
 
 --cut here--
 snowy:/work# telnet virtual 110
 Trying 203.56.37.8...
 Connected to proxy.overflow.net.au.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user sales%sumdomain.com.au
 +OK
 pass 111
 -ERR aack, child crashed
 Connection closed by foreign host.
 --cut here--
 
 The actual password and usernames are correct when I try them.
 
 Oh, and I'm also using vpopmail here too, hence the domain details in the
 above clipping.
 
 It all worked perfectly until the lockup, which required me to run e2fsck on
 the drive.
 
 --
  Current Net Legislation will slow us down and cost us more!
 Tell you Local Federal Member NOW it will hurt your business
  For more info visit http://www.efa.org.au/Campaigns/99.html
 --
 
 C u laitr
 -
 Brendan Pratt Overflow Internet Services
   Mobile : +61-418-746657
   Phone  : +61-7-55-463-832
 E-Mail : [EMAIL PROTECTED]
 -



newline patch for qmail

1999-09-29 Thread Ken Jones

Can anyone point me to the newline patch for qmail.

I'm looking for the patch that allows qmail to talk non RFC complient
MTA's which don't send the right line termination characters.

Ken Jones
Inter7



Re: forwarding to specific users

1999-09-14 Thread Ken Jones

Holger Häffelin wrote:
 
 Hello!
 
 I have vchkpw and qmail running on my mailserver. Now the problem:
 
 I want to have 2 domains and only 1 set of users. So I must have an
 expression like
 
 |forward $[EMAIL PROTECTED]
 
 in the .qmail-default file of xy.de . Is there a possibility to have the
 user from the incoming mail in an environment variable ?
 
 Thanks,
 Holger

There is a new program in vchkpw (vpopmail) that allows you
to alias one virtual domain to another virtual domain.

So two virtual domains have the same set of users.

vaddaliasdomain

Ken Jones
Inter7



Re: vpopmail Problem

1999-09-13 Thread Ken Jones

Miguel Carvajal wrote:
 
 Hi there!,
 I installed vpopmail in /home/vpopmail/. The problem I'am having
 is that when I send an email to one of the users like
 [EMAIL PROTECTED] the user never recieves it. How can I fix this?
 
 Thanks in advance,
 Miguel Carvajal

Hi Miguel,

It's best to post your question to [EMAIL PROTECTED] vpopmail
mailing list.

Ken
Inter7



Re: Potential hole?

1999-09-09 Thread Ken Jones

David Dyer-Bennet wrote:
 
 Russ Allbery [EMAIL PROTECTED] writes on 8 September 1999 at 16:13:46 -0700
   Ken Jones [EMAIL PROTECTED] writes:

blah blah.

If you want a secure system follow these rules:

1) Only grant shell access to trusted users.

2) Physical security

3) Shut off un-needed services

4) Run trusted programs

5) Monitor news and lists for new exploits

6) Practice "Safe Coding"

7) Have good backups

8) Upgrade 

Anything else you will need risk assesment to determine how
much you are willing to be hacked, and how expensive it is
to recover.

Ken Jones
Inter7



Re: Once done installing

1999-09-09 Thread Ken Jones

James wrote:
 
 Are there any other concerns I need to worry about once qmail is
 installed?  I'm working on getting QmailAdmin
 (http://www.inter7.com/qmailadmin/) to work, will this take care of most
 of my setting up new users, etc.?  

It works in a limited sense. And you should understand the limitations
qmailadmin has before you try to run a production system. It works
only with virtual domains created under the vpopmail package. 
http://www.inter7.com/vpopmail/

It does have limited support for setting:
1) default maildir
2) single uid/gid
3) single forward or alias
4) autoresponder
5) basic ezmlm

 Otherwise, will I have to create a
 "Mailbox" file in each user's account each time I create a new user?

You question and suggested solution hint that you do not yet understand
how to set up qmail. Please read more of the documentation.

If you wish to have on line conversations with qmail people join
irc efnet #qmail channel. If you do not know what this means you
should read about irc. Linux users can use xchat. (sorry, newbie rant)

 What about system-wide mail handling.. for example, I can't seem to get
 "logcheck" to work now, whereas I was able to get mail from it before when
 I was using sendmail.  Thanks for any help.

If you want any real problem solving help you need to specify more than
"I can't get logcheck to work".

Always say your operating system, version. qmail version, and versions
of all the software that is in question. blah blah.

Hang in there. Learning is fun :)

Ken

 
 james



Re: Potential hole?

1999-09-08 Thread Ken Jones


The best solution i've seen is to group all the programs
that are possible security holes, like in.telnet and compilers,
to a new group. And only allow members of that group to execute
the programs.

Just like all the suid programs should be grouped.

It's a pretty standard security lockdown method.

Ken 
Inter7



Re: Maildir patch on Qmail-imap-4.5

1999-09-03 Thread Ken Jones


There is a imap maildir modified source tar ball on 
http://www.inter7.com/vpopmail/

I don't know if it supports all the features correctly. However,
it has been tested by several isp system admin's. They reported
success. 

Here is the text from the page:
vchkpw now support IMAP!
opT from efnet #qmail has ported imap to talk to vchkpw. 
Pick up the tar file now. link

We have several people interested in maintaining this as a 
current version. So if you use it and program a fix or update,
please send us the code. Or go to efnet #qmail and tell
the folks there.


John Schmerold wrote:
 
 Does the binary support Virtual Domains?  In particular, I'm interested in domains
 administered by Inter7's GUI.
 
 David Harris wrote:
 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote:
   How exactly do you patch Qmail-imap 4.5 so that i
   handle Maildirs correctly?
 
  Why do you say patch the "Qmail-imap 4.5"? Almost sounds like you are referring
  to an RPM that someone has created. If so, you need to know that a binary RPM
  can not be patched. Instead you can only patch the IMAP 4.5 source code and
  then compile a modified version.
 
  To get a working copy of the UW IMAP 4.5 server with Maildir support, you need
  to take a base IMAP tarball, extract it, and apply a number of patches to the
  source code. Detailed instructions and all the patches and tarballs you will
  need are at:
 
   http://www.davideous.com/imap-maildir/
 
  Or you could use my RPM available at the same site.
 
  If you have any problems following those instructions first see the help on the
  patch command, and then get in contact with me.
 
   - David Harris
 Principal Engineer, DRH Internet Services
 
 --
 John Schmerold
 Katy Computer, LLC
 20 Meramec Station Rd
 Valley Park, MO 63088
 314-316-9000
 314-316-9200 fax



Re: bounce messages with .qmail / vchkpw

1999-08-24 Thread Ken Jones

"Stephen C. Comoletti" wrote:
 
 Can anyone provide the correct syntax for bouncing messages from a
 .qmail while using vchkpw? Right now, due to customers leaving, signing
 up for lists incorrectly, etc, we get a large amount of undeliverable
 email which gets dumped in postmaster. I'd rather it bounce back to the
 sender. I've tried the following, which worked on a domain I use for
 testing, but not on my primary domain.
 
 | fastforward -p -d /etc/aliases.cdb;
 | /export/vpopmail/bin/vdelivermail '' warn "Sorry, no mailbox here by
 that name. (#5.1.1)\n";
 exit 100;
 
 Like I said above, it worked fine for one domain, but not another. They
 were set up identical. On the failed domain, the result was 2 bounce
 messages for any message sent to a valid address, each failed bounce
 consisting of the warn message split up, as if it tried to interpret the
 warn as an address instead of a command. However, the message did get
 delivered correctly. The sender just got 2 fails regardless. Anyhow, any
 tips would be appreciated.
 
 --
 Stephen Comoletti
 Systems Administrator
 Delanet, Inc.  http://www.delanet.com
 ph: (302) 326-5800 fax: (302) 326-5802

From vpopmail FAQ file:

3. How do I bounce all mail that doesn't match any pop users or .qmail
   files for a particular domain?

   Edit the ~vpopmail/domains/virtual_domain/.qmail-default file and
   change the last parameter to "bounce-no-mailbox" without the quotes.

For example:

[root@orbital testing.com]# pwd
/home/vpopmail/domains/testing.com

[root@orbital testing.com]# more .qmail-default
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/testing.com/postmaster

change to:

| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



pop3d child crashed

1999-08-24 Thread Ken Jones


I'm seeing a strange problem with a tcpserver run qmail-pop3d.

After authenticating via pop i get 

-ERR aack, child crashed

This is only with virtualdomains and not with /etc/passwd
users. None of the /etc/passwd users get this error.

The machine information is:

FreeBSD 3.2-RELEASE
qmail-1.03
ucspi package
vchkpw 3.4.6

Anyone have any clues how to track this down?
I've checked file ownership and permissions for the maildirs and
all the dirs up to it. I think it might be something with freebsd.

Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



new version of vchkpw available

1999-08-24 Thread Ken Jones


A fix has been found and tested for a 

"child crashed" error with vchkpw-3.4.6 on some platforms.

The fix is in the new version vpopmail-3.4.7
(notice the easier to pronouce package name)

The new code is available at http://www.inter7.com/vchkpw/

Everything is backwardly compatible with 3.4.5 and 3.4.6 (at least)

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Outlook Express and remove message after X time

1999-08-13 Thread Ken Jones


Does anyone know if the qmail pop3 server (or any patches) support
the Outlook Express features to:

1) Leave a copy on the server
2) Delete copy after X days

Not surprisingly, people who set this option end up downloading
the same email every time they check pop, untill X days are over.

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: Help!

1999-08-13 Thread Ken Jones


Look at your file /var/qmail/rc 

My guess is that file starts qmail with Mailbox format. 
change ./Mailbox to ./Maildir/ and everything should work.

Martin Paulucci wrote:
 
 Hi everybody,
 
 I'm starting with qmail and I installed vckhpw and qmailadmin, as
 well
 as autoresponder and ezlml
 The problem comes when I try to get the mail.
 I'm running it in a Solaris 2.6 SPARC.
 
 The /etc/init.d/qmail file contains (this is only the main part of it):
 
 csh -cf '/var/qmail/rc '
 
 supervise /var/lock/qmail-smtpd /usr/local/bin/tcpserver -v
 -x/etc/tcp.s
 mtp.cdb -u$USERID -g$GROUPID 0 25 \
 /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd 21 |
 setuser qmaill
  /usr/local/bin/accustamp | \
 setuser qmaill /usr/local/bin/cyclog -s500 -n5
 /var/log/qmail/qmail-
 smtpd 
 
 env - PATH="/var/qmail/bin:/usr/local/bin" \
 tcpserver 0 pop-3 /var/qmail/bin/qmail-popup sintesoft.net \
 /mail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
 
 And I've created the directory for vpopmail in /mail/vpopmail
 Inside that I've created a username for mydefaultdomain.com in
 users called martin
 Also, I've created a virtual domain called virtualdomain.com
 When I try to read the email from for example
 [EMAIL PROTECTED] I get:
 -ERR this user has no $HOME/Maildir
 For a virtual domain it seems to be working fine.
 
 Somebody knows what should I change?.
 
 Thanks in advance,
 
 Martin
 Best regards,
 
 Martin Paulucci
 http://www.ServiRED.COM
 [EMAIL PROTECTED]
 Cell Phone: 15-4935-4246
 Telephone/Fax: (+54-11)4-961-3204

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: virtual domains+users+IMAP

1999-08-12 Thread Ken Jones

Murat Arslan wrote:
 
 Hi all,
 
 I'm writing a bunch of codes to handle a web-mail gateway service.
 Everything is ok, but the virtual domains, users and the IMAP parts..
 
 I added somedomain.com to /var/qmail/control/rcpthosts and
 somedomain.com:guy-some to /var/qmail/control/virtualdomains
 
 Sent signal HUP to qmail-send, and created .qmail-some-info in the
 home dir of user `guy'. The file .qmail-some-info has the
 following line:
 
 /home/somedir/maildir-info/
 
 This is to make qmail-local store the incoming mails to
 [EMAIL PROTECTED] to the above directory.
 
 But it didn't work. When I send a mail to [EMAIL PROTECTED]
 I receive the No such mailbox error.
 
 My first question is where's my mistake ?
 
 Secondly, I need a password database for the virtual users
 in order to make the IMAP server do the authentication.
 
 I investigated this on the web and of course on the manuals,
 and found that this is possible w/ (correct me if i'm wrong)
 qmail-pw2u and qmail-newu. The question is; is it possible
 to make such a pw db for the virtual users, and also for
 the IMAP server ?
 
 I found a patch for IMAP4, by Matthias, but couldn't
 have time to test it. Do they work also for the above procedure ?
 
 I will be appreciated in any kind of help.
 
 Thanks for your time,
 --
 Regards,
 Murat Arslan

vchkpw supports all of this. a friendly person from the internet
has patched imap to work with vchkpw authentication. both are
available off http://www.inter7.com/vchkpw/

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: vchkpw + SQL

1999-08-12 Thread Ken Jones

Jonathan Herbert wrote:
 
 Hi there,
 
 I've ran into a strange situation where i'd like to be able to
 utilize the features of the vhckpw suite (virtualhost multiple
 domains on a single IP, single UID, etc), but would also like
 to use a SQL backend for pop password checking, and whatever
 else.
 
 I'm not sure if something of this sort exists, although i manage
 someone must have atleast thought of it before (maybe i'm the first,
 although i doubt it).
 
 I have systems running via SQL backend database systems that include
 radius, accounting, and a giant internal database, all which benefits
 from the relational capabilities. As of now, POP is the last piece
 to be integrated if this is possible.
 
 Does something exist which can do this?
 
 Thanks,
 Jonathan

Yes it exists. Someone send me code (I can't remember his name). He
modified vchkpw to talk to mysql. He has it up and running in
production.
I think it was a patch file. You can have the code
"as is" and integrate it yourself. Or if you can wait until next
week, I will be integrating it myself.

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: assign file

1999-08-10 Thread Ken Jones

Ana Belén Santos wrote:
 
 I'm using the vchkpw package and I want to know how can I create the file
 assign so
 real users can get their mails with pop too. (virtual users can but no real
 users because
 I don't have entries for them in the assign file) . How can I do that??
 
 Ana Santos

vchkpw versions 3.4.4 or greater automatically authenticates and works
with /etc/passwd users. There is no need for users/assign entries for
/etc/password users. However, if you want to add pop only users in
addition to /etc/passwd users, use the vadduser command. Syntax:

vadduser username optional-password

username must not match a current user in /etc/passwd

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: RH 6.0 compile problem...

1999-08-06 Thread Ken Jones

Ed Weinberg wrote:
 
 not sure if I am missing a lib or something, but when I type:
 #make setup check
 linux responds:
 ./compile qmail-local.c
 qmail-local.c:1: sys/types.h: No such file or directory
 qmail-local.c:2: sys/stat.h: No such file or directory
 make: *** [qmail-local.o] Error 1
 
 any ideas?
 
   --  Ed Weinberg,
   Detel, Inc., An Internet Presence Provider
   [EMAIL PROTECTED]

You didn't install the linux headers. You missed a package

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: your mail

1999-08-02 Thread Ken Jones
nd
still keep the original qmail-pop3d service running.
   
Any advice?
   
Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]
   
  
  
 

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: relaying redundancy

1999-07-22 Thread Ken Jones

[EMAIL PROTECTED] wrote:
 
 I have a qmail server set up such that it's being used as a relay (all incoming
 mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
 machine that my qmail box is relaying to goes down or crashes, whatever. Is
 there a hack to allow qmail to relay somewhere else if that host is down or if
 the queue builds up to a certain number (which usually also means that the host
 its trying to relay to is down)?
 
 regards,
 Jason

If you were somehow able to route the email thru qmtp to a qmtp
server, you can specify multiple qmtp servers. If the first connection
is dead it tries the next line in the file.

That would allow you to send to a backup machine.

Of course all three machines would have to be running qmail.
And the relay machine would have to use the mini-qmail install.

From what I read of qmtp, it will not store the email on disk before
sending to the next machine. It will envoke a network connection
immediately and try to send it there.

You might have to setup two qmail queues.

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: SCO 5.0.5 qmail-1.03 outgoing email problem

1999-07-22 Thread Ken Jones

"Olivier M." wrote:
 
 On Tue, Jun 29, 1999 at 03:10:41PM -0500, [EMAIL PROTECTED] wrote:
  Anyone seen this problem:
  Platform: Sco 5.0.5 qmail 1.03
  Inbound email works, pop works
  Outbound email makes smtp connection but does not deliver the mail.
  We get the same problem on two similarly configured SCO machines.
 
 We also have the same problem with our SCO 5.0.5. May I ask you
 if you found a solutionor workaround  in the meantime ?
 
 Thanks in advance,
 Olivier Mueller

The solution was to not use the -g or -O type options on the compile.
just straight compile.

also found out the crypt library function returns less characters as
are stored in password struct. The characters were the same, but the
password stucture had a longer crypt than from calling crypt.

sco is kinda messed up

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: q in qmail means ?

1999-07-21 Thread Ken Jones


"[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote:

 What does the "q" in "qmail" mean?


Well, since dan is a math proffessor. My bet would be on
queue, or queueing theory. The brits use of queue is all over math. 

"Let's queue up for mail"

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: Single UID

1999-07-20 Thread Ken Jones

Alex Miller wrote:
 
 Paul and all,
 
 The Qmail.org site doesn't seem to have any
 reference to the Paul Gregg single uid
 instruction sheet.
 
 Has that been replaced? What's it's status?
 
 Alex Miller

Try http://www.inter7.com/vchkpw/

It does single UID and we are doing alot of developement work
on it right now.

It also works with http://www.inter7.com/qmailadmin/

and MrSam's web based email reader

http://www.inter7.com/sqwebmail/

-- 
Ken Jones



Exporting mail off exchange server

1999-07-20 Thread Ken Jones


Does anyone know if it is possible to do the following with ms Exchange.

We have a ton of email in an NT exchange server. It will soon
be replaced with a redhat/qmail server.

If possible, we'd like to have the exchange server send all
the users mail over to the qmail server via smtp. Then the
qmail server can save the email into the new users setup.

There is some feature in the Exchange server that provides for
exporting email boxes. Anyone know what that does?

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: Tcpserver and cyclog

1999-07-18 Thread Ken Jones


Two things

1 - add -v option to tcpserver
2 - qmail-smtp doesn't log anything :) There are some patches on
www.qmail.org
to log additional info



Matthew Harrell wrote:
 
 I've been able to get cyclog to work fine with qmail-start but I'm trying to
 get it to work with tcpserver.  I'm presently using this line:
 
 /usr/qmail/bin/tcpserver -x/etc/tcp.smtp.cdb -u 65001 -g 65000 0 smtp \
  /usr/qmail/bin/qmail-smtpd 21 | /usr/qmail/bin/accustamp | \
  /usr/qmail/bin/setuser root /usr/qmail/bin/cyclog -s1000 -n5 \
  /usr/qmail/log/smtp 
 
 and that correctly opens a log file but nothing ever seems to get logged.  What
 am I doing wrong?
 
 --
   Matthew Harrell  The best way to accelerate a
   Bit Twiddlers, Inc.   Macintosh is at 9.8 meters per
   [EMAIL PROTECTED] second squared.



Re: whoson and qmail

1999-07-18 Thread Ken Jones

Andrzej Kukula wrote:
 
 I would like to use whoson protocol (http://www.average.org/ftp/whoson/)
 to allow selective relaying for my site.
 
 Is there any solution for qmail?
 
 Regards,
 Andrzej.

Is there a web page for this protocol?

I just see the source.

-- 
Ken Jones
http://www.inter7.com/qmailadmin - web based qmail adminstration



Re: Web Interface.

1999-01-02 Thread Ken Jones

eric wrote:
 
 Not to drag a topic on - but I have a few questions about engineering
 a Hotmail type of mail solution: I've looked into sqwebmail by Inter7,
 but would like to get more input on the following issues:
 
 1. Is anyone using such as system with Vpop users and NOT system accounts?
I can't imagine giving out 100,000 system accounts.  Does your solution
implement Ldap to point to various servers?
 2. What types of subscription methods do you implement for automated sign-up?
Just cgi type wrappers around the commands?
 3. How does each user administer their own mailing lists (if they are offered)?
For instance, specific users will be able to setup open list-servs - and
that looks like a bit more work unless we direct them to the qmailadmin
package, correct?
 
 Thanks in advance for any help on this.

1) We have modified vpopmail to work with mysql and support large
numbers
   of accounts, at least 500,000. We haven't integrated it into
sqwebmail,
   but it's next on the list.

2) There is a vadduser command line that can be called from perl or
   c program. We have a sample in c.

3) no idea

Ken Jones
Inter7

PS: the web interface is written by Sam Varshavchik
[EMAIL PROTECTED]
Inter7 just hosts his software.