Hello.
My name is Aijaz and I am trying to teach myself the different aspects of
system administration. Allow me to say that I've found this list very
helpful in the week or so I've been on. Thank you. I have read the
relevant parts of the FAQ and mail list archives but had some more
questions:
I installed qmail last week, and as far as I know, I followed the
installation instructions to the letter _except_ that I'm running a
different pop3d that my ISP had compiled and given me. I trust the
guy, and he said that this one worked with qmail and the Mailbox (as
opposed to Maildir) format. Sure enough, I can use MS Outlook express
from my machine at home to read mail on the server using 'Incoming
Mail server' and 'Outgoing Mail (SMTP) Server' set to ansari.org in
MSOE and using the 'aijaz' userid.
However, I cannot send mail from within MSOE to domain names that I do
not host (specifically anyone at interaccess.com). I get the common
`sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'
error. The FAQ suggests I
a) run qmail-smtpd under tcpserver (I don't think I am now) and
b) Create /etc/tcp.smtp containing
1.2.3.6:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
... and so on.
My questions are:
1) To do this, do I have to know in advance what the IP addresses for
which I want to allow relaying are?
2) The only user who needs POP3 now is my sister-in-law. If her
dialup provider (MegsInet) assigns her a variable IP address, would
I have to effectively allow all IP addresses? Is that a huge
Netiquette/security no-no?
3) If I can get away with doing it, am I better off not allowing
POP access at all? I am not planning on being an ISP who offers a
ton of POP3 accounts. I could probably acquaint my sister-in-law
with the wonders of pine. :)
All the relevant details I can think of including are listed below.
Thank you very much in advance.
Aijaz
(Aijaz A. Ansari)
Details:
OS: Linux, Redhat Distribution 5.2
Setup: One Intel Box colocated at a local ISP.
Primary domain name: fatiha.com
Virtual domain name: ansari.org (there are more, but this is the one
'of interest')
qmail version: Latest as of last week (1.03, I think)
default delivery: ~/Mailbox
Misc: All normal test scenarios work fine when
telneting in and using pine or elm, etc.
--- /var/qmail/controls/me start ---
fatiha.com
--- end ---
--- /var/qmail/controls/locals start ---
localhost
fatiha.com
--- end --- (There's an extra newline at the end)
--- /var/qmail/controls/rcpthosts start ---
localhost
fatiha.com
ansari.org
enoor.com
schoolofknowledge.com
--- end --
--- /var/qmail/controls/virtualdomains start --
ansari.org:aijaz-ansari
enoor.com:aijaz-enoor
fatiha.com:aijaz-fatiha
schoolofknowledge.com:school
-- end --
inetd.conf contains:
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd
and
pop-3 stream tcp nowait root /usr/sbin/tcpd in.pop3d
(among other things :)
--------------------------------------------------------------------------