-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 9 Aug 2002, James Kwong wrote: >I have 4 redhat machines in a private LAN. I want any user in each of >the machines to be able to send mail to the other users in the other >machines. What is the easiest way to set up for email? Would I have to >configure Sendmail?
The suggested Linux Gazette article recommends using BIND. You could do it that way, but it's not necessary. You can run sendmail on all machines. The default config for RH7 has sendmail listening only on 127.0.0.1. That means that sendmail does not listen to any network interface that might connect to other machines. Sendmail will only accept mail from local users, and it will run constantly and retry the queue as needed. One machine should be setup as a mail server. The sendmail config for that machine will need to be changed a little. Make sure you have the m4 and sendmail-cf packages installed. You might also want to install sendmail-doc. On the mail server, edit /etc/mail/sendmail.mc and comment out the DAEMON_OPTIONS line so it looks like this: dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') Then rebuild your cf file: m4 sendmail.cf > /etc/mail/sendmail.cf Now restart sendmail and you should be ready: service sendmail restart Your email addresses will be of the form user@[host.localdomain] (the square brackets are required in this case). This will work as long as the server's hostname is in each machine's hosts file. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9VI3ppCpg3WyUI50RAvWUAJ96NDaPg35kul54mpab5U7WaDymwwCeIeig +RI0tlZpueuoghXEyOOkHlg= =ONch -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list