qmail

Tom Achtenberg plug-discuss@lists.plug.phoenix.az.us
Thu, 31 Jan 2002 09:00:18 -0700


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1AA70.60D38AE0
Content-Type: text/plain;
	charset="iso-8859-1"

Dark gray background with black text????   YUCK!!!!!!!!!!  Please use normal colors.

-----Original Message-----
From: slr [mailto:zen2now@qwest.net]
Sent: Thursday, January 31, 2002 8:06 AM
To: plug-discuss@lists.plug.phoenix.az.us
Subject: qmail


i have a question for the qmail people out there. this is my first time working with qmail, anyway there seemed to be a big push to use Maildir instead of mbox in the docs that i have read. so that is what i did, i conf. qmail to use Maildir and non-system accounts. which is partly working, i can send, so smtp is working find, and i can connect pop3 to the server using both evolution and OE6. but qmail doesnt seem to be delivering the mail to the Maildir for the test account. also relaying seems to be a problem, i followed these instructions but had no success:
 
8a. Access Control
Before we can start up our qmail smtpd, we need to do some access control.
The simplest way to do this is by using files in /etc.  I use /etc/tcp.smtp as my
access control file.  If you don't need to do any access control, /etc/tcp.smtp can have just
one line:
:allow 
 
Note that a default configuration does not allow for ANY relaying, even from localhost.
To allow relaying from localhost and your local network, you would have to use something
like this:
127.0.0.1:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow
 
After you've created your rules, you need to activate them.  tcpserver works by reading
a cdb (database) file.  You use the tcprules program to build the database file from your
/etc/tcp.smtp file.  This is accomplished by the following command:

# tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
 
it wasnt until i added the host i was sending, to the rcpthosts file in /var/qmail/control.
 
thx in advance for any help.
 
slr


------_=_NextPart_001_01C1AA70.60D38AE0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4912.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#585858>
<DIV><SPAN class=671455815-31012002><FONT face=Verdana color=#0000ff>Dark gray 
background with black text????&nbsp;&nbsp; YUCK!!!!!!!!!!&nbsp; Please use 
normal colors.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> slr 
  [mailto:zen2now@qwest.net]<BR><B>Sent:</B> Thursday, January 31, 2002 8:06 
  AM<BR><B>To:</B> plug-discuss@lists.plug.phoenix.az.us<BR><B>Subject:</B> 
  qmail<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2>i have a question for the qmail 
  people out there. this is my first time working with qmail,&nbsp;anyway there 
  seemed to be a big push to use Maildir instead of mbox in the docs that i have 
  read. so that is what i did, i conf. qmail to use Maildir and non-system 
  accounts. which is partly working, i can send, so smtp is working find, and i 
  can connect pop3 to the server using both evolution and OE6. but qmail doesnt 
  seem to be delivering the mail to the Maildir for the test account. also 
  relaying seems to be a problem, i followed these instructions but had no 
  success:</FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2>8a. Access Control<BR>Before we can 
  start up our qmail smtpd, we need to do some access control.<BR>The simplest 
  way to do this is by using files in /etc.&nbsp; I use /etc/tcp.smtp as 
  my<BR>access control file.&nbsp; If you don't need to do any access control, 
  /etc/tcp.smtp can have just<BR>one line:<BR>:allow </FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2>Note that a default configuration 
  does not allow for ANY relaying, even from localhost.<BR>To allow relaying 
  from localhost and your local network, you would have to use something<BR>like 
  this:<BR>127.0.0.1:allow,RELAYCLIENT=""<BR>192.168.1.:allow,RELAYCLIENT=""<BR>:allow</FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2>After you've created your rules, 
  you need to activate them.&nbsp; tcpserver works by reading<BR>a cdb 
  (database) file.&nbsp; You use the tcprules program to build the database file 
  from your<BR>/etc/tcp.smtp file.&nbsp; This is accomplished by the following 
  command:<BR></FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2># tcprules /etc/tcp.smtp.cdb 
  /etc/tcp.smtp.tmp &lt; /etc/tcp.smtp</FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2>it wasnt until i added the host i 
  was sending, to the rcpthosts file in /var/qmail/control.</FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 size=2>thx in advance for any 
  help.</FONT></DIV>
  <DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#000000 
size=2>slr</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1AA70.60D38AE0--