I had not tested my config; however it works that way. This
config will distribute mail to the server. The clients can
pick it up 'normally' from there.
I have hosts deny set to ALL to prevent outsiders from
Below is my sendmail.mc config. It is setup to relay out and
via fetchmail and procmail to distribute internally.
I found understanding the meta model for sendmail, procmail,
browsers, and fetchmail to be very difficult.
dnl This is the macro config file used to generate the
dnl file. If you modify thei file you will have to
dnl /etc/sendmail.cf by running this macro config through the m4
dnl m4 /etc/sendmail.mc > /etc/sendmail.cf
dnl You will need to have the sendmail-cf package installed
for this to
VERSIONID(`linux setup for Red Hat Linux')dnl
dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn')dnl
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
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.
> I have a Rh 7.2 system acting as a file server for LAN made up
> entirely of windows 9x machines. The LAN is not connected to the
> I'm not even sure if it is possible but, I am attempting to use the
> linux server, running sendmail, for interoffice e-mail between the
> windows machines.
> I've read many, many help files and posts here on the topic but still
> cannot get anythng to pass from the linux server to a windows machine.
> Files that I have seen mentioned which may require changes are as
> /etc/hosts =
> 127.0.0.1 localhost localhost.localdomain localhost
> /etc/host.allow =
> ALL: localhost, localhost.localdomain
> sendmail: ALL
> /etc/mail/sendmail.mc =
> DAEMON_OPTIONS line has been commented out and the
> m4 /etc/mail/sendmail.mc > /etc/sendmail.cf has been run, followed by
> service sendmail stop and service sendmail start.
> I also tried replacing the Addr=127.0.0.1 with 192.168.1.1 ( my nic
> IP#)in this line and re-running the m4 and stopping and starting the
> sendmail service
> The line FEATURE('accept_unresolvable_domains') has also been
> commented out.
> /etc/mail/access =
> localhost.localdomain RELAY
> localhost RELAY
> 127.0.0.1 RELAY
> /etc/mail/local-host-names =
> empty but for comments
> I don't know what to try next.