[NTLUG:Discuss] QMAIL and open relays.
brian@pongonova.net
brian at pongonova.net
Fri Nov 30 23:47:35 CST 2001
Whoops...right answer, wrong question :)
Try this (from http://cr.yp.to/qmail/faq/servers.html):
How do I allow selected clients to send outgoing messages through my SMTP server?
qmail-smtpd is giving the error ``sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)'' for messages to any domain not listed in
/var/qmail/control/rcpthosts.
Answer: This answer assumes that you are running qmail-smtpd under tcpserver.
Create /etc/tcp.smtp containing
1.2.3.6:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
to authorize relaying from clients with IP addresses 1.2.3.6 and 127.*. Run
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
Insert
-x /etc/tcp.smtp.cdb
after tcpserver in your system boot scripts. The change will take effect at your
next reboot.
If you make any changes to /etc/tcp.smtp, you must run
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
again. You do not have to restart tcpserver.
--Brian
On Fri, Nov 30, 2001 at 11:29:27PM -0600, Richard Geoffrion wrote:
> You know..It really shouldn't be this difficult. I know everyone says that
> Qmail is better than Sendmail...more secure and easier to use but DANG! I'm
> suffering over here!
>
> How the HECK do you allow local users (or users at a specific IP address)
> the ability to send SMTP mail through Qmail yet stop SPAMMERS from dropping
> 14000 pieces of mail through your email server over the turkeyday holiday?
>
> In other words...what is the Qmail equivilent of Sendmail's
> /etc/mail/relay-domains
>
>
> -Richard
>
> "I used to jog, but the ice kept bouncing out of my glass."
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list