> But it prevents a vanilla system to try to connect to localhost:25 once
> a day. Only those periodic scripts send mails per default.
If you still want mail to work, but don't want to listen on a network
port:
cd /etc/mail/
make
vi `hostname`.submit.mc
Change the 127.0.0.1 in the line "FEATURE(`msp', `[127.0.0.1]')dnl"
to an IP address that has a listening SMTP server and will accept
mail from your jail. You can also use a hostname, for example,
FEATURE(`msp', `smtp.example.com')
make install
Then make sure you leave the default for sendmail_outbound_enable ("YES")
and turn off the others. You'll have a system where mail works just fine
and nothing listens on any TCP port.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"