[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Restrict SMTP



Mike,

> We have installed POP before SMTP so that we(people in our company) can
send
> email and our users would use their ISPs SMTP server to send email. I was
> told that it would still adhere to the domains that are found in the
'Relay
> for the following Hosts/Domains' box in the control panel but it seems now
> that any one can just send email through our server who has a domain on
it.
> Is this correct? If so does anyone know how we can accomplish what we want
> to accomplish?

That is what the program is supposed to do (once you have a bunch of sites
on the iraq it will stop working anyway).

If you only want relaying for your employees and not for anyone else, then
put up the ip addresses of their machines in the "allow relay from field".
If you have dynamic ip addresses, then put up the first three parts of the
block you get assigned to, or the first two parts to make sure.

Please note that you should always check if your sendmail is still running
after modyfing the email server on iraq. If sendmail does not run (which
always happens if you have more than 150 sites on the cobalt), then do a:

/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail start

If it then does not work as WELL (which happens quite frequently), do a
/usr/sbin/sendmail -bd -q1h

so you force sendmail to start, if it wants or not.

-f