qmail

slr plug-discuss@lists.plug.phoenix.az.us
Thu, 31 Jan 2002 09:17:15 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_04C4_01C1AA38.12E2F9C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

update:=20

i have resolved the relaying issue, but the pop3 problem is still an =
open issue.
  ----- Original Message -----=20
  From: slr=20
  To: plug-discuss@lists.plug.phoenix.az.us=20
  Sent: Thursday, January 31, 2002 8:06 AM
  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=20

  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=3D""
  192.168.1.:allow,RELAYCLIENT=3D""
  :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_000_04C4_01C1AA38.12E2F9C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#585858>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>update: </FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>i have resolved the =
relaying issue,=20
but the pop3 problem is still an open issue.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dzen2now@qwest.net href=3D"mailto:zen2now@qwest.net">slr</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dplug-discuss@lists.plug.phoenix.az.us=20
  =
href=3D"mailto:plug-discuss@lists.plug.phoenix.az.us">plug-discuss@lists.=
plug.phoenix.az.us</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, January 31, =
2002 8:06=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> qmail</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2>i have a question for =
the qmail=20
  people out there. this is my first time working with =
qmail,&nbsp;anyway there=20
  seemed to be a big push to use Maildir instead of mbox in the docs =
that i have=20
  read. so that is what i did, i conf. qmail to use Maildir and =
non-system=20
  accounts. which is partly working, i can send, so smtp is working =
find, and i=20
  can connect pop3 to the server using both evolution and OE6. but qmail =
doesnt=20
  seem to be delivering the mail to the Maildir for the test account. =
also=20
  relaying seems to be a problem, i followed these instructions but had =
no=20
  success:</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2>8a. Access =
Control<BR>Before we can=20
  start up our qmail smtpd, we need to do some access control.<BR>The =
simplest=20
  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,=20
  /etc/tcp.smtp can have just<BR>one line:<BR>:allow </FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2>Note that a default =
configuration=20
  does not allow for ANY relaying, even from localhost.<BR>To allow =
relaying=20
  from localhost and your local network, you would have to use =
something<BR>like=20
  =
this:<BR>127.0.0.1:allow,RELAYCLIENT=3D""<BR>192.168.1.:allow,RELAYCLIENT=
=3D""<BR>:allow</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2>After you've created =
your rules,=20
  you need to activate them.&nbsp; tcpserver works by reading<BR>a cdb=20
  (database) file.&nbsp; You use the tcprules program to build the =
database file=20
  from your<BR>/etc/tcp.smtp file.&nbsp; This is accomplished by the =
following=20
  command:<BR></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2># tcprules =
/etc/tcp.smtp.cdb=20
  /etc/tcp.smtp.tmp &lt; /etc/tcp.smtp</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2>it wasnt until i =
added the host i=20
  was sending, to the rcpthosts file in /var/qmail/control.</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2>thx in advance for =
any=20
  help.</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#000000=20
size=3D2>slr</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_04C4_01C1AA38.12E2F9C0--