> I didn't want to have an open relay, so I have rcpthosts set to "any
> domain", since that's the only way I could get qmail to allow me to
> send mail out to any person.  But that creates an open relay.

Yes, that is wrong way to do it. Correct way is to use smtp auth or define
ip addresses manually to tcp-server. It mainly requires public and static
not dhcp-addresses

> So I changed the qmail-smtp port to 2525, which worked, but now I
> can't get incoming mail from other people, so I changed it back to 25.

It is server side, yes, only 25 port.

> So I'm a little confused... how do I set up a mail server to not be an
> open relay, but allow certain users to authenticate and connect to
> send mail through the server, yet still accept mail to any domain on
> the box from any other sender?

smtp auth is on the box in shupp.org installation, it works without any
modifications. Server receives any email to rcphosts domains and only
allows authenticated users to send mail to other domains, got it?

--
Eero

Reply via email to