Академический Документы
Профессиональный Документы
Культура Документы
And here is a sample sendmail client configuration that will forward its
mail through this sever.
# cd /etc/mail/cf/cf
# cp main.mc new.mc
# vi new.mc
divert(0)dnl
VERSIONID(`@(#)sendmail.mc 1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic)dnl
define(`SMART_HOST, `192.168.2.250)dnl
MASQUERADE_AS(`mycompany.com)
FEATURE(`masquerade_envelope)
MAILER(`local)dnl
MAILER(`smtp)dnl
#PATH=/usr/bin:/sbin:/usr/local/bin:/usr/openwin/bin:/usr/dt/bin
#LD_LIBARAY_PAT=/lib:/usr/lib:/usr/local/lib
# /usr/ccs/bin/make new.cf
# cp new.cf /etc/mail/sendmail.cf
#PATH=$PATH:/usr/sbin
# svcadm restart sendmail