Re: Virtual Domains Over 1 IP Address

2000-06-24 Thread Peter Green

also sprach jaybc1:
 Hello all,
 
 What is the best route for handling multiple domains and associated things
 like mail delivery / pop3 user logins over 1 ip address?

Probably either vpopmail (http://www.inter7.com/vpopmail/) or vmailmgr
(http://www.vmailmgr.org/).

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
  Other than the fact Linux has a cool name, could someone explain why I
  should use Linux over BSD?

 No.  That's it.  The cool name, that is.  We worked very hard on
 creating a name that would appeal to the majority of people, and it
 certainly paid off: thousands of people are using linux just to be able
 to say "OS/2? Hah.  I've got Linux.  What a cool name".  386BSD made the
 mistake of putting a lot of numbers and weird abbreviations into the
 name, and is scaring away a lot of people just because it sounds too
 technical.
(Linus Torvalds' follow-up to a question about Linux)




load balancing two qmail servers using nfs

2000-06-24 Thread Mike Denka

I've got two qmail servers running inside a load balancer.  They both access
the same /var/mail/username/Maildir directories on an NFS server.  They also
share many of the same configuration files in /var/qmail/control on the NFS
server.  The files they share are local symbolic links to the shared volume
on the NFS server.  A few hours after bringing up the second qmail server,
the first one, which had been running fine for two weeks, quit working.  The
errors I am getting in the syslog file on the failing server are
"Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".  Anyone have any
success with this configuration or have any idea what could be causing the
first server to loose its way?

Running qmail and NFS on Solaris 2.7 (first server and NFS server) and 2.8
(second qmail server).  The first server (the one failing) responds to
connections on port 25 but can't send or deliver and is not spawning any
qmail processes.  The second server is now doing all the work.

Thanks,

Mike




Re: load balancing two qmail servers using nfs

2000-06-24 Thread steve j. kondik

you might consider using rsync to sync your conffiles, instead of
sharing them over nfs.  this would eliminate alot of problems
and latency i'd think.

On 06/24/00 @ 12:11AM, Mike Denka wrote:
 I've got two qmail servers running inside a load balancer.  They both access
 the same /var/mail/username/Maildir directories on an NFS server.  They also
 share many of the same configuration files in /var/qmail/control on the NFS
 server.  The files they share are local symbolic links to the shared volume
 on the NFS server.  A few hours after bringing up the second qmail server,
 the first one, which had been running fine for two weeks, quit working.  The
 errors I am getting in the syslog file on the failing server are
 "Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".  Anyone have any
 success with this configuration or have any idea what could be causing the
 first server to loose its way?
 
 Running qmail and NFS on Solaris 2.7 (first server and NFS server) and 2.8
 (second qmail server).  The first server (the one failing) responds to
 connections on port 25 but can't send or deliver and is not spawning any
 qmail processes.  The second server is now doing all the work.
 
 Thanks,
 
 Mike
 
 

-- 
Steve J. Kondik  [EMAIL PROTECTED]
Stargate Industries, LLC - Network Operations Center



qmail virtual domains with ldap

2000-06-24 Thread reach_prashant



 hello friends 

  is there any one who is using ~control/virtualdomains  file for accepting
mails for more then one domains ,  

   but ya i want to put all .qmail entries in ldap rather then in .qmail
file 


thanks prashant




Mail queueing in relay host.

2000-06-24 Thread mgr

Dear Qmail admins,

I had send this few days back but I did not receive any reply.  Am
I clear in conveying the message?

Thankyou,

Jacob.


-- Forwarded message --
Date: Thu, 22 Jun 2000 15:34:45 +0530 (IST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail queueing in relay host. 

Dear Qmail admins,

We have two computers with one acting as a relay
host(abc.valid.net connected to the internet) and the other, on the local
network(xyz.local.net),  for storing mails.  abc.valid.net is just for
forwarding mails to and from the local mail machine(xyz.local.net).  The
problem I face is that if the internet link is down then the mails sent
bounces back immediately and does not queue up in the abc.valid.net.

I have setup the control/smtproutes file which has the following
entry:

:[ip address of the ISP MX]


Should I setup something else?

Thanks in advance.

Regards,

Jacob Rajan,
Systems Manager,
Raman Research Institute,
Bangalore, India.






relaying questions.

2000-06-24 Thread Mark Lo


Hi,
 I finally installed qmail, thank you
for anybody's help in this mailing list. The purpose to setup my
qmail sever is to use with my web site/web server. I need to vertify
that the e-mail address is correct. So that I require people to give
me their e-mail adress, then I will send out the password to them (using
qmail). Then, later they can come back and log-on.
 Now, my problem is related to relaying
. I have read "The qmail newbie's quide to relaying" which comes
with life with qmail as a URL. It states that "qmail's rcpthosts
file, which gets its name from the RCPT TO command, determines whether
the recipient will be accepted; it will be accepted if and only if the
domain of the address given in the RCPT TO command is listed in rcpthosts."
Now, the RCPT TO means send out the messages to a particular address.
Is this correct?? If yes, then when people come and ask for password by
giving their e-mail address. I need to send them a password via the
form of e-mail. In other words, I need to send them a password according
to what they put in. So, in this situations, I need to put their
domain in my rcphosts file before sending them a password. Is this
correct ?? if yes, how to overcome this problem?? Any suggestion
is helpful.!!!
Thank you

Mark


qmail Digest 24 Jun 2000 10:00:01 -0000 Issue 1042

2000-06-24 Thread qmail-digest-help


qmail Digest 24 Jun 2000 10:00:01 - Issue 1042

Topics (messages 43517 through 43578):

tcprules and tcpserver not blicking??
43517 by: TAG
43559 by: Manfred Bartz
43564 by: Charles Cazabon
43565 by: clemensF

Re: unable_to_chdir_to_maildir
43518 by: Vince

Changing the IP address
43519 by: Toni

Re: quota problems
43520 by: Petr Danecek

Re: some info??
43521 by: Petr Danecek

Re: Sender rejected
43522 by: Peter Haworth
43542 by: Greg Owen

Logging traffic
43523 by: Tomasz Antczak
43524 by: Johan Almqvist

Re: Debian GNU/Linux (potato) Packages: var-qmail
43525 by: Gerrit Pape

sqwebmail with oracle?..
43526 by: Yavuz Sert

Resend (no reply) strange installation error!!! Please Help!!!
43527 by: Mark Lo
43529 by: Peter Green
43543 by: Mark Lo
43545 by: Peter Green

error msg 4.3.0 after a reboot
43528 by: Rogue Eagle
43530 by: Russell P. Sutherland
43531 by: Rogue Eagle

Re: All incoming mail default to one pop box
43532 by: Dave Sill

Re: script chkattach
43533 by: Daniele Bernazzi

multilog/splogger
43534 by: Tony Campisi
43535 by: Tony Campisi

spamcontrol patch
43536 by: Bernat Ginard

BAD Qmail instalation
43537 by: alex

Re: Resend (no reply) strange installation error!!! Please Help!!!]
43538 by: Mark Lo
43541 by: Peter Green

Re: rcpthosts
43539 by: Brian Sweeney

Problems with rcpthosts
43540 by: Guillermo Villasana Cardoza
43548 by: Chris Johnson
43551 by: Guillermo Villasana Cardoza

Re: qmail-pop3d
43544 by: Brian Sweeney

local delivery strangeness?
43546 by: Robert Sander
43547 by: Steffan Hoeke
43549 by: Robert Sander
43563 by: Cyril Bitterich

fetal error 111
43550 by: Mark Lo
43554 by: Peter Green

Re: multilog problems
43552 by: Steffan Hoeke

Re: New to Qmail, please help
43553 by: Chris Johnson
43555 by: Hand, Brian C.

Re: fetal error 111: delivery aborted
43556 by: Dave Kitabjian

too many symbolic link
43557 by: Mark Lo
43558 by: Mark Lo

log file
43560 by: Mark Lo
43562 by: Cyril Bitterich

Preserving environment variables from tcpserver
43561 by: Ben Beuchler

permissions on supervise dir
43566 by: Clifford Thurber

PTR question (Probably RFC related)
43567 by: Cyril Bitterich
43568 by: Scott Gifford

Virtual Domains Over 1 IP Address
43569 by: Julian L.B. Cardarelli
43573 by: Peter Green

Virtual Domain Message Header Pollution
43570 by: Peter Cavender

tcpserver for qmail-pop3d
43571 by: prashant

rblsmtp with qmail-qmail-ldap patch
43572 by: prashant

load balancing two qmail servers using nfs
43574 by: Mike Denka
43575 by: steve j. kondik

qmail virtual domains with ldap
43576 by: reach_prashant.zeenext.com

Mail queueing in relay host.
43577 by: mgr.rri.res.in

relaying questions.
43578 by: Mark Lo

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



Hi ALL

I have a problem in that my tcp.smtp.cdb file is not being used - as
when I try and relay through my server it seems to ignore the .cdb
file??

My setup of the tcp.smtp file is as follows:

192.168.2.:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow

which is then converted into the cdb file by tcprules..

I have tcpserver runnign with the following line:

tcpserver -R -H -t5 -v -x /etc/tcp.smtp.cdb etc

i have also tried it with :

tcpserver -R -H -t5 -v -x/etc/tcp.smtp.cdb  ...etc

Can anyone please expalein why it is not working?

I have ucspi-tcp-0.88 installed?

Thanks-

Tonino




TAG [EMAIL PROTECTED] writes:

 I have a problem in that my tcp.smtp.cdb file is not being used - as
 when I try and relay through my server it seems to ignore the .cdb
 file??
 
 My setup of the tcp.smtp file is as follows:
 
 192.168.2.:allow,RELAYCLIENT=""
 192.168.1.:allow,RELAYCLIENT=""
 :allow

That last line should read:

:deny

-- 
Manfred




Manfred Bartz  [EMAIL PROTECTED] wrote:
 TAG [EMAIL PROTECTED] writes:
 
  I have a problem in that my tcp.smtp.cdb file is not being used - as
  when I try and relay through my server it seems to ignore the .cdb
  file??
  
  My setup of the tcp.smtp file is as follows:
  
  192.168.2.:allow,RELAYCLIENT=""
  192.168.1.:allow,RELAYCLIENT=""
  :allow
 
 That last line should read:
 
 :deny

I missed the original message, but this will not just prevent relaying;
it will prevent anyone outside those 

Re: Binary distribution

2000-06-24 Thread Magnus Bodin

On Sun, May 28, 2000 at 02:54:47PM -0400, Paul Farber wrote:
 It's tough to find any binary dist for qmail I actually *think* the
 dist of binaries is against his copyrights.

From http://cr.yp.to/qmail/dist.html:

"Exception: You are permitted to distribute a precompiled var-qmail package
if (1) installing the package produces exactly the same /var/qmail hierarchy
as a user would obtain by downloading, compiling, and installing
qmail-1.03.tar.gz, fastforward-0.51.tar.gz, and dot-forward-0.71.tar.gz; (2)
the package behaves correctly, i.e., the same way as normal
qmail+fastforward+dot-forward installations on all other systems; and (3)
the package's creator warrants that he has made a good-faith attempt to
ensure that the package behaves correctly. It is not acceptable to have
qmail working differently on different machines; any variation is a bug. If
there's something about a system (compiler, libraries, kernel, hardware,
whatever) that changes qmail's behavior, then that platform is not
supported, and you are not permitted to distribute binaries."
 
 Best place to start www.qmail.org. 

How true. 

/magnus
--
http://x42.com/



Re: Logging traffic

2000-06-24 Thread Magnus Bodin

On Fri, Jun 23, 2000 at 01:13:49PM +0200, Tomasz Antczak wrote:
 Hello
 
 I looking for some way to log all traffic in and out of mailers in
 the indicated log file. Any ideas how do this ?

Take a look here; 

  http://web.infoave.net/~dsill/lwq.html#queue_extra

It's all accomplished with "QUEUE_EXTRA".

/magnus
--
http://x42.com/



Mailbox

2000-06-24 Thread steffen

Hello !

i have install qmail step by step ala qmail/doc ...
now i get the msg "Mailbox is a Directory"
what did i wrong ?

bye
steffen




virtual domains

2000-06-24 Thread prashant



hello friends 


i have installed qmail 1.03 with qmail-ldap 
-latest-patch on RedHat linux 6.1 

i want to configure virtual domains with out using 
".qmail" file in users home dir and also dont want to use /etc/passwd 


is this possible ? i can use some ldap entries rather then 
using .qmail flat files 


thanks 
Prashant Desai


(resent) Relay problem

2000-06-24 Thread Sebastiaan van Erk

Hi there,

I've been experiencing the following strange situation with qmail
when I try to send a message from localhost (with relaying from
localhost allowed) with a user-filled-in sender address. That is, when
I do the following on the mailserver host:

mailserver(ttyp2:138:0):/var/qmail/control# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mailserver.somewhere.com ESMTP
MAIL FROM: [EMAIL PROTECTED] -- this domain is NOT in the rcpthosts
250 ok
RCPT TO: [EMAIL PROTECTED]
250 ok
DATA 
354 go ahead
test
.
250 ok 961499283 qp 84857
quit
221 mailserver.somewhere.com
Connection closed by foreign host.

Then on the receiving host I listen for the mail I just made up:

anothermailserver(ttyp0:106:0):~# nc -l -p 25
220  
HELO mailserver.somewhere.com
250
MAIL FROM:com
250
RCPT TO:[EMAIL PROTECTED]
250
DATA
250
Received: (qmail 84417 invoked from network); 20 Jun 2000 10:51:25 -
Received: from localhost (127.0.0.1)
  by localhost with SMTP; 20 Jun 2000 10:51:25 -
test
.
250
QUIT

The part that I'm really confused on is HOW did qmail make up the
MAIL FROM: part, and why is it WRONG? Where should I look if I want to
fix this problem?

If the from address IS in the rcpthosts file, everything works just fine.
The above problem causes most receiving mail servers to bounce the message
complaining about an invalid sender address.

Thanks in advance,

Greetings
Sebastiaan van Erk



Thanks a bunch

2000-06-24 Thread Eric Walters

Thanks a bunch to all in this list.  I may not have responded to all of you
who replied, but that was only because I have received an overwhelming
amount of support.  I started out on this project attempting to use sendmail
and 3 weeks, gallons of coffee and a few more gray hairs later, I gave up on
it.  The help from sendmail was pathetic at best.  They all shunted me aside
and kept trying to send me back to the FAQ page that I had already read a
1000 times.

Anywho...I was pointed to qmail from a freebsd maillist and it was the best
decision.  The support in here is terrific and does not slam newbies (unless
they deserve it).

If you have not gotten the Life with Qmail
docs(http://web.infoave.net/~dsill/lwq.html), I highly recommend them to
anyone trying to setup qmail for the first time.  Although I had a few bumps
getting it tweaked for freebsd, it is up and running within 4 days after I
downloaded it.

Thanks so much for everyone's help.







Re: (resent) Relay problem

2000-06-24 Thread Chris Johnson

On Tue, Jun 20, 2000 at 01:46:52PM +0200, Sebastiaan van Erk wrote:
 I've been experiencing the following strange situation with qmail
 when I try to send a message from localhost (with relaying from
 localhost allowed) with a user-filled-in sender address. That is, when
 I do the following on the mailserver host:
 
 mailserver(ttyp2:138:0):/var/qmail/control# telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 mailserver.somewhere.com ESMTP
 MAIL FROM: [EMAIL PROTECTED]   -- this domain is NOT in the rcpthosts

Try it with proper SMTP and see what happens:

MAIL FROM:[EMAIL PROTECTED]

Chris



Re: (resent) Relay problem

2000-06-24 Thread Sebastiaan van Erk

Hello,

  I've been experiencing the following strange situation with qmail
  when I try to send a message from localhost (with relaying from
  localhost allowed) with a user-filled-in sender address. That is, when
  I do the following on the mailserver host:
  
  mailserver(ttyp2:138:0):/var/qmail/control# telnet localhost 25
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  220 mailserver.somewhere.com ESMTP
  MAIL FROM: [EMAIL PROTECTED] -- this domain is NOT in the rcpthosts
 
 Try it with proper SMTP and see what happens:
 
 MAIL FROM:[EMAIL PROTECTED]

Well, I've never met a single mail server that doesn't like the other
format, but ok, this is what I get on the receiving mail server if I do
as you say and use [EMAIL PROTECTED]:

MAIL FROM:^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@com 

where the ^@ are ascii NUL characters.
Now I still don't know where to look to find out what's going wrong here :-(
Hope someone can help,

Greetings,
Sebastiaan van Erk



CheckPassword

2000-06-24 Thread Julian L. Cardarelli



Anyone familiar with what Environment Variables the standard 
checkpassword sets for qmail-popup  what environment variables it receives 
from qmail-pop3d?

J


  - Original Message - 
  From: 
  prashant 
  To: [EMAIL PROTECTED] 
  Sent: Friday, June 23, 2000 8:12 AM
  Subject: virtual domains 
  
  hello friends 
  
  
  i have installed qmail 1.03 with qmail-ldap 
  -latest-patch on RedHat linux 6.1 
  
  i want to configure virtual domains with out using 
  ".qmail" file in users home dir and also dont want to use /etc/passwd 
  
  
  is this possible ? i can use some ldap entries rather then 
  using .qmail flat files 
  
  
  thanks 
  Prashant Desai


Re: Mailbox

2000-06-24 Thread Steffan Hoeke

On Sat, Jun 24, 2000 at 12:32:18PM +0200, steffen wrote:
 Hello !
 
 i have install qmail step by step ala qmail/doc ...
 now i get the msg "Mailbox is a Directory"
 what did i wrong ?
What does the line you start qmail with read ?

You've probably told qmail to deliver to a mailbox in mbox format called Mailbox,
which is one large file which contains all messages.
You've  probably got an entry in $HOME which reads:
drwxr-xr-x  2 [user]  [group] 512 Jun 24 17:30 Mailbox
while it should read:
-rw-r--r--  1 [user]  [group]   0 Jun 24 17:30 Mailbox

Note the lacking of 'd' in the second line

You should try rm -rf'ing the Mailbox directory, after checking there's nothing
of value contained in it 

After this qmail should automagically create the Mailbox file.

 bye
 steffen 
HTH,
 Steffan
-- 
http://therookie.dyndns.org




qmail-qread -- bouncing

2000-06-24 Thread Ben Beuchler

qmail-qread occasionally sticks the word 'bouncing' in it's reports
concerning a specific message.  What triggers the presence of that word?
I've looked at the messages in question and they only appear to be
deferred, not actually bouncing.  

Thanks,
Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson



Qmail Clients

2000-06-24 Thread John van V.



Hi all, I hooked up a free smtp/pop3 page which sorta worked but broke on
attachments.

Unfortunately the author is clearly insane as his mailing list consists of
ficticous recipients and he started email stalking me !!!  He calls himself
Al-the-Pal.

Ahh, the net gotta love it.

I downloaded anohter that called mail man, but it is not open source and the
code is obfuscated.  I got these from the www.perl.com cgi search.  (upper
right corner)

I hardwired al-the-pal's to qmail inject and the new proc may be expensive but
its only for replys.  Managing Maildir actually looks like a piece of cake, all
I need is an open source set of CGI's to play with.

Ultimately I would like to combine it with other desktop apps such as
schedulers where document management, and code development, would be the common
space between between apps.  I mention development because thats who I want to
provide for and you get version control by defualt in that game.  I see CVS
handling all the mail and other documents but I'll need a plugin editor for the
browser.  

Sounds ambitious but you should see my other ideas http://puny.vm.com.
Ultimately I would like to get away from html, where tcp client/server would be
athe client/server link.



=
John van Vlaanderen

  #
  #CXN, Inc. Contact:  [EMAIL PROTECTED]   #   #
  #  Proud Sponsor of Perl/Unix of NY #
  #http://puny.vm.com # 
  #

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



INSTALL.maildir - Clairification please!

2000-06-24 Thread Mark Thomas

Would someone help me out here just a bit.  I am Sooo, confused!
Any pointers or documents that explain some of this would be greatly
appreciated..
TIA,,
MarkT.

Here's where I am in the INSTALL.maildir document.
Here's how to set up qmail to use maildir for your incoming mail:
 This Command does not work
 Neither does maildirmake $HOME/Maildir, although the command
maildirmake is there.
 What is the deal with the "%" as the first portion of the command?

   % maildirmake $HOME/Maildir
   % echo ./Maildir/  ~/.qmail

Make sure you include the trailing slash on Maildir/.

The system administrator can set up Maildir as the default for everybody
by creating a maildir in the new-user template directory and replacing
./Mailbox with ./Maildir/ in /var/qmail/rc.
 maildir in the new-user template??  create directory called
maildir?
 where is the new-user template directory on FreeBSD? What is the
new-user  template file called by default?

Until your MUA supports maildir, you'll probably want to convert maildir
format to (gaaack) mbox format. I've supplied a maildir2mbox utility
that does the trick, along with some tiny qail and elq and pinq wrappers
that call maildir2mbox before calling Mail or elm or pine.
* Does mail(MUA), I think binmail, support maildir?  This is what came
default on * the bare system load. How do you implement maildir2mbox
and (gaaack)?




Where to read about single uid/gid virtual domain delivery?

2000-06-24 Thread Julian L. Cardarelli


Where do I read about single uid/gid virtual domain delivery/pop?

J
- Original Message -
From: Mark Thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 24, 2000 12:32 PM
Subject: INSTALL.maildir - Clairification please!


 Would someone help me out here just a bit.  I am Sooo, confused!
 Any pointers or documents that explain some of this would be greatly
 appreciated..
 TIA,,
 MarkT.

 Here's where I am in the INSTALL.maildir document.
 Here's how to set up qmail to use maildir for your incoming mail:
  This Command does not work
  Neither does maildirmake $HOME/Maildir, although the command
 maildirmake is there.
  What is the deal with the "%" as the first portion of the command?

% maildirmake $HOME/Maildir
% echo ./Maildir/  ~/.qmail

 Make sure you include the trailing slash on Maildir/.

 The system administrator can set up Maildir as the default for everybody
 by creating a maildir in the new-user template directory and replacing
 ./Mailbox with ./Maildir/ in /var/qmail/rc.
  maildir in the new-user template??  create directory called
 maildir?
  where is the new-user template directory on FreeBSD? What is the
 new-user  template file called by default?

 Until your MUA supports maildir, you'll probably want to convert maildir
 format to (gaaack) mbox format. I've supplied a maildir2mbox utility
 that does the trick, along with some tiny qail and elq and pinq wrappers
 that call maildir2mbox before calling Mail or elm or pine.
 * Does mail(MUA), I think binmail, support maildir?  This is what
came
 default on * the bare system load. How do you implement maildir2mbox
 and (gaaack)?





Re: INSTALL.maildir - Clairification please!

2000-06-24 Thread Steffan Hoeke

On Sat, Jun 24, 2000 at 11:32:35AM -0500, Mark Thomas wrote:
 Would someone help me out here just a bit.  I am Sooo, confused!
 Any pointers or documents that explain some of this would be greatly
 appreciated..
Have you tried Dave Sill's "Life with qmail" ?

 TIA,,
 MarkT.
 
 Here's where I am in the INSTALL.maildir document.
 Here's how to set up qmail to use maildir for your incoming mail:
  This Command does not work
What error does it generate ?

  Neither does maildirmake $HOME/Maildir, although the command
 maildirmake is there.
Are you running it as the user the maildir is for ?
What command line are you using ?
Should be something like :
% su [username]
% cd /home/[username]
% maildirmake Maildir
% exit

providing you're currently running as a user able to 'su'
this creates the following structure in the user's home dir:
/home/[username]/Maildir/
/home/[username]/Maildir/new/
/home/[username]/Maildir/cur/
/home/[username]/Maildir/tmp/

  What is the deal with the "%" as the first portion of the command?
The % is like the C:\ prompt in DOS 
 
% maildirmake $HOME/Maildir
% echo ./Maildir/  ~/.qmail
 
 Make sure you include the trailing slash on Maildir/.
 
 The system administrator can set up Maildir as the default for everybody
 by creating a maildir in the new-user template directory and replacing
 ./Mailbox with ./Maildir/ in /var/qmail/rc.
  maildir in the new-user template??  create directory called
 maildir?
Nope, run maildirmake in the skeleton directory

  where is the new-user template directory on FreeBSD? What is the
 new-user  template file called by default?
Dunno on FreeBSD but on OpenBSD it's /etc/skel/ and /usr/share/skel
  
 Until your MUA supports maildir, you'll probably want to convert maildir
 format to (gaaack) mbox format. I've supplied a maildir2mbox utility
 that does the trick, along with some tiny qail and elq and pinq wrappers
 that call maildir2mbox before calling Mail or elm or pine.
 * Does mail(MUA), I think binmail, support maildir?  This is what came
 default on * the bare system load. How do you implement maildir2mbox
 and (gaaack)?

HTH,
 Steffan 

-- 
http://therookie.dyndns.org




Re: Where to read about single uid/gid virtual domain delivery?

2000-06-24 Thread chuck


Julian,
There's a howto at- 

http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.html

You may also want to check out vpopmail at-

http://www.inter7.com/vpopmail

Hope this helps.

Regards,
Charles Werbick
The Wirehouse

Julian L. Cardarelli writes:

 
 Where do I read about single uid/gid virtual domain delivery/pop?
 
 J



Re: load balancing two qmail servers using nfs

2000-06-24 Thread chuck


Mike,

You might make sure that the UID/GIDs map the same on both servers and the
NFS machine. 
i.e.- If the qmaild user is user 500 on the first server, but is a
different UID number on the second server or the NFS machine you might have
problems. 

Also, what do your tcpserver init scripts look like for both servers? They
should be identical.

Regards,
Charles Werbick
The Wirehouse


Mike Denka writes:

 Hmmm . . . that's a good thought.  I really hadn't considered using rsync
 since NFS seems to be working fine at least in terms of handling large mail
 volumes.  But rsync would have some distinct advantages.  However, I don't
 think that is the source of my problems because I had access problems
 getting to the control files when first setting up the server and the error
 messages in /var/log/syslog are pretty clear (e.g., "Can't_read_control", or
 something to that affect).
 
 Thanks for the rsyinc tip.  I will try it out.  Meanwhile, any other
 thoughts on why the second server suddenly cannot make smtp connections to
 the outside world or chdir to Mailbox?
 
 Mike
 
  -Original Message-
  From: steve j. kondik [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, June 24, 2000 12:39 AM
  To: [EMAIL PROTECTED]
  Subject: Re: load balancing two qmail servers using nfs
 
 
  you might consider using rsync to sync your conffiles, instead of
  sharing them over nfs.  this would eliminate alot of problems
  and latency i'd think.
 
  On 06/24/00 @ 12:11AM, Mike Denka wrote:
   I've got two qmail servers running inside a load balancer.
  They both access
   the same /var/mail/username/Maildir directories on an NFS
  server.  They also
   share many of the same configuration files in
  /var/qmail/control on the NFS
   server.  The files they share are local symbolic links to the
  shared volume
   on the NFS server.  A few hours after bringing up the second
  qmail server,
   the first one, which had been running fine for two weeks, quit
  working.  The
   errors I am getting in the syslog file on the failing server are
   "Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".
  Anyone have any
   success with this configuration or have any idea what could be
  causing the
   first server to loose its way?
  
   Running qmail and NFS on Solaris 2.7 (first server and NFS
  server) and 2.8
   (second qmail server).  The first server (the one failing) responds to
   connections on port 25 but can't send or deliver and is not spawning any
   qmail processes.  The second server is now doing all the work.
  
   Thanks,
  
   Mike
  
  
 
  --
  Steve J. Kondik  [EMAIL PROTECTED]
  Stargate Industries, LLC - Network Operations Center
 
 






overlooking virtualdomains?

2000-06-24 Thread Jud Harris

Hey folks -

Anyone have any ideas why this is bouncing or can you give me some tips
about how to better diagnose this?

judharris.com:jud -- is in my control/virtualdomains
judharris.com -- is in control/rcpthosts

the only thing in control/locals is "localhost"

my .qmail-default contains "|/usr/local/bin/vdeliver"

Other vdomains on this server work fine.

Here's the bounce message I get:

--
From: [EMAIL PROTECTED]
Date: 24 Jun 2000 19:21:45 -
To: [EMAIL PROTECTED]
Subject: failure notice

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

[EMAIL PROTECTED]:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

...

shouldn't it overlook the locals file when it sees the entries in rcpthosts
and/or virtualdomains?  why's it choking on the locals?

Thanks in advance!
-Jud




Re: Qmail Clients

2000-06-24 Thread Magnus Bodin

On Sat, Jun 24, 2000 at 10:06:24AM -0700, John van V. wrote:
 
 
 Hi all, I hooked up a free smtp/pop3 page which sorta worked but broke on
 attachments.
 
[..]
 
 I hardwired al-the-pal's to qmail inject and the new proc may be expensive but
 its only for replys.  Managing Maildir actually looks like a piece of cake, all
 I need is an open source set of CGI's to play with.


I really don't got the message of your mail, but you may have a look
at Mail::Folder::Maildir at the nearest CPAN.

http://search.cpan.org/search?dist=MailFolder

/magnus

--
http://x42.com/



Re: overlooking virtualdomains?

2000-06-24 Thread Magnus Bodin

On Sat, Jun 24, 2000 at 02:28:39PM -0500, Jud Harris wrote:
 Hey folks -
 
 Anyone have any ideas why this is bouncing or can you give me some tips
 about how to better diagnose this?
 
 judharris.com:jud -- is in my control/virtualdomains
 judharris.com -- is in control/rcpthosts
 
 the only thing in control/locals is "localhost"
 
 my .qmail-default contains "|/usr/local/bin/vdeliver"
 
 Other vdomains on this server work fine.

 Here's the bounce message I get:
 
 --
 From: [EMAIL PROTECTED]
 Date: 24 Jun 2000 19:21:45 -
 To: [EMAIL PROTECTED]
 Subject: failure notice
 
 Hi. This is the qmail-send program at nurelm.com.
 I'm afraid I wasn't able to deliver your message to the following addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.

Have you restarted qmail? It needs to reread it's configuration files!

/magnus

--
http://x42.com/



RE: load balancing two qmail servers using nfs

2000-06-24 Thread Mike Denka

Both servers are NIS clients from the same master, which happens to be the
NFS server.  So the user information is identical across all machines
involved.  The tcpserver init scripts on the second machine were copied from
the first machine, and so are also identical.   Both good points, but not
the problem, I'm afraid.

Thanks,

Mike

 -Original Message-
 From: chuck [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, June 24, 2000 12:10 PM
 To: Mike Denka
 Cc: [EMAIL PROTECTED]
 Subject: Re: load balancing two qmail servers using nfs



 Mike,

 You might make sure that the UID/GIDs map the same on both servers and the
 NFS machine.
 i.e.- If the qmaild user is user 500 on the first server, but is a
 different UID number on the second server or the NFS machine you
 might have
 problems.

 Also, what do your tcpserver init scripts look like for both servers? They
 should be identical.

 Regards,
 Charles Werbick
 The Wirehouse


 Mike Denka writes:

  Hmmm . . . that's a good thought.  I really hadn't considered
 using rsync
  since NFS seems to be working fine at least in terms of
 handling large mail
  volumes.  But rsync would have some distinct advantages.
 However, I don't
  think that is the source of my problems because I had access problems
  getting to the control files when first setting up the server
 and the error
  messages in /var/log/syslog are pretty clear (e.g.,
 "Can't_read_control", or
  something to that affect).
 
  Thanks for the rsyinc tip.  I will try it out.  Meanwhile, any other
  thoughts on why the second server suddenly cannot make smtp
 connections to
  the outside world or chdir to Mailbox?
 
  Mike
 
   -Original Message-
   From: steve j. kondik [mailto:[EMAIL PROTECTED]]
   Sent: Saturday, June 24, 2000 12:39 AM
   To: [EMAIL PROTECTED]
   Subject: Re: load balancing two qmail servers using nfs
  
  
   you might consider using rsync to sync your conffiles, instead of
   sharing them over nfs.  this would eliminate alot of problems
   and latency i'd think.
  
   On 06/24/00 @ 12:11AM, Mike Denka wrote:
I've got two qmail servers running inside a load balancer.
   They both access
the same /var/mail/username/Maildir directories on an NFS
   server.  They also
share many of the same configuration files in
   /var/qmail/control on the NFS
server.  The files they share are local symbolic links to the
   shared volume
on the NFS server.  A few hours after bringing up the second
   qmail server,
the first one, which had been running fine for two weeks, quit
   working.  The
errors I am getting in the syslog file on the failing server are
"Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".
   Anyone have any
success with this configuration or have any idea what could be
   causing the
first server to loose its way?
   
Running qmail and NFS on Solaris 2.7 (first server and NFS
   server) and 2.8
(second qmail server).  The first server (the one failing)
 responds to
connections on port 25 but can't send or deliver and is not
 spawning any
qmail processes.  The second server is now doing all the work.
   
Thanks,
   
Mike
   
   
  
   --
   Steve J. Kondik  [EMAIL PROTECTED]
   Stargate Industries, LLC - Network Operations Center
  
 








Finished my checkpassword

2000-06-24 Thread Julian L. Cardarelli

I finished my checkpassword to allow multiple domains over one ip address by
having users login with [EMAIL PROTECTED]

It checks /var/qmail/domains/domain.com.passwd for the
username/password/mail root  shell.  It is intended to operate with the
single uid/gid "popuser" system by Paul Gregg and you can get it from me if
you want it.  Just let me know.

Regards,

Julian Cardarelli

- Original Message -
From: Magnus Bodin [EMAIL PROTECTED]
To: qmail list [EMAIL PROTECTED]
Sent: Saturday, June 24, 2000 5:11 PM
Subject: Re: Qmail Clients


 On Sat, Jun 24, 2000 at 10:06:24AM -0700, John van V. wrote:
 
 
  Hi all, I hooked up a free smtp/pop3 page which sorta worked but broke
on
  attachments.
 
 [..]
 
  I hardwired al-the-pal's to qmail inject and the new proc may be
expensive but
  its only for replys.  Managing Maildir actually looks like a piece of
cake, all
  I need is an open source set of CGI's to play with.


 I really don't got the message of your mail, but you may have a look
 at Mail::Folder::Maildir at the nearest CPAN.

 http://search.cpan.org/search?dist=MailFolder

 /magnus

 --
 http://x42.com/




Errormsg: Maildir is a directory

2000-06-24 Thread Jens Georg

hi,

i told qmail to deliver emails to /home/[user]/Maildir, but whenever qmail
tries to deliver an email, it prints
"unable_to_open_./Maildir:is_a_directory._(#4.2.1)"

somebody here who could tell me how to get this fixed ?

-- 
regards
jens
---
department computer science, university of dortmund
linux ... life's too short for reboots!




Re: Errormsg: Maildir is a directory

2000-06-24 Thread Johan Almqvist

On Sun, Jun 25, 2000 at 01:51:01AM +0200, Jens Georg wrote:
 hi,
 
 i told qmail to deliver emails to /home/[user]/Maildir, but whenever qmail
 tries to deliver an email, it prints
 "unable_to_open_./Maildir:is_a_directory._(#4.2.1)"
 
 somebody here who could tell me how to get this fixed ?

Yes: add a trailing slash to wherever you tell qmail to deliver to
the Maildir (ie: /home/$USER/Maildir/  and not /home/$USER/Maildir ).

-Johan
-- 
Johan Almqvist



RE: INSTALL.maildir - Clairification please!

2000-06-24 Thread Mark Thomas

   Neither does maildirmake $HOME/Maildir, although the command
  maildirmake is there.

 Are you running it as the user the maildir is for ?
  as root, and it was working on the root user.  Then I tried the
 ~username/Maildir and it worked for the other 3 users.
It shouldn't, you'll run into problems later on !!
The ~username/Maildir **needs** to be owned by username 
If it's not, qmail **won't** deliver mail

** OK, I went back and chown the directories to their user-owners.
The owner was root, like you said.
The command maildirmake $HOME/Maildir. Should it be run by the user only? I
was thinking this was an administrative command for setting up all users
with a ~user/Maildir.
I did a maildirmake /usr/share/skel/Maildir and then added a user.  It did
create the ~user/Maildir and its subs with the proper owner and rights.
drwx.  So I think that is straight now.
The other command that I ran, I dont completely understand, so I couldn't
verify that it worked properly.  echo ./Maildir/ ~/.qmail
I executed this from the same place I executed the other commands.
/var/qmail/bin
It seems like maybe I should have been in the users directory?  What does
this actually do?

I can send mail from all users, including root.  Local send and Internet
send.
I can reply to message to all users except root.  Anytime I send to root,
the log says un 24 19:46:38 ns1 qmail: 961893998.351162 delivery 56:
deferral: Unable_to_ope
n_./Mailbox:_access_denied._(#4.2.1)/
Jun 24 19:46:38 ns1 qmail: 961893998.351423 status: local 0/10 remote 0/20

I guess I didn't get /Mailbox switched to Maildir.  I figured I could fix
that in a bit. I have been looking in ~user/Mailbox to see if the messages
are being received.
The docs had me modify my rc file, then later had me copy
/var/qmail/boot/home to /var/qmail/rc which overwrote my previous edit of
./Maildir instead of ./Mailbox. I'll go and fix that now.
Here is the file before I edit it.
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail
***
I am changing this line to :
qmail-start ./Maildir splogger qmail
Is the splogger qmail correct?

ONE MORE:
Where should the ~alias/Mailbox be, and who should be the owner.
Basic alias, ie.. Postmaster, MAILER-DAEMON, root.
All I did according to the doc was touch ~alias/.qmail-postmaster,
~alias/.qmail-mailer-daemon, ~alias/.qmail-default and ~alias/.qmail-root.
Then I chmod 644 qmail.*
These empty files are in /var/qmail/alias.  They are 0 byte files. Do they
need something in them relating to the alias?  The doc says look at
dot-qmail.0 for details, but the file has a bunch of characters just thrown
in where some of the important stuff is, and I don't want to make any
changes where I don't know what I am doing. I have to do some reading on man
to make it find the file where it is now.  It is still in the src diretory.
For some reason, it didn't get copied over to the regular man directories.

I hate to ask so many questions, but it is one of the best ways to figure
these things out.  My experience is with Novell/NT and desktops.  This is my
first stab at Unix.

I want to go back, if the original writer of the Install documents doesn't
mind and do a modification of these documents for FreeBSD 4.0, in
particular.  I know I would have been glad to get my hands on something like
this before I got started.
I already have a bunch of documentation on setting up Apache 1.3.12 that I
want to put out for some other people to get ahold of.  I find alot of
people asking the same questions that I had trouble with. Same thing with
DNS.  I am going to take my other PIII 600 and setup a second box with this
one to reference when I do a final re-write on the install differences for
FreeBSD.  It was mostly diretory differences and file name differences, but
it sure makes it easy when the doc says go here and edit this, and it is
really there to be edited.

Thanks for everyones comments.  I really appreciate the help.  I hope to
help others in return.  When I get finished with the docs that I am going to
re-write for FreeBSD, I'll send some periodic mails to the list so others
will know where to find them.

Thanks again,
Mark Thomas.
Special thanks to you, Steffan Hoeke...

-Original Message-
From: Steffan Hoeke [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 24, 2000 3:20 PM
To: Mark Thomas
Subject: Re: INSTALL.maildir - Clairification please!


On Sat, Jun 24, 2000 at 02:00:53PM -0500, Mark Thomas wrote:
 Yes, I have tried Life with Qmail.
 I got into trouble when I got to creating the rc.0 directories that don't
 exist on FreeBSD.  So, I stopped and went back to the INSTALL.

 I found workarounds for everything except the (gaaak) maildir2mbox, but I
am
 still searching for some additional info on install/setup of these two
 features.

 Thanks for your response.
 MarkT


 -Original Message-
 

Maildir and Mailbox

2000-06-24 Thread Mark Thomas

Where does the incomming and outgoing mail actually get filed.
Each user has a Maildir subdirectory with tmp,cur,new subdirectories under
it.
It appears that I am able to receive messages, but they are not showing up
in Maildir.

I was able to send/recieve mail using the Mailbox file.  I could cat the
Mailbox file in the users directory, but since I tried to convert over to
Maildir, I havn't been able to find the incomming messages.

Mark




RE: Maildir and Mailbox

2000-06-24 Thread Brett Randall

Make sure you have put:
./Maildir/
in ~/.qmail for each user (or /etc/skel/.qmail for new user). See man
dot-qmail for more info.

Brett Randall

Manager
InterPlanetary Solutions
http://ipsware.com/ http://ipsware.com/



 -Original Message-
 From: Mark Thomas [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, 25 June 2000 12:46 PM
 To: [EMAIL PROTECTED]
 Subject: Maildir and Mailbox


 Where does the incomming and outgoing mail actually get filed.
 Each user has a Maildir subdirectory with tmp,cur,new subdirectories under
 it.
 It appears that I am able to receive messages, but they are not showing up
 in Maildir.

 I was able to send/recieve mail using the Mailbox file.  I could cat the
 Mailbox file in the users directory, but since I tried to convert over to
 Maildir, I havn't been able to find the incomming messages.

 Mark





Re: INSTALL.maildir - Clairification please!

2000-06-24 Thread Steffan Hoeke

On Sat, Jun 24, 2000 at 07:31:51PM -0500, Mark Thomas wrote:
    Neither does maildirmake $HOME/Maildir, although the command
   maildirmake is there.
 
  Are you running it as the user the maildir is for ?
   as root, and it was working on the root user.  Then I tried the
  ~username/Maildir and it worked for the other 3 users.
 It shouldn't, you'll run into problems later on !!
 The ~username/Maildir **needs** to be owned by username 
 If it's not, qmail **won't** deliver mail
 
 ** OK, I went back and chown the directories to their user-owners.
 The owner was root, like you said.
 The command maildirmake $HOME/Maildir. Should it be run by the user only? I
 was thinking this was an administrative command for setting up all users
 with a ~user/Maildir.
For existing users it's easiest to 'su username' and then run maildirmake
It is an administrative command, but it doesn't create the Maildir for every
user..

 I did a maildirmake /usr/share/skel/Maildir and then added a user.  It did
 create the ~user/Maildir and its subs with the proper owner and rights.
 drwx.  So I think that is straight now.
it should be FBSD changes the appropriate permissions as part of adduser IIRC.

 The other command that I ran, I dont completely understand, so I couldn't
 verify that it worked properly.  echo ./Maildir/ ~/.qmail
echo ./Maildir/ ~/.qmail creates a .qmail file in the *current* user's home
directory and tells qmail to deliver all mail for this user to the Maildir in
it's home directory.

 I executed this from the same place I executed the other commands.
 /var/qmail/bin
not quite correct

 It seems like maybe I should have been in the users directory?  
You're getting the hang of it ;-)
The other alternative is using lwq's defaultdelivery file.

 What does this actually do?
See above.
 
 I can send mail from all users, including root.  Local send and Internet
 send.
 I can reply to message to all users except root.  Anytime I send to root,
 the log says un 24 19:46:38 ns1 qmail: 961893998.351162 delivery 56:
 deferral: Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/
 Jun 24 19:46:38 ns1 qmail: 961893998.351423 status: local 0/10 remote 0/20
Did you create an alias for root in /var/qmail/alias ?
qmail, by design, doesn't deliver mail to root !

 I guess I didn't get /Mailbox switched to Maildir.  I figured I could fix
 that in a bit. I have been looking in ~user/Mailbox to see if the messages
 are being received.
If you created the .qmail file containing ./Maildir/ in each home dir the Mailbox file 
has become obsolete.

 The docs had me modify my rc file, then later had me copy
 /var/qmail/boot/home to /var/qmail/rc which overwrote my previous edit of
 ./Maildir instead of ./Mailbox. I'll go and fix that now.
GRIN 
 some insight in what you're doing *is* required 
/GRIN

 Here is the file before I edit it.
 #!/bin/sh
 
 # Using splogger to send the log through syslog.
 # Using qmail-local to deliver messages to ~/Mailbox by default.
 
 exec env - PATH="/var/qmail/bin:$PATH" \
 qmail-start ./Mailbox splogger qmail
 ***
 I am changing this line to :
 qmail-start ./Maildir splogger qmail
 Is the splogger qmail correct?

The splogger qmail should work.
the ./Maildir entry is wrong, now qmail is delivering all mail to an mbox file named 
Maildir
There should be a / after ./Maildir 
The line should read:
qmail-start ./Maildir/ splogger qmail

 
 ONE MORE:
 Where should the ~alias/Mailbox be, and who should be the owner.
 Basic alias, ie.. Postmaster, MAILER-DAEMON, root.
 All I did according to the doc was touch ~alias/.qmail-postmaster,
 ~alias/.qmail-mailer-daemon, ~alias/.qmail-default and ~alias/.qmail-root.
 Then I chmod 644 qmail.*
 These empty files are in /var/qmail/alias.  They are 0 byte files. Do they
 need something in them relating to the alias?  The doc says look at
 dot-qmail.0 for details, but the file has a bunch of characters just thrown
 in where some of the important stuff is, and I don't want to make any
 changes where I don't know what I am doing. I have to do some reading on man
 to make it find the file where it is now.  It is still in the src diretory.
 For some reason, it didn't get copied over to the regular man directories.

The ~alias/Mailbox should be in /var/qmail/alias ;-)
BUT you don't want a Mailbox file. you want a Maildir !
If you on;y touch those files, all mail to these users will be delivered to
/var/qmail/alias/Maildir/
Touching those .qmail files isn't enough if you want mail to postmaster,root and 
mailer-daemon delivered to a specific user.

The man pages are in /var/qmail/man.
One way to acces them is to copy them to your main man location. Which, on OBSD is 
rooted in /usr/local/man.
The other way to acces them is to add /var/qmail/man to your MANPATH...
The appropriate command to read dot-qmail is 'man dot-qmail' which should 
output something like this:
dot-qmail(5) dot-qmail(5)

NAME
   dot-qmail - control