Dear Leo,

> It's been many years since I did UUCP stuff with ERNET. I do remember 
> hard-coding some rewrite rules in sendmail.cf to deal with the problem you 
> mentioned - but that was with much older versions of sendmail. I haven't 
> checked how recent versions of sendmail handle UUCP especially after 
> everyone has become alert about mail relays.
> 
> Tell me is the incoming mail on RH6.2 box forwarded to clients on a LAN 
> or  otherwise? What is your present sendmail.cf file like? special rules 
> applied, or what have you used in the .mc to generate it? Give me some more 
> info and I can try to refresh my memory of good old UUCP... come to think 
> of it that is still a very good mailing system ;-)


1. Please find attached the sendmail.mc file that I have used to generate
the sendmail.cf file.

2. The incoming mail on RH6.2 box are only forwarded to clients on a LAN
via POP3/IMAP.

3. Outgoing mails from Redhat 6.2 are configured to be relayed out
directly to Internet via VSNL.


Hope this would be helpful.

Regards

George Joseph
divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify thei file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl
dnl        m4 /etc/sendmail.mc > /etc/sendmail.cf
dnl
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`/sendmail/sendmail-8.11.2/cf/m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')
define(`confTRY_NULL_MX_LIST',true)
define(`confDONT_PROBE_INTERFACES',true)
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
FEATURE(`smrsh',`/usr/sbin/smrsh')
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(uucp)
MAILER(smtp)
MAILER(procmail)
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
dnl FEATURE(`relay_entire_domain')
dnl FEATURE(`relay_local_from')
FEATURE(`relay_mail_from', `domain')
dnl FEATURE(`loose_relay_check')
dnl We strongly recommend to comment this one out if you want to protect
dnl yourself from spam. However, the laptop and users on computers that do
dnl not hav 24x7 DNS do need this.
FEATURE(`accept_unresolvable_domains')
dnl FEATURE(`relay_based_on_MX')

Reply via email to