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

Re: MTA for firewalls, etc. ?



On Mon, 12 Jan 1998, Elie Rosenblum wrote:

: And thus spake Jason Gunthorpe, on Mon, Jan 12, 1998 at 02:30:27PM -0700:
: > Basically all you do with QMail is not run the inetd spawned daemon, it
: > will never accept mail from the outside world. You could probably also
: > quite easially configure it to forward all mail to some other host and
: > never do local delivery (I've never tried that though). Unless you install

It's very easy to set up a null, forward-only host with qmail:

cd /etc/qmail
echo firewall.my.domain > me
echo my.domain > defaulthost
echo my.domain > defaultdomain
echo -n > locals
echo :smtp.server.in.my.domain > smtproutes
killall -HUP qmail-send

and add "firewall.my.domain" to /etc/qmail/locals in your smtp
server.

: You can do the exact same thing with sendmail. Just don't run any instances
: with -bd, and it won't listen for incoming SMTP mail over TCP. You can run
: a queue daemon with sendmail -qNm where N==minutes to delay between queue
: runs, and then it will only deliver mail locally or outgoing, but never
: accept mail over the internet.

Hmmm... yes, you can put in your S0 rule something like

R$+	$#smtp $@server.in.your.domain $:$1

at some point of your /etc/sendmail.cf so there are no local
deliveries; and then start praying till everything works... or
maybe with a bunch of intuitive m4 macros...  ;-)

Regards,

Roberto Lumbreras
rover@lander.es | rover@etsit.upm.es | rover@debian.org & pgp 143BE391
Lander Internet, Madrid-Spain-UE; http://www.lander.es


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: