>I installed Webmin but I don't know how to use Webmin to configure Sendmail. 

Tuan,

First, make sure webmin is in fact running by typing
'/etc/rc.d/init.d/webmin status' (without the quotes, as root).  If it is,
it should show something like 
'miniserv.pl (pid xxxxx) is running...' -- if not, it will show
'miniserv.pl is stopped'.

If webmin isn't running, type '/etc/rc.d/init.d/webmin start'
You should see a line stating
'Starting Webmin                                            [  OK  ]'

You do not need to run webmin start if webmin is already running.

Next, connect to https://localhost:10000/ if you are on your machine.  If
not, it will be https://aaa.bbb.ccc.ddd:10000/ (where aaa.bbb.ccc.ddd is
your IP).

A login box will popup on the screen.  Type in 'root' as the user name and
your root password in the password box.  Click on ok.

Next, click on the 'Servers' tab.  Select 'Sendmail configuration'.  This
will bring up all the different sections of sendmail configuration.  These are

1.  Sendmail options - mail delivery and reception options (mail
forwarding, local delivery, sending e-mail, and so forth)

2.  Mail Aliases - edits the file /etc/aliases, allows you to configure
which "pseudo" accounts get re-directed to which real accounts (for
example, you can redirect "webmaster" to "user").

3.  Local Domains - useful if you have purchased the rights to a domain and
are hosting it on your machine.  Basically these are the domains for which
this box will accept e-mail.

4.  Domain Masquerading - This allows you to set the domain from which an
e-mail sent from this server appears to come from (instead of
[EMAIL PROTECTED], you can have [EMAIL PROTECTED]).

5.  Trusted Users - If a local user tries to send email, sendmail will only
allow the user to provide a different From: address if the user is on the
Trusted user list. The restriction exists to prevent users from forging
email with faked From: addresses originating from your system.

6.  Address Mapping - Unless you have a domain (such as yourdomain.com),
you will not need to configure this.  This allows you to set things up such
that either any e-mail going to the domain yourdomain.com is redirect to
your actual e-mail account, or allows you to redirect
[EMAIL PROTECTED] independently of [EMAIL PROTECTED]

7.  Spam Control - This controls which machines can send e-mail through
your system.  You can also add entries to discard e-mail from addresses
which are sending you unsolicited commercial e-mail (spam).

8.  Relay Domains - You can configure which domains you will allow e-mail
to go to on your mail server.  Again, unless you purchase multiple domains
(yourdomain.com, and yourdomain.org), you will not need to configure this.

9.  Mail Queue - Tells you whether or not any e-mail is "queued" and
awaiting delivery.  This isn't particularly useful, except perhaps to
troubleshoot problems.

10.  User Mailboxes - Tells you which users have e-mail.  Again, not
terribly useful information.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida

Reply via email to