sendmail configuration

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Mondoshawan Tate
Date:  
Subject: sendmail configuration
--yEPQxsgoJgBvi8ip
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 15, 2001 at 08:34:08PM -0700, John (EBo) David wrote:
>=20
> well... the move is all but finished...
>=20
> I know that this is not a Linux question, but I figure I would ask
> anyway. My apologies if this ruffles a feather or two.
>=20
> I need to move a mail server running solaris. It took me a day or two
> reading through all the docs to get the configuration running the first
> time, and I have since misplaced my notes... sigh.
>=20
> Since the machine is changing domains, I need to change the
> configuration so that it can act as a relay for the new domain (ie. can
> receive email from more than the one subdomain). Can anyone post an
> example of the "CR" field definition in sendmail.cf that supposidly sets
> up relay for a specific machine? I tried this and it did not appear to
> work. Also, is there some comand that is supposed to be run after
> changing sendmail.cf? Like I said I lost my notes in the move and it
> has been over a year since I set it up...
>=20
> Any pointers would be appreciated...
>=20
> EBo --


I had to do this very thing with my own sendmail configuration. There should
be a set of files in /etc/mail called access and relay-domains, along with
corresponding access.db and relay-domains.db files. These contain the rules
for who can access the mail server, etc. The first two (without the .db
extension) are plain text files. You'll need to edit the access file and add
a line that says "<yourdomain> RELAY" (no anglebrackets). After editing tha=
t,
do a "makemap hash /etc/mail/access.db < /etc/mail/access". This will rebui=
ld
the database. Restart sendmail and test it with a mail client on the new
domain.

--
Thomas "Mondoshawan" Tate

http://tank.dyndns.org/presence

--yEPQxsgoJgBvi8ip
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE7e1clYp5mUsPGjjwRAjuxAJ9RMlzEwZaLRu6hz7lORQZ+pHhrKwCgwS5a
NSYT8UktzqmbX/8EwxIseMQ=
=KbjD
-----END PGP SIGNATURE-----

--yEPQxsgoJgBvi8ip--