Sally,

>1. I need to allow my users ([EMAIL PROTECTED] and
>[EMAIL PROTECTED]) send emails to anywhere
>through my server. ie my server is a SMTP gateway for
>my client-hosts.
>
>2. I need to allow other hosts to send email to my
>users. So that my server will receive email from other
>servers fr local users and put it in their mailbox.
>
>3. I need to REJECT all the other hosts or mails from
>other host NOT addressed to our local users.
>
>4. I need to REJECT all the foreign hosts to use my
>hosts use as relay. Ie direct SMTP connection can be
>given only to my users or same network 10.0.0.0

I think your problems are addressed by Qmail's RELAYCLIENT
setting - setting this to null "" for local (your domain's) IP
addresses (using tcpserver to invoke qmail-smtpd). See
Dave Sill's Life with Qmail section 3.2.3, "Allowing Selective
Relaying".

If your users are not all on a fixed set of IP addresses, have
them check their mailbox before trying to send mail
(POP3 before SMTP), and apply the relevant patch from
the Qmail site (www.qmail.org).
 
cheers,

Andrew Richards.

Reply via email to