Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 12:01:38 +0100
From:      "Didier Wiroth" <didier.wiroth@mcesr.etat.lu>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   sendmail and jail question
Message-ID:  <000001c2aff2$d3a2e650$952b6e94@lucifer>

next in thread | raw e-mail | index | archive | help
Hey,

I would like to use sendmail "only" to send daily reports of it's own host
and it's running jails, to an outside mail system!

host (192.168.0.2) with sendmail -> should send mail/reports etc to
xyz@somewhere.com
jail1 (192.168.0.3) with sendmail -> should send mail/reports etc to
xyz@somewhere.com
jail2 (192.168.0.4) with sendmail -> should send mail/reports etc to
xyz@somewhere.com

I've modified the alias files of the host and the jails and run newaliases!

1) What lines/options  do you have to add to the host's and jail's rc.conf
to use it for my purpose?
2) What is the most secure to achive my goal, I don't want others to use it
as a relay?

I've tried this setting on the host:
sendmail_enable="NO"
So, sendmail is only listening on the localhost! This is great!
BUT!

Setting the same setting in the jail makes sendmail listening on:
192.168.0.3 jail1
3) This makes sendmail accessible from the outside how do you prevent this?


4) Can a jail have it's personal loopback interface?
5) How do you make sendmail listening "only" to a specific ip address (when
using ip alias), what flags do you have to use?

6) I'm sure other persons use this kind of configurations, how do you run
sendmail (which flags) on these systems?

Thanks a lot!
Didier



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c2aff2$d3a2e650$952b6e94>