qmail
slr
plug-discuss@lists.plug.phoenix.az.us
Thu, 31 Jan 2002 08:06:18 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_04AD_01C1AA2E.2975FB60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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_04AD_01C1AA2E.2975FB60
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>i have a question for =
the qmail=20
people out there. this is my first time working with qmail, 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 =
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 =
relaying seems to be a problem, i followed these instructions but had no =
success:</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </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 way=20
to do this is by using files in /etc. I use /etc/tcp.smtp as =
my<BR>access=20
control file. If you don't need to do any access control, =
/etc/tcp.smtp=20
can have just<BR>one line:<BR>:allow </FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </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 from=20
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> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>After you've created =
your rules, you=20
need to activate them. tcpserver works by reading<BR>a cdb =
(database)=20
file. You use the tcprules program to build the database file from =
your<BR>/etc/tcp.smtp file. 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 < /etc/tcp.smtp</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>it wasnt until i added =
the host i was=20
sending, to the rcpthosts file in /var/qmail/control.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </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> </DIV>
<DIV><FONT face=3DArial color=3D#000000 =
size=3D2>slr</FONT></DIV></BODY></HTML>
------=_NextPart_000_04AD_01C1AA2E.2975FB60--