Anne> I inherited a system running OpenSolaris 2008.04, and I'm having a
Anne> problem with the sendmail configuration. The email configuration is set
Anne> to send all email through a proxy server. However, I need to change the
Anne> proxy server IP address in the configuration. My problem: I can't find
Anne> that proxy server configuration parameter in the sendmail configuration
Anne> anywhere. Does anyone know where this would reside and how to change it?

Look in /etc/mail/cf/cf for a file .mc file, hopefully named after your host,
but here are the default contents of that directory:

-r--r--r--   1 root     mail         4192 Jul 22 01:00 Makefile
lrwxrwxrwx   1 root     root           11 Jul 31 15:34 main.cf -> sendmail.cf
lrwxrwxrwx   1 root     root           11 Jul 31 15:34 main.mc -> sendmail.mc
-r--r--r--   1 root     mail        40190 Jul 22 01:00 sendmail.cf
-r--r--r--   1 root     mail         1187 Jul 22 01:00 sendmail.mc
-r--r--r--   1 root     mail        40551 Jul 22 01:00 submit.cf
-r--r--r--   1 root     mail          843 Jul 22 01:00 submit.mc
lrwxrwxrwx   1 root     root           11 Jul 31 15:34 subsidiary.cf -> 
sendmail.cf
lrwxrwxrwx   1 root     root           11 Jul 31 15:34 subsidiary.mc -> 
sendmail.mc

So anything else there would be "interesting".  If you can't find that, check
if sendmail.mc is different from this (not counting the stuff between the
divert lines):

VERSIONID(`@(#)sendmail.mc      1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl

LOCAL_NET_CONFIG
R$* < @ $* .$m. > $*    $#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3

If so, that would be "interesting".  If you can't find anything "interesting"
write back and we'll see what we can do.  In general this is an easy problem
to solve if you can start fresh, but if you want to preserve as much as
possible of the existing configuration, we may have a little reverse-
engineering to do if you can't find the source .mc file.

-- John

http://blogs.sun.com/jbeck
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to