[KLUG Members] sendmail

Orien Vandenbergh members@kalamazoolinux.org
05 Aug 2002 13:15:00 -0400


--=-YvCTKXbFqmhfqKuiav9p
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2002-08-05 at 12:27, bill wrote:
> Thanks, Bruce.
>=20
> With what should I edit m4?  I tried gedit but it showed a bunch of binar=
y.
>=20

Actually what Bruce meant to say, was that you should edit the
'/etc/mail/sendmail.mc' file.  That is the file which is processed by m4
to create the /etc/mail/sendmail.cf file.

> What is the name of the access file?

The access file is also in /etc/mail, it is called access.  If I
remember correctly, after editing the access file, you will need to run:

makemap -e hash access

That will create your update access.db file which sendmail will use.

Orien

>=20
> thanks,
>=20
> bill
>=20
> Bruce Smith wrote:
>=20
> >
> > Redhat ships sendmail to work only from the local machine by default.
> > (don't know about other distro's)
> >
> > To change this, you need to edit the m4 file and change a line or two
> > (it's well commented in the file), and rerun m4 to generate a new confi=
g
> > file.  While you're editing m4, you may want to make a few other simple
> > changes, like masquerading your domain name.

> >
> > You should also pay special attention to the access file, so your syste=
m
> > accepts connects from who it should ("RELAY"), and is NOT a open relay
> > (allowing spammers to use your connection to hide their true origin).
> >
> > --------------------------------------------
> > Bruce Smith                bruce@armintl.com
> > System Administrator / Network Administrator
> > Armstrong International, Inc.
> > Three Rivers, Michigan  49093  USA
> > http://www.armstrong-intl.com/
> > --------------------------------------------
> >
> > _______________________________________________
> > Members mailing list
> > Members@kalamazoolinux.org
> > 
>=20
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 
--=20
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/IT/O d- s++:+> C++(++++)$ ULS++++$ P+++(++++)$ L+++$ E--- W++(+++)
N+ !o K- w--- O M++ V PS+ PE+ Y+ PGP+++ t 5 X- R> tv-- b+ DI++ D++ G e++
h-- r+++ y+++
------END GEEK CODE BLOCK------

--=-YvCTKXbFqmhfqKuiav9p
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9TrKU83QjVCSsolkRAlMRAKCt1dXqM89hcf2o3Jv4OkM5vxTL5wCfRMek
uJ7RUlYbFa+nf57YqnPno3o=
=AccI
-----END PGP SIGNATURE-----

--=-YvCTKXbFqmhfqKuiav9p--