SUMMARY: Sendmail configuration

2007-12-24 20:38:00


Hi,

I recieved only one reply from Hamid Ouyachi <btihto at uis.doleta.gov>,and thanx a
lot to him for the solution he provided. It worked perfectly. Below mentioned is
the sample mc file provided by him.

divert(-1)
include(`/usr/lib/mail/m4/cf.m4')
OSTYPE(`solaris2')dnl
DOMAIN(`generic')dnl
define(`confCheckAliases', True)dnl
define(`ALIAS_FILE',
youraliasfilelocationifitisnotinthedefaultlocation)dnl
define(`MAIL_HUB', `your.mail.hub')dnl
define(`SMART_HOST', `thehostmachine')dnl
FEATURE(`nocanonify')dnl
MAILER(smtp)dnl
MAILER(local)dnl

Regds,
-Rajan

---------------------- Forwarded by Rajan Bhasin/HSS on 23/08/2001 13:48
---------------------------

Rajan Bhasin
21/08/2001 16:46

To: codeprof at codeprof.com
cc:

Subject: Sendmail configuration

Hi All,

I have to configure sendmail (Ver 8.10.0) in such a way that it consults the
local alias file first and if it dosent finds the alias entry in the file it
forwards the mail to a central mail hub, and if the alias entry exists in the
local alias file it forwards the mail to the aliased destination.
Can anyone tell me what all macros/configuration I should use to achieve the
same.

Thanx in Advance

Regds,
-Rajan

Comments

Got something to say?

You must be logged in to post a comment.