Hi all.
I have a question which may have been answered elsewhere, but I didn't
find an answer in the FAQ, and I can't think of search terms specific
enough to locate an answer in the mailing list archives.
So I apologize in advance if this has been answered already.
We have been using qmail for our company for nearly a year now.
Everything has been working 100% flawlessly. So there is no problem
to speak of. But a recent policy decision now requires me to make
some mail aliases unavailable to the outside world. Specifically,
we have a mail alias set up (via the fastfoward program, in the
/etc/aliases file) which sends mail to everyone in the company.
We would like this alias to be unavailable to anyone sending mail
from outside the company.
Thus, we would like to configure qmail somehow so that it will
accept mail for a given address only if the mail was sent from
inside our own intranet.
Can anyone point to me the best and easiest way to do this?
I would need to somehow check the IP address of the remote host
sending the mail, and the To: address to the mail, and I am not
sure where in the qmail process these two pieces of information
are readily available.
Thank you!
Bryan
--
________________________________________________________________________
p l u m b d e s i g n
Bryan Ischo | Software Developer
157 chambers st ny ny 10007
p.212-285-8600 x233 f.212-285-8999