sendmail on solaris 10

Hi friends i want to configure sendmail in solaris 10,if any body have actual configuration details please send me, thank you.
[147 byte] By [RajendraPrasada] at [2007-11-26 20:05:57]
# 1

You'll need to ask a more specific question.

The sendmail on Solaris 10 is not much different from the sendmail on earlier versions, as shipped, except to the extent it won't come up out of the box as an open relay IIRC. (All our installations are configured via Jumpstart to put MODE="-bd -ODaemonPortOptions=Addr=127.0.0.1" in /etc/default/sendmail so I don't have any hosts with the default sendmail config to refer to.)

Next, edit the "DS" macro in /etc/mail/sendmail.cf to point to your smart relay, or leave it blank if the host is never to receive any mail, and you're good to go.

If you need to do anything more complicated, you'll need to ask a specifically what you are trying to do.

Sendmail is extensively documented at sendmail.org and elsewhere.

wsandersa at 2007-7-9 23:07:18 > top of Java-index,General,Talk to the Sysop...
# 2

hi sanders,

I have configured MUA as squirrelmail and am using sendmail as MTA.

along with i have to redirect all my mails to my antispam box (externel system),

it has to acccept all mails from outside and my users should able to send mails aslo.

We have only one server here,to do both MUA and MTa

RajendraPrasada at 2007-7-9 23:07:18 > top of Java-index,General,Talk to the Sysop...
# 3
Rajidra,I don't know why? Mail is working under solaris 9 but not under solaris 10. As soon as I fixed it I will post all the step to you...
meeka at 2007-7-9 23:07:18 > top of Java-index,General,Talk to the Sysop...
# 4
HI HAS ANYBODY COME UP WITH A SOLUTION TO SETTING UP SQUIRRELMAIL AS THE Mta IN SOLARIS 10.any ideas please.
ncmainaa at 2007-7-9 23:07:18 > top of Java-index,General,Talk to the Sysop...
# 5
the sendmail service might not be enabled by default on Solaris 10check if it is enabled :svcs |grep sendmailand try to enable it with the command :svccfg enable sendmailGood Luck
me2unixa at 2007-7-9 23:07:18 > top of Java-index,General,Talk to the Sysop...
# 6

I too am having problems setting up sendmail. I want to receive but not allow any sending / relaying. The sendmail service is up and I have updated the sendmail.mc as follows:

divert(-1)

divert(0)dnl

VERSIONID(`$Id: sendmail.mc,v 8.13 Exp $')

OSTYPE(solaris2)dnl

DOMAIN(generic)dnl

FEATURE(access_db)dnl

FEATURE(blacklist_recipients)dnl

FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl

FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl

MAILER(local)dnl

MAILER(smtp)dnl

define(`confPRIVACY_FLAGS', `authwarnings,goaway,noetrn')dnl

define(`confTO_IDENT', `0')dnl

##dnl ### Authentication

##define(`confAUTH_OPTIONS', `A')dnl

##define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl

##TRUST_AUTH_MECH(`LOGIN PLAIN')dnl

Somebody told me to update the submit.mc as follows:

divert(-1)

#

# Copyright (c) 2001, 2002 Sendmail, Inc. and its suppliers.

#All rights reserved.

#

# By using this file, you agree to the terms and conditions set

# forth in the LICENSE file which can be found at the top level of

# the sendmail distribution.

#

#ident "@(#)submit.mc 1.302/12/29 SMI"

#

#

# This is the prototype file for a set-group-ID sm-msp sendmail that

# acts as a initial mail submission program.

#

divert(0)dnl

VERSIONID(`$Id: submit.mc,v 8.6.2.4 2002/12/29 03:54:34 ca Exp $')

define(`confCF_VERSION', `Submit')dnl

define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining

define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet

define(`confTIME_ZONE', `USE_TZ')dnl

define(`confDONT_INIT_GROUPS', `True')dnl

dnl

dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]

FEATURE(`msp', `mydomain.com')dnl

=>and replace 127.0.0.1 with my domain name or ip on FEATURE line

Then I have an 'A' record from 'mail.mydomain.com.' to 'my ipaddress' and -

an 'MX' record pointing '1D.mydomain.com.' to the mailserver 'mail.mydomain.com.'

All mail from all sites has been mapped to be delivered to local unix users and each user should be able to pop their mail using their local account (I assume) and password.

I am unable to ping the mail.mydomain.com and mail progs indicate 'failed to connect to server' at mail.mydomain.com. I am sure it has something to do with my sendmail configs but not for sure. Any ideas?

imana at 2007-7-9 23:07:18 > top of Java-index,General,Talk to the Sysop...