FreeBSD Admin: Difference between revisions

From Jan's Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
   pkg_version -vIL=
   pkg_version -vIL=


'''Mail'''
* sendmail from Jail
* sendmail from Jail
Sendmail im Jail mit Smarthost
Sendmail im Jail mit Smarthost

Revision as of 22:27, 28 January 2014

EZJail

  • Update ports:
  ezjail-admin update -P

Ports

  • Update outdated installed ports
  portmaster -a
  • List outdated ports
  pkg_version -vIL=

Mail

  • sendmail from Jail

Sendmail im Jail mit Smarthost

Im Jail rennt nur ein 1 Sendmail, falls der Smarthost nicht erreichbar ist.

/etc/rc.conf

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="YES"

/etc/mail/freebsd.submit.mc

dnl FEATURE(`msp')dnl
FEATURE(`msp',`[172.16.3.6]')dnl

submit.cf bauen und starten:

cd /etc/mail
make
make install
make start

Der Smarthost muss den Hostnamen des Jails kennen, z.B. in /etc/mail/local-host-names [1]