Hi all,

I have some problem comnfiguring sendmail. Please Help ASAP.

I have Redhat Linux 6.1

We have a linux server on ISDN line. We also have registerd domain in our
name.
My local linux box's host name is host.mydomain.dom

I have ppl connected to Linux box via LAN and users have their account on
linux box. Our internet host is in US and they forward all mails
(*@mydomain.dom) to our local ISPs mail account (e.g. [EMAIL PROTECTED]).

Now what I want is

1 - all mail comming from my local domain for local domain shouild be
destributed locally ( i.e. [EMAIL PROTECTED] --> [EMAIL PROTECTED])
immadiately.

2 - all mail comming from my local domain for out site should be queued for
latter delivery. (i.e. [EMAIL PROTECTED] --> [EMAIL PROTECTED])

3 - When I fetch mails from my ISPs single a/c. it should be distributed
locally in individual user a/cs.

I want to config sendmail with sendmail-cf and m4.

As per PCQ 1998 artical by Atul Chitnis we have to edit /etc/sendmail.cf file
by hand. I have tried to translate that into m4 macro config file as bellow.

content of /usr/lib/sendmail-cf/cf/mydomain.cf file

divert(-1)    # cf verbisity level
include(../m4/cf)    #
OSTYPE(linux)    # pretty obvious
FEATURE(`confCON_EXPENSIVE', `True')    # As per PCQ OHolsExpensive=True in
/etc/sendmail.cf
FEATURE(SMTP_MAILER_FLAGS, e)    # As per PCQ Msmtp, P=[IPC], F=mDFMuX,
S=11/31, R=21, E=\r\n, L=990,     T=DNS/RFC822/SMTP, and Blah, Blah, Blah...
FEATURE(SMART_HOST, bom4.vsnl.net.in) # As per PCQ DSbom4.vsnl.net.in
MASQUERADE_AS(mydomain.dom)    # As per PCQ DMmydomain.dom
MAILER(local)    # Always required as per sendmail doc
MAILER(smtp)    # Always required as per sendmail doc

When I generate sendmail.cf from this it does not function as per my
requirement.
When I send mail from clients clients recieve error 'relaying denied' (Clients
set from: address as [EMAIL PROTECTED])
When I fetch mail usinf fetchmail all my mail go to postmaster/root rather
then getting distributed in individual mail boxes.

Sorry for such a long mail. I hope that u have understood my problem and I
have not miised any thing.
I hope to here from u guys ASAP as my requirement is quite urgent.

Please CC: to [EMAIL PROTECTED] in case u r replying from mailing lists
other than ilug-bom as I do not subscribe to other mailing list. Thanks in
advance.

--Dinesh Shah :-) [ but for now :-( ]
[EMAIL PROTECTED]
http://dineshah.tripod.com


To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to